@tea-agent/loop-agent 0.3.0 → 0.5.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 (57) hide show
  1. package/AGENTS.md +16 -14
  2. package/CHANGELOG.md +70 -53
  3. package/README.md +28 -25
  4. package/bin/agent-worker.js +22 -0
  5. package/dist/application/dag/validate-dag.js +14 -1
  6. package/dist/commands/init.js +220 -32
  7. package/dist/executors/config-core.js +3 -2
  8. package/dist/executors/dag-pi-executor.js +8 -1
  9. package/dist/executors/model-routing.js +43 -0
  10. package/dist/governance/manifest-types.js +9 -1
  11. package/dist/worker/cli.js +119 -0
  12. package/dist/worker/loop-agent/command-result.js +1 -0
  13. package/dist/worker/loop-agent/loop-agent-client.js +105 -0
  14. package/dist/worker/loop-agent/parse-json.js +14 -0
  15. package/dist/worker/materialize/harness-task-materializer.js +157 -0
  16. package/dist/worker/pool/failure-routing.js +98 -0
  17. package/dist/worker/pool/run-store.js +125 -0
  18. package/dist/worker/pool/types.js +1 -0
  19. package/dist/worker/preflight.js +108 -0
  20. package/dist/worker/profile-mapping.js +76 -0
  21. package/dist/worker/progress-reporter.js +81 -0
  22. package/dist/worker/report/morning-report.js +69 -0
  23. package/dist/worker/repos/repo-resolver.js +23 -0
  24. package/dist/worker/run-task/run-task.js +359 -0
  25. package/dist/worker/runner/run-ready.js +216 -0
  26. package/dist/worker/task-graph/acceptance-schema.js +25 -0
  27. package/dist/worker/task-graph/ready-queue.js +23 -0
  28. package/dist/worker/task-graph/task-graph-schema.js +28 -0
  29. package/dist/worker/task-graph/types.js +1 -0
  30. package/dist/worker/task-graph/validate.js +188 -0
  31. package/dist/worker/task-spec/complexity-mapping.js +8 -0
  32. package/dist/worker/task-spec/schema.js +116 -0
  33. package/dist/worker/task-spec/types.js +1 -0
  34. package/dist/worker/task-spec/validate.js +352 -0
  35. package/dist/workflows/dag/init-hybrid.js +4 -13
  36. package/dist/workflows/dag/skill-instructions.js +4 -0
  37. package/dist/workflows/dag/types.js +1 -1
  38. package/dist/workflows/dag/validate.js +3 -2
  39. package/docs/README.md +11 -7
  40. package/docs/development-principles.md +2 -0
  41. package/docs/exec-plans/active/README.md +1 -1
  42. package/docs/exec-plans/completed/README.md +8 -0
  43. package/docs/init-surface.manifest.json +199 -175
  44. package/docs/skills/vetted-skill-registry.md +4 -4
  45. package/docs/templates/agent-dag.base.json +1 -1
  46. package/docs/templates/agent-dag.final-verification.json +1 -1
  47. package/docs/templates/agent-dag.supervised-implementation.json +1 -1
  48. package/docs/templates/hybrid-dag.json +1 -1
  49. package/docs/templates/init-evolution-review.md +33 -33
  50. package/examples/example-dag.json +1 -1
  51. package/examples/hybrid-loop-agent-dag.json +1 -1
  52. package/harness.json +7 -32
  53. package/package.json +14 -12
  54. package/skills/init-capability-evolution/SKILL.md +69 -69
  55. package/skills/loop-agent/SKILL.md +2 -0
  56. package/skills/loop-agent/references/command-reference.md +63 -35
  57. package/skills/loop-agent/references/harness-policy.md +2 -1
