opencode-agent-orchestration-kit 1.0.27

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 (236) hide show
  1. package/.github/CODEOWNERS +1 -0
  2. package/.github/ISSUE_TEMPLATE/bug_report.yml +65 -0
  3. package/.github/ISSUE_TEMPLATE/config.yml +11 -0
  4. package/.github/ISSUE_TEMPLATE/documentation.yml +22 -0
  5. package/.github/ISSUE_TEMPLATE/feature_request.yml +43 -0
  6. package/.github/PULL_REQUEST_TEMPLATE.md +25 -0
  7. package/.github/workflows/check.yml +47 -0
  8. package/CODE_OF_CONDUCT.md +24 -0
  9. package/CONTRIBUTING.md +52 -0
  10. package/LICENSE +201 -0
  11. package/NOTICE.md +23 -0
  12. package/README.md +806 -0
  13. package/SECURITY.md +17 -0
  14. package/docker/open-design/.env.example +6 -0
  15. package/docker/open-design/Dockerfile +50 -0
  16. package/docker/open-design/docker-compose.yml +18 -0
  17. package/docker/open-design/opencode-od/agents/od-worker.md +22 -0
  18. package/docker/open-design/opencode-od/opencode.json +24 -0
  19. package/docs/agents.md +21 -0
  20. package/docs/commands.md +16 -0
  21. package/docs/configuration.md +30 -0
  22. package/docs/docker-open-design.md +42 -0
  23. package/docs/impeccable.md +18 -0
  24. package/docs/installation.md +176 -0
  25. package/docs/models.md +17 -0
  26. package/docs/open-design.md +25 -0
  27. package/docs/quickstart.md +74 -0
  28. package/docs/releases/v1.0.10.md +46 -0
  29. package/docs/releases/v1.0.14.md +39 -0
  30. package/docs/releases/v1.0.27.md +66 -0
  31. package/docs/security.md +8 -0
  32. package/docs/superpowers/plans/2026-07-20-safe-installation-lifecycle.md +779 -0
  33. package/docs/superpowers/plans/2026-07-20-version-identity-and-releases.md +590 -0
  34. package/docs/superpowers/specs/2026-07-20-safe-installation-lifecycle-design.md +1350 -0
  35. package/docs/superpowers/specs/2026-07-20-version-identity-and-releases-design.md +557 -0
  36. package/docs/superpowers.md +34 -0
  37. package/docs/synology.md +30 -0
  38. package/docs/troubleshooting.md +54 -0
  39. package/docs/workflows.md +44 -0
  40. package/doctor.sh +5 -0
  41. package/env.example +15 -0
  42. package/install.sh +5 -0
  43. package/opencode/AGENTS.md +104 -0
  44. package/opencode/agents/debugger.md +41 -0
  45. package/opencode/agents/designer.md +93 -0
  46. package/opencode/agents/developer.md +180 -0
  47. package/opencode/agents/evaluator.md +35 -0
  48. package/opencode/agents/evolver.md +31 -0
  49. package/opencode/agents/lead.md +251 -0
  50. package/opencode/agents/researcher.md +76 -0
  51. package/opencode/agents/review_api.md +34 -0
  52. package/opencode/agents/review_coordinator.md +111 -0
  53. package/opencode/agents/review_quality.md +35 -0
  54. package/opencode/agents/review_security.md +35 -0
  55. package/opencode/agents/review_tests.md +37 -0
  56. package/opencode/agents/reviewer.md +116 -0
  57. package/opencode/agents/scoper.md +75 -0
  58. package/opencode/agents/specifier.md +116 -0
  59. package/opencode/commands/code-simplify.md +36 -0
  60. package/opencode/commands/design.md +27 -0
  61. package/opencode/commands/evolve.md +165 -0
  62. package/opencode/commands/feature.md +67 -0
  63. package/opencode/commands/implement.md +11 -0
  64. package/opencode/commands/init.md +34 -0
  65. package/opencode/commands/loop.md +145 -0
  66. package/opencode/commands/mvp-spec.md +20 -0
  67. package/opencode/commands/plan.md +74 -0
  68. package/opencode/commands/research.md +12 -0
  69. package/opencode/commands/review-orchestrated.md +47 -0
  70. package/opencode/commands/review-preflight.md +26 -0
  71. package/opencode/commands/review.md +18 -0
  72. package/opencode/commands/scope.md +36 -0
  73. package/opencode/commands/spec.md +12 -0
  74. package/opencode/commands/test.md +40 -0
  75. package/opencode/docs/ai/evolution/README.md +135 -0
  76. package/opencode/docs/ai/evolution/benchmarks/manual-scenarios.md +123 -0
  77. package/opencode/docs/ai/evolution/benchmarks/router-scenarios.jsonl +8 -0
  78. package/opencode/docs/ai/evolution/evolution_history.md +83 -0
  79. package/opencode/docs/ai/evolution/mechanisms.jsonl +7 -0
  80. package/opencode/docs/ai/evolution/rejected_mechanisms.jsonl +2 -0
  81. package/opencode/docs/ai/evolution/runs/README.md +15 -0
  82. package/opencode/docs/ai/evolution/runs/iteration-001-sidecar/analysis/overview.md +12 -0
  83. package/opencode/docs/ai/evolution/runs/iteration-001-sidecar/change_evaluation.json +108 -0
  84. package/opencode/docs/ai/evolution/runs/iteration-001-sidecar/change_manifest.json +52 -0
  85. package/opencode/docs/ai/evolution/runs/iteration-001-sidecar/evaluation.md +19 -0
  86. package/opencode/docs/ai/evolution/runs/iteration-001-sidecar/post_evaluation.md +12 -0
  87. package/opencode/docs/ai/evolution/runs/iteration-002-feature-flow-fix/analysis/overview.md +7 -0
  88. package/opencode/docs/ai/evolution/runs/iteration-002-feature-flow-fix/change_evaluation.json +31 -0
  89. package/opencode/docs/ai/evolution/runs/iteration-002-feature-flow-fix/evaluation.md +19 -0
  90. package/opencode/docs/ai/evolution/runs/iteration-003-agent-readable-harness/analysis/overview.md +13 -0
  91. package/opencode/docs/ai/evolution/runs/iteration-003-agent-readable-harness/change_evaluation.json +66 -0
  92. package/opencode/docs/ai/evolution/runs/iteration-003-agent-readable-harness/change_manifest.json +82 -0
  93. package/opencode/docs/ai/evolution/runs/iteration-003-agent-readable-harness/evaluation.md +20 -0
  94. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/detail/ahe-run-lifecycle-validator.md +40 -0
  95. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/detail/evolve-evaluation-only-contract.md +15 -0
  96. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/detail/open-design-tool-contract.md +14 -0
  97. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/detail/slash-command-contract-coverage.md +40 -0
  98. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/overview.md +17 -0
  99. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/analysis/pre_apply_approval.md +15 -0
  100. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/change_evaluation.json +252 -0
  101. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/change_manifest.json +210 -0
  102. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/evaluation.md +25 -0
  103. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/post_apply_evaluation.md +15 -0
  104. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/post_manifest_evaluation.md +14 -0
  105. package/opencode/docs/ai/evolution/runs/iteration-004-orchestration-audit/pre_apply_evaluation.md +15 -0
  106. package/opencode/docs/ai/evolution/runs/iteration-005-harness-orchestration-audit/analysis/overview.md +13 -0
  107. package/opencode/docs/ai/evolution/runs/iteration-005-harness-orchestration-audit/change_evaluation.json +14 -0
  108. package/opencode/docs/ai/evolution/runs/iteration-005-harness-orchestration-audit/change_manifest.json +30 -0
  109. package/opencode/docs/ai/evolution/runs/iteration-005-harness-orchestration-audit/evaluation.md +25 -0
  110. package/opencode/docs/ai/evolution/runs/iteration-006-lead-delegation-audit/analysis/overview.md +13 -0
  111. package/opencode/docs/ai/evolution/runs/iteration-006-lead-delegation-audit/change_evaluation.json +14 -0
  112. package/opencode/docs/ai/evolution/runs/iteration-006-lead-delegation-audit/change_manifest.json +29 -0
  113. package/opencode/docs/ai/evolution/runs/iteration-006-lead-delegation-audit/evaluation.md +18 -0
  114. package/opencode/docs/ai/evolution/runs/iteration-007-agent-skills-integration/analysis/overview.md +13 -0
  115. package/opencode/docs/ai/evolution/runs/iteration-007-agent-skills-integration/change_evaluation.json +14 -0
  116. package/opencode/docs/ai/evolution/runs/iteration-007-agent-skills-integration/change_manifest.json +34 -0
  117. package/opencode/docs/ai/evolution/runs/iteration-007-agent-skills-integration/evaluation.md +17 -0
  118. package/opencode/docs/ai/evolution/runs/iteration-008-lead-readonly-shell-permissions/analysis/overview.md +13 -0
  119. package/opencode/docs/ai/evolution/runs/iteration-008-lead-readonly-shell-permissions/change_evaluation.json +12 -0
  120. package/opencode/docs/ai/evolution/runs/iteration-008-lead-readonly-shell-permissions/change_manifest.json +28 -0
  121. package/opencode/docs/ai/evolution/runs/iteration-008-lead-readonly-shell-permissions/evaluation.md +17 -0
  122. package/opencode/docs/ai/evolution/runs/iteration-009-lead-developer-ownership-loop/analysis/overview.md +9 -0
  123. package/opencode/docs/ai/evolution/runs/iteration-009-lead-developer-ownership-loop/change_evaluation.json +14 -0
  124. package/opencode/docs/ai/evolution/runs/iteration-009-lead-developer-ownership-loop/change_manifest.json +31 -0
  125. package/opencode/docs/ai/evolution/runs/iteration-009-lead-developer-ownership-loop/evaluation.md +18 -0
  126. package/opencode/docs/ai/evolution/runs/iteration-010-token-plugin-sidebar-content/analysis/overview.md +12 -0
  127. package/opencode/docs/ai/evolution/runs/iteration-010-token-plugin-sidebar-content/change_evaluation.json +14 -0
  128. package/opencode/docs/ai/evolution/runs/iteration-010-token-plugin-sidebar-content/change_manifest.json +31 -0
  129. package/opencode/docs/ai/evolution/runs/iteration-010-token-plugin-sidebar-content/evaluation.md +17 -0
  130. package/opencode/docs/ai/evolution/runs/iteration-011-lead-cd-which-permissions/analysis/overview.md +10 -0
  131. package/opencode/docs/ai/evolution/runs/iteration-011-lead-cd-which-permissions/change_evaluation.json +14 -0
  132. package/opencode/docs/ai/evolution/runs/iteration-011-lead-cd-which-permissions/change_manifest.json +30 -0
  133. package/opencode/docs/ai/evolution/runs/iteration-011-lead-cd-which-permissions/evaluation.md +17 -0
  134. package/opencode/docs/ai/evolution/runs/iteration-012-lead-shell-allowlist-boundaries/analysis/overview.md +25 -0
  135. package/opencode/docs/ai/evolution/runs/iteration-012-lead-shell-allowlist-boundaries/change_evaluation.json +28 -0
  136. package/opencode/docs/ai/evolution/runs/iteration-012-lead-shell-allowlist-boundaries/change_manifest.json +31 -0
  137. package/opencode/docs/ai/evolution/runs/iteration-012-lead-shell-allowlist-boundaries/evaluation.md +22 -0
  138. package/opencode/docs/ai/evolution/runs/iteration-013-doc-gardening-mechanical-checks/analysis/overview.md +27 -0
  139. package/opencode/docs/ai/evolution/runs/iteration-013-doc-gardening-mechanical-checks/change_evaluation.json +32 -0
  140. package/opencode/docs/ai/evolution/runs/iteration-013-doc-gardening-mechanical-checks/change_manifest.json +49 -0
  141. package/opencode/docs/ai/evolution/runs/iteration-013-doc-gardening-mechanical-checks/evaluation.md +92 -0
  142. package/opencode/docs/ai/evolution/runs/iteration-014-harness-baseline/analysis/detail/token-vs-semantic.md +31 -0
  143. package/opencode/docs/ai/evolution/runs/iteration-014-harness-baseline/analysis/overview.md +14 -0
  144. package/opencode/docs/ai/evolution/runs/iteration-014-harness-baseline/evaluation.md +36 -0
  145. package/opencode/docs/ai/evolution/runs/iteration-015-semantic-checker/analysis/overview.md +13 -0
  146. package/opencode/docs/ai/evolution/runs/iteration-015-semantic-checker/change_evaluation.json +31 -0
  147. package/opencode/docs/ai/evolution/runs/iteration-015-semantic-checker/change_manifest.json +47 -0
  148. package/opencode/docs/ai/evolution/runs/iteration-015-semantic-checker/evaluation.md +27 -0
  149. package/opencode/docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/analysis/overview.md +32 -0
  150. package/opencode/docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/change_evaluation.json +31 -0
  151. package/opencode/docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/change_manifest.json +35 -0
  152. package/opencode/docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/evaluation.md +31 -0
  153. package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/detail/pattern-1-feature-sidecar-false-positive.md +51 -0
  154. package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/detail/pattern-2-checker-time-budget.md +52 -0
  155. package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/overview.md +99 -0
  156. package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/change_evaluation.json +61 -0
  157. package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/change_manifest.json +61 -0
  158. package/opencode/docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md +448 -0
  159. package/opencode/docs/ai/evolution/runs/iteration-018-free-message-routing-audit/analysis/detail/intake-gray-zone.md +65 -0
  160. package/opencode/docs/ai/evolution/runs/iteration-018-free-message-routing-audit/analysis/overview.md +172 -0
  161. package/opencode/docs/ai/evolution/runs/iteration-018-free-message-routing-audit/evaluation.md +226 -0
  162. package/opencode/docs/ai/evolution/runs/iteration-019-handoff-routing-audit/analysis/detail/plan-only-gray-zone.md +62 -0
  163. package/opencode/docs/ai/evolution/runs/iteration-019-handoff-routing-audit/analysis/overview.md +167 -0
  164. package/opencode/docs/ai/evolution/runs/iteration-019-handoff-routing-audit/evaluation.md +163 -0
  165. package/opencode/docs/ai/evolution/runs/iteration-020-loop-engineering-command/analysis/overview.md +42 -0
  166. package/opencode/docs/ai/evolution/runs/iteration-020-loop-engineering-command/change_evaluation.json +46 -0
  167. package/opencode/docs/ai/evolution/runs/iteration-020-loop-engineering-command/change_manifest.json +57 -0
  168. package/opencode/docs/ai/evolution/runs/iteration-020-loop-engineering-command/evaluation.md +48 -0
  169. package/opencode/docs/ai/evolution/runs/iteration-021/analysis/detail/contract-vs-runtime-gap.md +163 -0
  170. package/opencode/docs/ai/evolution/runs/iteration-021/analysis/detail/evidence-collection-blocker.md +134 -0
  171. package/opencode/docs/ai/evolution/runs/iteration-021/analysis/overview.md +111 -0
  172. package/opencode/docs/ai/evolution/runs/iteration-021/change_evaluation.json +52 -0
  173. package/opencode/docs/ai/evolution/runs/iteration-021/change_manifest.json +50 -0
  174. package/opencode/docs/ai/evolution/runs/iteration-021/evaluation.md +46 -0
  175. package/opencode/docs/ai/evolution/runs/iteration-021/manifest-justification.md +48 -0
  176. package/opencode/docs/ai/evolution/session-sources.md +91 -0
  177. package/opencode/docs/ai/harness/README.md +32 -0
  178. package/opencode/docs/ai/harness/agents.md +148 -0
  179. package/opencode/docs/ai/harness/checks.md +119 -0
  180. package/opencode/docs/ai/harness/commands.md +391 -0
  181. package/opencode/docs/ai/harness/evidence.md +85 -0
  182. package/opencode/docs/ai/harness/init-detection-rules.md +160 -0
  183. package/opencode/docs/ai/harness/orchestrated-review.md +131 -0
  184. package/opencode/docs/ai/harness/skill-metadata-schema.md +198 -0
  185. package/opencode/docs/ai/harness/skill-resolution.md +202 -0
  186. package/opencode/docs/ai/harness/skill_registry.json +443 -0
  187. package/opencode/docs/ai/harness/skill_registry.md +43 -0
  188. package/opencode/docs/ai/project-context-template.md +53 -0
  189. package/opencode/opencode.json +38 -0
  190. package/opencode/package-lock.json +1717 -0
  191. package/opencode/package.json +11 -0
  192. package/opencode/plugins/token-tree-usage.tsx +206 -0
  193. package/opencode/references/performance-checklist.md +153 -0
  194. package/opencode/references/security-checklist.md +134 -0
  195. package/opencode/references/testing-patterns.md +236 -0
  196. package/opencode/scripts/check-harness.mjs +1572 -0
  197. package/opencode/scripts/check-harness.test.mjs +820 -0
  198. package/opencode/scripts/collect-session-evidence.mjs +612 -0
  199. package/opencode/scripts/collect-session-evidence.test.mjs +443 -0
  200. package/opencode/scripts/preflight-audit.mjs +497 -0
  201. package/opencode/scripts/preflight-audit.test.mjs +363 -0
  202. package/opencode/scripts/project-capability-snapshot.mjs +407 -0
  203. package/opencode/scripts/project-capability-snapshot.test.mjs +382 -0
  204. package/opencode/scripts/review-orchestrated-prepare.mjs +547 -0
  205. package/opencode/scripts/review-orchestrated-prepare.test.mjs +516 -0
  206. package/opencode/scripts/skill-resolver.mjs +585 -0
  207. package/opencode/scripts/skill-resolver.test.mjs +781 -0
  208. package/opencode/scripts/update-skill-registry.mjs +380 -0
  209. package/opencode/skills/api-and-interface-design/SKILL.md +315 -0
  210. package/opencode/skills/autonomous-loops/SKILL.md +312 -0
  211. package/opencode/skills/code-review-and-quality/SKILL.md +365 -0
  212. package/opencode/skills/code-simplification/SKILL.md +345 -0
  213. package/opencode/skills/context-engineering/SKILL.md +252 -0
  214. package/opencode/skills/debugging-and-error-recovery/SKILL.md +316 -0
  215. package/opencode/skills/documentation-and-adrs/SKILL.md +298 -0
  216. package/opencode/skills/doubt-driven-development/SKILL.md +168 -0
  217. package/opencode/skills/iterative-retrieval/SKILL.md +232 -0
  218. package/opencode/skills/open-design/SKILL.md +123 -0
  219. package/opencode/skills/performance-optimization/SKILL.md +365 -0
  220. package/opencode/skills/security-and-hardening/SKILL.md +369 -0
  221. package/opencode/skills/source-driven-development/SKILL.md +210 -0
  222. package/opencode/skills/test-driven-development/SKILL.md +406 -0
  223. package/opencode/skills/using-agent-skills/SKILL.md +194 -0
  224. package/opencode/skills/verification-loop/SKILL.md +162 -0
  225. package/opencode/tools/open_design.ts +361 -0
  226. package/opencode/tui.json +5 -0
  227. package/package.json +20 -0
  228. package/rollback.sh +5 -0
  229. package/scripts/check.sh +184 -0
  230. package/scripts/install-smoke.sh +111 -0
  231. package/scripts/manage-installation.mjs +1498 -0
  232. package/scripts/manage-installation.test.mjs +1936 -0
  233. package/scripts/version.mjs +197 -0
  234. package/scripts/version.test.mjs +195 -0
  235. package/uninstall.sh +5 -0
  236. package/upgrade.sh +5 -0
