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
@@ -0,0 +1,560 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "phase": "workflow-contract-wiring",
4
+ "description": "Surviving wiring workflow replay controls migrated from reconciliation-s2b/wiring/cases.json (Issue #553 T2-W). Replayed by ci/mechanism-2an-workflow-replay.test.js through real source and packaged entry points with frozen legacy-off-golden.json.",
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
+ },
40
+ "actions": [
41
+ {
42
+ "id": "route",
43
+ "op": "route",
44
+ "payload": {
45
+ "prompt": "Update the PRD REQ text, review it, and verify it."
46
+ }
47
+ },
48
+ {
49
+ "id": "plan",
50
+ "op": "plan",
51
+ "payload": {
52
+ "requirements": "$requirements",
53
+ "strategy": "iterative-single",
54
+ "evidence": "three dependent requirements fit a bounded documentation loop"
55
+ }
56
+ },
57
+ {
58
+ "id": "start",
59
+ "op": "start",
60
+ "payload": {}
61
+ },
62
+ {
63
+ "id": "doc-pass",
64
+ "op": "step",
65
+ "payload": {
66
+ "stepId": "req-docs",
67
+ "disposition": "pass",
68
+ "evidence": "PRD REQ text updated"
69
+ }
70
+ },
71
+ {
72
+ "id": "review-pass",
73
+ "op": "step",
74
+ "payload": {
75
+ "stepId": "req-review",
76
+ "disposition": "pass",
77
+ "evidence": "review scope recorded"
78
+ }
79
+ },
80
+ {
81
+ "id": "verify-bind",
82
+ "op": "binding",
83
+ "payload": {
84
+ "stepId": "req-verify",
85
+ "bindingId": "verification-loop",
86
+ "disposition": "loaded",
87
+ "evidence": "verification loop skill located"
88
+ }
89
+ },
90
+ {
91
+ "id": "verify-pass",
92
+ "op": "step",
93
+ "payload": {
94
+ "stepId": "req-verify",
95
+ "disposition": "pass",
96
+ "evidence": "objective doc checks recorded"
97
+ }
98
+ },
99
+ {
100
+ "id": "stop",
101
+ "op": "stop",
102
+ "payload": {}
103
+ },
104
+ {
105
+ "id": "stop-generic",
106
+ "op": "stopGeneric",
107
+ "payload": {}
108
+ }
109
+ ]
110
+ },
111
+ {
112
+ "id": "W-ctrl-nondoc-on",
113
+ "family": "WCTRL",
114
+ "description": "Ordinary non-document workflow: the complete action chain reaches its legacy satisfied state and both Stop surfaces exit 0 under the legacy switch value.",
115
+ "topology": "iterative-single-typed",
116
+ "requirements": [
117
+ {
118
+ "id": "req-code",
119
+ "stepType": "behavior-change",
120
+ "summary": "Fix the checkout failure",
121
+ "acceptance": "the failing scenario succeeds"
122
+ },
123
+ {
124
+ "id": "req-verify",
125
+ "stepType": "verification",
126
+ "summary": "Verify the checkout change",
127
+ "acceptance": "objective check evidence is recorded"
128
+ }
129
+ ],
130
+ "input": {
131
+ "baseFiles": {
132
+ ".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",
133
+ "assets/notes.txt": "Release notes draft.\n"
134
+ },
135
+ "candidateFiles": {
136
+ "assets/notes.txt": "Release notes draft, revised.\n"
137
+ }
138
+ },
139
+ "actions": [
140
+ {
141
+ "id": "route",
142
+ "op": "route",
143
+ "payload": {
144
+ "prompt": "Fix this checkout bug and add a regression test."
145
+ }
146
+ },
147
+ {
148
+ "id": "plan",
149
+ "op": "plan",
150
+ "payload": {
151
+ "requirements": "$requirements",
152
+ "strategy": "iterative-single",
153
+ "evidence": "two dependent requirements fit a bounded test-fix-verify loop"
154
+ }
155
+ },
156
+ {
157
+ "id": "start",
158
+ "op": "start",
159
+ "payload": {}
160
+ },
161
+ {
162
+ "id": "direct-execute",
163
+ "op": "obligation",
164
+ "payload": {
165
+ "obligationId": "execute",
166
+ "disposition": "pass",
167
+ "evidence": "typed execution steps are underway"
168
+ }
169
+ },
170
+ {
171
+ "id": "tdd-bind",
172
+ "op": "binding",
173
+ "payload": {
174
+ "stepId": "req-code",
175
+ "bindingId": "tdd",
176
+ "disposition": "loaded",
177
+ "evidence": "tdd skill located"
178
+ }
179
+ },
180
+ {
181
+ "id": "code-pass",
182
+ "op": "step",
183
+ "payload": {
184
+ "stepId": "req-code",
185
+ "disposition": "pass",
186
+ "evidence": "regression test added"
187
+ }
188
+ },
189
+ {
190
+ "id": "verify-bind",
191
+ "op": "binding",
192
+ "payload": {
193
+ "stepId": "req-verify",
194
+ "bindingId": "verification-loop",
195
+ "disposition": "loaded",
196
+ "evidence": "verification loop skill located"
197
+ }
198
+ },
199
+ {
200
+ "id": "verify-pass",
201
+ "op": "step",
202
+ "payload": {
203
+ "stepId": "req-verify",
204
+ "disposition": "pass",
205
+ "evidence": "objective check recorded"
206
+ }
207
+ },
208
+ {
209
+ "id": "stop",
210
+ "op": "stop",
211
+ "payload": {}
212
+ },
213
+ {
214
+ "id": "stop-generic",
215
+ "op": "stopGeneric",
216
+ "payload": {}
217
+ }
218
+ ]
219
+ },
220
+ {
221
+ "id": "W-strict-oldpass-governed",
222
+ "family": "WSTRICT",
223
+ "description": "Retained controls: the initial non-document decision is satisfied, later actions complete, and the earlier authored code PASS remains in workflow history. E1 scope-recheck assertions are retired.",
224
+ "topology": "iterative-single-typed",
225
+ "requirements": [
226
+ {
227
+ "id": "req-code",
228
+ "stepType": "behavior-change",
229
+ "summary": "Fix the checkout failure",
230
+ "acceptance": "the failing scenario succeeds"
231
+ },
232
+ {
233
+ "id": "req-verify",
234
+ "stepType": "verification",
235
+ "summary": "Verify the checkout change",
236
+ "acceptance": "objective check evidence is recorded"
237
+ }
238
+ ],
239
+ "input": {
240
+ "baseFiles": {
241
+ ".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",
242
+ "assets/notes.txt": "Release notes draft.\n",
243
+ "docs/adr/GRPH-001.md": "# GRPH-001 Checkout retry\n\nStatus: accepted\n\nCheckout MUST retry once.\n"
244
+ },
245
+ "candidateFiles": {}
246
+ },
247
+ "actions": [
248
+ {
249
+ "id": "route",
250
+ "op": "route",
251
+ "payload": {
252
+ "prompt": "Fix this checkout bug and add a regression test."
253
+ }
254
+ },
255
+ {
256
+ "id": "plan",
257
+ "op": "plan",
258
+ "payload": {
259
+ "requirements": "$requirements",
260
+ "strategy": "iterative-single",
261
+ "evidence": "two dependent requirements fit a bounded test-fix-verify loop"
262
+ }
263
+ },
264
+ {
265
+ "id": "start",
266
+ "op": "start",
267
+ "payload": {}
268
+ },
269
+ {
270
+ "id": "tdd-bind",
271
+ "op": "binding",
272
+ "payload": {
273
+ "stepId": "req-code",
274
+ "bindingId": "tdd",
275
+ "disposition": "loaded",
276
+ "evidence": "tdd skill located"
277
+ }
278
+ },
279
+ {
280
+ "id": "code-pass",
281
+ "op": "step",
282
+ "payload": {
283
+ "stepId": "req-code",
284
+ "disposition": "pass",
285
+ "evidence": "regression test added"
286
+ }
287
+ },
288
+ {
289
+ "id": "verify-bind",
290
+ "op": "binding",
291
+ "payload": {
292
+ "stepId": "req-verify",
293
+ "bindingId": "verification-loop",
294
+ "disposition": "loaded",
295
+ "evidence": "verification loop skill located"
296
+ }
297
+ },
298
+ {
299
+ "id": "verify-pass",
300
+ "op": "step",
301
+ "payload": {
302
+ "stepId": "req-verify",
303
+ "disposition": "pass",
304
+ "evidence": "objective check recorded"
305
+ }
306
+ },
307
+ {
308
+ "id": "stop-satisfied",
309
+ "op": "stop",
310
+ "payload": {}
311
+ },
312
+ {
313
+ "id": "add-governed-adr",
314
+ "op": "mutateIdentity",
315
+ "payload": {
316
+ "kind": "candidate",
317
+ "path": "docs/adr/GRPH-020.md",
318
+ "content": "# GRPH-020 Operator record\n\nStatus: accepted\n\nHandling MUST record the operator.\n"
319
+ }
320
+ },
321
+ {
322
+ "id": "stop-recheck",
323
+ "op": "stop",
324
+ "payload": {}
325
+ }
326
+ ]
327
+ },
328
+ {
329
+ "id": "W-strict-f3-pin",
330
+ "family": "WSTRICT",
331
+ "description": "Retained controls: authored document/review actions, a mid-workflow commit, and Stop complete through both real layouts. E1 baseline-pin and assessment assertions are retired.",
332
+ "topology": "iterative-single-typed",
333
+ "requirements": [
334
+ {
335
+ "id": "req-docs",
336
+ "stepType": "doc-change",
337
+ "summary": "Update the PRD REQ text",
338
+ "acceptance": "normative PRD text is reviewed"
339
+ },
340
+ {
341
+ "id": "req-review",
342
+ "stepType": "review",
343
+ "summary": "Review the PRD change",
344
+ "acceptance": "reviewed scope and findings are recorded"
345
+ },
346
+ {
347
+ "id": "req-verify",
348
+ "stepType": "verification",
349
+ "summary": "Verify the PRD change",
350
+ "acceptance": "objective doc checks are recorded"
351
+ }
352
+ ],
353
+ "input": {
354
+ "baseFiles": {
355
+ ".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",
356
+ "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"
357
+ },
358
+ "candidateFiles": {
359
+ "docs/prd/graph.md": null,
360
+ "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"
361
+ }
362
+ },
363
+ "actions": [
364
+ {
365
+ "id": "route",
366
+ "op": "route",
367
+ "payload": {
368
+ "prompt": "Update the PRD REQ text, review it, and verify it."
369
+ }
370
+ },
371
+ {
372
+ "id": "plan",
373
+ "op": "plan",
374
+ "payload": {
375
+ "requirements": "$requirements",
376
+ "strategy": "iterative-single",
377
+ "evidence": "three dependent requirements fit a bounded documentation loop"
378
+ }
379
+ },
380
+ {
381
+ "id": "start",
382
+ "op": "start",
383
+ "payload": {}
384
+ },
385
+ {
386
+ "id": "doc-pass",
387
+ "op": "step",
388
+ "payload": {
389
+ "stepId": "req-docs",
390
+ "disposition": "pass",
391
+ "evidence": "PRD REQ content moved to the renamed path"
392
+ }
393
+ },
394
+ {
395
+ "id": "reviewer-agent-result",
396
+ "op": "hookDeliver",
397
+ "payload": {
398
+ "event": "PostToolUse",
399
+ "toolName": "Agent",
400
+ "command": "Agent: repo-docs-reviewer",
401
+ "toolUseId": "toolu_f4_reviewer_agent_W-strict-f3-pin",
402
+ "response": {
403
+ "agentId": "agent-f4-reviewer",
404
+ "status": "completed"
405
+ }
406
+ }
407
+ },
408
+ {
409
+ "id": "reviewer-stop",
410
+ "op": "hookDeliver",
411
+ "payload": {
412
+ "event": "SubagentStop",
413
+ "agentId": "agent-f4-reviewer",
414
+ "agentType": "repo-docs-reviewer",
415
+ "lastAssistantMessage": "Review verdict: approve. The PRD change keeps its acceptance criteria consistent.\nReviewed artifact: docs/prd/graph-renamed.md sha256:4d2b4ef924ba492f4de058d00eb7a27c91f0bad64f5fcb2eab28fb36e048ec6b"
416
+ }
417
+ },
418
+ {
419
+ "id": "review-pass",
420
+ "op": "step",
421
+ "payload": {
422
+ "stepId": "req-review",
423
+ "disposition": "pass",
424
+ "evidence": "independent host review approved the renamed PRD change"
425
+ }
426
+ },
427
+ {
428
+ "id": "verify-bind",
429
+ "op": "binding",
430
+ "payload": {
431
+ "stepId": "req-verify",
432
+ "bindingId": "verification-loop",
433
+ "disposition": "loaded",
434
+ "evidence": "verification loop skill located"
435
+ }
436
+ },
437
+ {
438
+ "id": "verify-pass",
439
+ "op": "step",
440
+ "payload": {
441
+ "stepId": "req-verify",
442
+ "disposition": "pass",
443
+ "evidence": "objective doc checks recorded"
444
+ }
445
+ },
446
+ {
447
+ "id": "commit-mid",
448
+ "op": "gitCommit",
449
+ "payload": {
450
+ "message": "commit the rename mid-workflow"
451
+ }
452
+ },
453
+ {
454
+ "id": "stop",
455
+ "op": "stop",
456
+ "payload": {}
457
+ }
458
+ ]
459
+ },
460
+ {
461
+ "id": "W-strict-f5-gitdiag",
462
+ "family": "WSTRICT",
463
+ "description": "Retained controls: OFF and legacy-switch ON route/Stop paths run in a deliberately broken-git workspace. E1 baseline-unavailable diagnosis assertions are retired.",
464
+ "topology": "iterative-single-typed",
465
+ "requirements": [
466
+ {
467
+ "id": "req-docs",
468
+ "stepType": "doc-change",
469
+ "summary": "Update the PRD REQ text",
470
+ "acceptance": "normative PRD text is reviewed"
471
+ },
472
+ {
473
+ "id": "req-verify",
474
+ "stepType": "verification",
475
+ "summary": "Verify the PRD change",
476
+ "acceptance": "objective doc checks are recorded"
477
+ }
478
+ ],
479
+ "input": {
480
+ "baseFiles": {
481
+ ".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",
482
+ "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"
483
+ },
484
+ "candidateFiles": {
485
+ "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"
486
+ }
487
+ },
488
+ "actions": [
489
+ {
490
+ "id": "route",
491
+ "op": "route",
492
+ "payload": {
493
+ "prompt": "Update the PRD REQ text and verify it."
494
+ }
495
+ },
496
+ {
497
+ "id": "plan",
498
+ "op": "plan",
499
+ "payload": {
500
+ "requirements": "$requirements",
501
+ "strategy": "iterative-single",
502
+ "evidence": "two dependent requirements fit a bounded documentation loop"
503
+ }
504
+ },
505
+ {
506
+ "id": "start",
507
+ "op": "start",
508
+ "payload": {}
509
+ },
510
+ {
511
+ "id": "doc-pass",
512
+ "op": "step",
513
+ "payload": {
514
+ "stepId": "req-docs",
515
+ "disposition": "pass",
516
+ "evidence": "PRD REQ text updated"
517
+ }
518
+ },
519
+ {
520
+ "id": "corrupt-git",
521
+ "op": "mutateIdentity",
522
+ "payload": {
523
+ "kind": "candidate",
524
+ "path": ".git/HEAD",
525
+ "content": "corrupted"
526
+ }
527
+ },
528
+ {
529
+ "id": "verify-bind",
530
+ "op": "binding",
531
+ "payload": {
532
+ "stepId": "req-verify",
533
+ "bindingId": "verification-loop",
534
+ "disposition": "loaded",
535
+ "evidence": "verification loop skill located"
536
+ }
537
+ },
538
+ {
539
+ "id": "verify-pass",
540
+ "op": "step",
541
+ "payload": {
542
+ "stepId": "req-verify",
543
+ "disposition": "pass",
544
+ "evidence": "objective doc checks recorded"
545
+ },
546
+ "expectExit": {
547
+ "off": [
548
+ 0
549
+ ]
550
+ }
551
+ },
552
+ {
553
+ "id": "stop",
554
+ "op": "stop",
555
+ "payload": {}
556
+ }
557
+ ]
558
+ }
559
+ ]
560
+ }
@@ -31,8 +31,6 @@ const CONTROLLER_OPS = new Set(['plan', 'start', 'binding', 'stageBinding', 'ste
31
31
  // host payload through the real hook entry (state-persist.js). Neither writes a journal or accepted record itself.
32
32
  const HOST_OPS = new Set(['hostRun', 'hookDeliver']);
33
33
  const ALL_OPS = new Set(['route', 'stop', 'stopGeneric', ...CONTROLLER_OPS, ...FIXTURE_OPS, ...HOST_OPS]);
34
- // CI-only qualification preloader. Passed as `node --require <file>` to every child of a replay that asks for it.
35
- const QUALIFICATION_PRELOAD = path.join(__dirname, 'doc-reconciliation-qualification-preload.js');
36
34
  const CAPTURE_JOURNAL_FILE = 'doc-reconciliation-capture.json';
37
35
  // The only session files a case may seed, and only inside its own temporary state home.
38
36
  const SEEDABLE_FILES = new Set(['workflow-stages.json']);
@@ -137,11 +135,9 @@ function disposeSession(handle) {
137
135
  fs.rmSync(handle.stateHome, { recursive: true, force: true });
138
136
  }
139
137
 
140
- // The preloader is a test-driver argument only: a replay with `preload: true` adds it to every child it launches.
141
138
  function runScript(handle, script, args, stdin, pilot) {
142
- const preload = handle.preload ? ['--require', QUALIFICATION_PRELOAD] : [];
143
- // Test-only extra arguments (for example a file-access spy). They come before the preloader, so the spy sees everything.
144
- return spawnSync(process.execPath, [...(handle.nodeArgs || []), ...preload, script, ...args], {
139
+ // Test-only extra arguments (for example a file-access spy).
140
+ return spawnSync(process.execPath, [...(handle.nodeArgs || []), script, ...args], {
145
141
  cwd: handle.workspace,
146
142
  encoding: 'utf8',
147
143
  input: stdin === undefined ? undefined : JSON.stringify(stdin),
@@ -499,12 +495,11 @@ function runtimePilotOf(handle) {
499
495
  // Replays one case through one distribution. Actions run in order and the replay stops at its first infrastructure
500
496
  // fault: the faulted action is recorded, no later action runs, and the temporary directories are still removed.
501
497
  // A crash is recorded, not hidden.
502
- // `options.preload: true` adds the CI-only qualification preloader to every child (F4 test transport). Production
503
- // replays never set it, so the production gate stays unmet.
498
+ // Test-only `options.nodeArgs` lets a file-access spy run before the child's entry.
504
499
  function replayCase(caseDef, distribution, options = {}) {
505
500
  const limits = limitsFor(caseDef);
506
501
  const mode = options.pilot === undefined ? 'off' : 'on';
507
- const handle = { ...createSession(distribution, caseDef.id, options.pilot), limits, preload: options.preload === true, nodeArgs: Array.isArray(options.nodeArgs) ? options.nodeArgs : [] };
502
+ const handle = { ...createSession(distribution, caseDef.id, options.pilot), limits, nodeArgs: Array.isArray(options.nodeArgs) ? options.nodeArgs : [] };
508
503
  try {
509
504
  materialiseInput(handle, caseDef.input);
510
505
  const actions = {};