@@ -1,175 +1,199 @@
1
- {
2
- "version": 1,
3
- "description": "Machine-checked contract for files that must remain available through npm packaging and target-project initialization.",
4
- "packageRequired": [
5
- "AGENTS.md",
6
- "CHANGELOG.md",
7
- "README.md",
8
- "harness.json",
9
- "bin/loop-agent.js",
10
- "docs/README.md",
11
- "docs/init-surface.manifest.json",
12
- "docs/architecture/runtime-boundaries.md",
13
- "docs/skills/README.md",
14
- "docs/skills/vetted-skill-registry.md",
15
- "docs/templates/init-evolution-review.md",
16
- "docs/templates/production-readiness-checklist.md",
17
- "docs/templates/agent-dag.schema.json",
18
- "examples/example-dag.json",
19
- "skills/loop-agent/SKILL.md",
20
- "skills/loop-agent/references/command-reference.md",
21
- "skills/ai-engineering-context/SKILL.md",
22
- "skills/verification-before-completion/SKILL.md",
23
- "skills/systematic-debugging/SKILL.md",
24
- "skills/requesting-code-review/SKILL.md",
25
- "skills/codebase-scout/SKILL.md",
26
- "skills/test-driven-development/SKILL.md",
27
- "skills/code-review-core/SKILL.md",
28
- "skills/init-capability-evolution/SKILL.md",
29
- "skills/webapp-testing/SKILL.md"
30
- ],
31
- "initFullRequired": [
32
- "README.md",
33
- "AGENTS.md",
34
- "harness.json",
35
- "docs/README.md",
36
- "docs/development-principles.md",
37
- "docs/feature-workflow.md",
38
- "docs/verification-matrix.md",
39
- "docs/loop-agent-harness.md",
40
- "docs/templates/init-evolution-review.md",
41
- "docs/templates/production-readiness-checklist.md",
42
- "scripts/check-repo.sh",
43
- "scripts/ci-governance.sh",
44
- "scripts/ci-tests.sh",
45
- "scripts/ci.sh",
46
- ".harness/prompts/analyze.md",
47
- ".harness/tasks",
48
- ".harness/dag-runs/active",
49
- "skills/loop-agent/SKILL.md",
50
- "skills/loop-agent/references/command-reference.md",
51
- "skills/ai-engineering-context/SKILL.md",
52
- "skills/verification-before-completion/SKILL.md",
53
- "skills/systematic-debugging/SKILL.md",
54
- "skills/requesting-code-review/SKILL.md",
55
- "skills/codebase-scout/SKILL.md",
56
- "skills/test-driven-development/SKILL.md",
57
- "skills/code-review-core/SKILL.md",
58
- "skills/init-capability-evolution/SKILL.md",
59
- "skills/webapp-testing/SKILL.md"
60
- ],
61
- "initSurface": {
62
- "README.md": "managed-block",
63
- "AGENTS.md": "managed-block",
64
- "harness.json": "generated",
65
- "docs/README.md": "generated",
66
- "docs/development-principles.md": "generated",
67
- "docs/feature-workflow.md": "generated",
68
- "docs/verification-matrix.md": "generated",
69
- "docs/loop-agent-harness.md": "generated",
70
- "docs/templates/init-evolution-review.md": "copied",
71
- "docs/templates/production-readiness-checklist.md": "copied",
72
- "scripts/check-repo.sh": "generated",
73
- "scripts/ci-governance.sh": "generated",
74
- "scripts/ci-tests.sh": "generated",
75
- "scripts/ci.sh": "generated",
76
- ".harness/prompts/analyze.md": "generated",
77
- ".harness/tasks": "directory",
78
- ".harness/dag-runs/active": "directory",
79
- ".harness/init-surface.json": "state",
80
- "skills/loop-agent/SKILL.md": "copied",
81
- "skills/loop-agent/references/command-reference.md": "copied",
82
- "skills/ai-engineering-context/SKILL.md": "copied",
83
- "skills/verification-before-completion/SKILL.md": "copied",
84
- "skills/systematic-debugging/SKILL.md": "copied",
85
- "skills/requesting-code-review/SKILL.md": "copied",
86
- "skills/codebase-scout/SKILL.md": "copied",
87
- "skills/test-driven-development/SKILL.md": "copied",
88
- "skills/code-review-core/SKILL.md": "copied",
89
- "skills/init-capability-evolution/SKILL.md": "copied",
90
- "skills/webapp-testing/SKILL.md": "copied"
91
- },
92
- "packageExcluded": [
93
- "docs/progress/20*.md",
94
- "docs/reports/20*.md",
95
- "docs/exec-plans/active/20*.md",
96
- "docs/exec-plans/completed/20*.md"
97
- ],
98
- "initExcluded": [
99
- "examples/example-dag.json",
100
- "docs/skills/vetted-skill-registry.md"
101
- ],
102
- "reviewTriggers": [
103
- "AGENTS.md",
104
- "README.md",
105
- "CHANGELOG.md",
106
- "harness.json",
107
- "package.json",
108
- "src/commands/init.ts",
109
- "src/workflows/dag/skills.ts",
110
- "src/workflows/dag/init-hybrid.ts",
111
- "src/workflows/dag/skill-instructions.ts",
112
- "docs/templates/**",
113
- "docs/skills/**",
114
- "skills/**",
115
- "scripts/**"
116
- ],
117
- "evolutionReview": {
118
- "defaultMode": "advisory",
119
- "strictReportGlob": "docs/reports/*-init-evolution-review.md",
120
- "tiers": [
121
- {
122
- "name": "model-review",
123
- "severity": "high",
124
- "strictRequiresReport": true,
125
- "description": "Changes that may alter target-project initialization behavior, default DAG role skills, skill resolution, or package/init contracts.",
126
- "patterns": [
127
- "src/commands/init.ts",
128
- "src/workflows/dag/skills.ts",
129
- "src/workflows/dag/init-hybrid.ts",
130
- "src/workflows/dag/skill-instructions.ts",
131
- "src/workflows/dag/prompt.ts",
132
- "src/workflows/dag/node-execution.ts",
133
- "docs/init-surface.manifest.json",
134
- "package.json",
135
- "harness.json",
136
- "AGENTS.md",
137
- "README.md"
138
- ]
139
- },
140
- {
141
- "name": "surface-check",
142
- "severity": "medium",
143
- "strictRequiresReport": false,
144
- "description": "Asset surface changes that usually need deterministic package/init smoke checks but not a model review when the checks pass.",
145
- "patterns": [
146
- "skills/**",
147
- "docs/templates/**",
148
- "docs/skills/**",
149
- "scripts/check-init-surface.sh",
150
- "scripts/check-repo.sh"
151
- ]
152
- },
153
- {
154
- "name": "advisory",
155
- "severity": "low",
156
- "strictRequiresReport": false,
157
- "description": "Documentation and user-facing guidance changes that should be considered but should not slow normal iteration.",
158
- "patterns": [
159
- "CHANGELOG.md",
160
- "website/docs/**",
161
- "docs/*.md",
162
- "docs/architecture/**"
163
- ]
164
- }
165
- ],
166
- "modelReviewQuestions": [
167
- "Does this change alter files or guidance produced by loop-agent init --profile full --merge?",
168
- "Does a new or changed skill need to be bundled, projected to target projects, or documented as optional only?",
169
- "Do target-project AGENTS.md, README managed blocks, governance docs, templates, or script matrix need updates?",
170
- "Does package.json files include every static asset required by the runtime and init projection?",
171
- "Does docs/init-surface.manifest.json still match the intended package and init surface?",
172
- "Do older initialized target projects need a migration note, manual copy guidance, or future init audit/update support?"
173
- ]
174
- }
175
- }
1
+ {
2
+ "version": 1,
3
+ "description": "Machine-checked contract for files that must remain available through npm packaging and target-project initialization.",
4
+ "packageRequired": [
5
+ "AGENTS.md",
6
+ "CHANGELOG.md",
7
+ "README.md",
8
+ "harness.json",
9
+ "bin/loop-agent.js",
10
+ "docs/README.md",
11
+ "docs/init-surface.manifest.json",
12
+ "docs/architecture/runtime-boundaries.md",
13
+ "docs/skills/README.md",
14
+ "docs/skills/vetted-skill-registry.md",
15
+ "docs/templates/init-evolution-review.md",
16
+ "docs/templates/production-readiness-checklist.md",
17
+ "docs/templates/agent-dag.schema.json",
18
+ "examples/example-dag.json",
19
+ "skills/loop-agent/SKILL.md",
20
+ "skills/loop-agent/references/command-reference.md",
21
+ "skills/ai-engineering-context/SKILL.md",
22
+ "skills/verification-before-completion/SKILL.md",
23
+ "skills/systematic-debugging/SKILL.md",
24
+ "skills/requesting-code-review/SKILL.md",
25
+ "skills/codebase-scout/SKILL.md",
26
+ "skills/test-driven-development/SKILL.md",
27
+ "skills/code-review-core/SKILL.md",
28
+ "skills/init-capability-evolution/SKILL.md",
29
+ "skills/webapp-testing/SKILL.md"
30
+ ],
31
+ "initFullRequired": [
32
+ "README.md",
33
+ "AGENTS.md",
34
+ ".gitignore",
35
+ "harness.json",
36
+ "docs/README.md",
37
+ "docs/development-principles.md",
38
+ "docs/feature-workflow.md",
39
+ "docs/verification-matrix.md",
40
+ "docs/loop-agent-harness.md",
41
+ "docs/templates/init-evolution-review.md",
42
+ "docs/templates/production-readiness-checklist.md",
43
+ "scripts/check-repo.sh",
44
+ "scripts/ci-governance.sh",
45
+ "scripts/ci-tests.sh",
46
+ "scripts/ci.sh",
47
+ ".harness/prompts/analyze.md",
48
+ ".harness/tasks",
49
+ ".harness/dag-runs/active",
50
+ "skills/loop-agent/SKILL.md",
51
+ "skills/loop-agent/references/command-reference.md",
52
+ "skills/ai-engineering-context/SKILL.md",
53
+ "skills/verification-before-completion/SKILL.md",
54
+ "skills/systematic-debugging/SKILL.md",
55
+ "skills/requesting-code-review/SKILL.md",
56
+ "skills/codebase-scout/SKILL.md",
57
+ "skills/test-driven-development/SKILL.md",
58
+ "skills/code-review-core/SKILL.md",
59
+ "skills/init-capability-evolution/SKILL.md",
60
+ "skills/webapp-testing/SKILL.md",
61
+ ".agents/skills/loop-agent/SKILL.md",
62
+ ".agents/skills/loop-agent/references/command-reference.md",
63
+ ".agents/skills/ai-engineering-context/SKILL.md",
64
+ ".agents/skills/verification-before-completion/SKILL.md",
65
+ ".agents/skills/systematic-debugging/SKILL.md",
66
+ ".agents/skills/requesting-code-review/SKILL.md",
67
+ ".agents/skills/codebase-scout/SKILL.md",
68
+ ".agents/skills/test-driven-development/SKILL.md",
69
+ ".agents/skills/code-review-core/SKILL.md",
70
+ ".agents/skills/init-capability-evolution/SKILL.md",
71
+ ".agents/skills/webapp-testing/SKILL.md"
72
+ ],
73
+ "initSurface": {
74
+ "README.md": "managed-block",
75
+ "AGENTS.md": "managed-block",
76
+ ".gitignore": "managed-block",
77
+ "harness.json": "generated",
78
+ "docs/README.md": "generated",
79
+ "docs/development-principles.md": "generated",
80
+ "docs/feature-workflow.md": "generated",
81
+ "docs/verification-matrix.md": "generated",
82
+ "docs/loop-agent-harness.md": "generated",
83
+ "docs/templates/init-evolution-review.md": "copied",
84
+ "docs/templates/production-readiness-checklist.md": "copied",
85
+ "scripts/check-repo.sh": "generated",
86
+ "scripts/ci-governance.sh": "generated",
87
+ "scripts/ci-tests.sh": "generated",
88
+ "scripts/ci.sh": "generated",
89
+ ".harness/prompts/analyze.md": "generated",
90
+ ".harness/tasks": "directory",
91
+ ".harness/dag-runs/active": "directory",
92
+ ".harness/init-surface.json": "state",
93
+ "skills/loop-agent/SKILL.md": "copied",
94
+ "skills/loop-agent/references/command-reference.md": "copied",
95
+ "skills/ai-engineering-context/SKILL.md": "copied",
96
+ "skills/verification-before-completion/SKILL.md": "copied",
97
+ "skills/systematic-debugging/SKILL.md": "copied",
98
+ "skills/requesting-code-review/SKILL.md": "copied",
99
+ "skills/codebase-scout/SKILL.md": "copied",
100
+ "skills/test-driven-development/SKILL.md": "copied",
101
+ "skills/code-review-core/SKILL.md": "copied",
102
+ "skills/init-capability-evolution/SKILL.md": "copied",
103
+ "skills/webapp-testing/SKILL.md": "copied",
104
+ ".agents/skills/loop-agent/SKILL.md": "copied",
105
+ ".agents/skills/loop-agent/references/command-reference.md": "copied",
106
+ ".agents/skills/ai-engineering-context/SKILL.md": "copied",
107
+ ".agents/skills/verification-before-completion/SKILL.md": "copied",
108
+ ".agents/skills/systematic-debugging/SKILL.md": "copied",
109
+ ".agents/skills/requesting-code-review/SKILL.md": "copied",
110
+ ".agents/skills/codebase-scout/SKILL.md": "copied",
111
+ ".agents/skills/test-driven-development/SKILL.md": "copied",
112
+ ".agents/skills/code-review-core/SKILL.md": "copied",
113
+ ".agents/skills/init-capability-evolution/SKILL.md": "copied",
114
+ ".agents/skills/webapp-testing/SKILL.md": "copied"
115
+ },
116
+ "packageExcluded": [
117
+ "docs/progress/20*.md",
118
+ "docs/reports/20*.md",
119
+ "docs/exec-plans/active/20*.md",
120
+ "docs/exec-plans/completed/20*.md"
121
+ ],
122
+ "initExcluded": [
123
+ "examples/example-dag.json",
124
+ "docs/skills/vetted-skill-registry.md"
125
+ ],
126
+ "reviewTriggers": [
127
+ "AGENTS.md",
128
+ "README.md",
129
+ "CHANGELOG.md",
130
+ "harness.json",
131
+ "package.json",
132
+ "src/commands/init.ts",
133
+ "src/workflows/dag/skills.ts",
134
+ "src/workflows/dag/init-hybrid.ts",
135
+ "src/workflows/dag/skill-instructions.ts",
136
+ "docs/templates/**",
137
+ "docs/skills/**",
138
+ "skills/**",
139
+ "scripts/**"
140
+ ],
141
+ "evolutionReview": {
142
+ "defaultMode": "advisory",
143
+ "strictReportGlob": "docs/reports/*-init-evolution-review.md",
144
+ "tiers": [
145
+ {
146
+ "name": "model-review",
147
+ "severity": "high",
148
+ "strictRequiresReport": true,
149
+ "description": "Changes that may alter target-project initialization behavior, default DAG role skills, skill resolution, or package/init contracts.",
150
+ "patterns": [
151
+ "src/commands/init.ts",
152
+ "src/workflows/dag/skills.ts",
153
+ "src/workflows/dag/init-hybrid.ts",
154
+ "src/workflows/dag/skill-instructions.ts",
155
+ "src/workflows/dag/prompt.ts",
156
+ "src/workflows/dag/node-execution.ts",
157
+ "docs/init-surface.manifest.json",
158
+ "package.json",
159
+ "harness.json",
160
+ "AGENTS.md",
161
+ "README.md"
162
+ ]
163
+ },
164
+ {
165
+ "name": "surface-check",
166
+ "severity": "medium",
167
+ "strictRequiresReport": false,
168
+ "description": "Asset surface changes that usually need deterministic package/init smoke checks but not a model review when the checks pass.",
169
+ "patterns": [
170
+ "skills/**",
171
+ "docs/templates/**",
172
+ "docs/skills/**",
173
+ "scripts/check-init-surface.sh",
174
+ "scripts/check-repo.sh"
175
+ ]
176
+ },
177
+ {
178
+ "name": "advisory",
179
+ "severity": "low",
180
+ "strictRequiresReport": false,
181
+ "description": "Documentation and user-facing guidance changes that should be considered but should not slow normal iteration.",
182
+ "patterns": [
183
+ "CHANGELOG.md",
184
+ "website/docs/**",
185
+ "docs/*.md",
186
+ "docs/architecture/**"
187
+ ]
188
+ }
189
+ ],
190
+ "modelReviewQuestions": [
191
+ "Does this change alter files or guidance produced by loop-agent init --profile full --merge?",
192
+ "Does a new or changed skill need to be bundled, projected to target projects, or documented as optional only?",
193
+ "Do target-project AGENTS.md, README managed blocks, governance docs, templates, or script matrix need updates?",
194
+ "Does package.json files include every static asset required by the runtime and init projection?",
195
+ "Does docs/init-surface.manifest.json still match the intended package and init surface?",
196
+ "Do older initialized target projects need a migration note, manual copy guidance, or future init audit/update support?"
197
+ ]
198
+ }
199
+ }
@@ -12,10 +12,10 @@ The entries below are local wrappers or existing local skills. They are not whol
12
12
  | `systematic-debugging` | local wrapper inspired by systematic debugging discipline | `skills/systematic-debugging/SKILL.md` | implementer, verifier | verifier | Advisory prompt guidance only; does not run tools by itself. |
