harness-everything 1.3.0 → 1.3.2

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 (216) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/AGENTS.md +1 -1
  4. package/CHANGELOG.md +14 -0
  5. package/behavioral-evals/ledger-pairs/README.md +53 -0
  6. package/behavioral-evals/ledger-pairs/arm.js +359 -0
  7. package/behavioral-evals/ledger-pairs/fixture.js +138 -0
  8. package/behavioral-evals/ledger-pairs/preflight.js +96 -0
  9. package/behavioral-evals/ledger-pairs/score.js +155 -0
  10. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/README.md +108 -0
  11. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-baseline/arm-plan.json +14 -0
  12. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-baseline/arm-result.json +35 -0
  13. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-treatment/arm-plan.json +14 -0
  14. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-treatment/arm-result.json +35 -0
  15. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-baseline/arm-plan.json +14 -0
  16. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-baseline/arm-result.json +35 -0
  17. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-treatment/arm-plan.json +14 -0
  18. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-treatment/arm-result.json +35 -0
  19. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-baseline/arm-plan.json +14 -0
  20. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-baseline/arm-result.json +35 -0
  21. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-treatment/arm-plan.json +14 -0
  22. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-treatment/arm-result.json +35 -0
  23. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-baseline/arm-plan.json +14 -0
  24. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-baseline/arm-result.json +28 -0
  25. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-treatment/arm-plan.json +14 -0
  26. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-treatment/arm-result.json +35 -0
  27. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-baseline/arm-plan.json +13 -0
  28. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-baseline/arm-result.json +56 -0
  29. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-treatment/arm-plan.json +13 -0
  30. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-treatment/arm-result.json +56 -0
  31. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-baseline/arm-plan.json +13 -0
  32. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-baseline/arm-result.json +56 -0
  33. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-treatment/arm-plan.json +13 -0
  34. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-treatment/arm-result.json +56 -0
  35. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-baseline/arm-plan.json +13 -0
  36. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-baseline/arm-result.json +49 -0
  37. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-treatment/arm-plan.json +13 -0
  38. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-treatment/arm-result.json +49 -0
  39. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-baseline/arm-plan.json +13 -0
  40. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-baseline/arm-result.json +49 -0
  41. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-treatment/arm-plan.json +13 -0
  42. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-treatment/arm-result.json +56 -0
  43. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-baseline/arm-plan.json +14 -0
  44. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-baseline/arm-result.json +44 -0
  45. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-baseline/receipt.jsonl +17 -0
  46. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-treatment/arm-plan.json +14 -0
  47. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-treatment/arm-result.json +41 -0
  48. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-treatment/receipt.jsonl +58 -0
  49. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-baseline/arm-plan.json +14 -0
  50. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-baseline/arm-result.json +50 -0
  51. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-baseline/receipt.jsonl +101 -0
  52. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-treatment/arm-plan.json +14 -0
  53. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-treatment/arm-result.json +44 -0
  54. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-treatment/receipt.jsonl +29 -0
  55. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-baseline/arm-plan.json +14 -0
  56. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-baseline/arm-result.json +44 -0
  57. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-baseline/receipt.jsonl +23 -0
  58. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-treatment/arm-plan.json +14 -0
  59. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-treatment/arm-result.json +34 -0
  60. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-treatment/receipt.jsonl +24 -0
  61. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-baseline/arm-plan.json +14 -0
  62. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-baseline/arm-result.json +47 -0
  63. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-baseline/receipt.jsonl +69 -0
  64. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-treatment/arm-plan.json +14 -0
  65. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-treatment/arm-result.json +44 -0
  66. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-treatment/receipt.jsonl +65 -0
  67. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/run-order.sh +18 -0
  68. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/score.json +1032 -0
  69. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/README.md +50 -0
  70. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/collect-rerun.txt +3 -0
  71. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/export-report.json +22 -0
  72. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/host-version.txt +1 -0
  73. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/import-report-1.json +18 -0
  74. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/import-report-2.json +18 -0
  75. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/labels-observed-excerpt.jsonl +2 -0
  76. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/observations-index-excerpt.json +26 -0
  77. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/plugin-load-lines.txt +1 -0
  78. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/README.md +46 -0
  79. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/observations-index-excerpt.json +16 -0
  80. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/plugin-load-lines.txt +2 -0
  81. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/run-marks.txt +6 -0
  82. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/steering-probe.js +16 -0
  83. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/steering-trace.jsonl +167 -0
  84. package/ci/archive/325-prep/README.md +9 -2
  85. package/ci/archive/325-prep/doc-reconciliation-red.js +34 -8
  86. package/ci/fixtures/553-t2a/body-edit/base/.agents/harness-everything/project-docs.json +11 -0
  87. package/ci/fixtures/553-t2a/body-edit/base/docs/a.md +6 -0
  88. package/ci/fixtures/553-t2a/body-edit/base/docs/b.md +1 -0
  89. package/ci/fixtures/553-t2a/body-edit/candidate/docs/a.md +6 -0
  90. package/ci/fixtures/553-t2c/derived-regenerate-must/base/docs/adr/EVID-001-verify-all-evidence.md +11 -0
  91. package/ci/fixtures/553-t2c/derived-regenerate-must/base/docs/governed-index.md +19 -0
  92. package/ci/fixtures/553-t2c/derived-regenerate-must/candidate/docs/adr/EVID-001-verify-all-evidence.md +11 -0
  93. package/ci/fixtures/553-t2c/derived-regenerate-must/candidate/docs/governed-index.md +19 -0
  94. package/ci/fixtures/553-t2c/derived-regenerate-must/config.json +17 -0
  95. package/ci/fixtures/doc-obligations/derive/regression-pins.json +153 -0
  96. package/ci/fixtures/state-persist-post-tool-use/harness.js +206 -0
  97. package/ci/fixtures/state-persist-post-tool-use/off-handoff-golden.json +16 -0
  98. package/ci/fixtures/state-persist-post-tool-use/payload-post-tool-use-success.json +13 -0
  99. package/ci/fixtures/stop/fail-session-writes.js +109 -0
  100. package/ci/fixtures/workflow-contract/cases.json +3355 -0
  101. package/ci/fixtures/workflow-contract/wiring-cases.json +560 -0
  102. package/ci/lib/doc-reconciliation-prep-fixtures.js +4 -9
  103. package/ci/mechanism-2an-workflow-replay.test.js +324 -0
  104. package/ci/mechanism-2ax-doc-lifecycle.test.js +132 -0
  105. package/ci/mechanism-325-3a-doc-evidence.test.js +73 -0
  106. package/ci/mechanism-325-3a-doc-obligations.test.js +61 -0
  107. package/ci/mechanism-325-3b-preparation.test.js +208 -49
  108. package/ci/mechanism-325-3b-s1-review.test.js +20 -828
  109. package/ci/mechanism-325-3b-s3-providers.test.js +59 -0
  110. package/ci/mechanism-325-f3-derived-views.test.js +140 -0
  111. package/ci/mechanism-332-fable-directive.test.js +180 -0
  112. package/ci/mechanism-341-opencode-lane.test.js +164 -284
  113. package/ci/mechanism-35-verification-contract.test.js +246 -0
  114. package/ci/mechanism-365-step-edit-accounting.test.js +5 -6
  115. package/ci/mechanism-383-doc-glob-line-terminators.test.js +0 -30
  116. package/ci/mechanism-397-opencode-observations.test.js +151 -18
  117. package/ci/mechanism-552-ledger-pairs.test.js +159 -0
  118. package/ci/mechanism-553-e1-unhook-credit.test.js +328 -0
  119. package/ci/mechanism-553-p2a-claude-hooks.test.js +98 -0
  120. package/ci/mechanism-553-p3-plan-start.test.js +212 -0
  121. package/ci/mechanism-553-state-persist-post-tool-use.test.js +307 -0
  122. package/ci/mechanism-553-stop.test.js +427 -0
  123. package/ci/mechanism-553-t2a-derive.test.js +110 -0
  124. package/ci/mechanism-553-t2c-derive.test.js +94 -0
  125. package/ci/mechanism-e1-derived-regenerate.test.js +45 -206
  126. package/ci/mechanism-outline-sanitizer.test.js +0 -8
  127. package/ci/mechanism-pr-a-conflict-check.test.js +38 -305
  128. package/ci/mechanism-prb-outline-review.test.js +101 -3283
  129. package/ci/router-workflow-plan.test.js +61 -21
  130. package/docs/adr/DOCS-006-reconciliation-pilot.md +4 -2
  131. package/docs/adr/DOCS-008-obligation-abstraction-bounded-consumer.md +3 -3
  132. package/docs/doc-workflow-reconciliation.md +17 -2
  133. package/docs/document-lifecycle.md +6 -2
  134. package/docs/platform-capabilities.md +63 -16
  135. package/docs/platform-compatibility.json +5 -5
  136. package/harness-everything/SKILL.md +1 -1
  137. package/harness-everything/scripts/routing-keywords.json +0 -2
  138. package/harness-everything/scripts/tier-router.js +105 -11
  139. package/hooks/hooks.json +0 -46
  140. package/hooks/scripts/lib/workflow-obligations.js +0 -55
  141. package/hooks/scripts/state-persist.js +7 -95
  142. package/hooks/scripts/workflow-disposition.js +0 -2
  143. package/hooks/scripts/workflow-stop-gate.js +17 -30
  144. package/opencode-plugin/index.mjs +6 -70
  145. package/opencode-plugin/plugin.json +1 -1
  146. package/package.json +1 -1
  147. package/plugins/harness-everything/.antigravity-plugin/plugin.json +1 -1
  148. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  149. package/plugins/harness-everything/hooks/scripts/lib/workflow-obligations.js +0 -55
  150. package/plugins/harness-everything/hooks/scripts/state-persist.js +7 -95
  151. package/plugins/harness-everything/hooks/scripts/workflow-disposition.js +0 -2
  152. package/plugins/harness-everything/hooks/scripts/workflow-stop-gate.js +17 -30
  153. package/plugins/harness-everything/plugin.json +1 -1
  154. package/plugins/harness-everything/rules/AGENTS.md +1 -1
  155. package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
  156. package/plugins/harness-everything/skills/harness-everything/scripts/routing-keywords.json +0 -2
  157. package/plugins/harness-everything/skills/harness-everything/scripts/tier-router.js +105 -11
  158. package/sbom.cdx.json +7 -7
  159. package/ci/fixtures/doc-obligations/reconciliation-s1/cases.json +0 -6854
  160. package/ci/fixtures/doc-obligations/reconciliation-s1/fail-session-writes.js +0 -116
  161. package/ci/fixtures/doc-obligations/reconciliation-s2a/harness.js +0 -507
  162. package/ci/fixtures/doc-obligations/reconciliation-s2a/run13-workflow-requirements.json +0 -42
  163. package/ci/fixtures/doc-obligations/reconciliation-s2a/vectors.json +0 -617
  164. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/harness.js +0 -415
  165. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-post-tool-use-success-minimal.json +0 -9
  166. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-start.json +0 -7
  167. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-stop-freetext-reject.json +0 -11
  168. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-stop-reject.json +0 -11
  169. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-stop.json +0 -11
  170. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-task-result.json +0 -19
  171. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/off-capture-only.json +0 -99
  172. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/off-legacy.json +0 -67
  173. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-concurrent-writers.json +0 -62
  174. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-lookalikes-runtime-mutations.json +0 -67
  175. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-malformed.json +0 -85
  176. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-normal-session.json +0 -74
  177. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-runtime-drift-later-npm-test.json +0 -58
  178. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-valid-direct-quoted-review.json +0 -85
  179. package/ci/fixtures/doc-obligations/reconciliation-s2b/f4/cases.json +0 -2267
  180. package/ci/fixtures/doc-obligations/reconciliation-s2b/wiring/cases.json +0 -1110
  181. package/ci/lib/doc-reconciliation-file-spy.js +0 -23
  182. package/ci/lib/doc-reconciliation-qualification-preload.js +0 -37
  183. package/ci/lib/doc-reconciliation-replay.js +0 -104
  184. package/ci/lib/doc-reconciliation-staged-tree.js +0 -102
  185. package/ci/mechanism-325-3b-h1-qualification.test.js +0 -206
  186. package/ci/mechanism-325-3b-s1.test.js +0 -188
  187. package/ci/mechanism-325-3b-s2a-core.test.js +0 -840
  188. package/ci/mechanism-325-3b-s2a-producer.test.js +0 -564
  189. package/ci/mechanism-325-3b-s2b-capture.test.js +0 -566
  190. package/ci/mechanism-325-3b-s2b-wiring.test.js +0 -679
  191. package/ci/mechanism-325-f4-invariants.test.js +0 -606
  192. package/ci/mechanism-325-f4-projections.test.js +0 -392
  193. package/ci/mechanism-325-f4-qualification.test.js +0 -228
  194. package/ci/mechanism-325-f4-trust-boundary.test.js +0 -880
  195. package/ci/mechanism-e1-dependency-artifact-scope.test.js +0 -657
  196. package/hooks/scripts/lib/doc-reconciliation-capture.sanitized.jsonl +0 -26
  197. package/hooks/scripts/lib/doc-reconciliation-core.js +0 -336
  198. package/hooks/scripts/lib/doc-reconciliation-events.js +0 -292
  199. package/hooks/scripts/lib/doc-reconciliation-outline-capture.sanitized.jsonl +0 -24
  200. package/hooks/scripts/lib/doc-reconciliation-pilot.js +0 -482
  201. package/hooks/scripts/lib/doc-reconciliation-producer.js +0 -468
  202. package/hooks/scripts/lib/doc-reconciliation-provider.js +0 -3304
  203. package/hooks/scripts/lib/doc-reconciliation-qualification.json +0 -54
  204. package/hooks/scripts/w6-state-operations.js +0 -239
  205. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-capture.sanitized.jsonl +0 -26
  206. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-core.js +0 -336
  207. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-events.js +0 -292
  208. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-outline-capture.sanitized.jsonl +0 -24
  209. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-pilot.js +0 -482
  210. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-producer.js +0 -468
  211. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-provider.js +0 -3304
  212. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-qualification.json +0 -54
  213. package/plugins/harness-everything/hooks/scripts/w6-state-operations.js +0 -239
  214. package/scripts/system-one-eval-laya.js +0 -112
  215. /package/ci/fixtures/{doc-obligations/reconciliation-s2b/capture → state-persist-post-tool-use}/payload-post-tool-use-failure.json +0 -0
  216. /package/ci/fixtures/{doc-obligations/reconciliation-s2b/wiring → workflow-contract}/legacy-off-golden.json +0 -0
