feat: unify execution and add workspace file imports

Remove Ask/Execute modes and general product tool approvals so requests use the selected runtime, enabled capabilities, and execution account permissions. Migrate retired application metadata while preserving user content.

Retire the Results page while retaining conversation images and stored artifacts. Add local and remote workspace file imports, timestamps and sorting, improve image discovery and saving, and refine workspace navigation and supervision responsiveness. Include the accompanying web-search changes, tests, probes, and product documentation.

Remote imports require an updated Agent. Existing artifacts are not automatically copied into project directories. Validation evidence and outstanding failures remain documented in feature progress files; no full test suite or real-model calls were rerun for this commit.

Release note: Run requests without switching work modes, import files into a selected local or remote workspace folder, sort workspace files by date, and keep using conversation images after removal of the Results page.
This commit is contained in:
mesalogo
2026-10-04 20:02:59 +08:00
parent 0cd5da33f4
commit 56ebd40bd8
374 changed files with 7075 additions and 6224 deletions
+6 -7
View File
@@ -11,8 +11,8 @@
## 1. 背景
GoodBuddy 已能把一个请求并行委派给最多三个专家,再综合结果;专家继承 Ask/Execute
并使用本机直连模型工具,Ask 仍只读。这适合“一次请求,
GoodBuddy 已能把一个请求并行委派给最多三个专家,再综合结果;专家继承父请求能力范围
并使用本机直连模型工具。这适合“一次请求,
多种专业视角”,但不等同于实验:当前没有结构化变量、重复运行、统一指标、结果晋升和
Run 级记忆隔离。
@@ -43,7 +43,7 @@ Experiment
1. 实验 Run 复用现有 Task、Runtime、Artifact 和审批机制。
2. 每个 Run 有独立变量、会话、运行记忆、任务和成果。
3. 默认实验是只读 Ask;写工作区的实验后续使用每 Run 独立沙箱。
3. 默认实验不修改用户工作区;写工作区的实验后续单独设计每 Run 隔离,不恢复产品工作模式。
4. 多个 Run 不能并发修改同一个用户工作区。
5. 失败、取消、预算耗尽或结果不完整的 Run 不参与最佳结果选择。
6. 没有成功 Run 时实验为失败或无结论,不能报告成功。
@@ -106,7 +106,6 @@ Experiment
- 变量与候选。
- Runtime、模型和专家。
- 工具、知识库和记忆范围。
- 工作模式。
- 每 Run 预算。
- 指标、评估器和停止条件。
- 重复次数。
@@ -171,7 +170,7 @@ Token 和耗时范围,以及最大并发。超过上限时要求缩小变量
### 8.2 工作区隔离
阶段 1 只支持 Ask 和只读工具。阶段 2 的 Execute Run 使用独立临时沙箱或版本化工作树,
阶段 1 只比较结果和使用只读实验能力。阶段 2 的写入 Run 使用独立临时沙箱或版本化工作树,
结果以 Patch 或成果展示,用户选择候选后再进入单独应用流程。
### 8.3 记忆隔离
@@ -368,12 +367,12 @@ type ExperimentRun = {
## 18. 实施顺序
1. 建立 Experiment、Variant、Run 聚合实体和只读 Ask Run。
1. 建立 Experiment、Variant、Run 聚合实体和只读实验 Run。
2. 实现有限组合、预算估算、并发调度和运行监控。
3. 增加确定性指标、失败结算和结果比较。
4. 增加模型 Rubric、人工评分和证据工作台。
5. 增加重复运行和回放评估。
6. 最后评估独立工作树中的 Execute 实验。
6. 最后评估独立工作树中的写入实验。
## 19. 验收标准