@@ -0,0 +1,47 @@
1
+ {
2
+ "iteration": 15,
3
+ "changes": [
4
+ {
5
+ "id": "chg-1-semantic-checker",
6
+ "type": "improvement",
7
+ "description": "Replace brittle literal prompt-text checks in check-harness.mjs with bounded semantic regex checks while preserving exact matching for structural permissions and agent identifiers.",
8
+ "files": [
9
+ "scripts/check-harness.mjs"
10
+ ],
11
+ "failure_pattern": "The checker failed when lead-router contract text was rewritten with equivalent wording, even though the rule meaning was preserved.",
12
+ "evidence": [
13
+ "docs/ai/evolution/runs/iteration-014-harness-baseline/evaluation.md",
14
+ "docs/ai/evolution/runs/iteration-014-harness-baseline/analysis/overview.md",
15
+ "docs/ai/evolution/runs/iteration-014-harness-baseline/analysis/detail/token-vs-semantic.md"
16
+ ],
17
+ "root_cause": "The verification mechanism treated prompt prose as exact tokens instead of semantic contract rules.",
18
+ "component_touched": "tool",
19
+ "predicted_fixes": [
20
+ "Equivalent wording rewrites pass the checker.",
21
+ "Real rule omissions still fail the checker.",
22
+ "Structural permission and agent identifier checks remain exact.",
23
+ "No routing, provider, model, MCP, credential, or agent behavior is changed."
24
+ ],
25
+ "risk_tasks": [
26
+ "Do not make regex patterns broad enough to pass unrelated text.",
27
+ "Keep literal fallbacks for the most critical lead prohibition checks.",
28
+ "Keep permissions and agent identifiers as exact literals.",
29
+ "Do not include private providers, MCPs, credentials, local paths, or raw transcripts."
30
+ ],
31
+ "constraint_level": "tool",
32
+ "why_this_component": "The defect is in the mechanical checker, not in agent routing or model configuration.",
33
+ "post_change_validation": [
34
+ "Run `node --check scripts/check-harness.mjs`.",
35
+ "Run `node scripts/check-harness.mjs` from the packaged opencode directory.",
36
+ "Run semantic rewrite smoke tests on temporary copies.",
37
+ "Run omission smoke tests on temporary copies.",
38
+ "Run `git diff --check`."
39
+ ],
40
+ "decision_criteria": {
41
+ "keep": "Checker passes current docs, passes equivalent rewrites, fails real omissions, and keeps structural checks exact.",
42
+ "improve": "Some equivalent rewrites still fail or some real omissions pass.",
43
+ "rollback+pivot": "Regex checks become less reliable than literal checks."
44
+ }
45
+ }
46
+ ]
47
+ }
@@ -0,0 +1,27 @@
1
+ # Iteration 015 - Semantic Checker Evaluation
2
+
3
+ ## Result
4
+
5
+ Decision: `keep`.
6
+
7
+ The public checker now preserves exact structural checks and uses bounded
8
+ semantic regex checks for lead-router prompt prose.
9
+
10
+ ## Scenarios
11
+
12
+ | Scenario | Expected | Actual |
13
+ | --- | --- | --- |
14
+ | `node --check scripts/check-harness.mjs` | pass | pass |
15
+ | `node scripts/check-harness.mjs` | pass | pass |
16
+ | Equivalent lead wording rewrite | pass | pass |
17
+ | Equivalent `commands.md` wording rewrite | pass | pass |
18
+ | Remove "Do not edit code" rule | fail | fail |
19
+ | Change `edit: deny` to `edit: ask` | fail | fail |
20
+ | `git diff --check` | pass | pass |
21
+
22
+ ## Notes
23
+
24
+ - Bounded regexes are intentionally not a full natural-language parser.
25
+ - Critical lead prohibition checks keep literal fallbacks.
26
+ - No public artifact includes raw transcripts, private providers, MCP config,
27
+ credentials, or local machine paths.
@@ -0,0 +1,32 @@
1
+ # Overview - Iteration 016
2
+
3
+ ## Failure Pattern
4
+
5
+ The harness checker had coverage gaps for command and agent prompt drift. It
6
+ verified that agents and commands were documented, but not enough of the
7
+ contract-to-prompt alignment was enforced mechanically.
8
+
9
+ The follow-up review found three concrete risks:
10
+
11
+ - prose evidence containing markdown filenames could be misread as a missing path;
12
+ - ordered flows could pass when the required agent names appeared in the wrong order;
13
+ - cross-agent checks could pass when a prompt matched only one invariant.
14
+
15
+ ## Root Cause
16
+
17
+ The checker grew incrementally. Existing checks protected the lead router,
18
+ `/feature`, and `/plan`, but `/evolve`, `/scope`, `/design`, and broader
19
+ contract-to-prompt alignment were not covered consistently.
20
+
21
+ ## Applied Fix
22
+
23
+ The checker now adds bounded checks for `/evolve`, `/scope`, `/design`, and
24
+ agent-prompt invariants. The path parser now accepts only strings that look like
25
+ standalone repository-relative file paths. Regression tests cover the previously
26
+ observed false positive and false negatives.
27
+
28
+ ## Risk
29
+
30
+ These checks are intentionally bounded regex checks, not a natural-language
31
+ parser. Future prompt rewrites may need checker pattern updates when wording
32
+ changes but the contract remains valid.
@@ -0,0 +1,31 @@
1
+ {
2
+ "iteration": 16,
3
+ "evaluates_iteration": 16,
4
+ "results": [
5
+ {
6
+ "change_id": "chg-16-1",
7
+ "predicted_fixes_confirmed": [
8
+ "evolve-order-drift",
9
+ "scope-order-drift",
10
+ "agent-invariant-drift",
11
+ "prose-evidence-path-false-positive"
12
+ ],
13
+ "predicted_fixes_not_confirmed": [],
14
+ "risk_tasks_regressed": [],
15
+ "risk_tasks_not_regressed": [
16
+ "public-checker-patterns-match-english-prompts",
17
+ "no-private-config-or-paths-in-public-artifacts",
18
+ "existing-feature-plan-checks-unchanged"
19
+ ],
20
+ "unpredicted_regressions": [],
21
+ "decision": "keep",
22
+ "evidence": [
23
+ "node --test scripts/check-harness.test.mjs passed 4/4 tests.",
24
+ "node scripts/check-harness.mjs passed.",
25
+ "Repository-level scripts/check.sh passed.",
26
+ "Public artifact leak check found no private paths, local MCP config, providers, credentials, or local search wiring."
27
+ ],
28
+ "notes": "The public port keeps only harness checker, prompt-contract, docs, and summary AHE evidence. Private opencode.json, MCP servers, provider config, local memory data, and raw transcripts are intentionally excluded."
29
+ }
30
+ ]
31
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "iteration": 16,
3
+ "changes": [
4
+ {
5
+ "id": "chg-16-1",
6
+ "type": "new",
7
+ "description": "Add mechanical checker coverage for /evolve ordering, cross-agent prompt invariants, and /scope and /design command contracts.",
8
+ "files": [
9
+ "scripts/check-harness.mjs",
10
+ "scripts/check-harness.test.mjs",
11
+ "agents/developer.md",
12
+ "docs/ai/harness/checks.md"
13
+ ],
14
+ "failure_pattern": "Harness prompts and command contracts could drift without detection, and prior path validation treated prose evidence containing markdown filenames as a missing local path.",
15
+ "evidence": [
16
+ "docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/evaluation.md",
17
+ "docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/analysis/overview.md"
18
+ ],
19
+ "root_cause": "The checker validated coverage and a few critical flows, but did not enforce several command contracts or each configured agent invariant.",
20
+ "predicted_fixes": [
21
+ "evolve-order-drift",
22
+ "scope-order-drift",
23
+ "agent-invariant-drift",
24
+ "prose-evidence-path-false-positive"
25
+ ],
26
+ "risk_tasks": [
27
+ "public-checker-patterns-match-english-prompts",
28
+ "no-private-config-or-paths-in-public-artifacts",
29
+ "existing-feature-plan-checks-unchanged"
30
+ ],
31
+ "constraint_level": "tool",
32
+ "why_this_component": "The failure is mechanical checker coverage, so scripts/check-harness.mjs is the narrowest component. The developer prompt receives one explicit continuity rule to keep the documented contract reflected in the prompt."
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,31 @@
1
+ # Iteration 016 - Contract/Prompt Alignment
2
+
3
+ ## Result
4
+
5
+ Decision: `improve`.
6
+
7
+ The checker now covers additional harness contracts:
8
+
9
+ - `/evolve` must preserve the `evaluator -> debugger -> evolver` ordering.
10
+ - `/scope` must preserve `researcher -> specifier` ordering.
11
+ - `/design` must keep its Open Design contract.
12
+ - Agent prompts must keep each configured invariant from `docs/ai/harness/agents.md`.
13
+ - AHE JSON evidence prose may mention markdown filenames without being treated as a path.
14
+
15
+ ## Scenarios
16
+
17
+ | Scenario | Expected | Actual |
18
+ | --- | --- | --- |
19
+ | `node --check scripts/check-harness.mjs` | pass | pass |
20
+ | `node scripts/check-harness.mjs` | pass | pass |
21
+ | Prose evidence mentions `PRODUCT.md/DESIGN.md` | pass | pass |
22
+ | `/evolve` order is inverted | fail | fail |
23
+ | `/scope` order is inverted | fail | fail |
24
+ | `lead` prompt keeps only one invariant | fail | fail |
25
+ | `git diff --check` | pass | pass |
26
+
27
+ ## Notes
28
+
29
+ - This public artifact contains summary evidence only.
30
+ - No raw transcripts, private providers, MCP configuration, credentials, or local
31
+ machine paths are included.
@@ -0,0 +1,51 @@
1
+ # Pattern 1 — `/feature` sidecar overreach false positive from coercive test prompt
2
+
3
+ ## Evidence used
4
+
5
+ - `raw/execution-trees.jsonl:36`
6
+ - `raw/normalized-sessions.jsonl:101-109`
7
+ - `commands/feature.md:26-52`
8
+ - `docs/ai/evolution/rejected_mechanisms.jsonl:2`
9
+ - `raw/normalized-sessions.jsonl:110-111` as control case
10
+
11
+ ## Facts
12
+
13
+ - Root session `ses_21cb97bcdffeE10ri056Aeafpz` is a `/feature` run.
14
+ - Its prompt explicitly says: `Habla con cada agente y dile que responda exactamente cada uno OK`.
15
+ - The resulting child sessions include `evaluator`, `debugger` and `evolver` in addition to the normal feature agents.
16
+ - Current `/feature` contract says sidecars are optional and only for doubtful validation, real failures, traces, or explicit evidence requests.
17
+ - The same staged corpus also contains a control tree where technical uncertainty routes first to `researcher` without sidecar evidence.
18
+
19
+ ## Root cause
20
+
21
+ The failing evaluator scenario treated a **coercive flow-test prompt** as if it were a normal feature request. That makes the observed sidecar usage non-diagnostic for the harness rule “sidecars are optional in normal feature flow.”
22
+
23
+ This is a **workflow/evidence-selection** issue: the benchmark did not separate artificial routing tests from natural user requests before inferring a product-level regression.
24
+
25
+ ## Component level implicated
26
+
27
+ - `workflow`
28
+
29
+ ## Predicted fixes
30
+
31
+ - Add corpus classification that marks prompts explicitly asking to contact every agent, every phase, or every sidecar as synthetic routing tests, not baseline feature evidence.
32
+ - Require a second proof source for sidecar-overreach claims: either a natural-language feature tree without coercive wording or a stable replay on the current harness.
33
+ - Keep the rejected mechanism guard (`mech-sidecars-for-every-feature`) but only trigger it from evidence that actually tests the rule.
34
+
35
+ ## Risk tasks
36
+
37
+ - Ensure the classifier does not discard genuine regressions where sidecars appear without being requested.
38
+ - Audit whether there are other staged “flow test” prompts contaminating negative corpora.
39
+ - Verify that explicit user requests for sidecars remain legal when intentionally asked for.
40
+
41
+ ## Falsification criteria
42
+
43
+ This diagnosis is wrong if any of the following is shown:
44
+
45
+ 1. A natural `/feature` transcript, without explicit sidecar/every-agent instructions, still invokes `evaluator`, `debugger`, or `evolver` as part of the normal path.
46
+ 2. A stable replay on the current harness reproduces the same sidecar fan-out for an ordinary feature request.
47
+ 3. The lead/feature contract elsewhere explicitly mandates obeying “talk to every agent” even when that contradicts sidecar optionality for normal features.
48
+
49
+ ## Why this is independent
50
+
51
+ This pattern is about **benchmark attribution**. It is unrelated to the checker-test runtime issue.
@@ -0,0 +1,52 @@
1
+ # Pattern 2 — `check-harness.test.mjs` misclassified as functional failure under tight timeout
2
+
3
+ ## Evidence used
4
+
5
+ - `evaluation.md:120-137`
6
+ - `scripts/check-harness.test.mjs:12-29`
7
+ - `scripts/check-harness.test.mjs:35-344`
8
+ - local measurement: single test run completed in ~9.96s
9
+ - local measurement: full suite passed `14/14` in `112959ms`
10
+ - local measurement: workspace size ~`19939` files / `260380681` bytes
11
+
12
+ ## Facts
13
+
14
+ - The evaluator reported `node --test scripts/check-harness.test.mjs` as fail after a 120s timeout.
15
+ - The suite itself passes when allowed more time.
16
+ - Each test creates a fresh temp fixture by copying the entire repo with `fs.cpSync(root, tmp, ...)`.
17
+ - There are 14 tests, and the current repo is large enough that fixture creation dominates runtime.
18
+
19
+ ## Root cause
20
+
21
+ The observable failure is not currently “broken async logic inside the tests.” The direct cause supported by evidence is that the suite's execution time is close enough to the harness command timeout that an external cancellation can terminate a passing run and surface Node's generic cancellation text.
22
+
23
+ At component level, this is primarily a **tool/runtime-budget** issue caused by heavyweight fixture strategy.
24
+
25
+ ## Component level implicated
26
+
27
+ - `tool`
28
+ - secondary: `workflow`
29
+
30
+ ## Predicted fixes
31
+
32
+ - Distinguish short smoke validation from full checker-suite validation in AHE runs.
33
+ - Give the full suite an explicit timeout budget based on observed runtime rather than default command timeout.
34
+ - Track suite cost as repo size grows; fixture-copy-per-test is the main pressure point supported by current evidence.
35
+
36
+ ## Risk tasks
37
+
38
+ - Confirm the suite still passes under generous timeout on a second run to rule out hidden flakiness.
39
+ - Check whether dirty iteration artifacts further increase copy cost over time.
40
+ - Avoid masking a real async leak by treating every cancellation as “just timeout.”
41
+
42
+ ## Falsification criteria
43
+
44
+ This diagnosis is wrong if any of the following is shown:
45
+
46
+ 1. The suite still hangs or fails with a generous timeout budget.
47
+ 2. The suite fails in a minimal repo copy where runtime is not near the timeout ceiling.
48
+ 3. A targeted test reproduces `Promise resolution is still pending...` even without external cancellation.
49
+
50
+ ## Why this is independent
51
+
52
+ This pattern is about **validation runtime and harness smoke reliability**. It does not depend on the `/feature` corpus-classification issue.
@@ -0,0 +1,99 @@
1
+ # Iteration 017 AHE debugger overview
2
+
3
+ ## 1. Evidencia analizada
4
+
5
+ - `evaluation.md`
6
+ - `raw/execution-trees.jsonl`
7
+ - `raw/normalized-sessions.jsonl`
8
+ - `raw/session-sources.summary.json`
9
+ - `raw/cursor.json`
10
+ - `commands/feature.md`
11
+ - `scripts/check-harness.test.mjs`
12
+ - `scripts/check-harness.mjs`
13
+ - `docs/ai/evolution/rejected_mechanisms.jsonl`
14
+ - `docs/ai/evolution/runs/iteration-016-contract-prompt-alignment/change_manifest.json`
15
+ - confirmaciones locales mínimas:
16
+ - `node --test --test-name-pattern "harness accepts prose evidence that mentions markdown filenames" scripts/check-harness.test.mjs`
17
+ - `node --test scripts/check-harness.test.mjs`
18
+ - `rtk git status --short --branch`
19
+
20
+ ### Separación por fuente
21
+
22
+ - Patrón 1 usa evidencia staged de `local-opencode-db`.
23
+ - Patrón 2 usa evidencia live local + lectura de código.
24
+ - No vi cambio de interpretación entre `local-opencode-db` y `external-opencode-raw`.
25
+
26
+ ## 2. Estado
27
+
28
+ **Listo para spec.**
29
+
30
+ Hay root causes suficientemente acotadas para ajustar benchmark/validación, pero la evidencia actual **no confirma** una regresión real de `/feature` hacia sidecars obligatorios en uso normal.
31
+
32
+ ## 3. Patrones de fallo
33
+
34
+ 1. **Falso positivo de sidecar overreach en corpus `/feature`.**
35
+ Detalle: `analysis/detail/pattern-1-feature-sidecar-false-positive.md`
36
+ 2. **Smoke de `check-harness.test.mjs` clasificado como fallo funcional cuando el problema observable es presupuesto de tiempo.**
37
+ Detalle: `analysis/detail/pattern-2-checker-time-budget.md`
38
+
39
+ ## 4. Root causes
40
+
41
+ ### Patrón 1
42
+ - **Hecho:** el árbol `ses_21cb97bcdffeE10ri056Aeafpz` sí invocó `designer, researcher, specifier, developer, reviewer, evaluator, debugger, evolver`.
43
+ - **Hecho:** el prompt raíz ordenó explícitamente: `Habla con cada agente y dile que responda exactamente cada uno OK`.
44
+ - **Inferencia:** S3 mezcló una sesión de test coercitivo con el corpus de features normales.
45
+ - **Root cause:** problema de selección/clasificación de evidencia en el workflow de evaluación, no routing confirmado de `/feature`.
46
+
47
+ ### Patrón 2
48
+ - **Hecho:** el evaluator marcó fail tras timeout 120s con mensaje `Promise resolution is still pending...`.
49
+ - **Hecho:** una rerun local con timeout amplio pasó `14/14` en `112959ms`.
50
+ - **Hecho:** cada test crea un fixture copiando todo el repo con `fs.cpSync(root, tmp, ...)`; el workspace actual tiene ~19.9k ficheros y ~260 MB.
51
+ - **Inferencia:** el mensaje final proviene de cancelación cerca del timeout, no de una regresión funcional ya reproducida.
52
+ - **Root cause:** budget de validación demasiado ajustado para una suite cuyo coste depende de copiar el repo completo en cada test.
53
+
54
+ ## 5. Fixes candidatos por nivel de componente
55
+
56
+ ### Workflow
57
+ - Separar corpus de **features naturales** vs **flow tests coercitivos** antes de usar árboles históricos como benchmark negativo.
58
+ - Exigir prompt classification o replay de confirmación antes de declarar “sidecar overreach”.
59
+
60
+ ### Tool / workflow
61
+ - Tratar `scripts/check-harness.test.mjs` como validación larga o dividir smoke corto vs suite completa.
62
+ - Medir/registrar presupuesto temporal explícito cuando el repo staged crece.
63
+
64
+ ## 6. Riesgos y regresiones
65
+
66
+ - Si se filtra demasiado agresivamente el corpus, puede ocultarse una fuga real de sidecars en `/feature`.
67
+ - Si solo se sube el timeout sin controlar coste, la suite seguirá siendo frágil al crecimiento del repo.
68
+ - El árbol de `/feature` sospechoso es de `version 1.14.30`; el harness evaluado hoy usa `1.15.12`, así que extrapolar conducta actual desde ese árbol sin replay añade riesgo de atribución incorrecta.
69
+
70
+ ## 7. Atribución de cambios previos
71
+
72
+ ### Iteration 016 manifest (`chg-16-1`, `chg-16-2`, `chg-16-3`)
73
+ - **Atribución:** `improve`
74
+ - **Motivo:** las coberturas funcionales del checker parecen vigentes: `node scripts/check-harness.mjs` pasa y la suite completa también pasa con tiempo suficiente. Pero el manifest previo no capturó el riesgo operacional de duración del test suite, que ahora degrada su utilidad como smoke rápido.
75
+
76
+ ### Rejected mechanism `mech-sidecars-for-every-feature`
77
+ - **Atribución:** `keep`
78
+ - **Motivo:** la evidencia S3 no lo desmiente; el propio prompt pidió hablar con cada agente, incluidos sidecars.
79
+
80
+ ## 8. Limitaciones
81
+
82
+ - No inspeccioné diff de implementación histórica; solo manifest previo y artefactos staged.
83
+ - El working tree ya no está limpio: `M agents/evaluator.md`, `M agents/lead.md`, `?? docs/ai/evolution/runs/iteration-017-ahe-cycle/`.
84
+ - No hubo replay estable nuevo de `/feature`; por tanto no afirmo comportamiento actual sin esa comprobación.
85
+
86
+ ## 9. Handoff para specifier / evolver / reviewer
87
+
88
+ ### Para `specifier`
89
+ - Tratar el problema de S3 como **benchmark hygiene / evidence classification**, no como bug confirmado de `/feature`.
90
+ - Tratar S6 como **runtime-budget regression** del sistema de validación.
91
+
92
+ ### Para `evolver`
93
+ - No pivotes sobre sidecars obligatorios en `/feature` basándote solo en `ses_21cb97...`.
94
+ - Si se propone cambio, que sea uno por patrón: 1) selección de corpus/replay gates, 2) presupuesto/estrategia de validación del checker.
95
+
96
+ ### Para `reviewer`
97
+ - Verificar que cualquier propuesta futura incluya falsación explícita:
98
+ - replay o corpus natural para `/feature`;
99
+ - rerun con budget suficiente para distinguir timeout de fallo real.
@@ -0,0 +1,61 @@
1
+ {
2
+ "iteration": 17,
3
+ "evaluates_iteration": 17,
4
+ "results": [
5
+ {
6
+ "change_id": "chg-17-1",
7
+ "predicted_fixes_confirmed": [
8
+ "feature-sidecar-false-positive",
9
+ "synthetic-routing-test-misclassified-as-natural-feature"
10
+ ],
11
+ "predicted_fixes_not_confirmed": [],
12
+ "risk_tasks_regressed": [],
13
+ "risk_tasks_not_regressed": [
14
+ "explicit-user-requested-sidecars-remain-legal"
15
+ ],
16
+ "risk_tasks_unconfirmed": [
17
+ "natural-feature-sidecar-regression-still-detected",
18
+ "synthetic-prompt-classifier-not-overbroad"
19
+ ],
20
+ "unpredicted_regressions": [],
21
+ "decision": "keep",
22
+ "evidence": [
23
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md:289-313",
24
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md:385-400",
25
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md:418-430",
26
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/overview.md:28-30",
27
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/detail/pattern-1-feature-sidecar-false-positive.md:19-47",
28
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/change_manifest.json:5-30"
29
+ ],
30
+ "notes": "The approved workflow/docs change is supported at documentation-evidence level: the target surfaces now classify coercive '/feature' prompts as synthetic routing tests, require a second proof source before claiming sidecar overreach, and preserve legality for explicit user-requested sidecars. Behavior-level confirmation is still missing because no new natural-feature corpus sample or stable replay was run post-apply. No unexpected regression is evidenced in the changed surfaces."
31
+ },
32
+ {
33
+ "change_id": "chg-17-2",
34
+ "predicted_fixes_confirmed": [
35
+ "checker-suite-timeout-misclassification",
36
+ "ahe-validation-budget-underreported"
37
+ ],
38
+ "predicted_fixes_not_confirmed": [],
39
+ "risk_tasks_regressed": [],
40
+ "risk_tasks_not_regressed": [
41
+ "suite-runtime-growth-tracked-as-repo-expands",
42
+ "full-suite-rerun-under-generous-timeout-still-required"
43
+ ],
44
+ "risk_tasks_unconfirmed": [
45
+ "hidden-async-leak-not-masked-by-bigger-timeout"
46
+ ],
47
+ "unpredicted_regressions": [],
48
+ "decision": "keep",
49
+ "evidence": [
50
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md:314-339",
51
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md:341-367",
52
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md:402-416",
53
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md:418-430",
54
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/overview.md:47-68",
55
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/detail/pattern-2-checker-time-budget.md:19-48",
56
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/change_manifest.json:33-58"
57
+ ],
58
+ "notes": "The approved docs/workflow change is supported at documentation-evidence level: AHE guidance now distinguishes the quick smoke check from the long checker suite, requires an explicit time budget, and records observed runtime. Post-apply evidence also shows the full suite no longer timed out in this run; the remaining failure was the expected lifecycle gate for missing change_evaluation.json. That supports the timeout-misclassification diagnosis, but it still does not behaviorally falsify a hidden async leak across future runs."
59
+ }
60
+ ]
61
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "iteration": 17,
3
+ "changes": [
4
+ {
5
+ "id": "chg-17-1",
6
+ "type": "new",
7
+ "description": "Tighten AHE evidence-classification guidance so coercive '/feature' flow-test prompts (for example, prompts that explicitly demand talking to every agent/sidecar) are tagged as synthetic routing tests and cannot, by themselves, justify a sidecar-overreach regression claim without a second proof source.",
8
+ "files": [
9
+ "commands/evolve.md",
10
+ "docs/ai/harness/commands.md",
11
+ "docs/ai/evolution/README.md"
12
+ ],
13
+ "failure_pattern": "The evaluator can treat a coercive routing-test tree as if it were a natural '/feature' request, producing a false positive that normal feature flow now overuses evaluator/debugger/evolver.",
14
+ "evidence": [
15
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md",
16
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/overview.md",
17
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/detail/pattern-1-feature-sidecar-false-positive.md"
18
+ ],
19
+ "root_cause": "Workflow-level evidence selection/classification error: scenario S3 mixed a synthetic prompt ('Habla con cada agente...') into the negative corpus for normal '/feature' behavior, so the observed sidecar fan-out is non-diagnostic for ordinary routing.",
20
+ "predicted_fixes": [
21
+ "feature-sidecar-false-positive",
22
+ "synthetic-routing-test-misclassified-as-natural-feature"
23
+ ],
24
+ "risk_tasks": [
25
+ "natural-feature-sidecar-regression-still-detected",
26
+ "synthetic-prompt-classifier-not-overbroad",
27
+ "explicit-user-requested-sidecars-remain-legal"
28
+ ],
29
+ "constraint_level": "workflow",
30
+ "why_this_component": "The debugger attributes the problem to benchmark hygiene and evidence attribution, not to '/feature' routing logic or any single agent prompt. Updating the AHE workflow contract is the most local fix that addresses the root cause without re-opening the already rejected mechanism 'mech-sidecars-for-every-feature'."
31
+ },
32
+ {
33
+ "id": "chg-17-2",
34
+ "type": "new",
35
+ "description": "Reframe 'node --test scripts/check-harness.test.mjs' in AHE docs as a long validation with an explicit timeout budget and runtime recording requirement, separate from the quick smoke check 'node scripts/check-harness.mjs', so timeout cancellations are not misreported as functional harness failures.",
36
+ "files": [
37
+ "commands/evolve.md",
38
+ "docs/ai/harness/commands.md",
39
+ "docs/ai/harness/checks.md"
40
+ ],
41
+ "failure_pattern": "A passing checker suite can be marked as a baseline failure when run under the default 120s command timeout, because external cancellation arrives near the suite's runtime ceiling.",
42
+ "evidence": [
43
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/evaluation.md",
44
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/overview.md",
45
+ "docs/ai/evolution/runs/iteration-017-ahe-cycle/analysis/detail/pattern-2-checker-time-budget.md"
46
+ ],
47
+ "root_cause": "Operational framing/budget issue: the full checker suite passed 14/14 in about 113s when given enough time, but the evaluator treated a 120s timeout cancellation as a functional failure even though the suite cost is dominated by copying the full repo per test.",
48
+ "predicted_fixes": [
49
+ "checker-suite-timeout-misclassification",
50
+ "ahe-validation-budget-underreported"
51
+ ],
52
+ "risk_tasks": [
53
+ "hidden-async-leak-not-masked-by-bigger-timeout",
54
+ "suite-runtime-growth-tracked-as-repo-expands",
55
+ "full-suite-rerun-under-generous-timeout-still-required"
56
+ ],
57
+ "constraint_level": "workflow",
58
+ "why_this_component": "The supported root cause is not a proven logic defect in scripts/check-harness.test.mjs but how AHE validation budgets and expectations are documented and applied. A workflow-level change is smaller and more evidence-backed than changing test code or checker internals prematurely."
59
+ }
60
+ ]
61
+ }