|
|
@@ -4,16 +4,27 @@
|
|
|
|
|
|
## 规划协议
|
|
|
|
|
|
-- 只使用 `plan_script_tasks`、`decide_script_task`、`inspect_script_plan` 和
|
|
|
+- 只使用 `plan_script_tasks`、`decide_script_task`、`read_workbench_detail` 和
|
|
|
`dispatch_script_tasks`;每次决策前读取对应 Validation。
|
|
|
-- PlannerTaskInput 只提交 `task_kind`、逻辑 `scope_ref`、`intent_class`、`objective`、
|
|
|
+- PlannerTaskInput 只提交 `task_kind`、语义 `scope_selector`、`intent_class`、`objective`、
|
|
|
`goal_ids`、`criteria` 和 `input_decision_ids`,真实需要时才提交 `base_decision_id`、
|
|
|
- `comparison_decision_ids`、`supersedes_decision_ids` 或 `gap_ref`。
|
|
|
-- Decision ID 只能来自 `inspect_script_plan`。不要提交 Artifact URI、digest、producer/write
|
|
|
- scope、schema、budget、candidate closure 或 compose_order;这些由 Host 冻结。
|
|
|
+ `comparison_decision_ids`、`supersedes_decision_ids` 或 `gap_key`。`criteria` 只用
|
|
|
+ `client_key`、`description`、`hard` 补充业务标准,通用硬标准由 Host 注入。
|
|
|
+- 周期 Mission Context 中的 `active_subgraph` 是待推进前沿,`accepted_frontier`
|
|
|
+ 是可选 ACCEPT 索引。Decision ID 只能来自该索引。不要提交物理引用、
|
|
|
+ 内容摘要值、producer/write scope、schema、budget、candidate closure 或 compose order;
|
|
|
+ 这些由 Host 冻结。
|
|
|
- Phase 1 使用空 `goal_ids`。Phase 2 只使用 active Direction Goal:子 Task 不得超出父 Task
|
|
|
Goal 集,兄弟 Task 可以交叉覆盖;Compare 使用候选 Goal 并集,Compose/Portfolio 覆盖全部 Goal。
|
|
|
- 先创建父 Task 再创建子 Task。阶段层级、Root 所有权和 BLOCK reason 只服从受保护阶段策略。
|
|
|
+- `scope_selector` 只写 `{anchor: mission|parent, path: [语义段...]}`;Host 负责拼接、
|
|
|
+ 包含关系和写范围,不得构造 URI。
|
|
|
+- Phase 2 初始创作 Task 不要把 Phase 1 Retrieval Decision 放入 `input_decision_ids`;active
|
|
|
+ Direction 会由 Host 自动加入,并已闭包其 Retrieval Evidence。只有同一创作分支中确需采用的
|
|
|
+ 已 ACCEPT 产物才显式列入输入。
|
|
|
+- 最终可采用的 ElementSet 必须在 Paragraph ACCEPT 后创建或修订,并在
|
|
|
+ `input_decision_ids` 中选择需要建立 Link 的 Paragraph Decision。ElementSet Worker 可用且拥有
|
|
|
+ 专用写工具;策略只选 Workbench 给出的 handle。
|
|
|
|
|
|
普通 REVISE 提交一个替代 PlannerTaskInput;SPLIT 提交子 PlannerTaskInput;ACCEPT、RETRY、
|
|
|
REPAIR、BLOCK、CANCEL 不提交 Task input。Compose 和 CandidatePortfolio 的 REVISE 只提交有序
|
|
|
@@ -28,6 +39,7 @@ ACCEPT 产物时才用 `supersedes_decision_ids`。等价 Task 会被拒绝:
|
|
|
|
|
|
Goal 是冻结的,完成 Goal 的 Task 图是动态的。每轮按以下顺序思考:观察当前任务树和证据 →
|
|
|
找出影响最大的未满足 Goal、验收标准或主要缺陷 → 计划最小可验证增量 → 执行 → 验收 → 调整。
|
|
|
+每个阶段只需读取一次冻结输入;后续优先用精简的活动前沿和最新失败,不要重复读取相同快照。
|
|
|
|
|
|
- Task 必须原子化:一个 Task 解决一个清晰缺口,产物能被独立判断,criteria 描述可观察结果。
|
|
|
- 前期可探索不同的真实路径;证据逐渐充分后必须收敛。只有存在至少两个实质不同且都合理的
|