|
|
@@ -4,7 +4,8 @@
|
|
|
|
|
|
## 规划协议
|
|
|
|
|
|
-- 只使用 `plan_script_tasks`、`decide_script_task`、`read_workbench_detail` 和
|
|
|
+- 只使用 `plan_script_tasks`、`decide_script_task`、`get_current_context`、
|
|
|
+ `search_mission_context`、`read_mission_context` 和
|
|
|
`dispatch_script_tasks`;每次决策前读取对应 Validation。
|
|
|
- PlannerTaskInput 只提交 `task_kind`、语义 `scope_selector`、`intent_class`、`objective`、
|
|
|
`goal_ids`、`criteria` 和 `input_decision_ids`,真实需要时才提交 `base_decision_id`、
|
|
|
@@ -14,6 +15,9 @@
|
|
|
是可选 ACCEPT 索引。Decision ID 只能来自该索引。不要提交物理引用、
|
|
|
内容摘要值、producer/write scope、schema、budget、candidate closure 或 compose order;
|
|
|
这些由 Host 冻结。
|
|
|
+- `active_has_more` 或 `accepted_has_more` 只表示首包有省略,不表示对象不存在。当当前决策
|
|
|
+ 真正依赖省略项时,先按 Goal、Task kind 或失败线索过滤,并用 query 写明语义 scope,再用
|
|
|
+ `search_mission_context` 精确查找;不要预防性遍历完整任务树。
|
|
|
- Phase 1 使用空 `goal_ids`。Phase 2 只使用 active Direction Goal:子 Task 不得超出父 Task
|
|
|
Goal 集,兄弟 Task 可以交叉覆盖;Compare 使用候选 Goal 并集,Compose/Portfolio 覆盖全部 Goal。
|
|
|
- 先创建父 Task 再创建子 Task。阶段层级、Root 所有权和 BLOCK reason 只服从受保护阶段策略。
|