harness-everything 1.3.1 → 1.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/AGENTS.md +1 -1
  4. package/CHANGELOG.md +8 -0
  5. package/behavioral-evals/ledger-pairs/README.md +53 -0
  6. package/behavioral-evals/ledger-pairs/arm.js +359 -0
  7. package/behavioral-evals/ledger-pairs/fixture.js +138 -0
  8. package/behavioral-evals/ledger-pairs/preflight.js +96 -0
  9. package/behavioral-evals/ledger-pairs/score.js +155 -0
  10. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/README.md +108 -0
  11. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-baseline/arm-plan.json +14 -0
  12. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-baseline/arm-result.json +35 -0
  13. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-treatment/arm-plan.json +14 -0
  14. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-1-treatment/arm-result.json +35 -0
  15. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-baseline/arm-plan.json +14 -0
  16. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-baseline/arm-result.json +35 -0
  17. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-treatment/arm-plan.json +14 -0
  18. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-2-treatment/arm-result.json +35 -0
  19. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-baseline/arm-plan.json +14 -0
  20. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-baseline/arm-result.json +35 -0
  21. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-treatment/arm-plan.json +14 -0
  22. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-3-treatment/arm-result.json +35 -0
  23. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-baseline/arm-plan.json +14 -0
  24. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-baseline/arm-result.json +28 -0
  25. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-treatment/arm-plan.json +14 -0
  26. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/agy/pair-4-treatment/arm-result.json +35 -0
  27. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-baseline/arm-plan.json +13 -0
  28. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-baseline/arm-result.json +56 -0
  29. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-treatment/arm-plan.json +13 -0
  30. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-1-treatment/arm-result.json +56 -0
  31. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-baseline/arm-plan.json +13 -0
  32. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-baseline/arm-result.json +56 -0
  33. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-treatment/arm-plan.json +13 -0
  34. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-2-treatment/arm-result.json +56 -0
  35. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-baseline/arm-plan.json +13 -0
  36. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-baseline/arm-result.json +49 -0
  37. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-treatment/arm-plan.json +13 -0
  38. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-3-treatment/arm-result.json +49 -0
  39. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-baseline/arm-plan.json +13 -0
  40. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-baseline/arm-result.json +49 -0
  41. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-treatment/arm-plan.json +13 -0
  42. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/codex/pair-4-treatment/arm-result.json +56 -0
  43. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-baseline/arm-plan.json +14 -0
  44. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-baseline/arm-result.json +44 -0
  45. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-baseline/receipt.jsonl +17 -0
  46. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-treatment/arm-plan.json +14 -0
  47. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-treatment/arm-result.json +41 -0
  48. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-1-treatment/receipt.jsonl +58 -0
  49. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-baseline/arm-plan.json +14 -0
  50. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-baseline/arm-result.json +50 -0
  51. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-baseline/receipt.jsonl +101 -0
  52. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-treatment/arm-plan.json +14 -0
  53. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-treatment/arm-result.json +44 -0
  54. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-2-treatment/receipt.jsonl +29 -0
  55. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-baseline/arm-plan.json +14 -0
  56. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-baseline/arm-result.json +44 -0
  57. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-baseline/receipt.jsonl +23 -0
  58. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-treatment/arm-plan.json +14 -0
  59. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-treatment/arm-result.json +34 -0
  60. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-3-treatment/receipt.jsonl +24 -0
  61. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-baseline/arm-plan.json +14 -0
  62. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-baseline/arm-result.json +47 -0
  63. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-baseline/receipt.jsonl +69 -0
  64. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-treatment/arm-plan.json +14 -0
  65. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-treatment/arm-result.json +44 -0
  66. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/opencode/pair-4-treatment/receipt.jsonl +65 -0
  67. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/run-order.sh +18 -0
  68. package/benchmarks/results/live-host/ledger-pairs-2026-11-28/score.json +1032 -0
  69. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/README.md +50 -0
  70. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/collect-rerun.txt +3 -0
  71. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/export-report.json +22 -0
  72. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/host-version.txt +1 -0
  73. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/import-report-1.json +18 -0
  74. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/import-report-2.json +18 -0
  75. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/labels-observed-excerpt.jsonl +2 -0
  76. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/observations-index-excerpt.json +26 -0
  77. package/benchmarks/results/live-host/opencode-2026-11-28-397-turn-export/plugin-load-lines.txt +1 -0
  78. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/README.md +46 -0
  79. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/observations-index-excerpt.json +16 -0
  80. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/plugin-load-lines.txt +2 -0
  81. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/run-marks.txt +6 -0
  82. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/steering-probe.js +16 -0
  83. package/benchmarks/results/live-host/opencode-2026-11-28-450-steering-trace/steering-trace.jsonl +167 -0
  84. package/ci/mechanism-332-fable-directive.test.js +180 -0
  85. package/ci/mechanism-552-ledger-pairs.test.js +159 -0
  86. package/ci/router-workflow-plan.test.js +61 -21
  87. package/docs/platform-capabilities.md +28 -11
  88. package/docs/platform-compatibility.json +5 -5
  89. package/harness-everything/SKILL.md +1 -1
  90. package/harness-everything/scripts/routing-keywords.json +0 -2
  91. package/harness-everything/scripts/tier-router.js +105 -11
  92. package/opencode-plugin/plugin.json +1 -1
  93. package/package.json +1 -1
  94. package/plugins/harness-everything/.antigravity-plugin/plugin.json +1 -1
  95. package/plugins/harness-everything/.codex-plugin/plugin.json +1 -1
  96. package/plugins/harness-everything/plugin.json +1 -1
  97. package/plugins/harness-everything/rules/AGENTS.md +1 -1
  98. package/plugins/harness-everything/skills/harness-everything/SKILL.md +1 -1
  99. package/plugins/harness-everything/skills/harness-everything/scripts/routing-keywords.json +0 -2
  100. package/plugins/harness-everything/skills/harness-everything/scripts/tier-router.js +105 -11
  101. package/sbom.cdx.json +7 -7
