@tea-agent/loop-agent 0.7.5 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/AGENTS.md +143 -142
  2. package/CHANGELOG.md +148 -164
  3. package/README.md +206 -204
  4. package/bin/agent-worker.js +22 -22
  5. package/bin/loop-agent.js +21 -21
  6. package/dist/commands/init.js +518 -488
  7. package/dist/commands/loop-benchmark.js +11 -11
  8. package/dist/commands/pi-reuse-benchmark.js +16 -16
  9. package/dist/executors/cursor-executor.js +1 -1
  10. package/dist/governance/manifest-types.js +1 -1
  11. package/dist/task/runtime.js +27 -27
  12. package/dist/worker/cli.js +3 -3
  13. package/dist/worker/observability/event-store.js +2 -1
  14. package/dist/worker/observability/read-model.js +13 -11
  15. package/dist/worker/observe/paths.js +2 -2
  16. package/dist/worker/observe/routes.js +4 -3
  17. package/dist/worker/observe/static/app.js +1479 -1480
  18. package/dist/worker/observe/static/dag-layout.d.ts +31 -31
  19. package/dist/worker/observe/static/dag-layout.js +83 -83
  20. package/dist/worker/observe/static/index.html +63 -63
  21. package/dist/worker/observe/static/styles.css +722 -722
  22. package/dist/worker/pool/run-store.js +7 -8
  23. package/dist/worker/run-task/run-task.js +11 -2
  24. package/dist/worker/runner/run-ready.js +1 -1
  25. package/dist/workflows/dag/canvas-observer.js +275 -275
  26. package/docs/README.md +80 -79
  27. package/docs/agent-dag-recovery-playbook.md +184 -184
  28. package/docs/agent-dag-runner.md +42 -42
  29. package/docs/architecture/runtime-boundaries.md +162 -162
  30. package/docs/cursor-executor-usage.md +25 -25
  31. package/docs/decisions/README.md +3 -3
  32. package/docs/design/README.md +49 -49
  33. package/docs/development-principles.md +73 -73
  34. package/docs/dynamic-workflow-dag-engine-roadmap.md +1749 -1749
  35. package/docs/exec-plans/README.md +6 -6
  36. package/docs/exec-plans/active/README.md +11 -11
  37. package/docs/exec-plans/completed/README.md +35 -34
  38. package/docs/feature-workflow.md +187 -187
  39. package/docs/harness-methodology-debugging.md +153 -153
  40. package/docs/harness-methodology-tdd.md +130 -130
  41. package/docs/harness-methodology-verification.md +27 -27
  42. package/docs/init-surface.manifest.json +245 -241
  43. package/docs/loop-agent-harness.md +63 -55
  44. package/docs/production-readiness.md +96 -96
  45. package/docs/progress/README.md +3 -3
  46. package/docs/reports/README.md +9 -9
  47. package/docs/skills/README.md +6 -6
  48. package/docs/skills/vetted-skill-registry.md +26 -26
  49. package/docs/templates/adr.md +60 -60
  50. package/docs/templates/agent-dag-authority-surface-audit.prompt.md +94 -94
  51. package/docs/templates/agent-dag-decision-envelope.schema.json +213 -213
  52. package/docs/templates/agent-dag-decision-gate-dogfood-report.md +117 -117
  53. package/docs/templates/agent-dag-decision-gate.prompt.md +246 -246
  54. package/docs/templates/agent-dag-process-supervisor.prompt.md +98 -98
  55. package/docs/templates/agent-dag-report.schema.json +454 -454
  56. package/docs/templates/agent-dag-review-verdict.prompt.md +68 -68
  57. package/docs/templates/agent-dag.base.json +195 -195
  58. package/docs/templates/agent-dag.final-verification.json +190 -190
  59. package/docs/templates/agent-dag.schema.json +316 -316
  60. package/docs/templates/agent-dag.supervised-implementation.json +500 -500
  61. package/docs/templates/exec-plan.md +64 -64
  62. package/docs/templates/feature-spec.md +53 -53
  63. package/docs/templates/harness.schema.json +218 -0
  64. package/docs/templates/hybrid-dag.json +193 -193
  65. package/docs/templates/init-evolution-review.md +33 -33
  66. package/docs/templates/interactive-ui-round2-experiment.md +66 -66
  67. package/docs/templates/product-line/AGENTS.md +8 -8
  68. package/docs/templates/product-line/README.md +9 -9
  69. package/docs/templates/product-line/acceptance.yaml +14 -14
  70. package/docs/templates/product-line/closeout.yaml +9 -9
  71. package/docs/templates/product-line/design.md +13 -13
  72. package/docs/templates/product-line/links.md +10 -10
  73. package/docs/templates/product-line/requirement.md +17 -17
  74. package/docs/templates/product-line/task-graph.yaml +15 -15
  75. package/docs/templates/product-line/task.yaml +65 -65
  76. package/docs/templates/product-line/test-plan.md +7 -7
  77. package/docs/templates/production-readiness-checklist.md +57 -57
  78. package/docs/templates/progress-log.md +17 -17
  79. package/docs/templates/project-start-checklist.md +9 -9
  80. package/docs/templates/qa-report.md +48 -48
  81. package/docs/templates/sprint-contract.md +29 -29
  82. package/docs/templates/worker-dogfood-evidence.md +52 -52
  83. package/docs/templates/worker-dogfood-setup.md +48 -48
  84. package/docs/verification-matrix.md +49 -49
  85. package/examples/decision-gate-agent-dag.json +123 -123
  86. package/examples/example-dag.json +51 -51
  87. package/examples/hybrid-loop-agent-dag.json +194 -194
  88. package/harness.json +73 -71
  89. package/package.json +68 -67
  90. package/scripts/check-product-line-docs.sh +22 -22
  91. package/scripts/check-task-pool-root.sh +32 -0
  92. package/skills/ai-engineering-context/SKILL.md +48 -48
  93. package/skills/code-review-core/SKILL.md +20 -20
  94. package/skills/codebase-scout/SKILL.md +19 -19
  95. package/skills/init-capability-evolution/SKILL.md +69 -69
  96. package/skills/loop-agent/SKILL.md +149 -149
  97. package/skills/loop-agent/references/README.md +67 -67
  98. package/skills/loop-agent/references/command-reference.md +432 -412
  99. package/skills/loop-agent/references/harness-policy.md +263 -263
  100. package/skills/loop-agent/references/hybrid-dag.md +216 -216
  101. package/skills/loop-agent/references/learned/README.md +21 -21
  102. package/skills/loop-agent/references/long-running-loop.md +59 -59
  103. package/skills/loop-agent/references/model-routing.md +36 -36
  104. package/skills/loop-agent/references/multi-worktree.md +54 -54
  105. package/skills/loop-agent/references/one-shot-runs.md +85 -85
  106. package/skills/loop-agent/references/orchestrator-and-interventions.md +169 -169
  107. package/skills/loop-agent/references/pi-prompt.md +23 -23
  108. package/skills/loop-agent/references/pi-subagent-assisted-mode.md +81 -81
  109. package/skills/loop-agent/references/post-implementation-and-patterns.md +44 -44
  110. package/skills/loop-agent/references/task-workflow.md +89 -89
  111. package/skills/loop-agent/references/verification-and-failure-handling.md +128 -128
  112. package/skills/requesting-code-review/SKILL.md +101 -101
  113. package/skills/requesting-code-review/code-reviewer.md +168 -168
  114. package/skills/systematic-debugging/CREATION-LOG.md +119 -119
  115. package/skills/systematic-debugging/SKILL.md +296 -296
  116. package/skills/systematic-debugging/condition-based-waiting-example.ts +158 -158
  117. package/skills/systematic-debugging/condition-based-waiting.md +115 -115
  118. package/skills/systematic-debugging/defense-in-depth.md +122 -122
  119. package/skills/systematic-debugging/find-polluter.sh +63 -63
  120. package/skills/systematic-debugging/root-cause-tracing.md +169 -169
  121. package/skills/systematic-debugging/test-academic.md +14 -14
  122. package/skills/systematic-debugging/test-pressure-1.md +58 -58
  123. package/skills/systematic-debugging/test-pressure-2.md +68 -68
  124. package/skills/systematic-debugging/test-pressure-3.md +69 -69
  125. package/skills/test-driven-development/SKILL.md +20 -20
  126. package/skills/verification-before-completion/SKILL.md +154 -154
  127. package/skills/webapp-testing/SKILL.md +19 -19
