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.
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/AGENTS.md +1 -1
- package/CHANGELOG.md +14 -0
- package/behavioral-evals/ledger-pairs/README.md +53 -0
- package/behavioral-evals/ledger-pairs/arm.js +359 -0
- package/behavioral-evals/ledger-pairs/fixture.js +138 -0
- package/behavioral-evals/ledger-pairs/preflight.js +96 -0
- package/behavioral-evals/ledger-pairs/score.js +155 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/README.md +108 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-baseline/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-baseline/arm-result.json +35 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-treatment/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-treatment/arm-result.json +35 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-baseline/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-baseline/arm-result.json +35 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-treatment/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-treatment/arm-result.json +35 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-baseline/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-baseline/arm-result.json +35 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-treatment/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-treatment/arm-result.json +35 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-baseline/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-baseline/arm-result.json +28 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-treatment/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-treatment/arm-result.json +35 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-baseline/arm-plan.json +13 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-baseline/arm-result.json +56 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-treatment/arm-plan.json +13 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-treatment/arm-result.json +56 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-baseline/arm-plan.json +13 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-baseline/arm-result.json +56 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-treatment/arm-plan.json +13 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-treatment/arm-result.json +56 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-baseline/arm-plan.json +13 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-baseline/arm-result.json +49 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-treatment/arm-plan.json +13 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-treatment/arm-result.json +49 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-baseline/arm-plan.json +13 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-baseline/arm-result.json +49 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-treatment/arm-plan.json +13 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-treatment/arm-result.json +56 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-baseline/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-baseline/arm-result.json +44 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-baseline/receipt.jsonl +17 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-treatment/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-treatment/arm-result.json +41 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-treatment/receipt.jsonl +58 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-baseline/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-baseline/arm-result.json +50 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-baseline/receipt.jsonl +101 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-treatment/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-treatment/arm-result.json +44 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-treatment/receipt.jsonl +29 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-baseline/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-baseline/arm-result.json +44 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-baseline/receipt.jsonl +23 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-treatment/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-treatment/arm-result.json +34 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-treatment/receipt.jsonl +24 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-baseline/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-baseline/arm-result.json +47 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-baseline/receipt.jsonl +69 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-treatment/arm-plan.json +14 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-treatment/arm-result.json +44 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-treatment/receipt.jsonl +65 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/run-order.sh +18 -0
- package/benchmarks/results/live-host/ledger-pairs-2026-11-28/score.json +1032 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/README.md +50 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/collect-rerun.txt +3 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/export-report.json +22 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/host-version.txt +1 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/import-report-1.json +18 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/import-report-2.json +18 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/labels-observed-excerpt.jsonl +2 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/observations-index-excerpt.json +26 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/plugin-load-lines.txt +1 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/README.md +46 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/observations-index-excerpt.json +16 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/plugin-load-lines.txt +2 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/run-marks.txt +6 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/steering-probe.js +16 -0
- package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/steering-trace.jsonl +167 -0
- package/ci/archive/325-prep/README.md +9 -2
- package/ci/archive/325-prep/doc-reconciliation-red.js +34 -8
- package/ci/fixtures/553-t2a/body-edit/base/.agents/harness-everything/project-docs.json +11 -0
- package/ci/fixtures/553-t2a/body-edit/base/docs/a.md +6 -0
- package/ci/fixtures/553-t2a/body-edit/base/docs/b.md +1 -0
- package/ci/fixtures/553-t2a/body-edit/candidate/docs/a.md +6 -0
- package/ci/fixtures/553-t2c/derived-regenerate-must/base/docs/adr/EVID-001-verify-all-evidence.md +11 -0
- package/ci/fixtures/553-t2c/derived-regenerate-must/base/docs/governed-index.md +19 -0
- package/ci/fixtures/553-t2c/derived-regenerate-must/candidate/docs/adr/EVID-001-verify-all-evidence.md +11 -0
- package/ci/fixtures/553-t2c/derived-regenerate-must/candidate/docs/governed-index.md +19 -0
- package/ci/fixtures/553-t2c/derived-regenerate-must/config.json +17 -0
- package/ci/fixtures/doc-obligations/derive/regression-pins.json +153 -0
- package/ci/fixtures/state-persist-post-tool-use/harness.js +206 -0
- package/ci/fixtures/state-persist-post-tool-use/off-handoff-golden.json +16 -0
- package/ci/fixtures/state-persist-post-tool-use/payload-post-tool-use-success.json +13 -0
- package/ci/fixtures/stop/fail-session-writes.js +109 -0
- package/ci/fixtures/workflow-contract/cases.json +3355 -0
- package/ci/fixtures/workflow-contract/wiring-cases.json +560 -0
- package/ci/lib/doc-reconciliation-prep-fixtures.js +4 -9
- package/ci/mechanism-2an-workflow-replay.test.js +324 -0
- package/ci/mechanism-2ax-doc-lifecycle.test.js +132 -0
- package/ci/mechanism-325-3a-doc-evidence.test.js +73 -0
- package/ci/mechanism-325-3a-doc-obligations.test.js +61 -0
- package/ci/mechanism-325-3b-preparation.test.js +208 -49
- package/ci/mechanism-325-3b-s1-review.test.js +20 -828
- package/ci/mechanism-325-3b-s3-providers.test.js +59 -0
- package/ci/mechanism-325-f3-derived-views.test.js +140 -0
- package/ci/mechanism-332-fable-directive.test.js +180 -0
- package/ci/mechanism-341-opencode-lane.test.js +164 -284
- package/ci/mechanism-35-verification-contract.test.js +246 -0
- package/ci/mechanism-365-step-edit-accounting.test.js +5 -6
- package/ci/mechanism-383-doc-glob-line-terminators.test.js +0 -30
- package/ci/mechanism-397-opencode-observations.test.js +151 -18
- package/ci/mechanism-552-ledger-pairs.test.js +159 -0
- package/ci/mechanism-553-e1-unhook-credit.test.js +328 -0
- package/ci/mechanism-553-p2a-claude-hooks.test.js +98 -0
- package/ci/mechanism-553-p3-plan-start.test.js +212 -0
- package/ci/mechanism-553-state-persist-post-tool-use.test.js +307 -0
- package/ci/mechanism-553-stop.test.js +427 -0
- package/ci/mechanism-553-t2a-derive.test.js +110 -0
- package/ci/mechanism-553-t2c-derive.test.js +94 -0
- package/ci/mechanism-e1-derived-regenerate.test.js +45 -206
- package/ci/mechanism-outline-sanitizer.test.js +0 -8
- package/ci/mechanism-pr-a-conflict-check.test.js +38 -305
- package/ci/mechanism-prb-outline-review.test.js +101 -3283
- package/ci/router-workflow-plan.test.js +61 -21
- package/docs/adr/DOCS-006-reconciliation-pilot.md +4 -2
- package/docs/adr/DOCS-008-obligation-abstraction-bounded-consumer.md +3 -3
- package/docs/doc-workflow-reconciliation.md +17 -2
- package/docs/document-lifecycle.md +6 -2
- package/docs/platform-capabilities.md +63 -16
- package/docs/platform-compatibility.json +5 -5
- package/harness-everything/SKILL.md +1 -1
- package/harness-everything/scripts/routing-keywords.json +0 -2
- package/harness-everything/scripts/tier-router.js +105 -11
- package/hooks/hooks.json +0 -46
- package/hooks/scripts/lib/workflow-obligations.js +0 -55
- package/hooks/scripts/state-persist.js +7 -95
- package/hooks/scripts/workflow-disposition.js +0 -2
- package/hooks/scripts/workflow-stop-gate.js +17 -30
- package/opencode-plugin/index.mjs +6 -70
- package/opencode-plugin/plugin.json +1 -1
- package/package.json +1 -1
- package/plugins/harness-everything/.antigravity-plugin/plugin.json +1 -1
- package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
- package/plugins/harness-everything/hooks/scripts/lib/workflow-obligations.js +0 -55
- package/plugins/harness-everything/hooks/scripts/state-persist.js +7 -95
- package/plugins/harness-everything/hooks/scripts/workflow-disposition.js +0 -2
- package/plugins/harness-everything/hooks/scripts/workflow-stop-gate.js +17 -30
- package/plugins/harness-everything/plugin.json +1 -1
- package/plugins/harness-everything/rules/AGENTS.md +1 -1
- package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
- package/plugins/harness-everything/skills/harness-everything/scripts/routing-keywords.json +0 -2
- package/plugins/harness-everything/skills/harness-everything/scripts/tier-router.js +105 -11
- package/sbom.cdx.json +7 -7
- package/ci/fixtures/doc-obligations/reconciliation-s1/cases.json +0 -6854
- package/ci/fixtures/doc-obligations/reconciliation-s1/fail-session-writes.js +0 -116
- package/ci/fixtures/doc-obligations/reconciliation-s2a/harness.js +0 -507
- package/ci/fixtures/doc-obligations/reconciliation-s2a/run13-workflow-requirements.json +0 -42
- package/ci/fixtures/doc-obligations/reconciliation-s2a/vectors.json +0 -617
- package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/harness.js +0 -415
- package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-post-tool-use-success-minimal.json +0 -9
- package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-start.json +0 -7
- package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-stop-freetext-reject.json +0 -11
- package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-stop-reject.json +0 -11
- package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-subagent-stop.json +0 -11
- package/ci/fixtures/doc-obligations/reconciliation-s2b/capture/payload-task-result.json +0 -19
- package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/off-capture-only.json +0 -99
- package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/off-legacy.json +0 -67
- package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-concurrent-writers.json +0 -62
- package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-lookalikes-runtime-mutations.json +0 -67
- package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-malformed.json +0 -85
- package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-normal-session.json +0 -74
- package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-runtime-drift-later-npm-test.json +0 -58
- package/ci/fixtures/doc-obligations/reconciliation-s2b/corpus/on-valid-direct-quoted-review.json +0 -85
- package/ci/fixtures/doc-obligations/reconciliation-s2b/f4/cases.json +0 -2267
- package/ci/fixtures/doc-obligations/reconciliation-s2b/wiring/cases.json +0 -1110
- package/ci/lib/doc-reconciliation-file-spy.js +0 -23
- package/ci/lib/doc-reconciliation-qualification-preload.js +0 -37
- package/ci/lib/doc-reconciliation-replay.js +0 -104
- package/ci/lib/doc-reconciliation-staged-tree.js +0 -102
- package/ci/mechanism-325-3b-h1-qualification.test.js +0 -206
- package/ci/mechanism-325-3b-s1.test.js +0 -188
- package/ci/mechanism-325-3b-s2a-core.test.js +0 -840
- package/ci/mechanism-325-3b-s2a-producer.test.js +0 -564
- package/ci/mechanism-325-3b-s2b-capture.test.js +0 -566
- package/ci/mechanism-325-3b-s2b-wiring.test.js +0 -679
- package/ci/mechanism-325-f4-invariants.test.js +0 -606
- package/ci/mechanism-325-f4-projections.test.js +0 -392
- package/ci/mechanism-325-f4-qualification.test.js +0 -228
- package/ci/mechanism-325-f4-trust-boundary.test.js +0 -880
- package/ci/mechanism-e1-dependency-artifact-scope.test.js +0 -657
- package/hooks/scripts/lib/doc-reconciliation-capture.sanitized.jsonl +0 -26
- package/hooks/scripts/lib/doc-reconciliation-core.js +0 -336
- package/hooks/scripts/lib/doc-reconciliation-events.js +0 -292
- package/hooks/scripts/lib/doc-reconciliation-outline-capture.sanitized.jsonl +0 -24
- package/hooks/scripts/lib/doc-reconciliation-pilot.js +0 -482
- package/hooks/scripts/lib/doc-reconciliation-producer.js +0 -468
- package/hooks/scripts/lib/doc-reconciliation-provider.js +0 -3304
- package/hooks/scripts/lib/doc-reconciliation-qualification.json +0 -54
- package/hooks/scripts/w6-state-operations.js +0 -239
- package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-capture.sanitized.jsonl +0 -26
- package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-core.js +0 -336
- package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-events.js +0 -292
- package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-outline-capture.sanitized.jsonl +0 -24
- package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-pilot.js +0 -482
- package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-producer.js +0 -468
- package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-provider.js +0 -3304
- package/plugins/harness-everything/hooks/scripts/lib/doc-reconciliation-qualification.json +0 -54
- package/plugins/harness-everything/hooks/scripts/w6-state-operations.js +0 -239
- package/scripts/system-one-eval-laya.js +0 -112
- /package/ci/fixtures/{doc-obligations/reconciliation-s2b/capture → state-persist-post-tool-use}/payload-post-tool-use-failure.json +0 -0
- /package/ci/fixtures/{doc-obligations/reconciliation-s2b/wiring → workflow-contract}/legacy-off-golden.json +0 -0
|
@@ -339,23 +339,39 @@ for (const prompt of [
|
|
|
339
339
|
check(JSON.stringify(lookup.contract) === JSON.stringify(repeat.contract), `${prompt}: lookup contract is deterministic`);
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
|
+
// A profile lookup followed by an independent task must route exactly like the task alone.
|
|
343
|
+
for (const [prompt, taskOnly] of [
|
|
344
|
+
['Explain fable on opus and then implement a repository-wide migration.', 'Implement a repository-wide migration.'],
|
|
345
|
+
['Explain fable on sonnet and analyze the authentication design.', 'Analyze the authentication design.'],
|
|
346
|
+
['Explain fable on sonnet; then send the findings to Slack.', 'Send the findings to Slack.'],
|
|
347
|
+
['Explain fable on sonnet and update README.', 'Update README.'],
|
|
348
|
+
['Explain fable on haiku, add a regression test.', 'Add a regression test.'],
|
|
349
|
+
['Explain fable on opus and commit the documentation change.', 'Commit the documentation change.'],
|
|
350
|
+
['說明 fable on sonnet 並更新 README。', '更新 README。'],
|
|
351
|
+
['解釋 fable on haiku,新增回歸測試。', '新增回歸測試。'],
|
|
352
|
+
['解析 fable on opus 並刪除過期文件。', '刪除過期文件。'],
|
|
353
|
+
['Explain fable on sonnet before updating README.', 'updating README.'],
|
|
354
|
+
['Explain fable on sonnet; return JSON after updating README.', 'after updating README.'],
|
|
355
|
+
["Explain fable on sonnet before updating README.md to change 'Instalation' to 'Installation'.", "updating README.md to change 'Instalation' to 'Installation'."],
|
|
356
|
+
['解釋 fable on sonnet 後更新 README。', '更新 README。'],
|
|
357
|
+
]) {
|
|
358
|
+
const withMention = runTier(prompt);
|
|
359
|
+
const withoutMention = runTier(taskOnly);
|
|
360
|
+
if (validContract(withMention, 'profile mention plus independent task') &&
|
|
361
|
+
validContract(withoutMention, 'task without profile mention')) {
|
|
362
|
+
const actual = withMention.contract.workflowPlan;
|
|
363
|
+
const control = withoutMention.contract.workflowPlan;
|
|
364
|
+
check(!actual.reasonCodes.includes('fable-profile-lookup'), `${prompt}: mixed task is not a bounded lookup`);
|
|
365
|
+
check(actual.tier === control.tier, `${prompt}: tier matches the task-only real-entry control`);
|
|
366
|
+
check(actual.strategy === control.strategy, `${prompt}: strategy matches the task-only real-entry control`);
|
|
367
|
+
check(actual.requiredInvariants.includes('isolated-worktree-before-mutation') ===
|
|
368
|
+
control.requiredInvariants.includes('isolated-worktree-before-mutation'),
|
|
369
|
+
`${prompt}: isolation obligation matches the task-only real-entry control`);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
// Mixed, unknown-continuation and negation-then-action inputs never become lookups.
|
|
342
374
|
for (const prompt of [
|
|
343
|
-
'Use fable on sonnect to implement a multi-stage architecture migration.',
|
|
344
|
-
'Explain fable on opus and then implement a repository-wide migration.',
|
|
345
|
-
'Explain how to run fable-staged across all modules.',
|
|
346
|
-
'Explain fable on sonnet then run it to analyze security.',
|
|
347
|
-
'Explain fable on sonnet and analyze the authentication design.',
|
|
348
|
-
'Explain fable on sonnet; then send the findings to Slack.',
|
|
349
|
-
'Explain fable on sonnet and update README.',
|
|
350
|
-
'Explain fable on haiku, add a regression test.',
|
|
351
|
-
'Explain fable on opus and commit the documentation change.',
|
|
352
|
-
'說明 fable on sonnet 並更新 README。',
|
|
353
|
-
'解釋 fable on haiku,新增回歸測試。',
|
|
354
|
-
'解析 fable on opus 並刪除過期文件。',
|
|
355
|
-
'Explain fable on sonnet before updating README.',
|
|
356
|
-
'Explain fable on sonnet; return JSON after updating README.',
|
|
357
|
-
"Explain fable on sonnet before updating README.md to change 'Instalation' to 'Installation'.",
|
|
358
|
-
'解釋 fable on sonnet 後更新 README。',
|
|
359
375
|
'Explain fable on sonnet; no delegation before deleting stale files.',
|
|
360
376
|
'Explain fable on sonnet; return JSON with requestedProfile, update README.',
|
|
361
377
|
'Explain fable on sonnet; output JSON with requestedProfile and then publish the result.',
|
|
@@ -364,7 +380,6 @@ for (const prompt of [
|
|
|
364
380
|
'Explain fable on sonnet; provide a profile result while running the tests.',
|
|
365
381
|
'Explain fable on sonnet; return JSON with unknownField.',
|
|
366
382
|
'Explain fable on sonnet; some unknown continuation.',
|
|
367
|
-
// A negation scopes only its own noun list; affirmative actions after it execute.
|
|
368
383
|
'Explain fable on sonnet; no delegation, do execution.',
|
|
369
384
|
'Explain fable on sonnet; no delegation, switch model.',
|
|
370
385
|
'Explain fable on sonnet; no delegation and stage execution.',
|
|
@@ -374,13 +389,38 @@ for (const prompt of [
|
|
|
374
389
|
'解釋 fable on sonnet,不要委派,切換模型。',
|
|
375
390
|
]) {
|
|
376
391
|
const execution = runTier(prompt);
|
|
377
|
-
if (validContract(execution, 'Fable
|
|
378
|
-
check(execution.contract.workflowPlan.
|
|
379
|
-
|
|
380
|
-
check(execution.contract.workflowPlan.requiredInvariants.includes('isolated-worktree-before-mutation'), 'execution retains isolation obligation');
|
|
392
|
+
if (validContract(execution, 'mixed Fable lookup/action boundary')) {
|
|
393
|
+
check(!execution.contract.workflowPlan.reasonCodes.includes('fable-profile-lookup'),
|
|
394
|
+
`${prompt}: mixed action is not a bounded lookup`);
|
|
381
395
|
}
|
|
382
396
|
}
|
|
383
397
|
|
|
398
|
+
// Explicit Fable, structural Tier 3 and the one unambiguous linked continuation keep staged routing.
|
|
399
|
+
for (const prompt of [
|
|
400
|
+
'Use fable on sonnect to implement a multi-stage architecture migration.',
|
|
401
|
+
'Explain how to run fable-staged across all modules.',
|
|
402
|
+
'Explain fable on sonnet then run it to analyze security.',
|
|
403
|
+
]) {
|
|
404
|
+
const execution = runTier(prompt);
|
|
405
|
+
if (validContract(execution, 'true Fable execution boundary')) {
|
|
406
|
+
check(execution.contract.workflowPlan.strategy === 'fable-staged', `${prompt}: staged topology remains`);
|
|
407
|
+
check(!execution.contract.workflowPlan.reasonCodes.includes('fable-profile-lookup'), `${prompt}: execution is not a lookup`);
|
|
408
|
+
check(execution.contract.workflowPlan.requiredInvariants.includes('isolated-worktree-before-mutation'),
|
|
409
|
+
`${prompt}: execution retains isolation obligation`);
|
|
410
|
+
if (prompt === 'Explain fable on sonnet then run it to analyze security.') {
|
|
411
|
+
check(execution.result.stdout.includes('REQUESTED FABLE PROFILE: sonnet'),
|
|
412
|
+
'profile-linked continuation preserves the selected sonnet profile');
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
const ambiguousLinkedProfile = runTier('Explain fable on opus or sonnet then run it to analyze security.');
|
|
417
|
+
if (validContract(ambiguousLinkedProfile, 'ambiguous profile continuation')) {
|
|
418
|
+
check(ambiguousLinkedProfile.contract.workflowPlan.strategy !== 'fable-staged',
|
|
419
|
+
'ambiguous profile continuation follows normal routing');
|
|
420
|
+
check(!ambiguousLinkedProfile.result.stdout.includes('REQUESTED FABLE PROFILE'),
|
|
421
|
+
'ambiguous profile continuation does not choose a profile');
|
|
422
|
+
}
|
|
423
|
+
|
|
384
424
|
const explicitOverride = runTier('Use iterative-single to audit the entire repository architecture.');
|
|
385
425
|
if (validContract(explicitOverride, 'explicit strategy override')) {
|
|
386
426
|
check(explicitOverride.contract.workflowPlan.strategy === 'iterative-single', 'explicit user strategy overrides derived Tier 3 topology');
|
|
@@ -5,6 +5,8 @@ status: accepted
|
|
|
5
5
|
|
|
6
6
|
# DOCS-006 — Doc reconciliation pilot (S1 default-OFF, F4 limited credit)
|
|
7
7
|
|
|
8
|
+
> **Historical note ([#553](https://github.com/dyphn1/Harness-everything/issues/553)):** This decision records the previous release's E1 reconciliation pilot, which #553 retired; current releases ignore every `HARNESS_DOC_RECONCILIATION_PILOT` value (see [E1 pilot retirement and retained document controls](../platform-capabilities.md#e1-pilot-retirement-and-retained-document-controls-553) and the [historical reconciliation guide](../doc-workflow-reconciliation.md)).
|
|
9
|
+
|
|
8
10
|
## Decision
|
|
9
11
|
|
|
10
12
|
- The S1 runtime is default OFF. It runs only when `HARNESS_DOC_RECONCILIATION_PILOT=1`.
|
|
@@ -39,9 +41,9 @@ flowchart LR
|
|
|
39
41
|
|
|
40
42
|
## Evidence
|
|
41
43
|
|
|
42
|
-
- Implementation: [doc-reconciliation-pilot.js](
|
|
44
|
+
- Implementation: [doc-reconciliation-pilot.js](https://github.com/dyphn1/Harness-everything/blob/fa73c41aa6a611ff1f7eea573c80e87d23f756fe/hooks/scripts/lib/doc-reconciliation-pilot.js) (env gate at line 8; `doc-lint` / `link-check` credit at line 246; `quality-review` collection from `SubagentStop` at lines 244 and 254; `conflict-check` collection at lines 251–252), [doc-check.js](../../harness-everything/scripts/doc-check.js) (flag parse at lines 86–88; `--base` required at line 102; `--all` lint at line 108; assessment at lines 468–498; credit at line 501), [doc-reconciliation-provider.js](https://github.com/dyphn1/Harness-everything/blob/fa73c41aa6a611ff1f7eea573c80e87d23f756fe/hooks/scripts/lib/doc-reconciliation-provider.js) (corpus binding check at lines 763–785), [doc-reconciliation-core.js](https://github.com/dyphn1/Harness-everything/blob/fa73c41aa6a611ff1f7eea573c80e87d23f756fe/hooks/scripts/lib/doc-reconciliation-core.js), [doc-reconciliation-producer.js](https://github.com/dyphn1/Harness-everything/blob/fa73c41aa6a611ff1f7eea573c80e87d23f756fe/hooks/scripts/lib/doc-reconciliation-producer.js), [doc-reconciliation-events.js](https://github.com/dyphn1/Harness-everything/blob/fa73c41aa6a611ff1f7eea573c80e87d23f756fe/hooks/scripts/lib/doc-reconciliation-events.js).
|
|
43
45
|
- F4 contract: [doc-workflow-reconciliation.md § F4](../doc-workflow-reconciliation.md#f4-credited-reconciliation-claude-only-pilot-on). `conflict-check` row: [doc-workflow-reconciliation.md](../doc-workflow-reconciliation.md) line 1174.
|
|
44
|
-
- Tests: [mechanism-pr-a-conflict-check.test.js](../../ci/mechanism-pr-a-conflict-check.test.js) (17/17 PASS at this SHA; mechanism only, no live-host run), [mechanism-325-3b-preparation.test.js](../../ci/mechanism-325-3b-preparation.test.js), [mechanism-325-3b-s1-review.test.js](../../ci/mechanism-325-3b-s1-review.test.js), [mechanism-325-3b-s2a-core.test.js](
|
|
46
|
+
- Tests: [mechanism-pr-a-conflict-check.test.js](../../ci/mechanism-pr-a-conflict-check.test.js) (17/17 PASS at this SHA; mechanism only, no live-host run), [mechanism-325-3b-preparation.test.js](../../ci/mechanism-325-3b-preparation.test.js), [mechanism-325-3b-s1-review.test.js](../../ci/mechanism-325-3b-s1-review.test.js), [mechanism-325-3b-s2a-core.test.js](https://github.com/dyphn1/Harness-everything/blob/fa73c41aa6a611ff1f7eea573c80e87d23f756fe/ci/mechanism-325-3b-s2a-core.test.js), [mechanism-325-3b-s2b-wiring.test.js](https://github.com/dyphn1/Harness-everything/blob/fa73c41aa6a611ff1f7eea573c80e87d23f756fe/ci/mechanism-325-3b-s2b-wiring.test.js), [mechanism-341-opencode-lane.test.js](../../ci/mechanism-341-opencode-lane.test.js).
|
|
45
47
|
|
|
46
48
|
## Open gates
|
|
47
49
|
|
|
@@ -7,7 +7,7 @@ status: accepted
|
|
|
7
7
|
|
|
8
8
|
## Decision
|
|
9
9
|
|
|
10
|
-
-
|
|
10
|
+
- In the previous release, the doc workflow reconciliation consumed the workflow obligation abstraction in a bounded way: the documentation path only, under the [DOCS-006](DOCS-006-reconciliation-pilot.md) gate. That E1 reconciliation pilot has since been retired ([#553](https://github.com/dyphn1/Harness-everything/issues/553); see the historical note in [DOCS-006](DOCS-006-reconciliation-pilot.md)).
|
|
11
11
|
- Broad promotion of the abstraction to generic workflow use is not approved. It is gated on the Phase 3c H1–H4 paired-task evidence and owner sign-off.
|
|
12
12
|
|
|
13
13
|
## Context
|
|
@@ -20,8 +20,8 @@ status: accepted
|
|
|
20
20
|
|
|
21
21
|
## Evidence
|
|
22
22
|
|
|
23
|
-
- Implementation: [doc-reconciliation-core.js](
|
|
24
|
-
- Consumer tests (exercise `doc-reconciliation-core.js` consuming `deriveDocObligations`): [mechanism-325-3b-s2a-core.test.js](
|
|
23
|
+
- Implementation: [doc-reconciliation-core.js](https://github.com/dyphn1/Harness-everything/blob/fa73c41aa6a611ff1f7eea573c80e87d23f756fe/hooks/scripts/lib/doc-reconciliation-core.js), [doc-obligations.js](../../harness-everything/scripts/doc-obligations.js) (the obligation table consumed by the doc path).
|
|
24
|
+
- Consumer tests (exercise `doc-reconciliation-core.js` consuming `deriveDocObligations`): [mechanism-325-3b-s2a-core.test.js](https://github.com/dyphn1/Harness-everything/blob/fa73c41aa6a611ff1f7eea573c80e87d23f756fe/ci/mechanism-325-3b-s2a-core.test.js), [mechanism-325-3b-s2b-wiring.test.js](https://github.com/dyphn1/Harness-everything/blob/fa73c41aa6a611ff1f7eea573c80e87d23f756fe/ci/mechanism-325-3b-s2b-wiring.test.js).
|
|
25
25
|
- Fail-closed controls (not evidence of the consumer): [mechanism-325-3b-preparation.test.js](../../ci/mechanism-325-3b-preparation.test.js), [mechanism-325-3b-s1-review.test.js](../../ci/mechanism-325-3b-s1-review.test.js), [mechanism-341-opencode-lane.test.js](../../ci/mechanism-341-opencode-lane.test.js).
|
|
26
26
|
|
|
27
27
|
## Open gates
|
|
@@ -5,8 +5,23 @@ status: active
|
|
|
5
5
|
|
|
6
6
|
# Document workflow reconciliation — Phase 3b S1 runtime
|
|
7
7
|
|
|
8
|
-
**
|
|
9
|
-
|
|
8
|
+
> **Historical document — E1 pilot retired (#553).** This page was the operation guide for the
|
|
9
|
+
> retired E1 reconciliation pilot (S1/S2/S3/F4/W6). It records the design and preparation
|
|
10
|
+
> baselines of the previous release — source-traced at `dba4708`, `5f9726c` and `8903435`, plus
|
|
11
|
+
> the captured Claude Code 2.1.308/2.1.312 field-availability runs — and is not a description of
|
|
12
|
+
> the current entrypoints. **Current entrypoints** are the ordinary workflow/handoff and OpenCode
|
|
13
|
+
> V2 paths: workflow credit and Stop no longer load the E1 provider, and the E1 runtime modules and
|
|
14
|
+
> W6 `inventory`/`seal` CLI (`hooks/scripts/w6-state-operations.js`) have been removed (#553). Under
|
|
15
|
+
> the retirement contract every `HARNESS_DOC_RECONCILIATION_PILOT` value is ignored and normal hooks
|
|
16
|
+
> print no flag warning.
|
|
17
|
+
> Finish in-flight E1 work on the previous release, or end it and open a new session to redo
|
|
18
|
+
> review/verify on the current path; recorded journals, reports and outline artifacts stay in
|
|
19
|
+
> place. Issues [#325](https://github.com/dyphn1/Harness-everything/issues/325) and
|
|
20
|
+
> [#350](https://github.com/dyphn1/Harness-everything/issues/350) **remain open failure markers**;
|
|
21
|
+
> retirement does not close them.
|
|
22
|
+
|
|
23
|
+
**Historical status (the retired pilot shipped default OFF and previously opted in with `HARNESS_DOC_RECONCILIATION_PILOT=1`).
|
|
24
|
+
With the pilot ON, F4 ([#358](https://github.com/dyphn1/Harness-everything/pull/358)) granted limited positive credit for exactly `doc-lint` and `link-check`, from a host-captured run of the installed doc-check on Claude Code 2.1.309 (live runs 4–5). S3 provider integration remained pending; E1 remains OPEN with insufficient qualifying exposure. The recorded OpenCode [D1/D2 attempts](../benchmarks/results/live-host/opencode-d1-d2-2026-10-25/README.md) did not qualify as E1 cycles.**
|
|
10
25
|
This document refines the [document lifecycle contract](document-lifecycle.md#phase-3b--narrow-integration-contract-s1-default-off-f4-limited-credit).
|
|
11
26
|
The [accepted E0](https://github.com/dyphn1/Harness-everything/issues/341#issuecomment-6308604128)
|
|
12
27
|
permits this limited, reversible consumer under the
|
|
@@ -34,7 +34,7 @@ This table distinguishes merged mechanism code from end-to-end workflow integrat
|
|
|
34
34
|
| 2 — roles, IDs, aliases, legacy, supersession, index, D6.9 PRD revisions | **Merged** in #327; do not rebuild this lifecycle logic for Phase 3 |
|
|
35
35
|
| Step-type prerequisite (#326) | **Complete:** PR #328 merged; Harness-owned `doc-change` is explicitly declared, has no implicit TDD binding, and is not auto-inserted by router/System One |
|
|
36
36
|
| 3a — document facts, obligations and evidence producer | **Merged** in #334: `harness-everything/scripts/doc-obligations.js` and `doc-evidence.js`. H3/H4 have *partial deterministic mechanism* coverage, not integrated workflow evidence. Known limitations: caller-attested envelope; `configDigest` presence-only; `candidateDigest` restricted to `docs/prd/`; missing independent task-scope binding. Deleted and old rename paths are bound to trusted per-path baseline evidence ([doc-evidence-baseline-binding.md](doc-evidence-baseline-binding.md), #335 fixed by #342), with workflow-disposition reconciliation left out of scope |
|
|
37
|
-
| 3b — pilot-local provider suggestions and workflow evidence reconciliation | **
|
|
37
|
+
| 3b — pilot-local provider suggestions and workflow evidence reconciliation | **E1 pilot retired ([#553](https://github.com/dyphn1/Harness-everything/issues/553)); every `HARNESS_DOC_RECONCILIATION_PILOT` value is ignored** (normal hooks print no flag warning; workflow credit and Stop no longer load the E1 provider; the E1 runtime modules and W6 `inventory`/`seal` CLI have been removed). Previously, the S1 runtime shipped default OFF with trusted scope assessment and fail-closed withholding, and F4 (#358) added limited positive credit for `doc-lint` and `link-check` from a host-captured run of the installed doc-check (Claude Code only; live runs on 2.1.309) — see the [historical reconciliation guide](doc-workflow-reconciliation.md) and [S1 switch, trusted scope and no-credit contract](doc-workflow-reconciliation.md#s1--switch-trusted-scope-and-fail-closed-no-credit-gate). S3 pure advisory provider suggestions shipped in 0.37.0 (not wired); E1 remained OPEN with insufficient qualifying exposure, and D1/D2 were non-qualifying. Accepted #341 E0 permitted that limited reversible consumer; the live runs were not E1 GO; [#325](https://github.com/dyphn1/Harness-everything/issues/325) and [#350](https://github.com/dyphn1/Harness-everything/issues/350) remain open failure markers; preserve existing required-binding compatibility |
|
|
38
38
|
| 3c — H1–H4 and paired-task evaluation | **H1 preparation only** in [#373](https://github.com/dyphn1/Harness-everything/pull/373) ([retained evidence](../benchmarks/results/h1-provider-independence-qualification/README.md)); full H1–H4 and paired-task evaluation remain pending. Mechanism tests alone are insufficient for architecture promotion; compare frozen baseline and treatment on real bounded tasks, success/failure first, then conditional cost and latency |
|
|
39
39
|
| 1b — shared documentation craft and family metadata | **Shared craft delivered** in F2 (#356): shared references with thin skill consumers. Family metadata is not established. A small optional logical-family metadata seam may be piloted; physical skill directory moves remain blocked on #320 identity/path separation |
|
|
40
40
|
| 4 — derived-view generators and `describes:` drift | **Regenerate-equals delivered** in F3 (#357) for authorized generators; `describes:` drift reminders and broader maintenance are not established. Preserve generator authorization, deterministic regenerate-equals and scoped reminder semantics |
|
|
@@ -43,6 +43,8 @@ This table distinguishes merged mechanism code from end-to-end workflow integrat
|
|
|
43
43
|
|
|
44
44
|
### Phase 3b — narrow integration contract (S1 default OFF; F4 limited credit)
|
|
45
45
|
|
|
46
|
+
> **Historical applicability (E1 pilot retired in [#553](https://github.com/dyphn1/Harness-everything/issues/553)):** This subsection records the narrow integration contract, default-OFF gate, F4 limited credit, and prior #341 E0/E1 activation thresholds of the retired E1 reconciliation pilot from the previous release. Under #553, every `HARNESS_DOC_RECONCILIATION_PILOT` value is ignored, workflow credit and Stop no longer load the E1 provider, and the E1 runtime modules and W6 `inventory`/`seal` CLI have been removed; see the [historical reconciliation guide](doc-workflow-reconciliation.md) and [E1 pilot retirement and retained document controls](platform-capabilities.md#e1-pilot-retirement-and-retained-document-controls-553). The S3 pure advisory provider suggestion API (`suggestDocProviders`) remains shipped (not wired), and issues [#325](https://github.com/dyphn1/Harness-everything/issues/325) and [#350](https://github.com/dyphn1/Harness-everything/issues/350) remain open failure markers.
|
|
47
|
+
|
|
46
48
|
The preparation design, test-only provider/trust contracts, and qualified RED replay are complete:
|
|
47
49
|
[Document workflow reconciliation](doc-workflow-reconciliation.md),
|
|
48
50
|
[case corpus](../ci/fixtures/doc-obligations/reconciliation-prep/cases.json),
|
|
@@ -72,6 +74,8 @@ default-OFF gate, and F4 (#358) adds limited positive credit for `doc-lint` and
|
|
|
72
74
|
|
|
73
75
|
### Phase 3b minimum trust boundary and Phase 3c H3 validation (planned, not shipped)
|
|
74
76
|
|
|
77
|
+
> **Historical pilot context ([#553](https://github.com/dyphn1/Harness-everything/issues/553)):** The Phase 3b pilot-local adapter details below reflect the design background of the retired E1 pilot; the H3 trust-boundary criteria and the #320 functional/architectural promotion gates below remain in force, and [#325](https://github.com/dyphn1/Harness-everything/issues/325) and [#350](https://github.com/dyphn1/Harness-everything/issues/350) remain open failure markers.
|
|
78
|
+
|
|
75
79
|
Phase 3b delivers the minimum producer and identity/scope binding needed for a trustworthy PASS; Phase 3c extends the same seam with adversarial H3 validation and paired architectural evaluation.
|
|
76
80
|
|
|
77
81
|
- **Trusted producer, not the checker:** a pilot-local adapter is a **3b deliverable**; it derives the VCS baseline and candidate identity, active task scope, project-docs config identity (parsed config bytes, not presence) and execution/review provenance from host state. `checkDocObligations()` proves only that records agree with those caller-supplied values; matching a caller-provided digest is not independent validation of the input.
|
|
@@ -93,7 +97,7 @@ Phase 3b delivers the minimum producer and identity/scope binding needed for a t
|
|
|
93
97
|
|
|
94
98
|
Two *separate* gates apply. The **functional gate** requires contract tests, negative cases, source/package parity, host/platform compatibility and an all-green applicable CI baseline. The **architectural gate** additionally requires H1–H4 and independently reviewed paired real-task outcomes. Freeze task fixtures, acceptance rubrics, model/effort, host permissions, comparison order and thresholds **after baseline measurement but before treatment outcomes**. Compare task correctness and failures first; report successful-task token/time/tool cost and failed-run overhead separately, with uncertainty. A small inconclusive sample is not approval. Broader #320 CDG/registry compilation and physical skill moves need **explicit owner sign-off on each specific validated interface**; retain the legacy path until then.
|
|
95
99
|
|
|
96
|
-
**Cross-contract acceptance assertion:** the #341 E0/E1 gates in the Phase 3b entry-gates bullet above, [#341](https://github.com/dyphn1/Harness-everything/issues/341) and #325's phase table must stay mutually consistent: a change to one gate's semantics updates the other two records, replays affected #341 fixtures first, and only then re-collects affected 3b observations. E0
|
|
100
|
+
**Cross-contract acceptance assertion:** the #341 E0/E1 gates in the Phase 3b entry-gates bullet above, [#341](https://github.com/dyphn1/Harness-everything/issues/341) and #325's phase table must stay mutually consistent: a change to one gate's semantics updates the other two records, replays affected #341 fixtures first, and only then re-collects affected 3b observations. E0 enabled only the bounded, reversible, doc-only runtime consumer (now retired by [#553](https://github.com/dyphn1/Harness-everything/issues/553) before reaching E1 GO, leaving [#325](https://github.com/dyphn1/Harness-everything/issues/325) and [#350](https://github.com/dyphn1/Harness-everything/issues/350) open); E1 gated expansion beyond the limited pilot; neither approves generic #320 CDG/registry promotion, which additionally requires the H1–H4 paired real-task evidence and explicit owner sign-off above.
|
|
97
101
|
|
|
98
102
|
## Configuration (D5)
|
|
99
103
|
|
|
@@ -15,7 +15,7 @@ Statuses are intentionally explicit:
|
|
|
15
15
|
- `Unsupported`: official host documentation explicitly rules out the capability.
|
|
16
16
|
- `Unknown`: the capability or its current host behavior was not established.
|
|
17
17
|
|
|
18
|
-
Codex, Antigravity (AGY), and OpenCode are `Partial` in `liveHostVerification`. The Codex artifact verifies user-hook compatibility capture for two consecutive turns on one Windows Codex CLI host; native plugin-hook mounting and other host/version combinations remain unverified. The AGY artifact covers global Desktop App `2.34.0` and `agy` CLI `1.5.15` (macOS), plus Windows Desktop and `agy` CLI `1.5.16` (`harness-everything` `1.0.1`), for plugin loading/validation and lifecycle hooks (including bounded 1-continuation `Stop` on Windows) under host-limited `PostToolUse` shell outcomes; IDE write tools, live `exitCode: 0` shell verification credit, live `model_stop`, and full project-scope isolation remain unverified. OpenCode supports the **V2 plugin API only** (OpenCode 1.x / V1 is unsupported): V2 live evidence covers one isolated `2.1.4` (macOS 26.6.2) long-lived server lifecycle trace (V2 default-export load, V2 tool hooks, V2 event envelope + `session.execution.succeeded`, and completion → verification → reminder delivery; standalone `opencode run` exits before verification finishes),
|
|
18
|
+
Codex, Antigravity (AGY), and OpenCode are `Partial` in `liveHostVerification`. The Codex artifact verifies user-hook compatibility capture for two consecutive turns on one Windows Codex CLI host; native plugin-hook mounting and other host/version combinations remain unverified. The AGY artifact covers global Desktop App `2.34.0` and `agy` CLI `1.5.15` (macOS), plus Windows Desktop and `agy` CLI `1.5.16` (`harness-everything` `1.0.1`), for plugin loading/validation and lifecycle hooks (including bounded 1-continuation `Stop` on Windows) under host-limited `PostToolUse` shell outcomes; IDE write tools, live `exitCode: 0` shell verification credit, live `model_stop`, and full project-scope isolation remain unverified. OpenCode supports the **V2 plugin API only** (OpenCode 1.x / V1 is unsupported): V2 live evidence covers one isolated `2.1.4` (macOS 26.6.2) long-lived server lifecycle trace (V2 default-export load, V2 tool hooks, V2 event envelope + `session.execution.succeeded`, and completion → verification → reminder delivery; standalone `opencode run` exits before verification finishes), earlier `2.1.3` macOS server-log load-only and `2.1.4` macOS workspace traces, and two isolated `2.4.1` (macOS 26.7.3) long-lived server runs establishing observation recording + idempotent training export (router/context injection indirectly observed via the model emitting the injected label contract, not a full injection trace) and mid-turn live steering delivery shape (witness-only for #450); ledger lessons, session create/delete reset, cancellation, global scope, npm-package install, and other versions/OSes remain unverified, while the retained OpenCode 1.18.31 (macOS) project-scope `.js` loading and edit/verification state artifact is historical/unsupported V1 evidence only. No fresh artifacts exist yet for the other surfaces, managed-workspace import, or public OpenAI approval.
|
|
19
19
|
|
|
20
20
|
### Codex PR metadata action-gate boundary
|
|
21
21
|
|
|
@@ -81,7 +81,7 @@ Source and packaged plugin self-evolve entrypoints use installation-relative can
|
|
|
81
81
|
|
|
82
82
|
### Error-ledger lesson injection (mechanism only, #394)
|
|
83
83
|
|
|
84
|
-
A shared matcher (`hooks/scripts/lib/ledger-match.js`) selects workspace ledger lessons whose `match` rules fit a direct `git commit` action (optionally after `-C`, `-c`, `--git-dir=`, `--work-tree=`, `--no-pager` or `-P`; compound and wrapped commands stay silent, #502) or its commitlint failure; rules are read from the generated index row and checked against the record's frontmatter binding, and the host carriers add the record's Cue and Lesson as model context: Claude Code `PreToolUse` and `PostToolUseFailure` (`hooks/scripts/ledger-lesson.js`), Codex `PreToolUse` and `PostToolUse` with outcome classification (`hooks/scripts/codex-ledger-lesson.js`, packaged and user-hook compatibility paths), and OpenCode V2 tool `execute.before/after` selection delivered through the next `context` hook, i.e. after the action. OpenCode 1.x / V1 is unsupported; lesson delivery targets the OpenCode V2 plugin API only. Delivery is bounded, deduplicated per session and phase, fail-open, and never changes a tool result or permission. Deterministic mechanism tests cover all three carriers. [Claude Code live evidence](../benchmarks/results/live-host/claude-2026-11-21-ledger-lesson/README.md) (2.1.330, one run) shows both contexts in the model request that follows the commit, so the action lesson arrives after the first attempt.
|
|
84
|
+
A shared matcher (`hooks/scripts/lib/ledger-match.js`) selects workspace ledger lessons whose `match` rules fit a direct `git commit` action (optionally after `-C`, `-c`, `--git-dir=`, `--work-tree=`, `--no-pager` or `-P`; compound and wrapped commands stay silent, #502) or its commitlint failure; rules are read from the generated index row and checked against the record's frontmatter binding, and the host carriers add the record's Cue and Lesson as model context: Claude Code `PreToolUse` and `PostToolUseFailure` (`hooks/scripts/ledger-lesson.js`), Codex `PreToolUse` and `PostToolUse` with outcome classification (`hooks/scripts/codex-ledger-lesson.js`, packaged and user-hook compatibility paths), and OpenCode V2 tool `execute.before/after` selection delivered through the next `context` hook, i.e. after the action. OpenCode 1.x / V1 is unsupported; lesson delivery targets the OpenCode V2 plugin API only. Delivery is bounded, deduplicated per session and phase, fail-open, and never changes a tool result or permission. Deterministic mechanism tests cover all three carriers. [Claude Code live evidence](../benchmarks/results/live-host/claude-2026-11-21-ledger-lesson/README.md) (2.1.330, one run) shows both contexts in the model request that follows the commit, so the action lesson arrives after the first attempt. [OpenCode 2.4.1 (macOS, long-lived server) live evidence](../benchmarks/results/live-host/ledger-pairs-2026-11-28/README.md) shows the E-0003 Cue/Lesson reaching the next `context` hook after a matched `git commit` (6/8 arms, after the action); Codex live receipt on a real `git commit` remains `UNCHECKED` (the F run used a prepared-commit protocol, so the carrier was not triggered).
|
|
85
85
|
|
|
86
86
|
## Current capability summary
|
|
87
87
|
|
|
@@ -91,7 +91,7 @@ A shared matcher (`hooks/scripts/lib/ledger-match.js`) selects workspace ledger
|
|
|
91
91
|
| Antigravity (AGY) | `Supported` | `Partial` (`Mechanism verified`; global Desktop App `2.34.0` load and `agy` CLI `1.5.15` `validate`/`list --json` live-verified on macOS, plus `agy` CLI `1.5.16` `validate`/`list --json` on Windows; `validate --strict` fails on 2 multi-host warnings; temp `.agents/plugins/` hook discovery observed via `agy --print`) | `Partial`: `Mechanism verified` for all adapters; Desktop App `2.34.0` + CLI `1.5.15` (macOS) live-verified `SessionStart`, `PreInvocation` dedup, `PreToolUse` (`write_file`/`run_command`), `PostToolUse` edit tracking, and `Stop` (`NO_TOOL_CALL`); Windows Desktop + CLI `1.5.16` (`harness-everything` `1.0.1`) live-verified `SessionStart`, `PreInvocation`, and bounded 1-continuation `Stop`; `PostToolUse` omits `exitCode`/`error` on shell outcomes on macOS `2.34.0`/CLI `1.5.15` and Windows Desktop, so unknown shell outcomes grant no verification credit (`exitCode === 0` required); IDE write tools (`write_to_file`/`replace_file_content`/`multi_replace_file_content`) and live `model_stop` remain mechanism-only | `.agents/plugins/harness-everything/`, `.agents/rules/AGENTS.md` | `~/.gemini/config/plugins/harness-everything/` | [Mechanism evidence](../benchmarks/results/live-host/agy-2026-11-22/README.md) + [macOS partial live-host evidence](../benchmarks/results/live-host/agy-2026-11-23/README.md) + [Windows partial live-host evidence](../benchmarks/results/live-host/agy-2026-11-25/README.md); `/hooks` TUI view, full project-scope `harness-everything` isolation, IDE write tools, live shell `exitCode: 0` verification credit, and live `Stop` `model_stop` remain open in issue #514. |
|
|
92
92
|
| ChatGPT / OpenAI Plugin | `Unknown` for a repository-local standalone path | `Mechanism verified` | `Partial`: local Work/Codex hooks are separate from ordinary Chat | Managed workspace marketplace | Not established | The public Skills-only bundle is mechanically reproducible; import, approval, and live behavior remain `Unknown`. |
|
|
93
93
|
| Claude Code | `Supported` | `Supported` | `Mechanism verified` for Harness configuration | `.claude/skills/` | `~/.claude/skills/` | Native Claude surfaces and the state-specific plugin sync command are mechanically checked; fresh-host execution is not preserved here. |
|
|
94
|
-
| OpenCode | `Supported` | `Partial` (V2 plugin API only; OpenCode 1.x / V1 unsupported; V2 default-export load verified live on OpenCode 2.1.3 macOS via server-log only
|
|
94
|
+
| OpenCode | `Supported` | `Partial` (V2 plugin API only; OpenCode 1.x / V1 unsupported; V2 default-export load verified live on OpenCode 2.1.3 macOS via server-log only, in the 2.1.4 macOS 26.6.2 V2 lifecycle trace and 2.1.4 macOS workspace trace, and in the 2.4.1 macOS 26.7.3 long-lived server runs; full router injection trace remains mechanism-tested on V2) | `Partial` (V2 default-export load, V2 tool hooks, V2 event envelope + `session.execution.succeeded`, and completion → verification → reminder delivery on a long-lived server are live-observed on OpenCode 2.1.4 macOS 26.6.2; observation recording + training export — with router/context injection indirectly observed as the model emitted the injected label contract — and mid-turn live steering delivery shape are live-observed on OpenCode 2.4.1 macOS 26.7.3 on a long-lived server; E-0003 ledger-lesson context delivery after a matched `git commit` is live-observed on OpenCode 2.4.1 macOS (paired run, after the action); full router/context injection trace, lesson delivery before the action, session create/delete reset, and cancellation remain mechanism-verified only; retained 1.18.31 project-scope `.js` loading and edit/verification state artifact is historical/unsupported V1 evidence) | `.opencode/skills/`, `.agents/skills/`, `.opencode/plugins/` | `~/.config/opencode/skills/`, `~/.agents/skills/`, `~/.config/opencode/plugins/` | **V2-only support boundary (#453):** OpenCode V2 plugin API family only (OpenCode 1.x / V1 unsupported; no validated minimum patch version claimed). Tested V2 live observations: an isolated [OpenCode 2.1.4/macOS 26.6.2 V2 lifecycle trace](../benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md) (one host/version/run establishing V2 default-export load, V2 tool hooks, V2 event envelope + `session.execution.succeeded` completion, and completion → verification → reminder delivery on a long-lived server; `opencode run --standalone` exits before verification finishes), V2 default-export load on OpenCode 2.1.3 (macOS, 2026-10-23, server-log evidence only), a separate [OpenCode 2.1.4/macOS session workspace trace](../benchmarks/results/live-host/opencode-2026-11-15-workspace/README.md) observing `ctx.session.get({sessionID})` returning `location.directory` for two sessions matching setup (no mismatch test or V2 hook fire), and two isolated OpenCode 2.4.1/macOS 26.7.3 long-lived server runs (`OPENCODE_PASSWORD` required): [turn → export trace](../benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/README.md) (observation recording for two turns + idempotent training export; router/context injection indirectly observed as the model emitted the injected label contract, not a full injection trace) and [steering trace](../benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/README.md) (mid-turn live steering delivery shape, witness-only for #450). Full router/context injection trace, ledger lessons, session create/delete reset, cancellation, and workspace mismatch handling remain mechanism evidence only. [Retained historical/unsupported V1 evidence](../benchmarks/results/live-host/opencode-2026-09-16/README.md) (OpenCode 1.18.31, macOS) documents project-scope `.js` loading and edit/verification state in one V1 host session, with a post-reset final snapshot, hard lock only an interactive observation with no retained blocked-tool trace, and operator-seeded then agent-rewritten reflection; it is preserved as historical/unsupported evidence only and does not establish current V2 support. `.mjs` auto-discovery is silently ignored (issue #127); global scope, npm-package installation, and other host versions remain unverified (as do other OSes). |
|
|
95
95
|
| GitHub Copilot agent surfaces | `Supported` | `Unknown` for a Harness-specific plugin install | `Unknown` | `.github/skills/`, `.agents/skills/`, repository instructions | `~/.copilot/skills/`, `~/.agents/skills/` | GitHub Agent Skills paths and installer behavior are checked; no live Copilot session or plugin install is preserved. |
|
|
96
96
|
| Cursor | `Supported` | `Mechanism verified` for the portable package shape | `Unknown` for Harness | `.cursor/skills/`, `.agents/skills/` | `~/.cursor/skills/`, `~/.agents/skills/` | Official paths and package shape are checked; Cursor plugin loading and hooks remain unverified. |
|
|
97
97
|
| Continue.dev | `Unknown` for standalone `SKILL.md` discovery | `Unknown` | `Unknown` | `.continue/rules/` is documented; `.continue/skills/` is only an installer candidate | `~/.continue/skills/` is only an installer candidate | The reviewed official docs establish rules, not an Agent Skills host contract. |
|
|
@@ -237,20 +237,37 @@ coverage of every V2 release:
|
|
|
237
237
|
the V2 event envelope (`{id, created, type, durable, data}`) and
|
|
238
238
|
`session.execution.succeeded` completion type, and completion → verification →
|
|
239
239
|
reminder delivery. Standalone `opencode run --standalone` shuts down before
|
|
240
|
-
verification finishes. Not exercised: router/context injection,
|
|
241
|
-
recording, ledger lessons, session create/delete reset, cancellation,
|
|
242
|
-
scope, npm-package install, other OpenCode versions, and Windows/Linux.
|
|
243
|
-
|
|
244
|
-
|
|
240
|
+
verification finishes. Not exercised in this run: router/context injection,
|
|
241
|
+
observation recording, ledger lessons, session create/delete reset, cancellation,
|
|
242
|
+
global scope, npm-package install, other OpenCode versions, and Windows/Linux.
|
|
243
|
+
- **OpenCode 2.4.1 (macOS 26.7.3, 2026-11-28):** two isolated long-lived server
|
|
244
|
+
runs (`opencode serve --hostname 127.0.0.1` + `opencode run --server`; 2.4.1
|
|
245
|
+
requires `OPENCODE_PASSWORD`):
|
|
246
|
+
- [Turn → export trace (#397)](../benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/README.md):
|
|
247
|
+
establishes live observation recording for two consecutive turns in one
|
|
248
|
+
session and idempotent `system-one-cycle` training import/export
|
|
249
|
+
(`persisted: 2` → `persisted: 0, duplicate: 2`, identical export IDs,
|
|
250
|
+
`acceptanceRate: 1`). Router/context injection was indirectly observed
|
|
251
|
+
(model emitted the injected label contract), not a full injection trace.
|
|
252
|
+
- [Steering trace (#450)](../benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/README.md):
|
|
253
|
+
establishes mid-turn live steering delivery shape (`prompt` +
|
|
254
|
+
`session.inbox.enqueued` + `session.inbox.delivered`, steered message in the
|
|
255
|
+
next `context` of the same execution, no new `session.execution.started`, one
|
|
256
|
+
`session.execution.succeeded` covering both prompts; sequential post-settle
|
|
257
|
+
control receives its own `execution.started` + `succeeded`). Witness-only for
|
|
258
|
+
#450 observation overwrite/drop; no product fix this round.
|
|
259
|
+
|
|
260
|
+
These observations establish bounded V2 lifecycle coverage on macOS,
|
|
245
261
|
not full V2 lifecycle verification across all hooks or platforms. The adapter
|
|
246
262
|
has deterministic V2 mechanism coverage (`ci/mechanism-2n-opencode-plugin.test.js`,
|
|
247
263
|
V2 edit/verification/reminder/state shapes;
|
|
248
264
|
`ci/mechanism-2p-opencode-v2-entrypoint.test.js`, V2-only export contract and
|
|
249
265
|
lifecycle shapes; `ci/mechanism-397-opencode-observations.test.js`, router
|
|
250
266
|
injection, fail-open router diagnostics on launch or runtime failure, turn
|
|
251
|
-
capture, malformed-label export counts, and opt-out).
|
|
252
|
-
|
|
253
|
-
and workspace mismatch handling remain mechanism evidence only
|
|
267
|
+
capture, malformed-label export counts, and opt-out). Full router/context
|
|
268
|
+
injection trace, ledger lessons, session create/delete reset, cancellation,
|
|
269
|
+
and workspace mismatch handling remain mechanism evidence only; global scope,
|
|
270
|
+
npm-package install, and other versions/OSes remain unverified.
|
|
254
271
|
|
|
255
272
|
**Historical / unsupported V1 evidence:** retained evidence from the retired V1
|
|
256
273
|
era documents project-scope `.js` loading and edit/verification state on
|
|
@@ -302,11 +319,41 @@ The editorial doc check (`harness-everything/scripts/doc-check.js`, F1) is reach
|
|
|
302
319
|
|
|
303
320
|
`compare-derived` (`harness-everything/scripts/doc-check.js`, F3) compares a caller-captured generator output with a declared derived view, byte for byte. It runs no generator and writes no files. Its evidence is package and mechanism only: the generation status is caller-reported, and the output is ordinary command evidence. It is not trusted credit, and it makes no live-host claim.
|
|
304
321
|
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
PR-B
|
|
308
|
-
|
|
309
|
-
W3/W6
|
|
322
|
+
**Historical (retired E1 pilot):** credited reconciliation for F4 (Claude Code only, pilot ON) was **implemented, with mechanism and package evidence and one live field-availability capture**. Credit works for `doc-lint` and `link-check` through a registered `doc-check` run, and for an independent `quality-review` with bound path digests. The capture under `benchmarks/results/live-host/claude-325-3b-s2b/` proves field availability on Claude Code 2.1.308 for one session. It is not live-host credit, and no live-host credit run exists yet. Deterministic mechanism tests (replay through the real hook entry points, with a CI-only qualification preloader) prove the chain.
|
|
323
|
+
|
|
324
|
+
**Historical (retired E1 pilot):** PR-B added a dedicated `outline-confirmation` evidence lane for Claude captures with separate B/O/D checks, a coordinator-sealed pre-dispatch handoff, pinned-inventory row binding, and an independent exact-O review. A separate sanitized capture qualified the **observed Claude Code 2.1.312 run8 profile**, recorded at main baseline `1bd0f805031c5577a6e7f72a9bc5b41618b71fc1`. This remains retained field-mapping evidence, not runtime version enforcement or an E1 qualifying cycle. OpenCode, Codex and other Claude Code versions received no outline qualification. Missing or ambiguous capture stayed unresolved and host tools remained fail-open. The outline result did not replace the aggregate B→D MUST result or the existing exact-D `quality-review` contract.
|
|
325
|
+
|
|
326
|
+
**Historical (retired E1 pilot):** W3/W6 added only the closed workflow-state operations named in [the reconciliation contract](doc-workflow-reconciliation.md#writer-policy-phase-aware): plan/start and inventory before O, one seal after the approved O review, then three ordered dispositions after worker closure and final review. The installed producer exposed only `inventory` and `seal`, which have since been removed under #553 (see below); previously, the real Pre/Post hook journal and provider validated invocation identity, phase, exact destinations, schema and transition, and `state-persist` used that same decision so verified state-only calls did not appear as task edits or verification evidence. The outline mechanism suite exercised source and packaged paths; this is deterministic mechanism/package evidence only. No live W6 host cycle or E1 qualification is claimed.
|
|
327
|
+
|
|
328
|
+
### E1 pilot retirement and retained document controls (#553)
|
|
329
|
+
|
|
330
|
+
The E1 reconciliation pilot is retired, and its runtime modules and W6 `inventory`/`seal` CLI
|
|
331
|
+
(`hooks/scripts/w6-state-operations.js`) have been removed (#553). Under the retirement contract
|
|
332
|
+
every `HARNESS_DOC_RECONCILIATION_PILOT` value is ignored, ordinary hooks print no flag warning,
|
|
333
|
+
and workflow credit and Stop no longer load the E1 provider (#553); generic verification, required
|
|
334
|
+
bindings and Fable correlation are unchanged, and a legacy doc-only verification no longer
|
|
335
|
+
satisfies Stop. In-flight E1 work belongs to the previous release; after upgrading, end the old
|
|
336
|
+
session and open a new one to redo review/verify. Recorded journals, reports and outline artifacts
|
|
337
|
+
stay in place. Issues
|
|
338
|
+
[#325](https://github.com/dyphn1/Harness-everything/issues/325) and
|
|
339
|
+
[#350](https://github.com/dyphn1/Harness-everything/issues/350) remain open failure markers.
|
|
340
|
+
|
|
341
|
+
The document controls below remain available and are unchanged by this retirement. Each is
|
|
342
|
+
package/mechanism evidence only, grants no E1 credit and makes no live-host claim:
|
|
343
|
+
|
|
344
|
+
- `doc-check` editorial check (F1, `harness-everything/scripts/doc-check.js`): instruction-only,
|
|
345
|
+
no `doc-change` step binding, no host enforcement and no Stop lock; a non-empty
|
|
346
|
+
`coverage.unsupported` marks it partial.
|
|
347
|
+
- `compare-derived` (F3): byte-for-byte comparison of a caller-captured generator output with a
|
|
348
|
+
declared derived view; runs no generator and writes no files. The generation status is
|
|
349
|
+
caller-reported.
|
|
350
|
+
- `doc-check check --conflict-assessment`: full governed/legacy corpus conflict check that
|
|
351
|
+
requires `--base` as an exact commit SHA; accepts recorded and structural conflicts only,
|
|
352
|
+
leaves prose contradictions to independent `quality-review`, and remains refused on OpenCode.
|
|
353
|
+
- `doc-governance` CI guard (PR #376): on `pull_request` it extracts
|
|
354
|
+
`scripts/doc-governance-guard.js` from the event base and runs those bytes against the exact
|
|
355
|
+
base/head SHAs, never the candidate copy; nonzero exits fail that job independently of the other
|
|
356
|
+
CI jobs. Its trust-surface and decision classes are unchanged.
|
|
310
357
|
|
|
311
358
|
### Own-repository governance guard (PR #376)
|
|
312
359
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": "harness-platform-compatibility-v1",
|
|
3
|
-
"last_reviewed": "2026-11-
|
|
3
|
+
"last_reviewed": "2026-11-28",
|
|
4
4
|
"status_vocabulary": {
|
|
5
5
|
"Supported": "An official or native mechanism exists and the Harness behavior is verified.",
|
|
6
6
|
"Mechanism verified": "Harness package, adapter, or installer checks pass, but a real host run is not confirmed.",
|
|
@@ -185,15 +185,15 @@
|
|
|
185
185
|
],
|
|
186
186
|
"capabilities": {
|
|
187
187
|
"standaloneSkills": {"status": "Supported", "paths": {"project": [".opencode/skills", ".agents/skills", ".claude/skills"], "global": ["~/.config/opencode/skills", "~/.agents/skills", "~/.claude/skills"]}},
|
|
188
|
-
"pluginSupport": {"status": "Partial", "paths": {"project": [".opencode/plugins"], "global": ["~/.config/opencode/plugins"]}, "notes": "OpenCode V2 plugin API only; OpenCode 1.x / V1 is unsupported (#453). Default export ({ id, setup(ctx) }) is the only public surface. Tested V2 live observations: OpenCode 2.1.4 (macOS 26.6.2, isolated V2 lifecycle trace at benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md establishing V2 default-export load, tool hooks, event envelope + session.execution.succeeded, and completion -> verification -> reminder delivery on a long-lived server), OpenCode 2.1.3 (macOS, server-log load-only),
|
|
188
|
+
"pluginSupport": {"status": "Partial", "paths": {"project": [".opencode/plugins"], "global": ["~/.config/opencode/plugins"]}, "notes": "OpenCode V2 plugin API only; OpenCode 1.x / V1 is unsupported (#453). Default export ({ id, setup(ctx) }) is the only public surface. Tested V2 live observations: OpenCode 2.1.4 (macOS 26.6.2, isolated V2 lifecycle trace at benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md establishing V2 default-export load, tool hooks, event envelope + session.execution.succeeded, and completion -> verification -> reminder delivery on a long-lived server), OpenCode 2.1.3 (macOS, server-log load-only), OpenCode 2.1.4 (macOS, limited session workspace trace), and OpenCode 2.4.1 (macOS 26.7.3, long-lived server runs at benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/README.md and benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/README.md); no validated minimum patch version is claimed. Install under a .js filename because .mjs install names are silently ignored (issue #127). Retained OpenCode 1.18.31 (macOS) evidence (benchmarks/results/live-host/opencode-2026-09-16/README.md) is historical/unsupported V1 evidence only. Global scope, npm-package installation, and other host versions remain unverified (as do other OSes)."},
|
|
189
189
|
"bundledSkills": {"status": "Partial", "notes": "Harness provides a standalone enforcement module; it is not an OpenCode bundled-skill package."},
|
|
190
|
-
"hooksLifecycle": {"status": "Partial", "notes": "OpenCode V2 plugin API only (OpenCode 1.x / V1 unsupported). An isolated OpenCode 2.1.4 (macOS 26.6.2) V2 lifecycle trace (benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md) establishes V2 default-export load, V2 tool hooks (tool.execute.before/after), the V2 event envelope + session.execution.succeeded completion, and completion -> verification -> reminder delivery on a long-lived server (standalone opencode run exits before verification finishes).
|
|
191
|
-
"projectScope": {"status": "Partial", "paths": {"skills": [".opencode/skills", ".agents/skills"], "plugins": [".opencode/plugins"]}, "notes": "Project-scope V2 default-export load, tool hooks, session.execution.succeeded completion, and completion -> verification -> reminder delivery on a long-lived server were observed on one OpenCode 2.1.4 (macOS 26.6.2) run (benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md), alongside OpenCode 2.1.3 (macOS) server-log load
|
|
190
|
+
"hooksLifecycle": {"status": "Partial", "notes": "OpenCode V2 plugin API only (OpenCode 1.x / V1 unsupported). An isolated OpenCode 2.1.4 (macOS 26.6.2) V2 lifecycle trace (benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md) establishes V2 default-export load, V2 tool hooks (tool.execute.before/after), the V2 event envelope + session.execution.succeeded completion, and completion -> verification -> reminder delivery on a long-lived server (standalone opencode run exits before verification finishes). Two isolated OpenCode 2.4.1 (macOS 26.7.3) long-lived server runs establish observation recording + idempotent training export with router/context injection indirectly observed as the model emitted the injected label contract (benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/README.md) and mid-turn live steering delivery shape as witness-only for #450 (benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/README.md). Full router/context injection trace, ledger lessons, session create/delete reset, and cancellation were not exercised live and remain mechanism-verified only; OpenCode 2.1.3 evidence is load-only and the 2026-11-15 OpenCode 2.1.4 workspace trace did not fire V2 hooks. Retained historical/unsupported V1 evidence (benchmarks/results/live-host/opencode-2026-09-16/README.md) covers project-scope .js loading and edit/verification state on OpenCode 1.18.31 (macOS) from a post-reset snapshot predating Rule-of-3 retirement (hard lock was only an interactive observation with no retained blocked-tool trace; reflection was operator-seeded) and does not establish current V2 capability. Global scope, npm-package installation, and other host versions remain unverified (as do other OSes)."},
|
|
191
|
+
"projectScope": {"status": "Partial", "paths": {"skills": [".opencode/skills", ".agents/skills"], "plugins": [".opencode/plugins"]}, "notes": "Project-scope V2 default-export load, tool hooks, session.execution.succeeded completion, and completion -> verification -> reminder delivery on a long-lived server were observed on one OpenCode 2.1.4 (macOS 26.6.2) run (benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md), alongside OpenCode 2.1.3 (macOS) server-log load, 2.1.4 (macOS) workspace field availability, and two OpenCode 2.4.1 (macOS 26.7.3) long-lived server runs establishing observation recording + training export (router/context injection indirectly observed via model-emitted label contract) and live steering delivery shape (benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/README.md, benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/README.md); full router/context injection trace, ledger lessons, session create/delete reset, and cancellation remain unverified live. Standalone skill discovery remains path-contract verified. Retained OpenCode 1.18.31 (macOS) artifact is historical/unsupported V1 evidence only."},
|
|
192
192
|
"globalScope": {"status": "Mechanism verified", "paths": {"skills": ["~/.config/opencode/skills", "~/.agents/skills"], "plugins": ["~/.config/opencode/plugins"]}},
|
|
193
193
|
"installUninstallSymmetry": {"status": "Unknown", "notes": "The adapter is manually copied; Harness does not own an OpenCode install/uninstall flow."},
|
|
194
194
|
"assetsReferences": {"status": "Mechanism verified", "notes": "The adapter is self-contained and skill references are separately checked."},
|
|
195
195
|
"updateSync": {"status": "Unknown", "notes": "No live OpenCode refresh or npm plugin update is preserved."},
|
|
196
|
-
"liveHostVerification": {"status": "Partial", "evidence": "benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md", "notes": "OpenCode V2 plugin API only; OpenCode 1.x / V1 is unsupported (#453). Tested V2 live evidence: one isolated OpenCode 2.1.4 (macOS 26.6.2) V2 lifecycle trace at benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md (V2 default-export load, V2 tool hooks, V2 event envelope + session.execution.succeeded completion, and completion -> verification -> reminder delivery on a long-lived server; standalone opencode run exits before verification finishes
|
|
196
|
+
"liveHostVerification": {"status": "Partial", "evidence": "benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md", "notes": "OpenCode V2 plugin API only; OpenCode 1.x / V1 is unsupported (#453). Tested V2 live evidence: one isolated OpenCode 2.1.4 (macOS 26.6.2) V2 lifecycle trace at benchmarks/results/live-host/opencode-2026-11-24-v2-lifecycle/README.md (V2 default-export load, V2 tool hooks, V2 event envelope + session.execution.succeeded completion, and completion -> verification -> reminder delivery on a long-lived server; standalone opencode run exits before verification finishes), OpenCode 2.1.3 (macOS, server-log load-only), OpenCode 2.1.4 (macOS, limited session workspace trace at benchmarks/results/live-host/opencode-2026-11-15-workspace/README.md), and two isolated OpenCode 2.4.1 (macOS 26.7.3) long-lived server runs: benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/README.md (observation recording + idempotent training export; router/context injection indirectly observed as the model emitted the injected label contract, not a full injection trace) and benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/README.md (mid-turn live steering delivery shape, witness-only for #450); no validated minimum patch version is claimed. Full router/context injection trace, ledger lessons, session create/delete reset, and cancellation remain unverified live. The retained historical artifact at benchmarks/results/live-host/opencode-2026-09-16/README.md is historical/unsupported V1 evidence documenting project-scope .js loading and edit/verification state on OpenCode 1.18.31 (macOS), not current V2 capability or durable hard enforcement: final snapshot is post-reset (hardLock: false), hard lock was only an interactive observation with no retained blocked-tool trace, reflection was operator-seeded, and agent-controlled state deletion reset the former breaker before Rule-of-3 retirement. Global scope, npm-package installation, and other host versions remain unverified (as do other OSes)."}
|
|
197
197
|
}
|
|
198
198
|
},
|
|
199
199
|
{
|