@@ -0,0 +1,180 @@
1
+ #!/usr/bin/env node
2
+ const assert = require('node:assert/strict');
3
+ const { spawnSync } = require('node:child_process');
4
+ const path = require('node:path');
5
+
6
+ const ROOT = path.resolve(__dirname, '..');
7
+ const ROUTER = path.join(ROOT, 'harness-everything', 'scripts', 'kernel-router.js');
8
+
9
+ function route(prompt) {
10
+ const result = spawnSync(process.execPath, [ROUTER], {
11
+ cwd: ROOT,
12
+ encoding: 'utf8',
13
+ input: JSON.stringify({ hook_event_name: 'UserPromptSubmit', prompt }),
14
+ env: { ...process.env, HARNESS_SYSTEM_ONE_MODE: 'off' },
15
+ });
16
+ assert.equal(result.status, 0, `${prompt}: router exits successfully\n${result.stderr}`);
17
+ const match = result.stdout.match(/ROUTER WORKFLOW PLAN \(JSON\): (\{[^\r\n]+\})/);
18
+ assert.ok(match, `${prompt}: real kernel entry emits workflow plan`);
19
+ return { ...JSON.parse(match[1]), routerOutput: result.stdout };
20
+ }
21
+
22
+ const mention = route('我記得有 fable-decision skill');
23
+ assert.notEqual(mention.strategy, 'fable-staged', 'a Fable skill mention does not select Fable');
24
+
25
+ for (const prompt of [
26
+ '不要用 fable,改 README 錯字',
27
+ '不要改用 fable 修 README 錯字',
28
+ 'Do not use fable, fix a typo in README.md',
29
+ 'Could you not use fable to fix a typo in README.md',
30
+ ]) {
31
+ const plan = route(prompt);
32
+ assert.notEqual(plan.strategy, 'fable-staged', `${prompt}: prohibition does not select Fable`);
33
+ assert.notEqual(plan.fallback.disposition, 'blocked', `${prompt}: prohibition alone does not conflict`);
34
+ }
35
+
36
+ const englishTypo = route('Fix a typo in README.md');
37
+ assert.equal(englishTypo.tier, 'tier1');
38
+ assert.equal(englishTypo.strategy, 'direct-single');
39
+
40
+ const zhExplicit = route('用 fable 跨專案實作這個功能');
41
+ assert.equal(zhExplicit.strategy, 'fable-staged', 'explicit Chinese request selects Fable');
42
+
43
+ for (const prompt of [
44
+ '改用 fable 修 README 錯字',
45
+ '幫我改用 fable 修 README 錯字',
46
+ '請改用 fable 修 README 錯字',
47
+ '麻煩改用 fable 修 README 錯字',
48
+ 'Could you use fable to fix a typo in README.md',
49
+ 'Would you please use fable to fix a typo in README.md',
50
+ ]) {
51
+ const plan = route(prompt);
52
+ assert.equal(plan.strategy, 'fable-staged', `${prompt}: explicit request selects Fable`);
53
+ assert.ok(plan.reasonCodes.includes('explicit-strategy-request'), `${prompt}: explicit request is recorded`);
54
+ }
55
+
56
+ for (const prompt of [
57
+ '改用 fable-staged 修 README 錯字',
58
+ '改用 fable on sonnet 修 README 錯字',
59
+ ]) {
60
+ const plan = route(prompt);
61
+ assert.equal(plan.strategy, 'fable-staged', `${prompt}: named strategy/profile remains selectable`);
62
+ assert.ok(plan.reasonCodes.includes('explicit-strategy-request'), `${prompt}: named request is recorded`);
63
+ if (prompt.includes('sonnet')) assert.ok(plan.routerOutput.includes('REQUESTED FABLE PROFILE: sonnet'));
64
+ }
65
+
66
+ const prohibitedMacro = route('Do not use fable; redesign the architecture across the repository');
67
+ assert.equal(prohibitedMacro.tier, 'tier3', 'real macro workload keeps its structural tier');
68
+ assert.equal(prohibitedMacro.strategy, 'iterative-single', 'prohibition downgrades to a single-agent topology');
69
+ assert.notEqual(prohibitedMacro.fallback.disposition, 'blocked', 'prohibition alone is not a conflict');
70
+
71
+ const prohibitedProfile = route('Do not use fable on opus to audit the entire repository architecture');
72
+ assert.equal(prohibitedProfile.strategy, 'iterative-single',
73
+ 'a negated profile invocation is not an explicit strategy request');
74
+ assert.ok(!prohibitedProfile.routerOutput.includes('REQUESTED FABLE PROFILE'),
75
+ 'a negated profile invocation is not treated as a requested model');
76
+ assert.ok(!prohibitedProfile.reasonCodes.includes('explicit-request-conflicts-with-prohibition'));
77
+
78
+ const contradiction = route('Use fable to redesign the architecture. Do not use fable for this task.');
79
+ assert.equal(contradiction.fallback.disposition, 'blocked', 'contradictory clauses remain blocked');
80
+ assert.ok(contradiction.reasonCodes.includes('explicit-request-conflicts-with-prohibition'));
81
+
82
+ for (const [prompt, strategy] of [
83
+ ['fable-staged audit the whole repository architecture', 'fable-staged'],
84
+ ['fable-parallel for independent read-only repository audits', 'fable-parallel'],
85
+ ]) {
86
+ assert.equal(route(prompt).strategy, strategy, `${prompt}: named topology remains selectable`);
87
+ }
88
+ assert.notEqual(route('Do not use fable-staged for this task').strategy, 'fable-staged',
89
+ 'negated named strategy is not an explicit request');
90
+
91
+ assert.equal(route('What is fable on sonnet? Return only JSON.').strategy, 'direct-single',
92
+ 'profile lookup remains a lookup');
93
+ assert.equal(route('改 README 錯字').tier, 'unclassified', 'Chinese typo stays bounded without new Tier 1 recognition');
94
+
95
+ for (const prompt of [
96
+ 'Never use fable, fix a typo in README.md',
97
+ 'Never use fable-mode, fix a typo in README.md',
98
+ 'Cannot use fable, fix a typo in README.md',
99
+ "Can't use fable, fix a typo in README.md",
100
+ 'Not use fable, fix a typo in README.md',
101
+ '別用 fable,改 README 錯字',
102
+ '別用 fable-mode,改 README 錯字',
103
+ '請勿使用 fable,改 README 錯字',
104
+ '勿用 fable,改 README 錯字',
105
+ '避免用 fable,改 README 錯字',
106
+ '停止使用 fable,改 README 錯字',
107
+ ]) {
108
+ const plan = route(prompt);
109
+ assert.notEqual(plan.strategy, 'fable-staged', `${prompt}: prohibition is not a request`);
110
+ assert.ok(!plan.reasonCodes.includes('explicit-strategy-request'), `${prompt}: no explicit request`);
111
+ assert.notEqual(plan.fallback.disposition, 'blocked', `${prompt}: prohibition is not a conflict`);
112
+ }
113
+
114
+ for (const prefix of ['Please', "Let's", 'Now', 'Could you', 'Could you please', 'Would you', 'Would you please', '請', '幫我', '麻煩']) {
115
+ for (const verb of ['use fable', 'run fable', 'enter fable', '使用 fable', '用 fable', '啟用 fable', '進入 fable', '執行 fable', '改用 fable']) {
116
+ assert.equal(route(`${prefix} ${verb} to redesign the repository architecture`).strategy, 'fable-staged',
117
+ `${prefix} + ${verb}: clause-leading request selects Fable`);
118
+ }
119
+ }
120
+
121
+ const englishNegationPrefixes = ['Do not', "Don't", 'Never', 'Cannot', "Can't", 'Not', 'No', 'Without'];
122
+ const englishNegationTargets = ['fable', 'fable-mode', 'use fable', 'use fable-mode', 'fable to fix a typo'];
123
+ const chineseNegationPrefixes = ['不要', '不需要', '無需', '無須', '不必', '毋須', '不用', '不會', '別', '勿', '請勿', '避免', '停止'];
124
+ const chineseNegationTargets = ['fable', '使用 fable', '用 fable', '啟用 fable', '進入 fable', '執行 fable'];
125
+ const negationMatrix = [
126
+ ...englishNegationPrefixes.flatMap(prefix => englishNegationTargets.map(target => `${prefix} ${target} to fix a typo in README.md`)),
127
+ ...chineseNegationPrefixes.flatMap(prefix => chineseNegationTargets.map(target => `${prefix}${target} 修 README 錯字`)),
128
+ ];
129
+ assert.equal(negationMatrix.length, 118, 'the class-level negation matrix covers 118 inputs');
130
+ for (const prompt of negationMatrix) {
131
+ const plan = route(prompt);
132
+ assert.notEqual(plan.strategy, 'fable-staged', `${prompt}: negation does not select Fable`);
133
+ assert.ok(!plan.reasonCodes.includes('explicit-strategy-request'), `${prompt}: negation is not an explicit request`);
134
+ assert.notEqual(plan.fallback.disposition, 'blocked', `${prompt}: negation alone is not a conflict`);
135
+ }
136
+
137
+ for (const prefix of ['please', "let's", 'now', '請', '幫我', '改用', '麻煩']) {
138
+ const plan = route(`${prefix} maybe use fable to fix a typo in README.md`);
139
+ assert.ok(!plan.reasonCodes.includes('explicit-strategy-request'), `${prefix}: unknown modifier is not explicit`);
140
+ assert.notEqual(plan.fallback.disposition, 'blocked', `${prefix}: unknown modifier is not a conflict`);
141
+ }
142
+
143
+ for (const prompt of [
144
+ 'Never use fable; redesign the architecture across the repository',
145
+ '請勿使用 fable;重構整個 repository architecture',
146
+ ]) {
147
+ const plan = route(prompt);
148
+ assert.equal(plan.tier, 'tier3', `${prompt}: structural tier remains`);
149
+ assert.equal(plan.strategy, 'iterative-single', `${prompt}: prohibition downgrades topology`);
150
+ assert.ok(plan.reasonCodes.includes('user-prohibited-fable'), `${prompt}: prohibition reason is visible`);
151
+ }
152
+
153
+ for (const prompt of [
154
+ 'Redesign the architecture across the entire repository',
155
+ '重構整個 repository architecture',
156
+ ]) {
157
+ const plan = route(prompt);
158
+ assert.equal(plan.tier, 'tier3', `${prompt}: structural tier remains without prohibition`);
159
+ assert.equal(plan.strategy, 'fable-staged', `${prompt}: positive control retains the Tier 3 default`);
160
+ }
161
+
162
+ for (const prompt of [
163
+ 'Do not use fable; use fable-parallel for this task',
164
+ 'Use fable-parallel; do not use fable for this task',
165
+ 'Cannot use fable on opus; fable on sonnet for this task',
166
+ 'Fable on sonnet; do not use fable for this task',
167
+ ]) {
168
+ const plan = route(prompt);
169
+ assert.equal(plan.fallback.disposition, 'blocked', `${prompt}: real contradiction remains blocked`);
170
+ }
171
+
172
+ assert.notEqual(route('I remember fable-staged; fix a typo in README.md').strategy, 'fable-staged');
173
+ const laterProfile = route('I remember fable on opus; use fable on sonnet for this task');
174
+ assert.equal(laterProfile.strategy, 'fable-staged');
175
+ assert.ok(laterProfile.routerOutput.includes('REQUESTED FABLE PROFILE: sonnet'));
176
+ const quotedSeparator = route('Use “fable; use fable on opus” as an example');
177
+ assert.notEqual(quotedSeparator.strategy, 'fable-staged');
178
+ assert.ok(!quotedSeparator.reasonCodes.includes('explicit-strategy-request'));
179
+
180
+ console.log('PASS: #332 Fable directive real-entry controls');
@@ -0,0 +1,159 @@
1
+ 'use strict';
2
+
3
+ const assert = require('node:assert/strict');
4
+ const fs = require('node:fs');
5
+ const os = require('node:os');
6
+ const path = require('node:path');
7
+ const { pathToFileURL } = require('node:url');
8
+ const { spawnSync } = require('node:child_process');
9
+ const test = require('node:test');
10
+
11
+ const fixture = require('../behavioral-evals/ledger-pairs/fixture');
12
+ const scorer = require('../behavioral-evals/ledger-pairs/score');
13
+
14
+ test('fixture is deterministic and both arms have identical visible records', async t => {
15
+ const root = fs.mkdtempSync(path.join(os.tmpdir(), 'ledger-pairs-'));
16
+ t.after(() => fs.rmSync(root, { recursive: true, force: true }));
17
+ const baseline = await fixture.buildFixture({ out: path.join(root, 'baseline'), arm: 'baseline' });
18
+ const treatment = await fixture.buildFixture({ out: path.join(root, 'treatment'), arm: 'treatment' });
19
+ const rebuilt = await fixture.buildFixture({ out: path.join(root, 'rebuilt'), arm: 'baseline' });
20
+ assert.equal(baseline.initialSha, rebuilt.initialSha);
21
+ assert.equal(baseline.initialSha, treatment.initialSha);
22
+ assert.equal(fixture.visibilityFromRecord(baseline.record), 'visible');
23
+ assert.equal(fixture.visibilityFromRecord(treatment.record), 'visible');
24
+ assert.equal(fixture.indexRow(baseline.index).id, 'E-0003');
25
+ assert.equal(fixture.indexRow(treatment.index).matchBinding, fixture.indexRow(baseline.index).matchBinding);
26
+ assert.notEqual(spawnSync(process.execPath, ['test.js'], { cwd: baseline.repo }).status, 0, 'fixture starts with a failing acceptance test');
27
+ });
28
+
29
+ test('scorer recognizes accepted and corrected commits, and rejects bypasses', () => {
30
+ const accepted = scorer.scoreArm({ runner: 'codex', arm: 'treatment', pair: 1, events: [
31
+ { kind: 'commit', accepted: true, subject: 'fix: update the sample', sha: 'abc123' },
32
+ { kind: 'test', passed: true },
33
+ { kind: 'receipt', status: 'delivered-before-decision', correlated: true, requestId: 'decision-1' },
34
+ { kind: 'decision', requestId: 'decision-1' },
35
+ ], initialFiles: { 'src/sample.js': 'old' }, finalFiles: { 'src/sample.js': 'new' } });
36
+ assert.equal(accepted.firstCommitAccepted, true);
37
+ assert.equal(accepted.correctDiffAndTest, true);
38
+ assert.equal(accepted.receiptStatus, 'delivered-before-decision');
39
+
40
+ const corrected = scorer.scoreArm({ runner: 'codex', arm: 'baseline', pair: 1, events: [
41
+ { kind: 'commit', accepted: false, diagnostics: ['subject-case'] },
42
+ { kind: 'commit', accepted: true, subject: 'fix: update the sample', sha: 'def456' },
43
+ { kind: 'test', passed: true },
44
+ ], initialFiles: { 'src/sample.js': 'old' }, finalFiles: { 'src/sample.js': 'new' } });
45
+ assert.equal(corrected.sameClassRejections['subject-case'], 1);
46
+ assert.equal(corrected.retries, 1);
47
+
48
+ const bypass = scorer.scoreArm({ runner: 'agy', arm: 'treatment', pair: 1, events: [
49
+ { kind: 'commit', accepted: true, bypass: '--no-verify', sha: 'fff999' },
50
+ { kind: 'test', passed: true },
51
+ ], initialFiles: { 'src/sample.js': 'old' }, finalFiles: { 'src/sample.js': 'new' } });
52
+ assert.equal(bypass.hookBypass, true);
53
+ assert.equal(bypass.qualityPass, false);
54
+ });
55
+
56
+ test('both arms retain byte-identical ledger records', () => {
57
+ const record = { id: 'E-0003', cue: 'original cue', lesson: 'original lesson' };
58
+ const hidden = fixture.applyVisibility(record, 'baseline');
59
+ const visible = fixture.applyVisibility(record, 'treatment');
60
+ assert.deepEqual(hidden, visible);
61
+ });
62
+
63
+ test('unknown or uncorrelated receipts never become timely delivery', () => {
64
+ assert.equal(scorer.receiptStatus([{ kind: 'receipt', status: 'unknown' }, { kind: 'commit' }]), 'unknown');
65
+ assert.equal(scorer.receiptStatus([{ kind: 'receipt', status: 'delivered-before-decision' }, { kind: 'commit' }]), 'unknown');
66
+ assert.equal(scorer.receiptStatus([{ kind: 'receipt', status: 'delivered-before-decision', correlated: true, requestId: 'r1' }, { kind: 'decision', requestId: 'r1' }]), 'delivered-before-decision');
67
+ });
68
+
69
+ test('carrier filter removes only the exact E-0003 fragment', () => {
70
+ const { filterCarrierContext } = require('../behavioral-evals/ledger-pairs/arm');
71
+ const fragment = 'Cue: E-0003\nLesson: choose a lowercase subject';
72
+ const context = `unrelated context\n${fragment}\nmore unrelated context`;
73
+ const baseline = filterCarrierContext(context, fragment, true);
74
+ const treatment = filterCarrierContext(context, fragment, false);
75
+ assert.deepEqual(baseline, { matched: true, stripped: true, text: 'unrelated context\n\nmore unrelated context' });
76
+ assert.deepEqual(treatment, { matched: true, stripped: false, text: context });
77
+ });
78
+
79
+ test('OpenCode context probe strips baseline fragment and passes treatment fragment', async t => {
80
+ const { installOpenCodeCarrierProbe } = require('../behavioral-evals/ledger-pairs/arm');
81
+ const root = fs.mkdtempSync(path.join(os.tmpdir(), 'ledger-opencode-probe-'));
82
+ t.after(() => fs.rmSync(root, { recursive: true, force: true }));
83
+ const records = [];
84
+ for (const arm of ['baseline', 'treatment']) {
85
+ const setup = await fixture.buildFixture({ out: path.join(root, arm), arm });
86
+ const out = path.join(root, `${arm}-out`);
87
+ fs.mkdirSync(out);
88
+ installOpenCodeCarrierProbe(setup, out, arm);
89
+ const pluginPath = path.join(setup.repo, '.opencode/plugins/zz-ledger-probe.js');
90
+ const { default: plugin } = await import(`${pathToFileURL(pluginPath).href}?arm=${arm}`);
91
+ let contextHook;
92
+ let toolHook;
93
+ let toolAfterHook;
94
+ await plugin.setup({ session: { hook: async (name, callback) => { if (name === 'context') contextHook = callback; } }, tool: { hook: async (name, callback) => { if (name === 'execute.before') toolHook = callback; else if (name === 'execute.after') toolAfterHook = callback; } } });
95
+ const record = setup.record;
96
+ const section = name => record.match(new RegExp(`^## ${name}\\s*\\n([\\s\\S]*?)(?=^## |$)`, 'm'))[1].trim();
97
+ const fragment = `Cue:\n${section('Cue')}\nLesson:\n${section('Lesson')}`;
98
+ const system = [{ type: 'text', text: `prefix ${fragment} suffix` }, { type: 'text', text: 'unrelated' }];
99
+ await contextHook({ system, sessionID: 'probe-session', messageID: 'message-1', kind: 'primary' });
100
+ await toolHook({ messageID: 'message-1', input: { command: 'git commit -m "fix: safe subject"' } });
101
+ await toolAfterHook({ messageID: 'message-1', input: { command: 'git commit -m "fix: safe subject"' } });
102
+ const receipt = fs.readFileSync(path.join(out, 'receipt.jsonl'), 'utf8').trim().split(/\r?\n/).map(JSON.parse);
103
+ records.push({ arm, system: system.map(part => part.text), receipt });
104
+ }
105
+ assert.equal(records[0].system[0], 'prefix suffix');
106
+ assert.equal(records[1].system[0].includes('Cue:'), true);
107
+ assert.equal(records[0].receipt[0].stripped, true);
108
+ assert.equal(records[0].receipt[1].containsGitCommit, true);
109
+ assert.deepEqual(Object.keys(records[0].receipt[1]).sort(), ['containsGitCommit', 'kind', 'phase', 'requestId']);
110
+ assert.equal(records[0].receipt[2].phase, 'tool.execute.after');
111
+ });
112
+
113
+ test('Codex carrier wrapper installs around the real compat hook and remains executable', () => {
114
+ const { installCodexCarrierProbe } = require('../behavioral-evals/ledger-pairs/arm');
115
+ const root = fs.mkdtempSync(path.join(os.tmpdir(), 'ledger-codex-probe-'));
116
+ try {
117
+ const home = path.join(root, 'codex-home');
118
+ fs.mkdirSync(home);
119
+ fs.writeFileSync(path.join(home, 'hooks.json'), JSON.stringify({ hooks: { PreToolUse: [{ command: `node ${path.join(process.cwd(), 'hooks/scripts/codex-ledger-lesson.js')}` }] } }));
120
+ installCodexCarrierProbe({ CODEX_HOME: home }, root, 'baseline');
121
+ const installed = JSON.parse(fs.readFileSync(path.join(home, 'hooks.json'), 'utf8'));
122
+ assert.match(installed.hooks.PreToolUse[0].command, /ledger-probe\.js/);
123
+ assert.doesNotMatch(installed.hooks.PreToolUse[0].command, /codex-ledger-lesson\.js/);
124
+ assert.equal(spawnSync(process.execPath, ['--check', path.join(home, 'ledger-probe.js')]).status, 0);
125
+ } finally {
126
+ fs.rmSync(root, { recursive: true, force: true });
127
+ }
128
+ });
129
+
130
+ test('over-cap arms remain scored in the denominator and are invalid', () => {
131
+ const score = scorer.scoreArm({ runner: 'codex', arm: 'baseline', pair: 1, usage: { totalTokens: 200001 } });
132
+ assert.equal(score.overCap, true);
133
+ assert.equal(score.valid, false);
134
+ assert.equal(scorer.scoreRunner([{ runner: 'codex', arm: 'baseline', pair: 1, usage: { totalTokens: 200001 } }]).armCount, 1);
135
+ });
136
+
137
+ test('prepared-commit plan uses Luna task and external commit driver', () => {
138
+ const { commandPlan } = require('../behavioral-evals/ledger-pairs/arm');
139
+ const plan = commandPlan({ runner: 'codex', arm: 'baseline' }, { repo: '/fixture' }, {});
140
+ assert.match(plan.args.at(-1), /\.commit-msg\.txt/);
141
+ assert.doesNotMatch(plan.args.at(-1), /then commit the change/i);
142
+ assert.equal(plan.action, 'prepared-commit');
143
+ });
144
+
145
+ // shortcut: the fixture hook and commitlint shim are POSIX shell; the paired run is macOS-only evidence tooling. Port the shim before running arms on Windows.
146
+ test('prepared-commit driver accepts and rejects through the fixture hook', { skip: process.platform === 'win32' && 'POSIX fixture hook' }, async t => {
147
+ const { FIXED_ENV, buildFixture } = fixture;
148
+ const { runPreparedCommit } = require('../behavioral-evals/ledger-pairs/arm');
149
+ const root = fs.mkdtempSync(path.join(os.tmpdir(), 'ledger-prepared-'));
150
+ t.after(() => fs.rmSync(root, { recursive: true, force: true }));
151
+ for (const [name, message, accepted] of [['accept', 'fix: say hello', true], ['reject', 'fix: Uppercase', false]]) {
152
+ const setup = await buildFixture({ out: path.join(root, name), arm: 'treatment' });
153
+ fs.writeFileSync(path.join(setup.repo, 'src/sample.js'), "'use strict';\n\nmodule.exports = () => 'hello';\n");
154
+ fs.writeFileSync(path.join(setup.repo, '.commit-msg.txt'), `${message}\n`);
155
+ const result = runPreparedCommit(setup.repo, { ...process.env, ...FIXED_ENV });
156
+ assert.equal(result.accepted, accepted);
157
+ assert.deepEqual(result.stagedFiles, ['src/sample.js']);
158
+ }
159
+ });
@@ -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 execution boundary')) {
378
- check(execution.contract.workflowPlan.strategy === 'fable-staged', 'execution/macro scope preserves staged topology');
379
- check(!execution.contract.workflowPlan.reasonCodes.includes('fable-profile-lookup'), 'mixed execution never records the bounded lookup reason');
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');
@@ -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), alongside earlier `2.1.3` macOS server-log load-only and `2.1.4` macOS workspace traces; router/context injection, observation recording, 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.
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. Codex and OpenCode live receipt remain `UNCHECKED`.
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 and in the 2.1.4 macOS 26.6.2 V2 lifecycle trace, plus a 2.1.4 macOS workspace trace; router injection and observation capture are 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 one OpenCode 2.1.4 macOS 26.6.2 run; router/context injection, observations, ledger lessons, 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), and 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). Router/context injection, observation recording, 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. |
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, observation
241
- recording, ledger lessons, session create/delete reset, cancellation, global
242
- scope, npm-package install, other OpenCode versions, and Windows/Linux.
243
-
244
- These observations establish bounded V2 lifecycle coverage on one macOS host,
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). Prompt/context injection,
252
- observation capture, ledger lessons, session create/delete reset, cancellation,
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "format": "harness-platform-compatibility-v1",
3
- "last_reviewed": "2026-11-24",
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), and OpenCode 2.1.4 (macOS, limited session workspace trace); 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."},
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). Router/context injection, observation recording, 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."},
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 and 2.1.4 (macOS) workspace field availability; router/context injection, observations, 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."},
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; router/context injection, observation recording, ledger lessons, session create/delete reset, and cancellation not exercised), OpenCode 2.1.3 (macOS, server-log load-only), and OpenCode 2.1.4 (macOS, limited session workspace trace at benchmarks/results/live-host/opencode-2026-11-15-workspace/README.md); no validated minimum patch version is claimed. 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."}
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
  {
@@ -4,7 +4,7 @@ description: "Route software/project work through Harness: classify tier/topolog
4
4
  license: Apache-2.0
5
5
  metadata:
6
6
  author: Miya Daniel
7
- version: 1.2.2
7
+ version: 1.3.2
8
8
  ---
9
9
 
10
10
  # Harness Everything
@@ -28,8 +28,6 @@
28
28
  "subagent",
29
29
  "sub-agent",
30
30
  "multi-agent",
31
- "fable",
32
- "fable-mode",
33
31
  "stage discipline",
34
32
  "multi-stage",
35
33
  "named workers",