13
13
  | `requesting-code-review` | local existing | `skills/requesting-code-review/SKILL.md` | reviewer | reviewer | Review prompt guidance only. |
14
14
  | `test-driven-development` | local wrapper inspired by TDD practice | `skills/test-driven-development/SKILL.md` | implementer | implementer | Does not force tests in mechanical-only docs changes; implementer still follows task contract. |
15
- | `code-review-core` | local wrapper inspired by code review practice | `skills/code-review-core/SKILL.md` | reviewer | reviewer | No external tools or network by default. |
16
- | `codebase-scout` | local wrapper | `skills/codebase-scout/SKILL.md` | scout | scout | Read-only reconnaissance guidance. |
17
- | `init-capability-evolution` | local wrapper | `skills/init-capability-evolution/SKILL.md` | supervisor, maintenance | optional | Used only when changes may affect target-project initialization, package surface, or init projection rules. |
18
- | `webapp-testing` | local wrapper inspired by frontend/browser testing practice | `skills/webapp-testing/SKILL.md` | verifier, reviewer | optional | Only applies when task explicitly involves browser-rendered behavior; no default Playwright/Semgrep execution. |
15
+ | `code-review-core` | local wrapper inspired by code review practice | `skills/code-review-core/SKILL.md` | reviewer | reviewer | No external tools or network by default. |
16
+ | `codebase-scout` | local wrapper | `skills/codebase-scout/SKILL.md` | scout | scout | Read-only reconnaissance guidance. |
17
+ | `init-capability-evolution` | local wrapper | `skills/init-capability-evolution/SKILL.md` | supervisor, maintenance | optional | Used only when changes may affect target-project initialization, package surface, or init projection rules. |
18
+ | `webapp-testing` | local wrapper inspired by frontend/browser testing practice | `skills/webapp-testing/SKILL.md` | verifier, reviewer | optional | Only applies when task explicitly involves browser-rendered behavior; no default Playwright/Semgrep execution. |
19
19
 