@@ -1,64 +1,64 @@
1
- # 执行计划模板
2
-
3
- ## 标题
4
-
5
- ## 状态
6
-
7
- - draft / active / blocked / completed
8
-
9
- ## 背景
10
-
11
- - 当前问题或机会是什么:
12
- - 为什么值得现在做:
13
-
14
- ## 目标(Objective)
15
-
16
- - 本计划希望达成什么结果:
17
-
18
- ## 范围(Scope)
19
-
20
- - 包含:
21
- - 不包含:
22
-
23
- ## 约束(Constraints)
24
-
25
- - 架构/契约约束:
26
- - 时间/风险约束:
27
- - 验证约束:
28
-
29
- ## 里程碑(Milestones)
30
-
31
- | ID | Milestone | Status | Exit Criteria |
32
- |----|-----------|--------|---------------|
33
- | M1 | | todo | |
34
-
35
- ## 工作分解(Work Breakdown)
36
-
37
- | ID | Work Item | Status | Notes |
38
- |----|-----------|--------|-------|
39
- | W1 | | todo | |
40
-
41
- ## 验证关口(Verification Gates)
42
-
43
- - [ ] 文档/契约已同步
44
- - [ ] 最低必要测试已通过
45
- - [ ] 关键路径已验证
46
- - [ ] 风险与未覆盖项已记录
47
-
48
- ## 风险 / 阻塞项
49
-
50
- - 风险:
51
- - 阻塞:
52
-
53
- ## 回退 / 恢复(Rollback / Recovery)
54
-
55
- - 如何回退:
56
- - 回退后如何恢复基线:
57
-
58
- ## Open Questions
59
-
60
- -
61
-
62
- ## 推荐下一步
63
-
64
- -
1
+ # 执行计划模板
2
+
3
+ ## 标题
4
+
5
+ ## 状态
6
+
7
+ - draft / active / blocked / completed
8
+
9
+ ## 背景
10
+
11
+ - 当前问题或机会是什么:
12
+ - 为什么值得现在做:
13
+
14
+ ## 目标(Objective)
15
+
16
+ - 本计划希望达成什么结果:
17
+
18
+ ## 范围(Scope)
19
+
20
+ - 包含:
21
+ - 不包含:
22
+
23
+ ## 约束(Constraints)
24
+
25
+ - 架构/契约约束:
26
+ - 时间/风险约束:
27
+ - 验证约束:
28
+
29
+ ## 里程碑(Milestones)
30
+
31
+ | ID | Milestone | Status | Exit Criteria |
32
+ |----|-----------|--------|---------------|
33
+ | M1 | | todo | |
34
+
35
+ ## 工作分解(Work Breakdown)
36
+
37
+ | ID | Work Item | Status | Notes |
38
+ |----|-----------|--------|-------|
39
+ | W1 | | todo | |
40
+
41
+ ## 验证关口(Verification Gates)
42
+
43
+ - [ ] 文档/契约已同步
44
+ - [ ] 最低必要测试已通过
45
+ - [ ] 关键路径已验证
46
+ - [ ] 风险与未覆盖项已记录
47
+
48
+ ## 风险 / 阻塞项
49
+
50
+ - 风险:
51
+ - 阻塞:
52
+
53
+ ## 回退 / 恢复(Rollback / Recovery)
54
+
55
+ - 如何回退:
56
+ - 回退后如何恢复基线:
57
+
58
+ ## Open Questions
59
+
60
+ -
61
+
62
+ ## 推荐下一步
63
+
64
+ -
@@ -1,53 +1,53 @@
1
- # Feature Spec 模板
2
-
3
- ## 标题
4
-
5
- ## 状态
6
-
7
- - draft / active / completed
8
-
9
- ## 背景(Background)
10
-
11
- - 问题背景:
12
- - 用户/协作者痛点:
13
- - 与现有系统的关系:
14
-
15
- ## 目标(Goal)
16
-
17
- - 本 feature 要实现什么:
18
-
19
- ## 非目标(Non-goals)
20
-
21
- - 明确本轮不做什么:
22
-
23
- ## 关键场景 / 用户路径
24
-
25
- 1.
26
- 2.
27
- 3.
28
-
29
- ## Feature List
30
-
31
- | ID | Feature | Priority | Status | Acceptance | Notes |
32
- |----|---------|----------|--------|------------|-------|
33
- | F1 | | High | todo | | |
34
-
35
- ## 依赖(Dependencies)
36
-
37
- - 上游依赖:
38
- - 下游影响:
39
- - 文档/契约依赖:
40
-
41
- ## 风险(Risks)
42
-
43
- -
44
-
45
- ## 验证说明(Verification Notes)
46
-
47
- - 最低建议验证:
48
- - 加强验证:
49
- - 关键手工路径:
50
-
51
- ## Open Questions
52
-
53
- -
1
+ # Feature Spec 模板
2
+
3
+ ## 标题
4
+
5
+ ## 状态
6
+
7
+ - draft / active / completed
8
+
9
+ ## 背景(Background)
10
+
11
+ - 问题背景:
12
+ - 用户/协作者痛点:
13
+ - 与现有系统的关系:
14
+
15
+ ## 目标(Goal)
16
+
17
+ - 本 feature 要实现什么:
18
+
19
+ ## 非目标(Non-goals)
20
+
21
+ - 明确本轮不做什么:
22
+
23
+ ## 关键场景 / 用户路径
24
+
25
+ 1.
26
+ 2.
27
+ 3.
28
+
29
+ ## Feature List
30
+
31
+ | ID | Feature | Priority | Status | Acceptance | Notes |
32
+ |----|---------|----------|--------|------------|-------|
33
+ | F1 | | High | todo | | |
34
+
35
+ ## 依赖(Dependencies)
36
+
37
+ - 上游依赖:
38
+ - 下游影响:
39
+ - 文档/契约依赖:
40
+
41
+ ## 风险(Risks)
42
+
43
+ -
44
+
45
+ ## 验证说明(Verification Notes)
46
+
47
+ - 最低建议验证:
48
+ - 加强验证:
49
+ - 关键手工路径:
50
+
51
+ ## Open Questions
52
+
53
+ -
@@ -0,0 +1,218 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://loop-agent.local/schemas/harness.schema.json",
4
+ "title": "loop-agent Harness Manifest",
5
+ "description": "面向编辑器的 harness.json JSON Schema。运行时校验仍以 src/governance/manifest-types.ts 中的 Zod harnessManifestSchema 为准。",
6
+ "type": "object",
7
+ "additionalProperties": false,
8
+ "required": ["version", "project", "governanceRoot", "entrypoints", "artifacts", "scripts"],
9
+ "properties": {
10
+ "$schema": {
11
+ "type": "string",
12
+ "description": "IDE 使用的 JSON Schema 引用。该字段只是编辑器 metadata,loop-agent 运行时解析时会忽略。"
13
+ },
14
+ "version": {
15
+ "type": "number",
16
+ "description": "harness manifest 的 schema 版本。",
17
+ "default": 1
18
+ },
19
+ "project": {
20
+ "type": "string",
21
+ "minLength": 1,
22
+ "description": "便于人类阅读的项目名,不需要与 adapter 名称一致。"
23
+ },
24
+ "adapter": {
25
+ "type": "string",
26
+ "description": "可选的仓库 adapter id。普通初始化项目使用 loop-agent。"
27
+ },
28
+ "governanceRoot": {
29
+ "type": "string",
30
+ "minLength": 1,
31
+ "description": "仓库相对目录,用于存放治理文档、执行计划、报告和模板。",
32
+ "default": "docs"
33
+ },
34
+ "features": {
35
+ "type": "object",
36
+ "additionalProperties": false,
37
+ "description": "可选 harness 能力的 feature flags。",
38
+ "properties": {
39
+ "goals": {
40
+ "type": "boolean",
41
+ "description": "启用面向目标的长程任务支持。",
42
+ "default": true
43
+ }
44
+ }
45
+ },
46
+ "workflowPolicy": {
47
+ "type": "object",
48
+ "additionalProperties": false,
49
+ "description": "面向 agent 实现任务的声明式工作流策略。",
50
+ "properties": {
51
+ "defaultImplementationWorkflow": {
52
+ "enum": ["agent-dag"],
53
+ "description": "首选实现工作流。新的可恢复工作应使用 agent-dag。",
54
+ "default": "agent-dag"
55
+ },
56
+ "dag": {
57
+ "type": "object",
58
+ "additionalProperties": false,
59
+ "properties": {
60
+ "defaultEntry": {
61
+ "enum": ["dag run-task", "run-dag"],
62
+ "description": "默认 DAG 入口,用于任务 DAG 生成或直接 DAG 执行。",
63
+ "default": "dag run-task"
64
+ },
65
+ "profileRouting": {
66
+ "type": "object",
67
+ "additionalProperties": false,
68
+ "description": "将治理 profile 映射到 DAG 生成模板。",
69
+ "properties": {
70
+ "minimal": {
71
+ "enum": ["standard-dag", "review-gated-dag", "supervised-implementation"],
72
+ "description": "minimal 治理 profile 使用的 DAG 生成模板。"
73
+ },
74
+ "standard": {
75
+ "enum": ["standard-dag", "review-gated-dag", "supervised-implementation"],
76
+ "description": "standard 治理 profile 使用的 DAG 生成模板。"
77
+ },
78
+ "reviewed": {
79
+ "enum": ["standard-dag", "review-gated-dag", "supervised-implementation"],
80
+ "description": "reviewed 治理 profile 使用的 DAG 生成模板。"
81
+ },
82
+ "supervised": {
83
+ "enum": ["standard-dag", "review-gated-dag", "supervised-implementation"],
84
+ "description": "supervised 治理 profile 使用的 DAG 生成模板。"
85
+ }
86
+ }
87
+ }
88
+ }
89
+ },
90
+ "humanGatePolicy": {
91
+ "type": "object",
92
+ "additionalProperties": false,
93
+ "properties": {
94
+ "defaultMode": {
95
+ "enum": ["record-only", "pause-on-human"],
96
+ "description": "human decision gate 的默认行为。",
97
+ "default": "record-only"
98
+ },
99
+ "pauseOn": {
100
+ "type": "array",
101
+ "description": "需要暂停并等待人类输入的决策风险类别。",
102
+ "items": { "type": "string", "minLength": 1 },
103
+ "default": []
104
+ }
105
+ }
106
+ }
107
+ }
108
+ },
109
+ "entrypoints": {
110
+ "type": "object",
111
+ "description": "具名的仓库相对文件路径,用作人类和 agent 的入口。",
112
+ "additionalProperties": { "type": ["string", "null"] },
113
+ "properties": {
114
+ "readme": { "type": ["string", "null"], "description": "根 README 入口。" },
115
+ "agents": { "type": ["string", "null"], "description": "Agent 操作指令入口。" },
116
+ "governanceIndex": { "type": ["string", "null"], "description": "治理文档索引。" },
117
+ "principles": { "type": ["string", "null"], "description": "开发原则文档。" },
118
+ "workflow": { "type": ["string", "null"], "description": "功能工作流文档。" },
119
+ "verificationMatrix": { "type": ["string", "null"], "description": "验证命令矩阵。" },
120
+ "loopAgentHarness": { "type": ["string", "null"], "description": "harness runtime 指南。" },
121
+ "cursorExecutorUsage": { "type": ["string", "null"], "description": "可选 Cursor executor 使用说明。" }
122
+ }
123
+ },
124
+ "artifacts": {
125
+ "type": "object",
126
+ "description": "具名的仓库相对目录,用于保存长期治理产物和 runtime 邻近产物。",
127
+ "additionalProperties": { "type": ["string", "null"] },
128
+ "properties": {
129
+ "templatesDir": { "type": ["string", "null"], "description": "治理模板目录。" },
130
+ "execPlansDir": { "type": ["string", "null"], "description": "执行计划目录。" },
131
+ "progressDir": { "type": ["string", "null"], "description": "进度交接日志目录。" },
132
+ "reportsDir": { "type": ["string", "null"], "description": "验证、审计和演化报告目录。" },
133
+ "decisionsDir": { "type": ["string", "null"], "description": "架构决策记录目录。" },
134
+ "taskPoolDir": { "type": ["string", "null"], "description": "Worker Task Pool runtime state 目录。" }
135
+ }
136
+ },
137
+ "scripts": {
138
+ "type": "object",
139
+ "description": "具名验证与治理脚本。根据具体 key,值可以是仓库相对路径或 shell 命令。",
140
+ "additionalProperties": { "type": ["string", "null"] },
141
+ "properties": {
142
+ "checkRepo": { "type": ["string", "null"], "description": "仓库治理综合检查脚本。" },
143
+ "checkStructure": { "type": ["string", "null"], "description": "历史结构检查入口;新配置优先使用 checkEngineeringStructure。" },
144
+ "checkEngineeringStructure": { "type": ["string", "null"], "description": "工程结构检查脚本。" },
145
+ "checkDocIndex": { "type": ["string", "null"], "description": "docs 索引同步检查脚本。" },
146
+ "checkDocLinks": { "type": ["string", "null"], "description": "docs 链接检查脚本。" },
147
+ "checkHarnessRuntimeClean": { "type": ["string", "null"], "description": "harness runtime 目录清洁度检查脚本。" },
148
+ "checkInitEvolutionNeeded": { "type": ["string", "null"], "description": "初始化能力演化影响分级检查脚本。" },
149
+ "checkInitSurface": { "type": ["string", "null"], "description": "npm package 和 init projection surface 检查脚本。" },
150
+ "checkArchitectureBoundaries": { "type": ["string", "null"], "description": "runtime import 边界检查脚本。" },
151
+ "checkSkillEntry": { "type": ["string", "null"], "description": "repo-local skill 入口完整性检查脚本。" },
152
+ "ciGovernance": { "type": ["string", "null"], "description": "治理类 CI 检查入口。" },
153
+ "ciTests": { "type": ["string", "null"], "description": "项目测试入口。" },
154
+ "ci": { "type": ["string", "null"], "description": "完整 CI 检查入口。" },
155
+ "quickVerify": { "type": ["string", "null"], "description": "快速验证命令。" },
156
+ "standardVerify": { "type": ["string", "null"], "description": "标准验证命令。" },
157
+ "fullVerify": { "type": ["string", "null"], "description": "完整验证命令。" }
158
+ }
159
+ },
160
+ "worktree": {
161
+ "type": "object",
162
+ "additionalProperties": false,
163
+ "description": "loop-agent 管理 worktree 时使用的配置。",
164
+ "properties": {
165
+ "rootRelativePath": {
166
+ "type": "string",
167
+ "minLength": 1,
168
+ "default": ".worktrees"
169
+ }
170
+ }
171
+ },
172
+ "executors": {
173
+ "type": "object",
174
+ "description": "按 executor id 分组的执行器配置。已知 executor 包括 pi 和 cursor;项目也可以添加本地 executor key。",
175
+ "additionalProperties": { "$ref": "#/$defs/executor" },
176
+ "properties": {
177
+ "pi": { "$ref": "#/$defs/executor" },
178
+ "cursor": { "$ref": "#/$defs/executor" }
179
+ }
180
+ }
181
+ },
182
+ "$defs": {
183
+ "workflowPolicyDagTemplate": {
184
+ "enum": ["standard-dag", "review-gated-dag", "supervised-implementation"],
185
+ "description": "某个治理 profile 选择的 DAG 生成模板。"
186
+ },
187
+ "executor": {
188
+ "type": "object",
189
+ "additionalProperties": false,
190
+ "description": "executor 设置。DAG 模型选择优先读取 LOW/MED/HIGH,其次读取 defaultModel,最后回退到 loop-agent runtime 默认矩阵。字面值 default 表示不覆盖。",
191
+ "properties": {
192
+ "description": { "type": "string" },
193
+ "enabled": { "type": "boolean" },
194
+ "defaultModel": {
195
+ "type": "string",
196
+ "description": "executor 默认模型。设置为 default 或省略时,会继续回退到 loop-agent runtime 默认值。",
197
+ "default": "default"
198
+ },
199
+ "LOW": {
200
+ "type": "string",
201
+ "description": "LOW 复杂度 DAG task 的模型覆盖值,优先级高于 defaultModel。"
202
+ },
203
+ "MED": {
204
+ "type": "string",
205
+ "description": "MED 复杂度 DAG task 的模型覆盖值,优先级高于 defaultModel。"
206
+ },
207
+ "HIGH": {
208
+ "type": "string",
209
+ "description": "HIGH 复杂度 DAG task 的模型覆盖值,优先级高于 defaultModel。"
210
+ },
211
+ "requiresApiKey": {
212
+ "type": "string",
213
+ "description": "该 executor 需要的环境变量名,通常用于 Cursor 等可选外部 executor。init update 会剥离过时的 pi.requiresApiKey。"
214
+ }
215
+ }
216
+ }
217
+ }
218
+ }