harness-everything 1.2.2 → 1.3.1

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 (147) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +29 -0
  4. package/ci/archive/325-prep/README.md +9 -2
  5. package/ci/archive/325-prep/doc-reconciliation-red.js +34 -8
  6. package/ci/fixtures/468-dispatch/agy-quota-PROVENANCE.md +19 -0
  7. package/ci/fixtures/468-dispatch/agy-quota-direct-individual.stderr +2 -0
  8. package/ci/fixtures/468-dispatch/agy-quota-direct-third-party.stderr +2 -0
  9. package/ci/fixtures/468-dispatch/agy-quota-exec-individual.log +3 -0
  10. package/ci/fixtures/553-t2a/body-edit/base/.agents/harness-everything/project-docs.json +11 -0
  11. package/ci/fixtures/553-t2a/body-edit/base/docs/a.md +6 -0
  12. package/ci/fixtures/553-t2a/body-edit/base/docs/b.md +1 -0
  13. package/ci/fixtures/553-t2a/body-edit/candidate/docs/a.md +6 -0
  14. package/ci/fixtures/553-t2c/derived-regenerate-must/base/docs/adr/EVID-001-verify-all-evidence.md +11 -0
  15. package/ci/fixtures/553-t2c/derived-regenerate-must/base/docs/governed-index.md +19 -0
  16. package/ci/fixtures/553-t2c/derived-regenerate-must/candidate/docs/adr/EVID-001-verify-all-evidence.md +11 -0
  17. package/ci/fixtures/553-t2c/derived-regenerate-must/candidate/docs/governed-index.md +19 -0
  18. package/ci/fixtures/553-t2c/derived-regenerate-must/config.json +17 -0
  19. package/ci/fixtures/doc-obligations/derive/regression-pins.json +153 -0
  20. package/ci/fixtures/state-persist-post-tool-use/harness.js +206 -0
  21. package/ci/fixtures/state-persist-post-tool-use/off-handoff-golden.json +16 -0
  22. package/ci/fixtures/state-persist-post-tool-use/payload-post-tool-use-success.json +13 -0
  23. package/ci/fixtures/stop/fail-session-writes.js +109 -0
  24. package/ci/fixtures/workflow-contract/cases.json +3355 -0
  25. package/ci/fixtures/workflow-contract/wiring-cases.json +560 -0
  26. package/ci/lib/doc-reconciliation-prep-fixtures.js +4 -9
  27. package/ci/mechanism-2an-workflow-replay.test.js +324 -0
  28. package/ci/mechanism-2ax-doc-lifecycle.test.js +132 -0
  29. package/ci/mechanism-325-3a-doc-evidence.test.js +73 -0
  30. package/ci/mechanism-325-3a-doc-obligations.test.js +61 -0
  31. package/ci/mechanism-325-3b-preparation.test.js +208 -49
  32. package/ci/mechanism-325-3b-s1-review.test.js +20 -828
  33. package/ci/mechanism-325-3b-s3-providers.test.js +59 -0
  34. package/ci/mechanism-325-f3-derived-views.test.js +140 -0
  35. package/ci/mechanism-341-opencode-lane.test.js +164 -284
  36. package/ci/mechanism-35-verification-contract.test.js +246 -0
  37. package/ci/mechanism-365-step-edit-accounting.test.js +5 -6
  38. package/ci/mechanism-383-doc-glob-line-terminators.test.js +0 -30
  39. package/ci/mechanism-397-opencode-observations.test.js +151 -18
  40. package/ci/mechanism-468-dispatch-cli.test.js +1496 -4
  41. package/ci/mechanism-548-bigint-identity.test.js +531 -0
  42. package/ci/mechanism-553-e1-unhook-credit.test.js +328 -0
  43. package/ci/mechanism-553-p2a-claude-hooks.test.js +98 -0
  44. package/ci/mechanism-553-p3-plan-start.test.js +212 -0
  45. package/ci/mechanism-553-state-persist-post-tool-use.test.js +307 -0
  46. package/ci/mechanism-553-stop.test.js +427 -0
  47. package/ci/mechanism-553-t2a-derive.test.js +110 -0
  48. package/ci/mechanism-553-t2c-derive.test.js +94 -0
  49. package/ci/mechanism-e1-derived-regenerate.test.js +45 -206
  50. package/ci/mechanism-error-ledger-oracle.test.js +786 -3
  51. package/ci/mechanism-error-ledger-scan.test.js +981 -0
  52. package/ci/mechanism-outline-sanitizer.test.js +0 -8
  53. package/ci/mechanism-pr-a-conflict-check.test.js +38 -305
  54. package/ci/mechanism-prb-outline-review.test.js +101 -3283
  55. package/ci/mechanism-report-writer.test.js +45 -0
  56. package/docs/adr/DOCS-006-reconciliation-pilot.md +4 -2
  57. package/docs/adr/DOCS-008-obligation-abstraction-bounded-consumer.md +3 -3
  58. package/docs/doc-workflow-reconciliation.md +17 -2
  59. package/docs/document-lifecycle.md +6 -2
  60. package/docs/error-handling/details/c8-dispatch-cli.md +109 -13
  61. package/docs/platform-capabilities.md +35 -5
  62. package/error-ledger-bootstrap/SKILL.md +1 -1
  63. package/error-ledger-bootstrap/references/workflow.md +42 -7
  64. package/error-ledger-bootstrap/scripts/promote.js +8 -6
  65. package/error-ledger-bootstrap/scripts/scan.js +525 -12
  66. package/hooks/hooks.json +0 -46
  67. package/hooks/scripts/lib/workflow-obligations.js +0 -55
  68. package/hooks/scripts/state-persist.js +7 -95
  69. package/hooks/scripts/workflow-disposition.js +0 -2
  70. package/hooks/scripts/workflow-stop-gate.js +17 -30
  71. package/opencode-plugin/index.mjs +6 -70
  72. package/opencode-plugin/plugin.json +1 -1
  73. package/package.json +1 -1
  74. package/plugins/harness-everything/.antigravity-plugin/plugin.json +1 -1
  75. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  76. package/plugins/harness-everything/hooks/scripts/lib/workflow-obligations.js +0 -55
  77. package/plugins/harness-everything/hooks/scripts/state-persist.js +7 -95
  78. package/plugins/harness-everything/hooks/scripts/workflow-disposition.js +0 -2
  79. package/plugins/harness-everything/hooks/scripts/workflow-stop-gate.js +17 -30
  80. package/plugins/harness-everything/plugin.json +1 -1
  81. package/plugins/harness-everything/skills/error-ledger-bootstrap/SKILL.md +1 -1
  82. package/plugins/harness-everything/skills/error-ledger-bootstrap/references/workflow.md +42 -7
  83. package/plugins/harness-everything/skills/error-ledger-bootstrap/scripts/promote.js +8 -6
  84. package/plugins/harness-everything/skills/error-ledger-bootstrap/scripts/scan.js +525 -12
  85. package/sbom.cdx.json +7 -7
  86. package/scripts/dispatch.js +499 -87
  87. package/scripts/error-ledger-oracle.js +521 -27
  88. package/scripts/errors-sync.js +4 -3
  89. package/scripts/report-writer.js +4 -3
  90. package/ci/fixtures/doc-obligations/reconciliation-s1/cases.json +0 -6854
  91. package/ci/fixtures/doc-obligations/reconciliation-s1/fail-session-writes.js +0 -116
  92. package/ci/fixtures/doc-obligations/reconciliation-s2a/harness.js +0 -507
  93. package/ci/fixtures/doc-obligations/reconciliation-s2a/run13-workflow-requirements.json +0 -42
  94. package/ci/fixtures/doc-obligations/reconciliation-s2a/vectors.json +0 -617
  95. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/harness.js +0 -415
  96. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-post-tool-use-success-minimal.json +0 -9
  97. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-start.json +0 -7
  98. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-stop-freetext-reject.json +0 -11
  99. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-stop-reject.json +0 -11
  100. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-stop.json +0 -11
  101. package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-task-result.json +0 -19
  102. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/off-capture-only.json +0 -99
  103. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/off-legacy.json +0 -67
  104. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-concurrent-writers.json +0 -62
  105. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-lookalikes-runtime-mutations.json +0 -67
  106. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-malformed.json +0 -85
  107. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-normal-session.json +0 -74
  108. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-runtime-drift-later-npm-test.json +0 -58
  109. package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-valid-direct-quoted-review.json +0 -85
  110. package/ci/fixtures/doc-obligations/reconciliation-s2b/f4/cases.json +0 -2267
  111. package/ci/fixtures/doc-obligations/reconciliation-s2b/wiring/cases.json +0 -1110
  112. package/ci/lib/doc-reconciliation-file-spy.js +0 -23
  113. package/ci/lib/doc-reconciliation-qualification-preload.js +0 -37
  114. package/ci/lib/doc-reconciliation-replay.js +0 -104
  115. package/ci/lib/doc-reconciliation-staged-tree.js +0 -102
  116. package/ci/mechanism-325-3b-h1-qualification.test.js +0 -206
  117. package/ci/mechanism-325-3b-s1.test.js +0 -188
  118. package/ci/mechanism-325-3b-s2a-core.test.js +0 -840
  119. package/ci/mechanism-325-3b-s2a-producer.test.js +0 -564
  120. package/ci/mechanism-325-3b-s2b-capture.test.js +0 -566
  121. package/ci/mechanism-325-3b-s2b-wiring.test.js +0 -679
  122. package/ci/mechanism-325-f4-invariants.test.js +0 -606
  123. package/ci/mechanism-325-f4-projections.test.js +0 -392
  124. package/ci/mechanism-325-f4-qualification.test.js +0 -228
  125. package/ci/mechanism-325-f4-trust-boundary.test.js +0 -880
  126. package/ci/mechanism-e1-dependency-artifact-scope.test.js +0 -657
  127. package/hooks/scripts/lib/doc-reconciliation-capture.sanitized.jsonl +0 -26
  128. package/hooks/scripts/lib/doc-reconciliation-core.js +0 -336
  129. package/hooks/scripts/lib/doc-reconciliation-events.js +0 -292
  130. package/hooks/scripts/lib/doc-reconciliation-outline-capture.sanitized.jsonl +0 -24
  131. package/hooks/scripts/lib/doc-reconciliation-pilot.js +0 -482
  132. package/hooks/scripts/lib/doc-reconciliation-producer.js +0 -468
  133. package/hooks/scripts/lib/doc-reconciliation-provider.js +0 -3304
  134. package/hooks/scripts/lib/doc-reconciliation-qualification.json +0 -54
  135. package/hooks/scripts/w6-state-operations.js +0 -239
  136. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-capture.sanitized.jsonl +0 -26
  137. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-core.js +0 -336
  138. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-events.js +0 -292
  139. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-outline-capture.sanitized.jsonl +0 -24
  140. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-pilot.js +0 -482
  141. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-producer.js +0 -468
  142. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-provider.js +0 -3304
  143. package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-qualification.json +0 -54
  144. package/plugins/harness-everything/hooks/scripts/w6-state-operations.js +0 -239
  145. package/scripts/system-one-eval-laya.js +0 -112
  146. /package/ci/fixtures/{doc-obligations/reconciliation-s2b/capture → state-persist-post-tool-use}/payload-post-tool-use-failure.json +0 -0
  147. /package/ci/fixtures/{doc-obligations/reconciliation-s2b/wiring → workflow-contract}/legacy-off-golden.json +0 -0