@@ -1,1110 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "phase": "325-3b-I2-wiring",
4
- "description": "R2c-2 S2b wiring corpus (new path registered for registry retirement). Same L1 replay contract as the reconciliation-prep corpus; cases are replayed by ci/mechanism-325-3b-s2b-wiring.test.js through fx.replayCase with unmodified lib code. baseFiles/candidateFiles are real git fixtures (baseline committed, candidate in the working tree). The input.config and input.task fields are declared test-origin fixtures. Host events are no longer declared: each one is delivered through a real hook entry as a hookDeliver action (F4-T1b). The current fixture runtime does not materialise config/task/hostEvents yet - that materialisation is part of the missing GREEN wiring implementation, and wiring assertions that need it are the expected RED of this suite, never synthesised.",
5
- "cases": [
6
- {
7
- "id": "W-off-legacy",
8
- "family": "WCTRL",
9
- "description": "OFF early-return and legacy byte-equivalence pin: the S1 trio replays to its legacy completion, no pilot runtime report is written and no baseline is captured or persisted.",
10
- "topology": "iterative-single-typed",
11
- "requirements": [
12
- {
13
- "id": "req-docs",
14
- "stepType": "doc-change",
15
- "summary": "Update the PRD REQ text",
16
- "acceptance": "normative PRD text is reviewed"
17
- },
18
- {
19
- "id": "req-review",
20
- "stepType": "review",
21
- "summary": "Review the PRD change",
22
- "acceptance": "reviewed scope and findings are recorded"
23
- },
24
- {
25
- "id": "req-verify",
26
- "stepType": "verification",
27
- "summary": "Verify the PRD change",
28
- "acceptance": "objective doc checks are recorded"
29
- }
30
- ],
31
- "input": {
32
- "baseFiles": {
33
- ".agents/harness-everything/project-docs.json": "{\n \"governed\": [\n {\n \"path\": \"docs/prd/**\",\n \"role\": \"prd\"\n },\n {\n \"path\": \"docs/adr/**\",\n \"role\": \"adr\"\n },\n {\n \"path\": \"docs/reference/**\",\n \"role\": \"reference\"\n }\n ],\n \"domains\": [\n \"GRPH\"\n ],\n \"legacy\": [\n \"docs/adr/legacy/**\"\n ],\n \"derived\": [\n {\n \"path\": \"docs/roadmap/index.md\",\n \"generator\": \"npm run docs:index\"\n }\n ],\n \"tickets\": \"tracker\"\n}\n",
34
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:a103bf860ed9d2cf7100d93eb8f0e3c3bce322d47e0f9fd83914b5bcc264ef70\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one topology per task.\n\nAcceptance: exactly one topology is recorded.\n"
35
- },
36
- "candidateFiles": {
37
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:c5bc6c8aa29b39198eec91b7af210a946896d9b7975b9c72540ddd4a4bfb37ea\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one or more topologies per task.\n\nAcceptance: one or more topologies are recorded.\n"
38
- },
39
- "config": {
40
- "role": "declared-test-origin",
41
- "deriveConfig": "ci/fixtures/doc-obligations/derive/config.json"
42
- },
43
- "task": {
44
- "role": "declared-test-origin",
45
- "taskId": "task-w-off-legacy",
46
- "identityContract": "ci/fixtures/doc-obligations/reconciliation-prep/trust-contract.json"
47
- }
48
- },
49
- "actions": [
50
- {
51
- "id": "route",
52
- "op": "route",
53
- "payload": {
54
- "prompt": "Update the PRD REQ text, review it, and verify it."
55
- }
56
- },
57
- {
58
- "id": "plan",
59
- "op": "plan",
60
- "payload": {
61
- "requirements": "$requirements",
62
- "strategy": "iterative-single",
63
- "evidence": "three dependent requirements fit a bounded documentation loop"
64
- }
65
- },
66
- {
67
- "id": "start",
68
- "op": "start",
69
- "payload": {}
70
- },
71
- {
72
- "id": "doc-pass",
73
- "op": "step",
74
- "payload": {
75
- "stepId": "req-docs",
76
- "disposition": "pass",
77
- "evidence": "PRD REQ text updated"
78
- }
79
- },
80
- {
81
- "id": "review-pass",
82
- "op": "step",
83
- "payload": {
84
- "stepId": "req-review",
85
- "disposition": "pass",
86
- "evidence": "review scope recorded"
87
- }
88
- },
89
- {
90
- "id": "verify-bind",
91
- "op": "binding",
92
- "payload": {
93
- "stepId": "req-verify",
94
- "bindingId": "verification-loop",
95
- "disposition": "loaded",
96
- "evidence": "verification loop skill located"
97
- }
98
- },
99
- {
100
- "id": "verify-pass",
101
- "op": "step",
102
- "payload": {
103
- "stepId": "req-verify",
104
- "disposition": "pass",
105
- "evidence": "objective doc checks recorded"
106
- }
107
- },
108
- {
109
- "id": "stop",
110
- "op": "stop",
111
- "payload": {}
112
- },
113
- {
114
- "id": "stop-generic",
115
- "op": "stopGeneric",
116
- "payload": {}
117
- }
118
- ]
119
- },
120
- {
121
- "id": "W-credit-freshness",
122
- "family": "WCREDIT",
123
- "description": "Positive credit path and freshness withholding (supersedes P05.on.stop-on-2-withheld and P05.on.stop-on-3-withheld). With declared test-origin captures and the simulated qualifying live-capture artifact, the governed plan earns verification credit and the first Stop reports satisfied; a candidate mutation, a config mutation, an OFF stop and a re-ON stop stay withheld - stale credit never returns.",
124
- "topology": "iterative-single-typed",
125
- "requirements": [
126
- {
127
- "id": "req-docs",
128
- "stepType": "doc-change",
129
- "summary": "Update the PRD REQ text",
130
- "acceptance": "normative PRD text is reviewed"
131
- },
132
- {
133
- "id": "req-review",
134
- "stepType": "review",
135
- "summary": "Review the PRD change",
136
- "acceptance": "reviewed scope and findings are recorded"
137
- },
138
- {
139
- "id": "req-verify",
140
- "stepType": "verification",
141
- "summary": "Verify the PRD change",
142
- "acceptance": "objective doc checks are recorded"
143
- }
144
- ],
145
- "input": {
146
- "baseFiles": {
147
- ".agents/harness-everything/project-docs.json": "{\n \"governed\": [\n {\n \"path\": \"docs/prd/**\",\n \"role\": \"prd\"\n },\n {\n \"path\": \"docs/adr/**\",\n \"role\": \"adr\"\n },\n {\n \"path\": \"docs/reference/**\",\n \"role\": \"reference\"\n }\n ],\n \"domains\": [\n \"GRPH\"\n ],\n \"legacy\": [\n \"docs/adr/legacy/**\"\n ],\n \"derived\": [\n {\n \"path\": \"docs/roadmap/index.md\",\n \"generator\": \"npm run docs:index\"\n }\n ],\n \"tickets\": \"tracker\"\n}\n",
148
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:a103bf860ed9d2cf7100d93eb8f0e3c3bce322d47e0f9fd83914b5bcc264ef70\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one topology per task.\n\nAcceptance: exactly one topology is recorded.\n"
149
- },
150
- "candidateFiles": {
151
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:c5bc6c8aa29b39198eec91b7af210a946896d9b7975b9c72540ddd4a4bfb37ea\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one or more topologies per task.\n\nAcceptance: one or more topologies are recorded.\n"
152
- },
153
- "config": {
154
- "role": "declared-test-origin",
155
- "deriveConfig": "ci/fixtures/doc-obligations/derive/config.json"
156
- },
157
- "task": {
158
- "role": "declared-test-origin",
159
- "taskId": "task-w-credit-01",
160
- "identityContract": "ci/fixtures/doc-obligations/reconciliation-prep/trust-contract.json"
161
- }
162
- },
163
- "actions": [
164
- {
165
- "id": "route",
166
- "op": "route",
167
- "payload": {
168
- "prompt": "Update the PRD REQ text, review it, and verify it."
169
- }
170
- },
171
- {
172
- "id": "plan",
173
- "op": "plan",
174
- "payload": {
175
- "requirements": "$requirements",
176
- "strategy": "iterative-single",
177
- "evidence": "three dependent requirements fit a bounded documentation loop"
178
- }
179
- },
180
- {
181
- "id": "start",
182
- "op": "start",
183
- "payload": {}
184
- },
185
- {
186
- "id": "doc-pass",
187
- "op": "step",
188
- "payload": {
189
- "stepId": "req-docs",
190
- "disposition": "pass",
191
- "evidence": "PRD REQ text updated"
192
- }
193
- },
194
- {
195
- "id": "reviewer-agent-result",
196
- "op": "hookDeliver",
197
- "payload": {
198
- "event": "PostToolUse",
199
- "toolName": "Agent",
200
- "command": "Agent: repo-docs-reviewer",
201
- "toolUseId": "toolu_f4_reviewer_agent_W-credit-freshness",
202
- "response": {
203
- "agentId": "agent-f4-reviewer",
204
- "status": "completed"
205
- }
206
- }
207
- },
208
- {
209
- "id": "reviewer-stop",
210
- "op": "hookDeliver",
211
- "payload": {
212
- "event": "SubagentStop",
213
- "agentId": "agent-f4-reviewer",
214
- "agentType": "repo-docs-reviewer",
215
- "lastAssistantMessage": "Review verdict: approve. The PRD change keeps its acceptance criteria consistent.\nReviewed artifact: docs/prd/graph.md sha256:4d2b4ef924ba492f4de058d00eb7a27c91f0bad64f5fcb2eab28fb36e048ec6b"
216
- }
217
- },
218
- {
219
- "id": "review-pass",
220
- "op": "step",
221
- "payload": {
222
- "stepId": "req-review",
223
- "disposition": "pass",
224
- "evidence": "independent host review approved the PRD change"
225
- },
226
- "expectExit": {
227
- "on": [
228
- 0,
229
- 2
230
- ]
231
- }
232
- },
233
- {
234
- "id": "verify-bind",
235
- "op": "binding",
236
- "payload": {
237
- "stepId": "req-verify",
238
- "bindingId": "verification-loop",
239
- "disposition": "loaded",
240
- "evidence": "verification loop skill located"
241
- }
242
- },
243
- {
244
- "id": "verify-first",
245
- "op": "step",
246
- "payload": {
247
- "stepId": "req-verify",
248
- "disposition": "pass",
249
- "evidence": "objective doc checks recorded with current host-origin reconciliation"
250
- },
251
- "expectExit": {
252
- "on": [
253
- 0,
254
- 2
255
- ]
256
- }
257
- },
258
- {
259
- "id": "stop-on-1",
260
- "op": "stop",
261
- "payload": {}
262
- },
263
- {
264
- "id": "mutate-candidate",
265
- "op": "mutateIdentity",
266
- "payload": {
267
- "kind": "candidate",
268
- "path": "docs/prd/graph.md",
269
- "content": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:c5bc6c8aa29b39198eec91b7af210a946896d9b7975b9c72540ddd4a4bfb37ea\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records two or more topologies per task.\n\nAcceptance: two or more topologies are recorded.\n"
270
- }
271
- },
272
- {
273
- "id": "mutate-config",
274
- "op": "mutateIdentity",
275
- "payload": {
276
- "kind": "config",
277
- "path": ".agents/harness-everything/project-docs.json",
278
- "content": "{\n \"governed\": [\n {\n \"path\": \"docs/prd/**\",\n \"role\": \"prd\"\n },\n {\n \"path\": \"docs/adr-extra/**\",\n \"role\": \"adr\"\n },\n {\n \"path\": \"docs/reference/**\",\n \"role\": \"reference\"\n }\n ],\n \"domains\": [\n \"GRPH\"\n ]\n}\n"
279
- }
280
- },
281
- {
282
- "id": "stop-on-2",
283
- "op": "stop",
284
- "payload": {}
285
- },
286
- {
287
- "id": "stop-off",
288
- "op": "stop",
289
- "payload": {},
290
- "pilot": "0"
291
- },
292
- {
293
- "id": "stop-on-3",
294
- "op": "stop",
295
- "payload": {}
296
- }
297
- ]
298
- },
299
- {
300
- "id": "W-review-progression",
301
- "family": "WREVIEW",
302
- "description": "Review progression (supersedes P02e.on.review-pass-exit, P02e.on.stop-reports and P03.on.verify-retry-exit). A self-authored review PASS is refused, Stop reports the pending review step, an independent host review retry is accepted before any verifier record, the first verification attempt stays refused, and a later verification retry with the declared valid evidence completes.",
303
- "topology": "iterative-single-typed",
304
- "requirements": [
305
- {
306
- "id": "req-docs",
307
- "stepType": "doc-change",
308
- "summary": "Update the PRD REQ text",
309
- "acceptance": "normative PRD text is reviewed"
310
- },
311
- {
312
- "id": "req-review",
313
- "stepType": "review",
314
- "summary": "Review the PRD change",
315
- "acceptance": "reviewed scope and findings are recorded"
316
- },
317
- {
318
- "id": "req-verify",
319
- "stepType": "verification",
320
- "summary": "Verify the PRD change",
321
- "acceptance": "objective doc checks are recorded"
322
- }
323
- ],
324
- "input": {
325
- "baseFiles": {
326
- ".agents/harness-everything/project-docs.json": "{\n \"governed\": [\n {\n \"path\": \"docs/prd/**\",\n \"role\": \"prd\"\n },\n {\n \"path\": \"docs/adr/**\",\n \"role\": \"adr\"\n },\n {\n \"path\": \"docs/reference/**\",\n \"role\": \"reference\"\n }\n ],\n \"domains\": [\n \"GRPH\"\n ],\n \"legacy\": [\n \"docs/adr/legacy/**\"\n ],\n \"derived\": [\n {\n \"path\": \"docs/roadmap/index.md\",\n \"generator\": \"npm run docs:index\"\n }\n ],\n \"tickets\": \"tracker\"\n}\n",
327
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:a103bf860ed9d2cf7100d93eb8f0e3c3bce322d47e0f9fd83914b5bcc264ef70\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one topology per task.\n\nAcceptance: exactly one topology is recorded.\n"
328
- },
329
- "candidateFiles": {
330
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:c5bc6c8aa29b39198eec91b7af210a946896d9b7975b9c72540ddd4a4bfb37ea\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one or more topologies per task.\n\nAcceptance: one or more topologies are recorded.\n"
331
- },
332
- "config": {
333
- "role": "declared-test-origin",
334
- "deriveConfig": "ci/fixtures/doc-obligations/derive/config.json"
335
- },
336
- "task": {
337
- "role": "declared-test-origin",
338
- "taskId": "task-w-review-01",
339
- "identityContract": "ci/fixtures/doc-obligations/reconciliation-prep/trust-contract.json"
340
- }
341
- },
342
- "actions": [
343
- {
344
- "id": "route",
345
- "op": "route",
346
- "payload": {
347
- "prompt": "Update the PRD REQ text, review it, and verify it."
348
- }
349
- },
350
- {
351
- "id": "plan",
352
- "op": "plan",
353
- "payload": {
354
- "requirements": "$requirements",
355
- "strategy": "iterative-single",
356
- "evidence": "three dependent requirements fit a bounded documentation loop"
357
- }
358
- },
359
- {
360
- "id": "start",
361
- "op": "start",
362
- "payload": {}
363
- },
364
- {
365
- "id": "doc-pass",
366
- "op": "step",
367
- "payload": {
368
- "stepId": "req-docs",
369
- "disposition": "pass",
370
- "evidence": "PRD REQ text updated"
371
- }
372
- },
373
- {
374
- "id": "review-self",
375
- "op": "step",
376
- "payload": {
377
- "stepId": "req-review",
378
- "disposition": "pass",
379
- "evidence": "the author reviewed the change"
380
- },
381
- "expectExit": {
382
- "on": [
383
- 0,
384
- 2
385
- ]
386
- }
387
- },
388
- {
389
- "id": "stop-mid",
390
- "op": "stop",
391
- "payload": {}
392
- },
393
- {
394
- "id": "reviewer-agent-result",
395
- "op": "hookDeliver",
396
- "payload": {
397
- "event": "PostToolUse",
398
- "toolName": "Agent",
399
- "command": "Agent: repo-docs-reviewer",
400
- "toolUseId": "toolu_f4_reviewer_agent_W-review-progression",
401
- "response": {
402
- "agentId": "agent-f4-reviewer",
403
- "status": "completed"
404
- }
405
- }
406
- },
407
- {
408
- "id": "reviewer-stop",
409
- "op": "hookDeliver",
410
- "payload": {
411
- "event": "SubagentStop",
412
- "agentId": "agent-f4-reviewer",
413
- "agentType": "repo-docs-reviewer",
414
- "lastAssistantMessage": "Review verdict: approve. The PRD change keeps its acceptance criteria consistent.\nReviewed artifact: docs/prd/graph.md sha256:4d2b4ef924ba492f4de058d00eb7a27c91f0bad64f5fcb2eab28fb36e048ec6b"
415
- }
416
- },
417
- {
418
- "id": "review-retry",
419
- "op": "step",
420
- "payload": {
421
- "stepId": "req-review",
422
- "disposition": "pass",
423
- "evidence": "independent host review approved the PRD change"
424
- },
425
- "expectExit": {
426
- "on": [
427
- 0,
428
- 2
429
- ]
430
- }
431
- },
432
- {
433
- "id": "verify-bind",
434
- "op": "binding",
435
- "payload": {
436
- "stepId": "req-verify",
437
- "bindingId": "verification-loop",
438
- "disposition": "loaded",
439
- "evidence": "verification loop skill located"
440
- }
441
- },
442
- {
443
- "id": "verify-pass",
444
- "op": "step",
445
- "payload": {
446
- "stepId": "req-verify",
447
- "disposition": "pass",
448
- "evidence": "verification attempted before evidence arrived"
449
- },
450
- "expectExit": {
451
- "on": [
452
- 0,
453
- 2
454
- ]
455
- }
456
- },
457
- {
458
- "id": "verify-retry",
459
- "op": "step",
460
- "payload": {
461
- "stepId": "req-verify",
462
- "disposition": "pass",
463
- "evidence": "verification retried with current host-origin evidence"
464
- },
465
- "expectExit": {
466
- "on": [
467
- 0,
468
- 2
469
- ]
470
- }
471
- },
472
- {
473
- "id": "stop",
474
- "op": "stop",
475
- "payload": {}
476
- },
477
- {
478
- "id": "stop-generic",
479
- "op": "stopGeneric",
480
- "payload": {}
481
- }
482
- ]
483
- },
484
- {
485
- "id": "W-review-no-surface",
486
- "family": "WREVIEW",
487
- "description": "F4-T5 conflict 3: an independent reviewer SubagentStop with no correlated Agent/Task result surface is not approved (F5). The review step stays pending; no review credit.",
488
- "topology": "iterative-single-typed",
489
- "requirements": [
490
- {
491
- "id": "req-docs",
492
- "stepType": "doc-change",
493
- "summary": "Update the PRD REQ text",
494
- "acceptance": "normative PRD text is reviewed"
495
- },
496
- {
497
- "id": "req-review",
498
- "stepType": "review",
499
- "summary": "Review the PRD change",
500
- "acceptance": "reviewed scope and findings are recorded"
501
- },
502
- {
503
- "id": "req-verify",
504
- "stepType": "verification",
505
- "summary": "Verify the PRD change",
506
- "acceptance": "objective doc checks are recorded"
507
- }
508
- ],
509
- "input": {
510
- "baseFiles": {
511
- ".agents/harness-everything/project-docs.json": "{\n \"governed\": [\n {\n \"path\": \"docs/prd/**\",\n \"role\": \"prd\"\n },\n {\n \"path\": \"docs/adr/**\",\n \"role\": \"adr\"\n },\n {\n \"path\": \"docs/reference/**\",\n \"role\": \"reference\"\n }\n ],\n \"domains\": [\n \"GRPH\"\n ],\n \"legacy\": [\n \"docs/adr/legacy/**\"\n ],\n \"derived\": [\n {\n \"path\": \"docs/roadmap/index.md\",\n \"generator\": \"npm run docs:index\"\n }\n ],\n \"tickets\": \"tracker\"\n}\n",
512
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:a103bf860ed9d2cf7100d93eb8f0e3c3bce322d47e0f9fd83914b5bcc264ef70\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one topology per task.\n\nAcceptance: exactly one topology is recorded.\n"
513
- },
514
- "candidateFiles": {
515
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:c5bc6c8aa29b39198eec91b7af210a946896d9b7975b9c72540ddd4a4bfb37ea\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one or more topologies per task.\n\nAcceptance: one or more topologies are recorded.\n"
516
- },
517
- "config": {
518
- "role": "declared-test-origin",
519
- "deriveConfig": "ci/fixtures/doc-obligations/derive/config.json"
520
- },
521
- "task": {
522
- "role": "declared-test-origin",
523
- "taskId": "task-w-review-01",
524
- "identityContract": "ci/fixtures/doc-obligations/reconciliation-prep/trust-contract.json"
525
- }
526
- },
527
- "actions": [
528
- {
529
- "id": "route",
530
- "op": "route",
531
- "payload": {
532
- "prompt": "Update the PRD REQ text, review it, and verify it."
533
- }
534
- },
535
- {
536
- "id": "plan",
537
- "op": "plan",
538
- "payload": {
539
- "requirements": "$requirements",
540
- "strategy": "iterative-single",
541
- "evidence": "three dependent requirements fit a bounded documentation loop"
542
- }
543
- },
544
- {
545
- "id": "start",
546
- "op": "start",
547
- "payload": {}
548
- },
549
- {
550
- "id": "doc-pass",
551
- "op": "step",
552
- "payload": {
553
- "stepId": "req-docs",
554
- "disposition": "pass",
555
- "evidence": "PRD REQ text updated"
556
- }
557
- },
558
- {
559
- "id": "review-self",
560
- "op": "step",
561
- "payload": {
562
- "stepId": "req-review",
563
- "disposition": "pass",
564
- "evidence": "the author reviewed the change"
565
- },
566
- "expectExit": {
567
- "on": [
568
- 0,
569
- 2
570
- ]
571
- }
572
- },
573
- {
574
- "id": "stop-mid",
575
- "op": "stop",
576
- "payload": {}
577
- },
578
- {
579
- "id": "reviewer-stop",
580
- "op": "hookDeliver",
581
- "payload": {
582
- "event": "SubagentStop",
583
- "agentId": "agent-f4-reviewer",
584
- "agentType": "repo-docs-reviewer",
585
- "lastAssistantMessage": "Review verdict: approve. The PRD change keeps its acceptance criteria consistent.\nReviewed artifact: docs/prd/graph.md sha256:4d2b4ef924ba492f4de058d00eb7a27c91f0bad64f5fcb2eab28fb36e048ec6b"
586
- }
587
- },
588
- {
589
- "id": "review-retry",
590
- "op": "step",
591
- "payload": {
592
- "stepId": "req-review",
593
- "disposition": "pass",
594
- "evidence": "independent host review approved the PRD change"
595
- },
596
- "expectExit": {
597
- "on": [
598
- 2
599
- ]
600
- }
601
- },
602
- {
603
- "id": "stop",
604
- "op": "stop",
605
- "payload": {}
606
- }
607
- ]
608
- },
609
- {
610
- "id": "W-ctrl-nondoc-on",
611
- "family": "WCTRL",
612
- "description": "Strengthened non-document ON control derived from the committed P06 row: a complete non-document workflow keeps its legacy satisfied decision under an ON switch, both Stop surfaces still exit 0, and the pilot never fabricates verified document credit.",
613
- "topology": "iterative-single-typed",
614
- "requirements": [
615
- {
616
- "id": "req-code",
617
- "stepType": "behavior-change",
618
- "summary": "Fix the checkout failure",
619
- "acceptance": "the failing scenario succeeds"
620
- },
621
- {
622
- "id": "req-verify",
623
- "stepType": "verification",
624
- "summary": "Verify the checkout change",
625
- "acceptance": "objective check evidence is recorded"
626
- }
627
- ],
628
- "input": {
629
- "baseFiles": {
630
- ".agents/harness-everything/project-docs.json": "{\n \"governed\": [\n {\n \"path\": \"docs/prd/**\",\n \"role\": \"prd\"\n },\n {\n \"path\": \"docs/adr/**\",\n \"role\": \"adr\"\n },\n {\n \"path\": \"docs/reference/**\",\n \"role\": \"reference\"\n }\n ],\n \"domains\": [\n \"GRPH\"\n ],\n \"legacy\": [\n \"docs/adr/legacy/**\"\n ],\n \"derived\": [\n {\n \"path\": \"docs/roadmap/index.md\",\n \"generator\": \"npm run docs:index\"\n }\n ],\n \"tickets\": \"tracker\"\n}\n",
631
- "assets/notes.txt": "Release notes draft.\n"
632
- },
633
- "candidateFiles": {
634
- "assets/notes.txt": "Release notes draft, revised.\n"
635
- },
636
- "config": {
637
- "role": "declared-test-origin",
638
- "deriveConfig": "ci/fixtures/doc-obligations/derive/config.json"
639
- },
640
- "task": {
641
- "role": "declared-test-origin",
642
- "taskId": "task-w-nondoc-01",
643
- "identityContract": "ci/fixtures/doc-obligations/reconciliation-prep/trust-contract.json"
644
- }
645
- },
646
- "actions": [
647
- {
648
- "id": "route",
649
- "op": "route",
650
- "payload": {
651
- "prompt": "Fix this checkout bug and add a regression test."
652
- }
653
- },
654
- {
655
- "id": "plan",
656
- "op": "plan",
657
- "payload": {
658
- "requirements": "$requirements",
659
- "strategy": "iterative-single",
660
- "evidence": "two dependent requirements fit a bounded test-fix-verify loop"
661
- }
662
- },
663
- {
664
- "id": "start",
665
- "op": "start",
666
- "payload": {}
667
- },
668
- {
669
- "id": "direct-execute",
670
- "op": "obligation",
671
- "payload": {
672
- "obligationId": "execute",
673
- "disposition": "pass",
674
- "evidence": "typed execution steps are underway"
675
- }
676
- },
677
- {
678
- "id": "tdd-bind",
679
- "op": "binding",
680
- "payload": {
681
- "stepId": "req-code",
682
- "bindingId": "tdd",
683
- "disposition": "loaded",
684
- "evidence": "tdd skill located"
685
- }
686
- },
687
- {
688
- "id": "code-pass",
689
- "op": "step",
690
- "payload": {
691
- "stepId": "req-code",
692
- "disposition": "pass",
693
- "evidence": "regression test added"
694
- }
695
- },
696
- {
697
- "id": "verify-bind",
698
- "op": "binding",
699
- "payload": {
700
- "stepId": "req-verify",
701
- "bindingId": "verification-loop",
702
- "disposition": "loaded",
703
- "evidence": "verification loop skill located"
704
- }
705
- },
706
- {
707
- "id": "verify-pass",
708
- "op": "step",
709
- "payload": {
710
- "stepId": "req-verify",
711
- "disposition": "pass",
712
- "evidence": "objective check recorded"
713
- }
714
- },
715
- {
716
- "id": "stop",
717
- "op": "stop",
718
- "payload": {}
719
- },
720
- {
721
- "id": "stop-generic",
722
- "op": "stopGeneric",
723
- "payload": {}
724
- }
725
- ]
726
- },
727
- {
728
- "id": "W-strict-oldpass-governed",
729
- "family": "WSTRICT",
730
- "description": "A2 section 4 strict row: a genuinely satisfied non-document workflow whose recorded authoring history must remain, after governed content appears mid-workflow Stop revokes completion credit without panicking and without letting the new scope silently inherit the old PASS.",
731
- "topology": "iterative-single-typed",
732
- "requirements": [
733
- {
734
- "id": "req-code",
735
- "stepType": "behavior-change",
736
- "summary": "Fix the checkout failure",
737
- "acceptance": "the failing scenario succeeds"
738
- },
739
- {
740
- "id": "req-verify",
741
- "stepType": "verification",
742
- "summary": "Verify the checkout change",
743
- "acceptance": "objective check evidence is recorded"
744
- }
745
- ],
746
- "input": {
747
- "baseFiles": {
748
- ".agents/harness-everything/project-docs.json": "{\n \"governed\": [\n {\n \"path\": \"docs/prd/**\",\n \"role\": \"prd\"\n },\n {\n \"path\": \"docs/adr/**\",\n \"role\": \"adr\"\n },\n {\n \"path\": \"docs/reference/**\",\n \"role\": \"reference\"\n }\n ],\n \"domains\": [\n \"GRPH\"\n ],\n \"legacy\": [\n \"docs/adr/legacy/**\"\n ],\n \"derived\": [\n {\n \"path\": \"docs/roadmap/index.md\",\n \"generator\": \"npm run docs:index\"\n }\n ],\n \"tickets\": \"tracker\"\n}\n",
749
- "assets/notes.txt": "Release notes draft.\n",
750
- "docs/adr/GRPH-001.md": "# GRPH-001 Checkout retry\n\nStatus: accepted\n\nCheckout MUST retry once.\n"
751
- },
752
- "candidateFiles": {},
753
- "config": {
754
- "role": "declared-test-origin",
755
- "deriveConfig": "ci/fixtures/doc-obligations/derive/config.json"
756
- },
757
- "task": {
758
- "role": "declared-test-origin",
759
- "taskId": "task-w-scope-01",
760
- "identityContract": "ci/fixtures/doc-obligations/reconciliation-prep/trust-contract.json"
761
- }
762
- },
763
- "actions": [
764
- {
765
- "id": "route",
766
- "op": "route",
767
- "payload": {
768
- "prompt": "Fix this checkout bug and add a regression test."
769
- }
770
- },
771
- {
772
- "id": "plan",
773
- "op": "plan",
774
- "payload": {
775
- "requirements": "$requirements",
776
- "strategy": "iterative-single",
777
- "evidence": "two dependent requirements fit a bounded test-fix-verify loop"
778
- }
779
- },
780
- {
781
- "id": "start",
782
- "op": "start",
783
- "payload": {}
784
- },
785
- {
786
- "id": "tdd-bind",
787
- "op": "binding",
788
- "payload": {
789
- "stepId": "req-code",
790
- "bindingId": "tdd",
791
- "disposition": "loaded",
792
- "evidence": "tdd skill located"
793
- }
794
- },
795
- {
796
- "id": "code-pass",
797
- "op": "step",
798
- "payload": {
799
- "stepId": "req-code",
800
- "disposition": "pass",
801
- "evidence": "regression test added"
802
- }
803
- },
804
- {
805
- "id": "verify-bind",
806
- "op": "binding",
807
- "payload": {
808
- "stepId": "req-verify",
809
- "bindingId": "verification-loop",
810
- "disposition": "loaded",
811
- "evidence": "verification loop skill located"
812
- }
813
- },
814
- {
815
- "id": "verify-pass",
816
- "op": "step",
817
- "payload": {
818
- "stepId": "req-verify",
819
- "disposition": "pass",
820
- "evidence": "objective check recorded"
821
- }
822
- },
823
- {
824
- "id": "stop-satisfied",
825
- "op": "stop",
826
- "payload": {}
827
- },
828
- {
829
- "id": "add-governed-adr",
830
- "op": "mutateIdentity",
831
- "payload": {
832
- "kind": "candidate",
833
- "path": "docs/adr/GRPH-020.md",
834
- "content": "# GRPH-020 Operator record\n\nStatus: accepted\n\nHandling MUST record the operator.\n"
835
- }
836
- },
837
- {
838
- "id": "stop-recheck",
839
- "op": "stop",
840
- "payload": {}
841
- }
842
- ]
843
- },
844
- {
845
- "id": "W-strict-f3-pin",
846
- "family": "WSTRICT",
847
- "description": "A2 section 4 strict row (F3): a governed candidate whose PRD was renamed commits mid-workflow; the pinned pilot baseline must not advance to the new HEAD, all rename-endpoint content stays attributed to its endpoints, and the assessment never re-derives scope from the committed tree.",
848
- "topology": "iterative-single-typed",
849
- "requirements": [
850
- {
851
- "id": "req-docs",
852
- "stepType": "doc-change",
853
- "summary": "Update the PRD REQ text",
854
- "acceptance": "normative PRD text is reviewed"
855
- },
856
- {
857
- "id": "req-review",
858
- "stepType": "review",
859
- "summary": "Review the PRD change",
860
- "acceptance": "reviewed scope and findings are recorded"
861
- },
862
- {
863
- "id": "req-verify",
864
- "stepType": "verification",
865
- "summary": "Verify the PRD change",
866
- "acceptance": "objective doc checks are recorded"
867
- }
868
- ],
869
- "input": {
870
- "baseFiles": {
871
- ".agents/harness-everything/project-docs.json": "{\n \"governed\": [\n {\n \"path\": \"docs/prd/**\",\n \"role\": \"prd\"\n },\n {\n \"path\": \"docs/adr/**\",\n \"role\": \"adr\"\n },\n {\n \"path\": \"docs/reference/**\",\n \"role\": \"reference\"\n }\n ],\n \"domains\": [\n \"GRPH\"\n ],\n \"legacy\": [\n \"docs/adr/legacy/**\"\n ],\n \"derived\": [\n {\n \"path\": \"docs/roadmap/index.md\",\n \"generator\": \"npm run docs:index\"\n }\n ],\n \"tickets\": \"tracker\"\n}\n",
872
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:a103bf860ed9d2cf7100d93eb8f0e3c3bce322d47e0f9fd83914b5bcc264ef70\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one topology per task.\n\nAcceptance: exactly one topology is recorded.\n"
873
- },
874
- "candidateFiles": {
875
- "docs/prd/graph.md": null,
876
- "docs/prd/graph-renamed.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:c5bc6c8aa29b39198eec91b7af210a946896d9b7975b9c72540ddd4a4bfb37ea\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one or more topologies per task.\n\nAcceptance: one or more topologies are recorded.\n"
877
- },
878
- "config": {
879
- "role": "declared-test-origin",
880
- "deriveConfig": "ci/fixtures/doc-obligations/derive/config.json"
881
- },
882
- "task": {
883
- "role": "declared-test-origin",
884
- "taskId": "task-w-rename-01",
885
- "identityContract": "ci/fixtures/doc-obligations/reconciliation-prep/trust-contract.json"
886
- }
887
- },
888
- "actions": [
889
- {
890
- "id": "route",
891
- "op": "route",
892
- "payload": {
893
- "prompt": "Update the PRD REQ text, review it, and verify it."
894
- }
895
- },
896
- {
897
- "id": "plan",
898
- "op": "plan",
899
- "payload": {
900
- "requirements": "$requirements",
901
- "strategy": "iterative-single",
902
- "evidence": "three dependent requirements fit a bounded documentation loop"
903
- }
904
- },
905
- {
906
- "id": "start",
907
- "op": "start",
908
- "payload": {}
909
- },
910
- {
911
- "id": "doc-pass",
912
- "op": "step",
913
- "payload": {
914
- "stepId": "req-docs",
915
- "disposition": "pass",
916
- "evidence": "PRD REQ content moved to the renamed path"
917
- }
918
- },
919
- {
920
- "id": "reviewer-agent-result",
921
- "op": "hookDeliver",
922
- "payload": {
923
- "event": "PostToolUse",
924
- "toolName": "Agent",
925
- "command": "Agent: repo-docs-reviewer",
926
- "toolUseId": "toolu_f4_reviewer_agent_W-strict-f3-pin",
927
- "response": {
928
- "agentId": "agent-f4-reviewer",
929
- "status": "completed"
930
- }
931
- }
932
- },
933
- {
934
- "id": "reviewer-stop",
935
- "op": "hookDeliver",
936
- "payload": {
937
- "event": "SubagentStop",
938
- "agentId": "agent-f4-reviewer",
939
- "agentType": "repo-docs-reviewer",
940
- "lastAssistantMessage": "Review verdict: approve. The PRD change keeps its acceptance criteria consistent.\nReviewed artifact: docs/prd/graph-renamed.md sha256:4d2b4ef924ba492f4de058d00eb7a27c91f0bad64f5fcb2eab28fb36e048ec6b"
941
- }
942
- },
943
- {
944
- "id": "review-pass",
945
- "op": "step",
946
- "payload": {
947
- "stepId": "req-review",
948
- "disposition": "pass",
949
- "evidence": "independent host review approved the renamed PRD change"
950
- },
951
- "expectExit": {
952
- "on": [
953
- 0,
954
- 2
955
- ]
956
- }
957
- },
958
- {
959
- "id": "verify-bind",
960
- "op": "binding",
961
- "payload": {
962
- "stepId": "req-verify",
963
- "bindingId": "verification-loop",
964
- "disposition": "loaded",
965
- "evidence": "verification loop skill located"
966
- }
967
- },
968
- {
969
- "id": "verify-pass",
970
- "op": "step",
971
- "payload": {
972
- "stepId": "req-verify",
973
- "disposition": "pass",
974
- "evidence": "objective doc checks recorded"
975
- },
976
- "expectExit": {
977
- "on": [
978
- 0,
979
- 2
980
- ]
981
- }
982
- },
983
- {
984
- "id": "commit-mid",
985
- "op": "gitCommit",
986
- "payload": {
987
- "message": "commit the rename mid-workflow"
988
- }
989
- },
990
- {
991
- "id": "stop",
992
- "op": "stop",
993
- "payload": {}
994
- }
995
- ]
996
- },
997
- {
998
- "id": "W-strict-f5-gitdiag",
999
- "family": "WSTRICT",
1000
- "description": "A2 section 4 strict row (F5): when git itself is broken, the failure is diagnosed instead of crashing - the sweep surfaces the git failure (baseline-unavailable) rather than pretending the tree is empty; production code refuses safe exit 2, and Search and Verify keep exiting 0 in the same surface.",
1001
- "topology": "iterative-single-typed",
1002
- "requirements": [
1003
- {
1004
- "id": "req-docs",
1005
- "stepType": "doc-change",
1006
- "summary": "Update the PRD REQ text",
1007
- "acceptance": "normative PRD text is reviewed"
1008
- },
1009
- {
1010
- "id": "req-verify",
1011
- "stepType": "verification",
1012
- "summary": "Verify the PRD change",
1013
- "acceptance": "objective doc checks are recorded"
1014
- }
1015
- ],
1016
- "input": {
1017
- "baseFiles": {
1018
- ".agents/harness-everything/project-docs.json": "{\n \"governed\": [\n {\n \"path\": \"docs/prd/**\",\n \"role\": \"prd\"\n },\n {\n \"path\": \"docs/adr/**\",\n \"role\": \"adr\"\n },\n {\n \"path\": \"docs/reference/**\",\n \"role\": \"reference\"\n }\n ],\n \"domains\": [\n \"GRPH\"\n ],\n \"legacy\": [\n \"docs/adr/legacy/**\"\n ],\n \"derived\": [\n {\n \"path\": \"docs/roadmap/index.md\",\n \"generator\": \"npm run docs:index\"\n }\n ],\n \"tickets\": \"tracker\"\n}\n",
1019
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:a103bf860ed9d2cf7100d93eb8f0e3c3bce322d47e0f9fd83914b5bcc264ef70\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one topology per task.\n\nAcceptance: exactly one topology is recorded.\n"
1020
- },
1021
- "candidateFiles": {
1022
- "docs/prd/graph.md": "---\nid: \"PRD-GRPH-001\"\nrevision: 1\nstatus: \"effective\"\ndrafted_by: \"Alice Example\"\neffective_at: \"2026-10-17T00:01:00Z\"\napproval:\n by: \"Bob Independent\"\n at: \"2026-10-17T00:00:00Z\"\n ref: \"https://approvals.example.invalid/PRD-GRPH-001\"\n role: \"human\"\n content_digest: \"sha256:c5bc6c8aa29b39198eec91b7af210a946896d9b7975b9c72540ddd4a4bfb37ea\"\n---\n# Graph\n\n### REQ-GRPH-001\n\nThe router records one or more topologies per task.\n\nAcceptance: one or more topologies are recorded.\n"
1023
- },
1024
- "config": {
1025
- "role": "declared-test-origin",
1026
- "deriveConfig": "ci/fixtures/doc-obligations/derive/config.json"
1027
- },
1028
- "task": {
1029
- "role": "declared-test-origin",
1030
- "taskId": "task-w-gitdiag-01",
1031
- "identityContract": "ci/fixtures/doc-obligations/reconciliation-prep/trust-contract.json"
1032
- }
1033
- },
1034
- "actions": [
1035
- {
1036
- "id": "route",
1037
- "op": "route",
1038
- "payload": {
1039
- "prompt": "Update the PRD REQ text and verify it."
1040
- }
1041
- },
1042
- {
1043
- "id": "plan",
1044
- "op": "plan",
1045
- "payload": {
1046
- "requirements": "$requirements",
1047
- "strategy": "iterative-single",
1048
- "evidence": "two dependent requirements fit a bounded documentation loop"
1049
- }
1050
- },
1051
- {
1052
- "id": "start",
1053
- "op": "start",
1054
- "payload": {}
1055
- },
1056
- {
1057
- "id": "doc-pass",
1058
- "op": "step",
1059
- "payload": {
1060
- "stepId": "req-docs",
1061
- "disposition": "pass",
1062
- "evidence": "PRD REQ text updated"
1063
- }
1064
- },
1065
- {
1066
- "id": "corrupt-git",
1067
- "op": "mutateIdentity",
1068
- "payload": {
1069
- "kind": "candidate",
1070
- "path": ".git/HEAD",
1071
- "content": "corrupted"
1072
- }
1073
- },
1074
- {
1075
- "id": "verify-bind",
1076
- "op": "binding",
1077
- "payload": {
1078
- "stepId": "req-verify",
1079
- "bindingId": "verification-loop",
1080
- "disposition": "loaded",
1081
- "evidence": "verification loop skill located"
1082
- }
1083
- },
1084
- {
1085
- "id": "verify-pass",
1086
- "op": "step",
1087
- "payload": {
1088
- "stepId": "req-verify",
1089
- "disposition": "pass",
1090
- "evidence": "objective doc checks recorded"
1091
- },
1092
- "expectExit": {
1093
- "off": [
1094
- 0
1095
- ],
1096
- "on": [
1097
- 0,
1098
- 2
1099
- ]
1100
- }
1101
- },
1102
- {
1103
- "id": "stop",
1104
- "op": "stop",
1105
- "payload": {}
1106
- }
1107
- ]
1108
- }
1109
- ]
1110
- }