20
20
  ## Vetting Rules
21
21
 
@@ -60,7 +60,7 @@
60
60
  "cursor": {
61
61
  "LOW": "composer-2.5",
62
62
  "MED": "composer-2.5",
63
- "HIGH": "composer-2.5"
63
+ "HIGH": "gpt-5.5"
64
64
  },
65
65
  "pi": {
66
66
  "LOW": "gpt-5.3-codex-spark",
@@ -28,7 +28,7 @@
28
28
  "cursor": {
29
29
  "LOW": "composer-2.5",
30
30
  "MED": "composer-2.5",
31
- "HIGH": "composer-2.5"
31
+ "HIGH": "gpt-5.5"
32
32
  },
33
33
  "pi": {
34
34
  "LOW": "gpt-5.3-codex-spark",
@@ -76,7 +76,7 @@
76
76
  "cursor": {
77
77
  "LOW": "composer-2.5",
78
78
  "MED": "composer-2.5",
79
- "HIGH": "composer-2.5"
79
+ "HIGH": "gpt-5.5"
80
80
  },
81
81
  "pi": {
82
82
  "LOW": "gpt-5.3-codex-spark",
@@ -56,7 +56,7 @@
56
56
  "cursor": {
57
57
  "LOW": "composer-2.5",
58
58
  "MED": "composer-2.5",
59
- "HIGH": "composer-2.5"
59
+ "HIGH": "gpt-5.5"
60
60
  },
61
61
  "pi": {
62
62
  "LOW": "gpt-5.3-codex-spark",
@@ -1,33 +1,33 @@
1
- # Init Evolution Review
2
-
3
- Date:
4
- Base:
5
- Head:
6
-
7
- ## Changed Surface
8
-
9
- -
10
-
11
- ## Decision
12
-
13
- Choose one:
14
-
15
- - No init impact
16
- - Surface check only
17
- - Init update required
18
-
19
- Rationale:
20
-
21
- ## Updates Made
22
-
23
- -
24
-
25
- ## Verification
26
-
27
- ```bash
28
- # commands and results
29
- ```
30
-
31
- ## Residual Risk
32
-
33
- -
1
+ # Init Evolution Review
2
+
3
+ Date:
4
+ Base:
5
+ Head:
6
+
7
+ ## Changed Surface
8
+
9
+ -
10
+
11
+ ## Decision
12
+
13
+ Choose one:
14
+
15
+ - No init impact
16
+ - Surface check only
17
+ - Init update required
18
+
19
+ Rationale:
20
+
21
+ ## Updates Made
22
+
23
+ -
24
+
25
+ ## Verification
26
+
27
+ ```bash
28
+ # commands and results
29
+ ```
30
+
31
+ ## Residual Risk
32
+
33
+ -
@@ -5,7 +5,7 @@
5
5
  "cursor": {
6
6
  "LOW": "composer-2.5",
7
7
  "MED": "composer-2.5",
8
- "HIGH": "composer-2.5"
8
+ "HIGH": "gpt-5.5"
9
9
  },
10
10
  "pi": {
11
11
  "LOW": "gpt-5.3-codex-spark",
@@ -57,7 +57,7 @@
57
57
  "cursor": {
58
58
  "LOW": "composer-2.5",
59
59
  "MED": "composer-2.5",
60
- "HIGH": "composer-2.5"
60
+ "HIGH": "gpt-5.5"
61
61
  },
62
62
  "pi": {
63
63
  "LOW": "gpt-5.3-codex-spark",
package/harness.json CHANGED
@@ -46,43 +46,18 @@
46
46
  "checkStructure": "scripts/check-engineering-structure.sh",
47
47
  "checkDocIndex": "scripts/check-doc-index.sh",
48
48
  "checkDocLinks": "scripts/check-doc-links.sh",
49
- "checkHarnessRuntimeClean": "scripts/check-harness-runtime-clean.sh",
50
- "checkInitEvolutionNeeded": "scripts/check-init-evolution-needed.sh",
51
- "checkInitSurface": "scripts/check-init-surface.sh",
52
- "ci": "scripts/ci.sh"
53
- },
54
- "models": {
55
- "analyze": {
56
- "provider": "wizard-local",
57
- "model": "gpt-5.3-codex-spark",
58
- "timeoutMs": 1800000
59
- },
60
- "plan": {
61
- "provider": "wizard-local",
62
- "model": "gpt-5.3-codex-spark",
63
- "timeoutMs": 1800000
64
- },
65
- "implement": {
66
- "provider": "wizard-local",
67
- "model": "gpt-5.3-codex-spark",
68
- "timeoutMs": 1800000
69
- },
70
- "verify": {
71
- "provider": "wizard-local",
72
- "model": "gpt-5.3-codex-spark",
73
- "timeoutMs": 1800000
74
- },
75
- "retrospective": {
76
- "provider": "wizard-local",
77
- "model": "gpt-5.3-codex-spark",
78
- "timeoutMs": 1800000
79
- }
49
+ "checkHarnessRuntimeClean": "scripts/check-harness-runtime-clean.sh",
50
+ "checkInitEvolutionNeeded": "scripts/check-init-evolution-needed.sh",
51
+ "checkInitSurface": "scripts/check-init-surface.sh",
52
+ "ci": "scripts/ci.sh"
80
53
  },
81
54
  "executors": {
82
55
  "pi": {
83
56
  "description": "Pi planning, review, diagnosis, and bounded writing when DAG toolProfile=write",
84
57
  "defaultModel": "gpt-5.3-codex-spark",
85
- "requiresApiKey": ""
58
+ "LOW": "gpt-5.3-codex-spark",
59
+ "MED": "glm-5.2",
60
+ "HIGH": "gpt-5.5"
86
61
  },
87
62
  "cursor": {
88
63
  "description": "Cursor via @cursor/sdk (default model: account default)",
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@tea-agent/loop-agent",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "type": "module",
5
5
  "bin": {
6
- "loop-agent": "bin/loop-agent.js"
6
+ "loop-agent": "bin/loop-agent.js",
7
+ "agent-worker": "bin/agent-worker.js"
7
8
  },
8
9
  "files": [
9
10
  "AGENTS.md",
@@ -15,12 +16,12 @@
15
16
  "docs/design/README.md",
16
17
  "docs/exec-plans/README.md",
17
18
  "docs/exec-plans/active/README.md",
18
- "docs/exec-plans/completed/README.md",
19
- "docs/init-surface.manifest.json",
20
- "docs/progress/README.md",
21
- "docs/reports/README.md",
22
- "docs/skills/",
23
- "docs/templates/",
19
+ "docs/exec-plans/completed/README.md",
20
+ "docs/init-surface.manifest.json",
21
+ "docs/progress/README.md",
22
+ "docs/reports/README.md",
23
+ "docs/skills/",
24
+ "docs/templates/",
24
25
  "examples/",
25
26
  "harness.json",
26
27
  "skills/",
@@ -48,17 +49,18 @@
48
49
  },
49
50
  "dependencies": {
50
51
  "commander": "^12.1.0",
52
+ "yaml": "^2.9.0",
51
53
  "zod": "^3.25.76"
52
54
  },
53
55
  "optionalDependencies": {
54
56
  "@cursor/sdk": "^1.0.7",
55
- "@earendil-works/pi-coding-agent": "*",
56
- "@earendil-works/pi-ai": "*"
57
+ "@earendil-works/pi-ai": "*",
58
+ "@earendil-works/pi-coding-agent": "*"
57
59
  },
58
60
  "devDependencies": {
61
+ "@types/node": "^24.6.0",
59
62
  "tsx": "^4.20.6",
60
63
  "typescript": "^5.9.3",
61
- "vitest": "^3.2.4",
62
- "@types/node": "^24.6.0"
64
+ "vitest": "^3.2.4"
63
65
  }
64
66
  }