@@ -1,62 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "id": "on-concurrent-writers",
4
- "mode": "on",
5
- "events": [
6
- {
7
- "id": "event-01",
8
- "event": "PostToolUse",
9
- "toolName": "Bash",
10
- "command": "npm test",
11
- "toolUseId": "tool-use-1",
12
- "cwd": "{{WORKSPACE}}",
13
- "success": true
14
- },
15
- {
16
- "id": "event-02",
17
- "event": "PostToolUse",
18
- "toolName": "Bash",
19
- "command": "npm test",
20
- "toolUseId": "tool-use-2",
21
- "cwd": "{{WORKSPACE}}",
22
- "success": true
23
- }
24
- ],
25
- "expectations": {
26
- "moduleLoads": {
27
- "invariant": "I1",
28
- "outcome": "each hook and selected entrypoint load from the selected distribution; provenance is observable"
29
- },
30
- "stateFiles": {
31
- "invariant": "I1",
32
- "outcome": "state keys retain the action that created/updated each key; no fixture writes outside isolated HARNESS_STATE_HOME"
33
- },
34
- "captureRecords": {
35
- "invariant": "I1-I3",
36
- "outcome": "both barrier-released processes preserve immutable event records and journal entries without lost source state"
37
- },
38
- "pilotReport": {
39
- "invariant": "I1-I3",
40
- "outcome": "no document credit without valid correlated checks; runtime drift invalidates document evidence only"
41
- },
42
- "workflowStep": {
43
- "invariant": "I2-I3",
44
- "outcome": "ordinary verification remains separate; document step remains pending absent valid credited evidence"
45
- },
46
- "workflowStop": {
47
- "invariant": "I4",
48
- "outcome": "exit 0; reminder/stop output reflects unresolved workflow state without a persistent Harness lock"
49
- },
50
- "genericStop": {
51
- "invariant": "I4",
52
- "outcome": "exit 0; generic verification behavior remains independent of document credit"
53
- }
54
- },
55
- "concurrency": {
56
- "writers": 2,
57
- "barrier": "all-ready-before-release"
58
- },
59
- "sources": [
60
- "synthetic stream derived from F4-Z1 §4 minimal covering set"
61
- ]
62
- }
@@ -1,67 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "id": "on-lookalikes-runtime-mutations",
4
- "mode": "on",
5
- "events": [
6
- {
7
- "id": "event-01",
8
- "event": "PostToolUse",
9
- "toolName": "Bash",
10
- "command": "node ./scripts/doc-check.js check",
11
- "toolUseId": "tool-use-1",
12
- "cwd": "{{WORKSPACE}}",
13
- "success": true
14
- },
15
- {
16
- "id": "event-02",
17
- "event": "PostToolUse",
18
- "toolName": "Bash",
19
- "command": "node {{DOC_CHECK}} check --workspace . --config .agents/harness-everything/project-docs.json --changed-path docs/a.md",
20
- "toolUseId": "tool-use-2",
21
- "cwd": "{{WORKSPACE}}",
22
- "success": true
23
- },
24
- {
25
- "id": "event-03",
26
- "event": "PostToolUse",
27
- "toolName": "Bash",
28
- "command": "node {{DOC_CHECK}} check --workspace . --config .agents/harness-everything/project-docs.json --changed-path docs/a.md",
29
- "toolUseId": "tool-use-3",
30
- "cwd": "{{WORKSPACE}}",
31
- "success": true
32
- }
33
- ],
34
- "expectations": {
35
- "moduleLoads": {
36
- "invariant": "I1",
37
- "outcome": "each hook and selected entrypoint load from the selected distribution; provenance is observable"
38
- },
39
- "stateFiles": {
40
- "invariant": "I1",
41
- "outcome": "state keys retain the action that created/updated each key; no fixture writes outside isolated HARNESS_STATE_HOME"
42
- },
43
- "captureRecords": {
44
- "invariant": "I1-I3",
45
- "outcome": "ordered host events retain command, cwd, tool-use and success/failure correlation"
46
- },
47
- "pilotReport": {
48
- "invariant": "I1-I3",
49
- "outcome": "no document credit without valid correlated checks; runtime drift invalidates document evidence only"
50
- },
51
- "workflowStep": {
52
- "invariant": "I2-I3",
53
- "outcome": "ordinary verification remains separate; document step remains pending absent valid credited evidence"
54
- },
55
- "workflowStop": {
56
- "invariant": "I4",
57
- "outcome": "exit 0; reminder/stop output reflects unresolved workflow state without a persistent Harness lock"
58
- },
59
- "genericStop": {
60
- "invariant": "I4",
61
- "outcome": "exit 0; generic verification behavior remains independent of document credit"
62
- }
63
- },
64
- "sources": [
65
- "synthetic stream derived from F4-Z1 §4 minimal covering set"
66
- ]
67
- }
@@ -1,85 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "id": "on-malformed",
4
- "mode": "on",
5
- "events": [
6
- {
7
- "id": "event-01",
8
- "event": "PostToolUse",
9
- "toolName": "Bash",
10
- "command": "sh -c \"node {{DOC_CHECK}} check\"",
11
- "toolUseId": "tool-use-1",
12
- "cwd": "{{WORKSPACE}}",
13
- "success": true
14
- },
15
- {
16
- "id": "event-02",
17
- "event": "PostToolUse",
18
- "toolName": "Bash",
19
- "command": "node {{DOC_CHECK}} check && npm test",
20
- "toolUseId": "tool-use-2",
21
- "cwd": "{{WORKSPACE}}",
22
- "success": true
23
- },
24
- {
25
- "id": "event-03",
26
- "event": "PostToolUse",
27
- "toolName": "Bash",
28
- "command": "env node {{DOC_CHECK}} check",
29
- "toolUseId": "tool-use-3",
30
- "cwd": "{{WORKSPACE}}",
31
- "success": true
32
- },
33
- {
34
- "id": "event-04",
35
- "event": "PostToolUse",
36
- "toolName": "Bash",
37
- "command": "npx doc-check check",
38
- "toolUseId": "tool-use-4",
39
- "cwd": "{{WORKSPACE}}",
40
- "success": true
41
- },
42
- {
43
- "id": "event-05",
44
- "event": "PostToolUse",
45
- "toolName": "Bash",
46
- "command": "node {{DOC_CHECK}} check --workspace . --config x --changed-path docs/a.md --changed-path docs/b.md",
47
- "toolUseId": "tool-use-5",
48
- "cwd": "{{WORKSPACE}}",
49
- "success": true
50
- }
51
- ],
52
- "expectations": {
53
- "moduleLoads": {
54
- "invariant": "I1",
55
- "outcome": "each hook and selected entrypoint load from the selected distribution; provenance is observable"
56
- },
57
- "stateFiles": {
58
- "invariant": "I1",
59
- "outcome": "state keys retain the action that created/updated each key; no fixture writes outside isolated HARNESS_STATE_HOME"
60
- },
61
- "captureRecords": {
62
- "invariant": "I1-I3",
63
- "outcome": "ordered host events retain command, cwd, tool-use and success/failure correlation"
64
- },
65
- "pilotReport": {
66
- "invariant": "I1-I3",
67
- "outcome": "no document credit without valid correlated checks; runtime drift invalidates document evidence only"
68
- },
69
- "workflowStep": {
70
- "invariant": "I2-I3",
71
- "outcome": "ordinary verification remains separate; document step remains pending absent valid credited evidence"
72
- },
73
- "workflowStop": {
74
- "invariant": "I4",
75
- "outcome": "exit 0; reminder/stop output reflects unresolved workflow state without a persistent Harness lock"
76
- },
77
- "genericStop": {
78
- "invariant": "I4",
79
- "outcome": "exit 0; generic verification behavior remains independent of document credit"
80
- }
81
- },
82
- "sources": [
83
- "synthetic stream derived from F4-Z1 §4 minimal covering set"
84
- ]
85
- }
@@ -1,74 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "id": "on-normal-session",
4
- "mode": "on",
5
- "events": [
6
- {
7
- "id": "event-01",
8
- "event": "PostToolUse",
9
- "toolName": "Edit",
10
- "command": "Edit docs/a.md",
11
- "toolUseId": "tool-use-1",
12
- "cwd": "{{WORKSPACE}}",
13
- "success": true
14
- },
15
- {
16
- "id": "event-02",
17
- "event": "PostToolUse",
18
- "toolName": "Bash",
19
- "command": "npm test",
20
- "toolUseId": "tool-use-2",
21
- "cwd": "{{WORKSPACE}}",
22
- "success": true
23
- },
24
- {
25
- "id": "event-03",
26
- "event": "PostToolUse",
27
- "toolName": "Agent",
28
- "command": "agent",
29
- "toolUseId": "tool-use-3",
30
- "cwd": "{{WORKSPACE}}",
31
- "success": true
32
- },
33
- {
34
- "id": "event-04",
35
- "event": "SubagentStop",
36
- "toolUseId": "tool-use-4",
37
- "cwd": "{{WORKSPACE}}",
38
- "success": true
39
- }
40
- ],
41
- "expectations": {
42
- "moduleLoads": {
43
- "invariant": "I1",
44
- "outcome": "each hook and selected entrypoint load from the selected distribution; provenance is observable"
45
- },
46
- "stateFiles": {
47
- "invariant": "I1",
48
- "outcome": "state keys retain the action that created/updated each key; no fixture writes outside isolated HARNESS_STATE_HOME"
49
- },
50
- "captureRecords": {
51
- "invariant": "I1-I3",
52
- "outcome": "ordered host events retain command, cwd, tool-use and success/failure correlation"
53
- },
54
- "pilotReport": {
55
- "invariant": "I1-I3",
56
- "outcome": "no document credit without valid correlated checks; runtime drift invalidates document evidence only"
57
- },
58
- "workflowStep": {
59
- "invariant": "I2-I3",
60
- "outcome": "ordinary verification remains separate; document step remains pending absent valid credited evidence"
61
- },
62
- "workflowStop": {
63
- "invariant": "I4",
64
- "outcome": "exit 0; reminder/stop output reflects unresolved workflow state without a persistent Harness lock"
65
- },
66
- "genericStop": {
67
- "invariant": "I4",
68
- "outcome": "exit 0; generic verification behavior remains independent of document credit"
69
- }
70
- },
71
- "sources": [
72
- "synthetic stream derived from F4-Z1 §4 minimal covering set"
73
- ]
74
- }
@@ -1,58 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "id": "on-runtime-drift-later-npm-test",
4
- "mode": "on",
5
- "events": [
6
- {
7
- "id": "event-01",
8
- "event": "PostToolUse",
9
- "toolName": "Bash",
10
- "command": "node {{DOC_CHECK}} check --workspace . --config .agents/harness-everything/project-docs.json --changed-path docs/a.md",
11
- "toolUseId": "tool-use-1",
12
- "cwd": "{{WORKSPACE}}",
13
- "success": true
14
- },
15
- {
16
- "id": "event-02",
17
- "event": "PostToolUse",
18
- "toolName": "Bash",
19
- "command": "npm test",
20
- "toolUseId": "tool-use-2",
21
- "cwd": "{{WORKSPACE}}",
22
- "success": true
23
- }
24
- ],
25
- "expectations": {
26
- "moduleLoads": {
27
- "invariant": "I1",
28
- "outcome": "each hook and selected entrypoint load from the selected distribution; provenance is observable"
29
- },
30
- "stateFiles": {
31
- "invariant": "I1",
32
- "outcome": "state keys retain the action that created/updated each key; no fixture writes outside isolated HARNESS_STATE_HOME"
33
- },
34
- "captureRecords": {
35
- "invariant": "I1-I3",
36
- "outcome": "ordered host events retain command, cwd, tool-use and success/failure correlation"
37
- },
38
- "pilotReport": {
39
- "invariant": "I1-I3",
40
- "outcome": "no document credit without valid correlated checks; runtime drift invalidates document evidence only"
41
- },
42
- "workflowStep": {
43
- "invariant": "I2-I3",
44
- "outcome": "ordinary verification remains separate; document step remains pending absent valid credited evidence"
45
- },
46
- "workflowStop": {
47
- "invariant": "I4",
48
- "outcome": "exit 0; reminder/stop output reflects unresolved workflow state without a persistent Harness lock"
49
- },
50
- "genericStop": {
51
- "invariant": "I4",
52
- "outcome": "exit 0; generic verification behavior remains independent of document credit"
53
- }
54
- },
55
- "sources": [
56
- "synthetic stream derived from F4-Z1 §4 minimal covering set"
57
- ]
58
- }
@@ -1,85 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "id": "on-valid-direct-quoted-review",
4
- "mode": "on",
5
- "events": [
6
- {
7
- "id": "event-01",
8
- "event": "PostToolUse",
9
- "toolName": "Bash",
10
- "command": "node {{DOC_CHECK}} check --workspace . --config .agents/harness-everything/project-docs.json --changed-path docs/a.md",
11
- "toolUseId": "tool-use-1",
12
- "cwd": "{{WORKSPACE}}",
13
- "success": true,
14
- "runArgs": [
15
- "check",
16
- "--workspace",
17
- ".",
18
- "--config",
19
- ".agents/harness-everything/project-docs.json",
20
- "--changed-path",
21
- "docs/a.md"
22
- ]
23
- },
24
- {
25
- "id": "event-02",
26
- "event": "PostToolUse",
27
- "toolName": "Bash",
28
- "command": "node \"{{DOC_CHECK}}\" check --workspace . --config .agents/harness-everything/project-docs.json --changed-path docs/a.md",
29
- "toolUseId": "tool-use-2",
30
- "cwd": "{{WORKSPACE}}",
31
- "success": true,
32
- "runArgs": [
33
- "check",
34
- "--workspace",
35
- ".",
36
- "--config",
37
- ".agents/harness-everything/project-docs.json",
38
- "--changed-path",
39
- "docs/a.md"
40
- ]
41
- },
42
- {
43
- "id": "event-03",
44
- "event": "SubagentStop",
45
- "toolUseId": "tool-use-3",
46
- "cwd": "{{WORKSPACE}}",
47
- "success": true
48
- }
49
- ],
50
- "expectations": {
51
- "moduleLoads": {
52
- "invariant": "I1",
53
- "outcome": "each hook and selected entrypoint load from the selected distribution; provenance is observable"
54
- },
55
- "stateFiles": {
56
- "invariant": "I1",
57
- "outcome": "state keys retain the action that created/updated each key; no fixture writes outside isolated HARNESS_STATE_HOME"
58
- },
59
- "captureRecords": {
60
- "invariant": "I1-I3",
61
- "outcome": "ordered host events retain command, cwd, tool-use and success/failure correlation"
62
- },
63
- "pilotReport": {
64
- "invariant": "I1-I3",
65
- "outcome": "credit only from valid direct and safely quoted doc-check plus independent approved review"
66
- },
67
- "workflowStep": {
68
- "invariant": "I2-I3",
69
- "outcome": "valid document verification may pass after evidence resolution"
70
- },
71
- "workflowStop": {
72
- "invariant": "I4",
73
- "outcome": "exit 0; reminder/stop output reflects unresolved workflow state without a persistent Harness lock"
74
- },
75
- "genericStop": {
76
- "invariant": "I4",
77
- "outcome": "exit 0; generic verification behavior remains independent of document credit"
78
- }
79
- },
80
- "sources": [
81
- "benchmarks/results/live-host/claude-325-3b-s2b/capture.sanitized.jsonl#run-2b",
82
- "F4-R3 source valid-session evidence JSON (captured 2026-10-22)",
83
- "F4-R3 packaged valid-session evidence JSON (captured 2026-10-22)"
84
- ]
85
- }