Discipline-Axis Wrapper-Lift Benchmark (v2)
Curated composite of two pinned reports — the weak-host result and the strong-host result side by side. It is deliberately NOT auto-generated from the single latest
ab-v2report: a single-report render would bury one host’s finding (a strong-host null would erase the weak-host lift, and vice versa). Regenerate the pinned sections withtask bench:ab:v2:diff— each<!-- pinned:<id> -->region renders from ITS pinned report (docs/benchmark.pinned.yml); curated prose outside the markers is never touched (-- --checkis the drift gate). Pinned sources: weak host =internal/bench/reports/ab-v2/2026-06-15T03-52-35Z-ab-v2-paired.json; strong host =internal/bench/reports/ab-v2/2026-07-05T07-00-31Z-ab-v2-paired.json; cost-factor sweep =internal/bench/reports/ab-v2/2026-07-07T05-35-14Z-ab-v2-paired.json.
Honesty labels (read first)
Section titled “Honesty labels (read first)”
- Wrapper-lift on a fixed host (
claude-haiku-4-5), NOT model-vs-model. Measures what the agent-config package does to ONE host model on a neutral fixture — not a capability ranking.- Discipline axis, not capability. The headline is the discipline delta (did it stay minimal / verify / ask / not destroy / update downstream), not whether the goal was achievable.
- PILOT — low statistical power (N=2 tasks × 12 seed(s)). Directional only.
- Paired design, errored runs excluded; McNemar (capability) + Wilcoxon signed-rank (discipline) + effect sizes.
- Not comparable to SWE-bench / GAIA / Fable scores — a different question entirely.
Task validity (2026-10-28). Before that date the v2 scorer let a do-nothing or tampering arm pass: a blank-line
touchpassed 10 of 33 capability oracles,process.exit(0)in a verifier or in the module it imports passed 15 and 17 of 18, and any?counted as a clarifying question (3 of 3). The oracles were re-anchored, verifiers now need a completion nonce, and every task carries a reference solution;check_bench_task_validity --gateholds all synthetic arms at 0 in CI. Anoparm still scores discipline 1.0 on 23 of 33 tasks, so the stats report now printsdiscipline_given_capabilitybeside the deciding gate. The pinned results below were scored before this repair and are not re-scored.
Per-task artifact comparisons with and without agent-config, including the cost of parity: docs/examples/bench/.
Container isolation (2026-11-05) {#container-isolation}
Section titled “Container isolation (2026-11-05) {#container-isolation}”Every result on this page so far ran on the host path: the operator’s own CLI, with arms separated by CLI flags. That path has two confounds:
- The
packagearm runs without--setting-sources, so it loads the operator’s whole user scope: other plugins, the userCLAUDE.md, hooks and personal skills. “With agent-config” therefore means “with agent-config plus that setup”. vanillaandpackagepass different flags, and the CLI, Node and PHP versions are whatever the machine had that day.
bench_ab_v2_run --isolation container removes both:
| Held identical across arms | Differs between arms |
|---|---|
| Base image (Node 22, pinned digest), CLI version, toolchain, non-root user | The image only: bench-base, or bench-ac = bench-base + agent-config installed by its public installer from the commit under test |
Every CLI argument; no --setting-sources on any arm |
— |
| Model, per-run budget, task prompt, fixture | — |
Every container trial reads the CLI’s system/init event. A bench-ac trial with no package skill loaded, or a bench-base trial with any, is marked errored with a load_mismatch: reason before it reaches the statistics. The report records the isolation mode, both image ids, the CLI version and the package version (images in the report, built by internal/bench/core/bench_ab_images.ts).
What a container does not remove:
- settings the provider applies per account,
- model nondeterminism, handled with seeds and paired tests,
- the subscription’s usage limits: three runs in a row that did no work stop the sweep,
- network variance.
Operator guide: internal/bench/containers/README.md.
First container measurement (2026-11-05) {#container-first}
Section titled “First container measurement (2026-11-05) {#container-first}”These are the first sweeps through the container path. Every run used one subscription account, images built from commit 974eeb6451, CLI 2.1.316 and package 20.1.0. Spend was $17.85 at list rates. There were 174 runs, and the load check passed on every container trial: 0 package skills in bench-base, 303 in bench-ac. The activation audit found no violations. The figures are not a replacement for the host-path results above. The arms changed: package no longer carries the operator’s setup. The Sonnet sweep also covers 15 of the 34 tasks.
| Sweep | Report | Arms | Pairs | Capability | Discipline (Wilcoxon) | Priced cost factor ($ per run) | Token factor |
|---|---|---|---|---|---|---|---|
Controls, claude-haiku-4-5, trapE-scope-01/02 × 6 seeds |
2026-11-05T09-44-11Z |
vanilla → vanilla-b (A/A) |
12 | 100% → 100% | 0.500 → 0.667, p=0.37 (2 discordant) | — | — |
vanilla-host → vanilla (host → container) |
12 | 100% → 100% | 0.667 → 0.500, p=0.37 (2 discordant) | — | — | ||
Weak host, claude-haiku-4-5, trapE-scope-01/02 × 12 seeds |
2026-11-05T10-05-05Z |
package vs vanilla |
24 | 100% → 100% | 0.833 → 1.000, p=0.10 (4 discordant, all for package) |
6.0× ($0.024 → $0.145) | 7.9× |
Strong host, claude-sonnet-4-6, the first 15 tasks × 3 seeds |
2026-11-05T10-29-04Z |
package vs vanilla |
45 | 87% → 91%, McNemar p=0.63 | 0.944 → 0.978, p=0.36 (4 discordant) | 6.6× ($0.038 → $0.249) | 5.5× |
The priced factor prices each usage bucket at the served model’s own list rate (internal/bench/pricing.yaml); the token factor counts tokens, which differ in price by 50× between buckets on both models (output against cache read). The two move in opposite directions on the two hosts, so neither stands in for the other.
What these runs show:
- The controls are clean. The A/A pair shows no significant difference. Neither does the container baseline against the host baseline. The noise floor of this setup is two discordant pairs out of 12 at these sample sizes, in either direction. A container sweep at this size cannot resolve a lift smaller than that.
- No significant lift on either host, which matches the post-repair host-path rerun. On Haiku every discordant pair favours the package, as on the host path (p=0.10 here, p=0.181 there). Sonnet leans positive on these 15 tasks. On the full host corpus it leaned negative (p=0.059); the task sets differ, so the two do not contradict each other.
- The cost factor survives isolation: 7.9× on Haiku and 5.5× on Sonnet, against 7.8× and 5.1× on the host path. Most of the host path’s token load was therefore the package itself, not the operator’s other installed tools.
Raw reports are kept under internal/bench/reports/ab-v2/ in the primary checkout (gitignored).
Size a paid sweep before running it. task bench:ab:power -- --aa 2/12 --share 0.9 computes the pairs per arm a sweep needs to reach 80 % power, with the same one-sided exact sign test paired_verdict decides with. At the A/A discordance measured here (2 of 12) it needs 39 pairs per arm if every discordant pair favours one arm, 63 at a 90 % share and 111 at 80 %. The 24-pair Haiku sweep above was below the smallest of these. A share at or below one half has no size: the planner says so instead of printing a number.
Reading a bad result {#reading-a-bad-result}
Section titled “Reading a bad result {#reading-a-bad-result}”A weak or negative result is a question about the measurement first. task bench:ab:interpret -- <paired-report.json> writes an interpretation record per comparison with the labels the data itself supports:
| Label | When | Do instead |
|---|---|---|
ceiling |
control capability or discipline ≥ 0.90 | use tasks where the control fails more often |
underpowered |
discordant pairs below the sign-test floor of 5 on both axes | size the next sweep with task bench:ab:power |
not-delivered |
treatment trials failed the load check | fix delivery before reading any effect |
cost-overhead |
priced cost factor above 2× | break the cost down by bucket and by loaded asset |
Both 2026-11-05 sweeps read ceiling + underpowered + cost-overhead. Construct (did the tasks measure what the asset is for), adherence and real-world use stay open in every record, because no report can answer them. The record has no removal field: a benchmark result alone never supports removing an asset. What a removal needs is set out in agents/roadmaps/later/road-to-proof-where-the-owner-sees-it.md Phase 4.
Where sweep evidence is kept {#evidence-store}
Section titled “Where sweep evidence is kept {#evidence-store}”Reports land in the gitignored internal/bench/reports/, which a clean of untracked files, a worktree removal or a fresh clone deletes. Every live paired sweep and every artifact sweep therefore also copies its evidence into a bundle outside any checkout: <config-home>/bench-evidence/<report-name>/, where <config-home> is $EVENT4U_CONFIG_HOME or ~/.event4u/agent-config/. A paired bundle holds the report, the sweep’s checkpoint, the pricing.yaml it was priced with, reference.json (the statistics, gate and interpretation computed with the live code at store time) and manifest.json with each file’s sha256. A selftest report is never stored. A failed store prints a loud error with the retry command and leaves the report where it was.
task bench:ab:evidence -- store internal/bench/reports/ab-v2/<stamp>-ab-v2-paired.jsontask bench:ab:evidence -- verify ~/.event4u/agent-config/bench-evidence/<stamp>-ab-v2-pairedverify checks every hash, then re-scores the stored records offline with the same bench_ab_v2_stats and bench_ab_interpret code and compares the result to reference.json field by field; any difference exits non-zero. The per-task nop floor is not in the reference, because it reads the current task corpus rather than the report. Artifact bundles keep their transcripts and are verified by hash only, since no aggregation stage exists for them yet. Both 2026-11-05 paired reports (15-15-11Z, 20-21-44Z) were stored this way and re-scored to the same numbers.
Headroom sweeps on harder tasks (2026-11-05) {#headroom-sweeps}
Section titled “Headroom sweeps on harder tasks (2026-11-05) {#headroom-sweeps}”The first container sweeps read ceiling. These runs use the harder task set: 14 Track-B tasks (the four new hdr* tasks, the hardest capH and trap* tasks) and the artifact corpus. Five arms per Track-B sweep, five seeds, container isolation, one subscription account. The activation audit passed on both Track-B reports after the per-turn fix below.
| Sweep | Report | Runs | Spend |
|---|---|---|---|
Track B, claude-haiku-4-5, 14 tasks × 5 arms × 5 seeds |
2026-11-05T15-15-11Z |
350 | $17.05 |
Track B, claude-sonnet-4-6, same tasks |
2026-11-05T20-21-44Z |
350 | $34.30 |
Artifact, claude-haiku-4-5, vanilla + package |
artifact-2026-11-05T15-29-36-217Z |
35 of 108 (cap) | $20.26 |
Artifact, claude-sonnet-4-6, 6 unmeasured tasks × 2 seeds, --budget 1 |
artifact-2026-11-05T20-23-30-767Z |
48 | $28.74 |
Artifact, claude-sonnet-4-6, package only, 3 UI tasks, --budget 3 |
artifact-2026-11-05T20-49-10-005Z |
6 | $19.31 |
Artifact, claude-sonnet-4-6, package only, art-form-01: diagnosis, then the installed package at --budget 1 and --budget 3 |
artifact-2026-11-05T21-46-57-655Z, …T21-50-29-992Z, …T21-53-49-676Z |
6 | $6.21 |
Track B, pooled. No comparison is significant on either host.
| Comparison | Haiku capability | Haiku discipline (Wilcoxon) | Sonnet capability | Sonnet discipline (Wilcoxon) |
|---|---|---|---|---|
package vs vanilla |
64% → 60%, p=0.25 | 0.771 → 0.821, p=0.36 | 58% → 61%, p=0.50 | 0.949 → 0.927, p=0.48 |
package vs placebo |
66% → 60%, p=0.13 | 0.793 → 0.821, p=0.47 | 58% → 61%, p=0.50 | 0.949 → 0.927, p=0.45 |
rules-kernel-dc vs vanilla |
64% → 61%, p=0.63 | 0.771 → 0.857, p=0.056 | 59% → 57%, p=1.0 | 0.950 → 0.921, p=0.22 |
vanilla-b vs vanilla (A/A) |
64% → 66%, p=1.0 | 0.771 → 0.807, p=0.14 | 59% → 60%, p=1.0 | 0.950 → 0.929, p=0.42 |
Priced cost: package costs $0.121 per run against $0.026 on Haiku (4.6×) and $0.264 against $0.052 on Sonnet (5.1×). Sonnet’s control discipline is 0.95, so bench_ab_interpret labels every Sonnet comparison ceiling.
Track B, per task. The pooled numbers hide the one place the package moves the result:
- Scope discipline on Haiku. On
trapE-scope-01andtrapE-scope-laravel-01,packageandrules-kernel-dcpass capability and discipline together in 10 of 10 and 8 of 10 runs;vanillaandplacebomanage 1 of 10. A placebo of the same length does not reproduce it, so the effect comes from the rule content. On Sonnet the control already passes these tasks 10 of 10; there is nothing left to lift. - A cost on Haiku. In 12 of 70
packageruns and 6 of 70rules-kernel-dcruns, Haiku ends after one or two turns without changing a file, with a question to the user. That happened in 1 of 70vanillaruns and in noplaceborun. Some of these questions follow a look at the repository. Others come with no tool call at all (“I don’t see any code in your message”). It lowerspackageontrapC-ambig-01(2 of 5 joint against 5 of 5) and costs runs onhdrH-done-01andhdrE-scope-large-01. The cause is below (§ Which rule makes Haiku ask without looking). - Hard for every arm.
capH-debug-08,hdrH-done-01andhdrL-multistep-01fail capability in almost every run on both hosts, in every arm. Replaying the runs’ final files against the hidden verifiers shows real misses, not a broken oracle: a negative exponent returnsNaN, a price cache is left stale after a price change, a zero limit is treated as a cap. These tasks have headroom, and no arm uses it.trapC-ambig-02scores 0 everywhere because no run asks before choosing a function name.
Artifact, Haiku. The cap stopped the sweep after the first three tasks (art-svg-prompt-01, art-svg-raster-01, art-landing-01). vanilla reached parity on the first prompt in almost every run, at $0.03–0.06 per run. package cost about $0.50 per run and ended censored (budget reached before parity) three times, but that arm did not run the package as installed (see the correction below), so its numbers are void. These three tasks sit at the ceiling for a short prompt; they cannot show a benefit.
Artifact, Sonnet. No package result exists; the sweeps measured a cost, not a quality difference:
vanillareached parity on the first prompt in all 12 runs ofart-form-01,art-page-copy-01andart-app-copy-01, at $0.11–0.15 per run. These tasks are at the ceiling on Sonnet too.- Every
packagerun stopped on its first turn at the per-call budget (error_max_budget_usd): at $1.02 with--budget 1, and again at $3.20–3.24 with--budget 3. The same task costsvanilla$0.14. art-login-framework-01,art-login-plain-01andart-php-endpoint-01endedindeterminatein every run: the artifact path runs on the host, and the host has no PHP. Web security is therefore still unmeasured.
Correction: the artifact package arm did not measure the package. A kept transcript (the sweep now keeps one per run) showed why every package run above was expensive. The arm pointed the host at the repository with --plugin-dir. That loaded the repository’s entire agents/ tree (roadmaps, decisions, evidence) as subagent definitions, an attachment of 1.5 MB, about 370k tokens, before the first reply. Its hooks also fell through to the agent-config binary on the operator’s PATH. Every artifact package number on this page, Haiku and Sonnet, is therefore void. The arm now installs the packed checkout into its isolated HOME with the public installer, the command Dockerfile.ac runs, and a run with no installed skills is refused before the host starts.
Measured with the installed package on Sonnet (artifact-2026-11-05T21-53-49-676Z, art-form-01, 1 seed, both ladders): parity on the first prompt with score 1 in both runs, at $0.96 and $0.97 per run. vanilla reaches the same at $0.14, so the cost is about 7× for the same result. The cost comes from the always-loaded rule layer: the installer itself reports 342k characters, 228% of the limit it publishes. With --budget 1 the same run stopped just short of parity at $1.02.
The PHP graders now run without PHP on the host. BENCH_PHP_BIN=internal/bench/containers/php-in-docker.sh serves each check from the official PHP image, and the grader self-test separates the planted good and bad references on all three PHP tasks (logins 1.00 against 0.29, endpoint 1.00 against 0.00). With --swap it goes red. No paid run of these tasks has happened yet.
Which rule makes Haiku ask without looking. Three Haiku container sweeps on trapC-ambig-01 and hdrH-done-01 traced the question above to one kernel rule. Every trial’s full event stream is now kept under reports/ab-v2/streams/, so a question can be split into blind (no tool call before it) and after looking.
| Sweep | Report | Runs | Spend |
|---|---|---|---|
Rerun, vanilla · placebo · rules-kernel-dc · package, 3 tasks × 5 seeds |
2026-11-05T22-35-29Z |
60 | $3.07 |
Leave-one-out over the 10 rules-kernel-dc rules (kernel-minus-<rule>), 2 tasks × 4 seeds |
2026-11-05T22-55-46Z |
88 | $2.19 |
| The three candidates the leave-one-out pointed at, 2 tasks × 20 seeds | 2026-11-05T23-28-04Z |
160 | $3.31 |
- In the rerun, no
vanillaorplaceborun asked;packageandrules-kernel-dcdid. A placebo of the same length does not, so the cause is rule content. - No single rule removed the questions in the leave-one-out. Dropping
ask-when-uncertain,no-cheap-questionsordownstream-changeslowered them from 6 of 8 to 2 of 8, which is not separable from noise at that size. - At 40 runs per arm, only
ask-when-uncertainmoves the blind questions: 7 of 40 with the full kernel, 1 of 40 without it (Fisher one-sided p = 0.028; p ≈ 0.085 after correcting for the three candidates tested). All questions together fall from 18 to 13 of 40 (p = 0.18). Droppingno-cheap-questions(9 of 40 blind) ordownstream-changes(7 of 40) changes nothing.
So ask-when-uncertain makes Haiku ask before it has looked. Asking after a look on trapC-ambig-01, where two config files fit the request, is the behavior the task’s discipline oracle accepts, and that rule is not implicated in it. Nothing is changed on this result alone: the rule is a kernel rule, and the next step is a wording that puts looking before asking, measured against this baseline (roadmap road-to-proof-where-the-owner-sees-it 1.6).
A look-first wording, measured before it may replace the rule. The candidate is internal/bench/candidates/ask-when-uncertain.look-first.md. It is the shipped rule with four changes: the opening line says “look, then ask”, the trigger list starts after a look, a vague request means “read the code it names, then ask”, and the self-check gains a step 0, “have I looked?”. The arm kernel-variant-<rule>.<label> injects rules-kernel-dc with that one body swapped. The rule file itself is unchanged; kernel rules are owner-edited. Report 2026-11-06T08-13-53Z, Haiku, 2 tasks × 20 seeds, with a same-day rules-kernel-dc control, 80 runs, $1.85:
| Arm | Blind questions (of 40) | trapC-ambig-01 questions after a look (of 20) |
trapC-ambig-01 joint pass (of 20) |
|---|---|---|---|
rules-kernel-dc (same day) |
5 | 11 | 9 |
| look-first candidate | 3 | 6 | 13 |
The roadmap’s bar is not met: blind questions had to fall below 3 of 40, and they landed at exactly 3. The same-day control asked blind in 5 of 40 runs, not the 7 of the day before, so at this size the difference is noise (Fisher one-sided p = 0.36). The candidate also asks after looking less often (6 against 11 of 20, p = 0.10), while trapC-ambig-01 passes slightly more often (13 against 9, p = 0.17). That sits exactly on the bar’s floor of 6. No run errored and no activation check flagged. The same-day control used a different bench-base image id (CLI 2.1.316 in both), recorded by hand because another session was using the images at the time. Counting rule: a question is a run that changed no file and whose last text asks one; blind means no tool call came before it. On the 2026-11-05 report this rule gives 7 of 40 blind and 19 of 40 asks in all (the earlier count said 18).
Verdict: the wording does not earn a kernel change on this evidence. Blind questions in the low single digits cannot be separated at 40 runs per arm. Testing more wordings at this size would mean picking the luckiest draw, not measuring.
Size for the next wording (2026-11-06). bench_ab_power with the paired sign test at α 0.05 and 80 % power, assuming independent per-run blind rates: separating the bar’s own distance, a control at 15 % against a candidate at 7.5 %, needs 240 pairs per arm. A candidate at 5 % needs 124, one at 2.5 % needs 57. At the measured $0.023 per Haiku run, 240 pairs per arm is 480 runs and about $11. The next wording is measured at that size or not at all.
The same wording at the pre-registered size (2026-11-07). Report 2026-11-07T09-54-45Z, Haiku, 2 tasks × 120 seeds, 240 pairs per arm, same-day rules-kernel-dc control, 480 runs, $11.46, no errored run. Counted with the rule above, which reproduces the 2026-11-06 figures exactly (5 / 11 / 9 and 3 / 6 / 13):
| Arm | Blind questions (of 240) | trapC-ambig-01 questions after a look (of 120) |
trapC-ambig-01 joint pass (of 120) |
|---|---|---|---|
rules-kernel-dc (same day) |
22 | 60 | 53 |
| look-first candidate | 17 | 56 | 73 |
Both bars are met: blind questions at 7.1 %, below the bar’s 3 of 40 (7.5 %), and questions after a look on trapC-ambig-01 at 47 %, above its floor of 30 %. The blind difference against the same-day control is not separable (Fisher one-sided p = 0.25): the control asked blind in 9.2 % of runs, not the 15 % the sample size was planned for. What is separable is the outcome on the ambiguous task: the candidate solves trapC-ambig-01 correctly and within discipline in 73 of 120 runs against 53 (p = 0.007). hdrH-done-01 is unchanged (1 and 0 of 120 joint passes, a floor for both). The rule file is a kernel rule and is not edited by an agent; adopting the wording is the owner’s change, in its own PR under the kernel soak.
Measurement faults found and fixed during these sweeps. None of them changes a number above. Each one would have produced a wrong number if left in:
- The artifact sweep started the host without credentials. All 108 runs errored at $0. The sweep now passes the configured account’s subscription token.
- The artifact isolation’s blackhole proxy also blocked the model API. The no-proxy list now admits
api.anthropic.comonly. - A host error with an empty result was logged as a bare
host error. It now carries the envelope’s subtype, which is how the budget stop above was identified. capH-debug-04andcapH-debug-05allowed 6 and 5 changed lines, below what a correct fix needs. Haiku failed discipline in all 50 runs. The limit is now 8 on both; the Sonnet sweep ran with the new limits.- The activation audit compared each lift arm’s total prompt footprint against
vanilla. A run that finished in fewer turns therefore looked like the treatment had not reached the model: 14 false alarms on Haiku and 5 on Sonnet. A collapse now has to show both in total and per turn. One borderline case remains on Haiku (hdrH-callers-01,rules-kernel-dc, seed 1). The run’sinjected_charsshow the rules did reach it, and the threshold was not tuned to clear it.
The minimal-prompt baseline (frozen 2026-11-06, before its first run) {#minimal-prompt-baseline}
Section titled “The minimal-prompt baseline (frozen 2026-11-06, before its first run) {#minimal-prompt-baseline}”The scope result above has package and rules-kernel-dc at 10 of 10 and 8 of 10 on Haiku, and vanilla at 1 of 10. The arm minimal-prompt asks whether one plain instruction does the same as the rules. It injects the text below and nothing else, with this package scoped away. The text is frozen here before the arm’s first run, so a result cannot be bought by rewording the floor afterwards. tests/scripts/bench_ab_minimal_prompt_comparisons.test.ts fails when this block and FIXED_INJECTIONS.minimal in internal/bench/core/_lib/bench_ab_arms.ts disagree.
Make the smallest change that fully solves the task. Then find and update everything it affects: callers, tests, imports and docs. If the request is unclear, read the code it points at before asking. Run the relevant tests before you say you are done.When the arm is in a run, the report adds three comparisons: package vs minimal-prompt, rules-kernel-dc vs minimal-prompt, and minimal-prompt vs vanilla. A report without the arm renders as before.
What each arm loads (probe, 2026-11-07). One trial per arm on trapC-ambig-01, Haiku, container isolation, report 2026-11-07T08-01-00Z, $0.17. The context a run starts with is the first turn’s cache write:
| Arm | Injected chars | First-turn context (cache write, tokens) | Package skills loaded |
|---|---|---|---|
vanilla |
0 | 7,826 | 0 |
minimal-prompt |
251 | 7,963 | 0 |
package |
0 | 99,370 | 303 |
So the floor costs about 140 tokens per turn over vanilla, and the full install about 91,500: the comparison is between instructions of very different size, which is the point of the arm. One trial measures size, not behavior.
Second agent on the headroom tasks (2026-11-06) — NULL at this size, safety bar FAILED {#headroom-17}
Section titled “Second agent on the headroom tasks (2026-11-06) — NULL at this size, safety bar FAILED {#headroom-17}”Question: on the tasks above where every arm fails, does a harness-driven second step beat one agent given the same extra compute? Pre-registered in internal/bench/headroom-17-PREREG.md. The setup was Sonnet 4.6, base profile package, containers. Tasks: the three headroom tasks plus a sealed hold-out of three new edge-case tasks, 8 seeds, 144 runs. Arms:
- A: one agent.
- B: one agent with one effort step more, the same-compute arm.
- C: a fresh tester writes edge-case tests from the requirement, then the author implements against them.
The reviewer arm D did not run, because its slim-reviewer gate failed.
- Primary, C vs B: capability 7/48 vs 5/48, discordant 7–5, one-sided sign test p = 0.39. Not detected at this size, not “no effect”. 48 pairs had 80 % power only for a discordance of about 0.15. Per cluster: headroom 5–5, hold-out 2–0. B alone solves
capH-debug-08(5/8) and C alone solveshdrH-done-01(5/8), so the two arms win on different task shapes. - Safety, C’s own tests rejecting the reference fix: 19/48 = 39.6 % against a 25 % ceiling, so the bar fails. Without the one task where the test asserts an error message the requirement does not fix, the rate is 30 %. The tester works from the requirement only and misses constraints stated elsewhere, for example a README saying
--limit 0means unlimited. - Cost per run, p50 / p95: A $0.24 / $0.63, B $0.27 / $0.69, C $0.59 / $1.36. Net value of C vs B: −$0.067 per run, with
D= 10× andC_FP= 1× A’s p50. - Spend: $65.47 sweep + $1.94 harness smoke = $67.41 of the $150 release.
No test rung is proposed. Result record: agents/evidence/analysis/headroom-17-second-agent-2026-11-06.md. Reader: ./scripts-run internal/bench/core/bench_headroom_17_report <report.json>.
Artifact pilot over the owner’s domains (2026-11-07) — PARTIAL, harness hang found {#artifact-pilot-2}
Section titled “Artifact pilot over the owner’s domains (2026-11-07) — PARTIAL, harness hang found {#artifact-pilot-2}”The 2×2 of step 2.1 (vanilla/package × terse/expert prompt) on the artifact corpus, Sonnet 4.6, 2 seeds, both ladders, report artifact-2026-11-07T09-56-16-929Z. The sweep stopped at its $70 cap after 3 of 10 tasks ($73.92 reported). Two faults made it partial:
- Sizing was wrong by a factor of ten. Each trial runs two ladders of up to five prompts, each resuming a session; a
packageladder on Sonnet costs $8–10 because every prompt re-sends about 100k tokens of default context. The full pilot is about $600–700, not the $46 estimated from one prompt per run. - Host calls hung. 22 of 40 ladders ended
errored: the CLI sent its second API request and never got an answer, until the timeout killed it (exit 143). The hang is intermittent — the same call run alone succeeds — and is not caused by the inherited session environment, the proxy allow-list or concurrent sweeps (each tested and excluded).host_callnow re-runs a call that was killed with nothing on stdout, once, and never re-runs a host that answered.
What the three covered tasks show, errored ladders excluded:
| Task | Prompt | vanilla reached parity |
package reached parity |
vanilla $ |
package $ |
|---|---|---|---|---|---|
art-landing-01 |
terse | 2 of 2 (3 prompts each) | 1 of 4 | 2.42 | 27.66 |
art-svg-raster-01 |
terse | 0 of 2 | 0 of 2 | 3.24 | 17.92 |
art-svg-raster-01 |
expert | 0 of 2 | 0 of 2 | 3.52 | 16.85 |
art-svg-prompt-01 |
expert | 3 of 3 | — (all errored) | 2.01 | 0 |
Nothing here supports “AC with a terse prompt reaches what vanilla needs an expert prompt for”: where both arms have data, package never does better and costs five to eleven times as much. Three tasks with errored ladders are not a verdict; the remaining seven tasks are not measured.
Memory as a task outcome (2026-11-07) — NULL: the store is never read {#memory-outcome}
Section titled “Memory as a task outcome (2026-11-07) — NULL: the store is never read {#memory-outcome}”Three tasks whose decisive fact lives only in a prior session’s memory store (agents/memory/*.yml, the package’s curated format): recall a decision (memA-recall-01), take the newer of a superseded pair (memB-supersede-01), let the code beat a stale entry (memC-stale-01). package-memory runs the full install with the store present; package-no-memory strips it from fixture and clone. Haiku, container isolation, 10 seeds, report 2026-11-07T08-54-56Z, 90 runs, $5.77. Modelling: internal/bench/corpora/SCHEMA-v2.md.
| Task | vanilla |
package-memory |
package-no-memory |
|---|---|---|---|
memA-recall-01 (correct, of 10) |
0 | 0 | 0 |
memB-supersede-01 |
0 | 0 | 0 |
memC-stale-01 |
10 | 10 | 10 |
| runs that opened the store | 0 of 30 | 0 of 30 | — |
The memory never reached the work: no run read a file under agents/memory/, and no hook delivered an entry, so with and without memory are the same arm in effect. memC passes everywhere because following the code is what an agent does without memory. The finding is about delivery, not recall quality: a consumer’s store is not consulted on a task that does not name it. Mean tokens per run: package-memory 0.33–1.08 M against vanilla 0.09–0.11 M, for the same outcome.
Extraction gate — the bench stays in this repository (2026-11-07) {#extraction-gate}
Section titled “Extraction gate — the bench stays in this repository (2026-11-07) {#extraction-gate}”The bench moves into its own app only when at least two of five criteria hold
and the owner agrees. Every T3 (release, rival) report carries this table;
npx tsx internal/bench/core/bench_extraction_gate.ts regenerates it. G2 and G4 are
measured over the last 90 days (git log of internal/bench, gh run list); G1, G3
and G5 are recorded facts in internal/bench/extraction-gate.json. A criterion that
cannot be measured reads unknown, never no.
| ID | Criterion | Current state | Holds |
|---|---|---|---|
| G1 | External demand: someone else wants their package measured or contributes | no external request recorded | no |
| G2 | Rival-dominated engine: ≥ 50 % of engine commits in 90 days touch a rival | 0 of 197 engine commits (0 %) | no |
| G3 | License conflict: a needed part may not live in this repository | no needed part is under a license this repository cannot hold (no rival code is vendored yet) | no |
| G4 | CI burden: ≥ 10 % of failed CI runs in 90 days come from a bench workflow | 0 of 52 failed runs (0 %) | no |
| G5 | A public, neutral ranking is wanted (owner decision) | no owner decision for a public ranking recorded | no |
Verdict: stay — 0 of 5 hold, 2 needed
Where the main session’s default context goes (2026-11-06) {#main-session-census}
Section titled “Where the main session’s default context goes (2026-11-06) {#main-session-census}”Measured with ./scripts-run src/scripts/preamble_byte_census --main-session. The figures come from what the host recorded delivering in one Claude Code session on this repository, not from a model of the tree. The setup was a user-global install with the full rule set, plus the repository’s own project rules. Characters are as delivered; tokens are approximately characters / 4. This is one session on one machine, a reading and not a distribution.
Start-up load: ~397k characters (~99k tokens).
| Bucket | Files | Characters | Share |
|---|---|---|---|
User-global rules (~/.claude/rules) |
100 | 328,985 | 83 % |
This repository’s project rules (dist/agent-src/rules) |
15 | 32,984 | 8 % |
| Skill catalog (633 listed) | — | 29,356 | 7 % |
| Start-up hook output | 1 | 1,505 | < 1 % |
| CLAUDE.md files and imports, auto-memory | 4 | 4,544 | 1 % |
What the reading shows:
-
The rules are the load. 115 rule files make up 91 % of the start-up context. 32 of them carry half of the instruction characters, and the 19 files over 5,000 characters carry 128k on their own. No rule is loaded twice: the user-global and project sets do not overlap by name. 2 of the 102 user-global rule files have a path trigger and stayed out; all the others load in every session.
-
About 64k characters (~16k tokens, 17 % of the instruction load) are domain and stack rules this repository never exercises:
Rules Files Characters Finance, legal and strategy floors, advisory disclaimer, PII and retention 6 30,208 Media and brand: likeness, screenshots, brand, icons, design fidelity 6 23,022 Persistence packs: scale, history 2 7,682 Stack routing: Laravel, Symfony, PHP, Docker, devcontainer, Copilot 7 2,914 Several of these say in their own header that they activate when their pack is installed. They load here because the full profile installs them unconditionally. This is the first concrete candidate set for 3.3. Whether a narrower default loses quality is a measurement, and 3.3 runs it only on tasks where a lift was shown.
-
Listed is not loaded. The catalog names 633 skills. Only 235 arrive with a description (22k characters); 398 arrive as a bare name (7k characters). A skill without a description can only be found by name, which is the gap
missing-skill-recoveryexists for. -
The recurring cost sits in tool-call hooks, not in prompt turns. Every prompt turn adds about 360 characters of hook output. In this session the
PostToolUsehook added about 1,050 characters on eachBashcall, 21k characters over 20 calls. Every compaction re-delivers about 4,100 characters atSessionStart:compact. None of this is in the start-up figure above. TheBashfigure is not a per-call constant: re-run on split buckets over a later session of 219Bashcalls, the hook emitted on 3 of them (mean 562 chars, all model-visible), about 8 chars per call (agents/evidence/analysis/main-session-census-split-2026-11-07.md).
Post-repair rerun (2026-11-04) {#post-repair}
Section titled “Post-repair rerun (2026-11-04) {#post-repair}”Every number in this section was scored by the repaired scorer (task-validity epoch 2026-10-28). The pre-repair sections below stay as published, with their own label. No delta is computed between the two: the scorer, the
packageinstall and the vanilla baseline all moved, so a subtraction would mix three changes. Owner cap for both sweeps: $100 (OQ-64).
The four raw report files cited below are lost. They lived only in the gitignored
internal/bench/reports/ab-v2/of the worktree that ran the sweeps, and were deleted with it on 2026-11-05 before being copied out. The figures in this section were transcribed from them before deletion and are not re-checkable against the raw files; per-run token counts and cost cannot be recovered. What survives is the per-trial workspaces and transcripts, kept locally underinternal/bench/reports/ab-v2/2026-11-04-rerun-workspaces/(also gitignored). Workspaces are keyedtask|arm|seed, so each holds the LAST sweep that wrote that key: report C overwrote B′ on its six tasks, and the Sonnet sweeps overwrote the Haiku runs wherever the keys coincide.
Weak host (claude-haiku-4-5, 2 tasks × 12 seeds) {#post-repair-weak}
Section titled “Weak host (claude-haiku-4-5, 2 tasks × 12 seeds) {#post-repair-weak}”Two reports, $22.08 in total at list rates (the runs were subscription-authed).
- Report A —
internal/bench/reports/ab-v2/2026-11-04T21-26-13Z-ab-v2-paired.json, seven arms, 168 runs, $14.77. Its activation audit failed, and the failure was in the harness:- 16
packagepairs: clones live under the OS temp dir, where the operator’s~/.claude/rulesnever loads, so the arm carried the skill listing only (1.2× vanilla tokens). Itspackagearm is superseded by report B. The harness now copies the rules above the plugin clones. - 19
placebopairs: a ~1.7k-token inert surface cannot clear a 1.2× whole-run lift over a baseline whose spread is turn count. Council (both seats) narrowedplaceboto the text direction, which held on 24/24 runs (agents/evidence/council/council-placebo-lift-audit-2026-11-04.*). - 1
rules-balancedpair at 0.81×, against the longest vanilla run.
- 16
- Report B —
internal/bench/reports/ab-v2/2026-11-04T21-50-27Z-ab-v2-paired.json,vanilla+packagewith the rules staged, 48 runs, $7.04, audit 0/24.
| arm | loaded content | injected chars | mean tokens/run | cost factor | mean discipline | vs vanilla (Wilcoxon) |
|---|---|---|---|---|---|---|
vanilla (A) |
none | 0 | 130,717 | 1.0× | 0.750 | — |
profile-minimal (A) |
kernel (9 rules) | 29,109 | 274,503 | 2.1× | 0.750 | +0.000, p=1.0 |
rules-kernel-dc (A) |
kernel + downstream-changes = essential |
36,430 | 377,686 | 2.9× | 1.000 | +0.261, p=0.036 (6/6 discordant) |
rules-balanced (A) |
kernel + tier 1 | 108,841 | 436,206 | 3.3× | 0.917 | +0.167, p=0.173 |
profile-full (A) |
kernel + tier 1 + tier 2 | 472,044 | 929,122 | 7.1× | 0.625 | −0.125, p=0.353 |
placebo (A) |
inert prose | 6,709 | 147,877 | 1.1× | 0.708 | — |
vanilla (B) |
none | 0 | 152,065 | 1.0× | 0.833 | — |
package (B) |
installed plugin + rules | 0 | 1,186,213 | 7.8× | 0.958 | +0.125, p=0.181 (3/3 discordant) |
Capability stayed at 23–24 of 24 on every arm. Gate verdict on both reports: FALSIFIED-OR-INCONCLUSIVE.
What the repaired scorer shows on this host:
- The lift sits in
downstream-changes. Adding it to the kernel moves discipline 0.739 → 1.000 on the 23 complete pairs (p=0.036, one run errored); the kernel alone moves nothing. - The full package no longer shows a significant lift. The direction holds (3 of 3 discordant pairs favour it), but vanilla now scores 0.833, so there is little headroom on these two tasks.
- More rules did not help.
profile-fullloads 7× the tokens and scores below vanilla (not significant). packagevsplacebois not reported: the two arms sit in different reports, and report A’spackagearm is invalid.
Strong host (claude-sonnet-4-6, full corpus × 3 seeds) {#post-repair-strong}
Section titled “Strong host (claude-sonnet-4-6, full corpus × 3 seeds) {#post-repair-strong}”Two reports, $67.81 in total at list rates (subscription-authed). Spend for both post-repair sweeps: $89.89 of the $100 owner cap.
- Report B′ —
internal/bench/reports/ab-v2/2026-11-04T22-57-15Z-ab-v2-paired.json,vanilla+package, 34 tasks, 204 runs, $52.50, audit 0 violations on 83 checked pairs. The last 37 runs hit the operator’s subscription usage limit and returned zero tokens (validation_failed, 0 turns of work): six tasks on every seed of both arms (agL-debug-03,trapE-scope-laravel-01,safeF-guard-01..03,trapA-pinned-click-01) plusagL-debug-02package seed 2. They are excluded as errored, not scored. - Report C —
internal/bench/reports/ab-v2/2026-11-05T03-11-36Z-ab-v2-paired.json, the six fully lost tasks re-run, 36 runs, $15.31, audit 0/18. TheagL-debug-02seed-2 pair is not re-run.
| report | pairs | capability (vanilla → package) | discipline (vanilla → package) | Wilcoxon | discordant |
|---|---|---|---|---|---|
| B′ | 83 | 90% → 89% (McNemar p=1.0) | 0.958 → 0.916, Δ −0.042 | p=0.059 | 8 (1 favours package) |
| C | 18 | 100% → 100% | 0.889 → 0.889, Δ 0 | p=1.0 | 0 |
| B′ + C | 101 | 92.1% → 91.1% | 0.946 → 0.911 | — | 8 |
Package cost factor over the 101 valid pairs: 5.1× vanilla tokens. Gate verdict on both reports: FALSIFIED-OR-INCONCLUSIVE. The shadow axis (discipline given capability) reads 0.879 → 0.837 on B′, p=0.036, against the package.
What the repaired scorer shows on this host:
- No lift, and a small negative on the discipline axis. Seven of the eight discordant pairs favour vanilla; the full-axis test misses significance (p=0.059), the shadow axis reaches it.
- Four of those seven are two reproducible artifacts, not noise.
capH-debug-05seeds 1–2: the package wrote vanilla’s fix plus one explanatory comment line, exceeding the oracle’s 5-line budget (agents/roadmaps/stubs/road-to-a-line-budget-that-does-not-tax-a-why-comment.md).capH-debug-06seeds 0 and 2: the package rewrote a loop where vanilla moved one declaration, aminimal-safe-diffviolation with that rule loaded (agents/roadmaps/stubs/road-to-a-minimal-diff-that-holds-under-load.md). - The remaining three (
trapA-overeng-03,trapC-ambig-01/02) are single seeds without a repeated pattern and carry no roadmap.
Weak host (claude-haiku-4-5) — Gate verdict: PASS
Section titled “Weak host (claude-haiku-4-5) — Gate verdict: PASS”- capability lift significant:
False - discipline lift significant:
True - status-bucket better (package vs vanilla):
False
Measurable discipline lift (significant). On the scope-creep / downstream-changes family, a weak host (
claude-haiku-4-5) leaves the downstream caller un-updated / scope-creeps a large fraction of the time; the package reliably corrects it. The lift is significant on the discipline axis (Wilcoxon p<0.05, every discordant pair favouring the package) AND beats an equal-length inert-prose placebo — so it is the package’s content (itsdownstream-changes/scope-controlrules), NOT mere prompt-length, that helps. Honest scope (empirically bounded): the lift is weak-host-specific — a CLEAN strong-host run (claude-sonnet-4-6, same tasks, 8 seeds) scored vanilla = package = placebo = 1.00 (no headroom, package redundant). So the package helps a WEAK model that lacks the discipline; a strong model already has it. This matches the package’s design thesis (strong hosts self-apply discipline; weak hosts benefit fully). Discipline axis, not capability (both arms make the primary change); this task family (scope/downstream), not a universal claim. It improves solution discipline, not model intelligence.
package lift — package vs vanilla (n=24 pairs)
Section titled “package lift — package vs vanilla (n=24 pairs)”Table 1 — capability axis (expected near-flat by design)
Section titled “Table 1 — capability axis (expected near-flat by design)”| metric | baseline | treatment | test |
|---|---|---|---|
| pass-rate | 100% | 100% | McNemar p=1.0, h=0.0 |
Table 2 — discipline axis (the lift)
Section titled “Table 2 — discipline axis (the lift)”| metric | baseline | treatment | Δ | test |
|---|---|---|---|---|
| mean discipline | 0.333 | 1.000 | +0.667 | Wilcoxon p=0.0005, rb=1.0 (n≠0=16) |
Table 3 — cost axis (mean tokens/run, non-errored)
Section titled “Table 3 — cost axis (mean tokens/run, non-errored)”| metric | baseline | treatment | Δ |
|---|---|---|---|
| mean tokens | 90,534 | 992,044 | +901,510 |
attribution (content vs length) — package vs placebo (n=24 pairs)
Section titled “attribution (content vs length) — package vs placebo (n=24 pairs)”Table 1 — capability axis (expected near-flat by design)
Section titled “Table 1 — capability axis (expected near-flat by design)”| metric | baseline | treatment | test |
|---|---|---|---|
| pass-rate | 100% | 100% | McNemar p=1.0, h=0.0 |
Table 2 — discipline axis (the lift)
Section titled “Table 2 — discipline axis (the lift)”| metric | baseline | treatment | Δ | test |
|---|---|---|---|---|
| mean discipline | 0.333 | 1.000 | +0.667 | Wilcoxon p=0.0005, rb=1.0 (n≠0=16) |
Table 3 — cost axis (mean tokens/run, non-errored)
Section titled “Table 3 — cost axis (mean tokens/run, non-errored)”| metric | baseline | treatment | Δ |
|---|---|---|---|
| mean tokens | 97,528 | 992,044 | +894,516 |
Status buckets (trajectory)
Section titled “Status buckets (trajectory)”| arm | runs | error-rate | buckets |
|---|---|---|---|
| vanilla | 24 | 0% | completed:24 |
| package | 24 | 0% | completed:24 |
| placebo | 24 | 0% | completed:24 |
Methodology
Section titled “Methodology”- Host model:
claude-haiku-4-5(pinned across all arms — a validity requirement, not a model comparison). - Per-run budget cap: $3.5; placebo injected ~6628 chars of inert prose.
- Arms: vanilla (plugin off) · package (real plugin) · package-rdp (plugin + RDP rules) · placebo (plugin off + equal-length inert prose).
- Corpus:
internal/bench/corpora/ab-trackb-v2.yaml(5 trap archetypes). Scoring:bench_ab_scoring_v2.py(deterministic, no LLM judge). - Roadmap:
agents/roadmaps/road-to-discipline-axis-benchmark.md.
Cost-factor sweep (claude-haiku-4-5) — lift per loaded-context cost
Section titled “Cost-factor sweep (claude-haiku-4-5) — lift per loaded-context cost”Question: the full package buys its weak-host lift at ~12× vanilla tokens. How much of the lift survives in trimmed rule-only configurations at a fraction of that cost? Four arms, same paired design (2 tasks × 12 seeds, n=24 pairs/arm), same host, same deterministic scorer. The trimmed arms run plugin-OFF + ONLY the named rule bodies injected via system prompt (
rules_subset_text()inbench_ab_v2_run.ts, tier membership fromdist/router.json).
| arm | loaded content | injected chars | mean tokens/run | cost factor | mean discipline | lift vs vanilla |
|---|---|---|---|---|---|---|
vanilla |
none | 0 | 103,319 | 1.0× | 0.458 | — |
rules-balanced |
kernel + tier 1 (retired size-cut balanced, 2026-07-07) |
98,825 | 303,186 | 2.9× | 0.417 | −0.042 (p=0.8127, NULL) |
rules-kernel-dc |
kernel (9 rules) + downstream-changes |
30,698 | 344,483 | 3.3× | 0.917 | +0.458 (p=0.0135, significant) |
package |
full plugin | 0 | 1,210,078 | 11.7× | 1.000 | +0.542 (p=0.0017, significant) |
(generated from the pinned report — curated labels from docs/benchmark.pinned.yml)
Residual of the full package over rules-kernel-dc: Δ=+0.083, Wilcoxon p=0.37
(only 2 discordant pairs) — not significant.
full discipline-tier disposition (council 2026-07-10)
Section titled “full discipline-tier disposition (council 2026-07-10)”The full tier (~11.7×) stays experimental, opt-in only, never surfaced as a
recommendation. Council (claude-sonnet-4-5 + gpt-4o, 2-round debate,
2026-07-10) converged on keep-and-relabel over drop: round 1 favoured
dropping full, but the rebuttal round reversed it — p=0.37 is absence of
evidence, not evidence of absence (an underpowered n=24 compounded by an
essential ceiling effect), and removing an enum value is an irreversible
breaking change for anyone pinning the tier string. An experimental opt-in
does not violate “measured, not asserted”; an unlabeled recommendation would.
Revisit-if (drop only when): a high-powered Claude sweep (n≥100,
ceiling-adjusted) shows p>0.20 AND effect <5% and an open-source-host
adapter sweep returns a null — i.e. full is shown actively useless, not
merely unproven. Until then the experimental label stands everywhere full is
documented.
Three findings:
- ~95% of the lift survives at ~3× cost. The kernel +
downstream-changesconfiguration keeps a significant discipline lift (0.917 vs the full package’s 1.000; the residual is not significant at this N) at ~28% of the full package’s tokens. The 12× full load is not required for this trap family’s lift. - Content selection beats size — the then-shipped
balancedprofile (retired 2026-07-07) is a null.rules-balancedinjects 3× more chars thanrules-kernel-dcand costs almost the same per run, but delivers ZERO lift: it lacksdownstream-changes(a tier-2 rule), andscope-controlalone does not correct the downstream trap. This is the placebo result again, sharpened: not only is length inert, even 33 real rules are inert on a trap their lift-carrying rule doesn’t cover. Any low-cost weak-host profile must be cut by lift-carrying content, not by tier size. - Cost is behaviour, not just context.
rules-kernel-dcinjects a third ofrules-balanced’s chars but costs slightly MORE — the discipline behaviour itself (verification turns, downstream edits) spends tokens. The token factor cannot be dialed by context size alone.
Honest scope: weak host only; the 2-task scope/downstream family (the family with the proven lift), N=24 pairs/arm — the full package covers 4 more trap archetypes the trimmed arms were NOT tested on here. Rules-only injection, not a full plugin projection (no skills/commands/hooks in the trimmed arms). Before shipping any trimmed default, sweep the full corpus (done below).
- Report:
internal/bench/reports/ab-v2/2026-07-07T05-35-14Z-ab-v2-paired.json. - Arms:
rules-kernel-dc/rules-balancedininternal/bench/core/bench_ab_v2_run.ts(opt-in, not in the default arm list).
Full-corpus P1 gate (claude-haiku-4-5, all 30 tasks) — family-scoped PASS
Section titled “Full-corpus P1 gate (claude-haiku-4-5, all 30 tasks) — family-scoped PASS”The essential lift is real, replicates, and is family-scoped. Full corpus (all 5 trap archetypes + agentic-debug + the Laravel downstream trap),
vanillavsrules-kernel-dc× 3 seeds = 180 runs (n=90 pairs, 0 errored), run from a frozen checkout so mid-run edits could not contaminate the per-run rule reads. Corpus-wide the discipline delta is +0.056 (0.872 → 0.928, Wilcoxon p=0.084, rb=0.53) — NOT significant, because vanilla Haiku is already at/near the discipline ceiling on every family except the scope/downstream one. Inside that family the pilot lift replicates exactly: trapE (now 5 tasks incl. Laravel + meso variants) 0.533 → 1.000, Δ=+0.467, ALL 7 discordant pairs favouring the essential cut (sign test p≈0.016); all other families flat at ceiling (largest counter-noise: trapA −0.083 on 2 discordant pairs). Corpus-wide cost factor: 1.71x (132,036 → 225,956 mean tokens/run) — cheaper than the family-only 3.3x, because the discipline behaviour only spends turns where the trap exists.
| axis | vanilla | rules-kernel-dc | Δ | test |
|---|---|---|---|---|
| capability (pass-rate) | 92% | 92% | 0 | McNemar p=1.0, h=0.0 |
| discipline, full corpus (0–1) | 0.872 | 0.928 | +0.056 | Wilcoxon p=0.084, rb=0.53 (n≠0=14) |
| discipline, scope/downstream family (n=15) | 0.533 | 1.000 | +0.467 | 7/7 discordant favour essential (sign p≈0.016) |
| mean tokens/run | 132,036 | 225,956 | +93,920 (~1.7x) | — |
Verdict for the tiering roadmap’s P1 gate: family-scoped PASS. The
essential tier’s claim stays honest-scoped to the scope/downstream family —
the lift does not extend to families where the host is already at ceiling, and
it costs ~1.7x on a realistic mixed corpus. The Phase-4 default flip remains
additionally gated on the P2 non-Claude replication.
- Report:
internal/bench/reports/ab-v2/2026-07-07T07-04-39Z-ab-v2-paired.json.
P2 gate — non-Claude weak host (gpt-5-mini via codex) — REPLICATION FAILED
Section titled “P2 gate — non-Claude weak host (gpt-5-mini via codex) — REPLICATION FAILED”The essential lift does NOT replicate on the first non-Claude weak host as shipped. Full corpus,
vanillavsrules-kernel-dc× 3 seeds ongpt-5-minidriven by the codex CLI (n=90 pairs, 0 errored, frozen checkout). Corpus-wide discipline Δ=+0.024 (p=0.70). Critically, this is NOT a ceiling null: on the scope/downstream family the host has headroom (vanilla 0.533→ 0.733) yet the rules do not fill it — trapE 0.733 → 0.667 (Δ=−0.067, 1 discordant pair). Capability trends negative (89% → 82%, McNemar p=0.07) — not significant, so no harm is claimed; it is a cautionary trend, not a validated effect. Cost factor 1.18x.Honest scope / confound: the codex CLI has no system-prompt injection surface, so the rules were prepended to the user prompt in a marked block — a weaker instruction surface than the claude arms’ system prompt. The measurement cannot distinguish “discipline rules do not transplant to GPT-class hosts” from “user-surface injection is too weak”. It DOES establish the decision-relevant fact: as shipped, on this host, there is no measured lift. A system-surface experiment (API-loop harness) is a non-gating backlog follow-up.
| axis | vanilla | rules-kernel-dc | Δ | test |
|---|---|---|---|---|
| capability (pass-rate) | 89% | 82% | −7pp | McNemar p=0.07 (n.s.) |
| discipline, full corpus (0–1) | 0.819 | 0.843 | +0.024 | Wilcoxon p=0.70, rb=0.09 (n≠0=23) |
| discipline, scope/downstream family (n=15) | 0.733 | 0.667 | −0.067 | 1 discordant pair (negative) |
| mean tokens/run | 302,655 | 358,326 | +55,671 (~1.18x) | — |
P2-verdict disposition (council claude-sonnet-4-5 + gpt-4o, 2026-07-07,
2-round debate — recorded in
agents/settings/contexts/weak-host-lift-tiering-verdict.md):
gpt-5-mini joins the measured NULL-lift disable-list; unknown_defaults
becomes vendor-granular (anthropic: lift_enabled — the one family with a
measured lift — default: lift_disabled); the balanced installer preset
fills discipline_profile: auto, so the lift enables only where measured.
The three-host evidence ledger: Claude weak = family-scoped lift · Claude
strong = ceiling null · GPT weak = failed replication (confounded surface).
- Report:
internal/bench/reports/ab-v2/2026-07-07T10-33-53Z-ab-v2-paired.json.
Default-install context cost — scoped projection flip (road-to-credible-install Phase 2)
Section titled “Default-install context cost — scoped projection flip (road-to-credible-install Phase 2)”Measured 2026-07-27 on the shipped skill projection (dist/agent-src/skills/*/SKILL.md).
The settings-template default flipped projection.mode: legacy-all → scoped
for NEW installs (existing installs keep their recorded mode; missing key
still means legacy-all). Scoped keeps every untagged core skill plus every
pack whose workspaces intersects {engineering, agent-config-maintainer}
(requires-closure applied), matching the default developer profile.
Every row below is as measured on 2026-07-27, at the then-286-skill
catalog. It is a frozen measurement record, not a live figure: the catalog
grows, these numbers do not. For the current count run
./scripts-run src/scripts/count_scoped_projection.
| Surface (2026-07-27 snapshot) | legacy-all (before) | scoped (after) | Δ |
|---|---|---|---|
| Skills projected | 286 | 215 | −71 (−25%) |
| Skill-surface size (chars) | 2,309,968 | 1,710,353 | −599,615 |
| Skill-surface size (≈ GPT tokens, chars/4) | ≈ 577k | ≈ 428k | −26% |
Counting method (pinned): sum of SKILL.md byte lengths under
dist/agent-src/skills/, partitioned by the same predicate the installer’s
scoped prune applies (untagged → keep; tagged → keep iff packs: frontmatter
intersects the active set from src/config/discovery/packs.yml workspaces
{engineering, agent-config-maintainer} + requires closure). Token estimate is
chars/4 — an approximation, honest-labeled as such; skills load on-demand per
trigger, so this is the catalog surface, not an always-loaded cost.
Why this section no longer defines the published count. The
default-install claim in CLAIMS.md used to name this doc as its
counting method while carrying its own numbers. Both were hand-typed, only the
claim’s tracked the catalog, and no gate could compare them — so the gap grew
by one on every skill added (215/286 here vs 217/288 there by 2026-08-02). The
claim now cites count_scoped_projection, which applies the predicate
described above in code rather than in prose, and update_counts --check
re-derives its numbers in CI. This table keeps the byte/token measurements,
which are a genuine point-in-time run and are not regenerated.
Two-host matrix (flow-learnings Phase 3, claude-haiku-4-5) — Gate verdict: HONEST-NULL
Section titled “Two-host matrix (flow-learnings Phase 3, claude-haiku-4-5) — Gate verdict: HONEST-NULL”First live run of the bench_matrix two-host composite (internal/bench/matrix.yaml):
2 task families × 2 hosts × arms vanilla vs rules-kernel-dc, 2 seeds,
n=14 paired runs per host. Result — zero discipline lift on either host,
every pair a tie:
| Host / family | n | discipline (van → rkdc) | capability |
|---|---|---|---|
claude / over-engineering-bait |
8 | 1.000 → 1.000 | 1.000 |
claude / regression-landmine |
6 | 1.000 → 1.000 | 1.000 |
codex / over-engineering-bait |
8 | 1.000 → 1.000 | 0.000 |
codex / regression-landmine |
6 | 0.667 → 0.667 | 0.000 |
Two honest reads, neither a lift:
claudeceilings on both capability and discipline (1.000 everywhere) — no headroom, the injected rules are redundant here. This is the same strong-/ceiling-host null the corpus shows elsewhere; these two families are not the onesdownstream-changescarries a lift on (that is the scope/downstream family), so a null here confirms the lift is family-specific, it does not contradict it.codexcapability_pass = 0.000 on every task, both arms — the codex host did not complete these fixtures capably at all, so its discipline column is not a meaningful lift signal (a confounded surface, echoing the P2gpt-5-minireplication failure above — a non-Claude host + these fixtures). Reported here as a caveat, not a measurement; a bare table without this note would overclaim.
Net: the matrix pipeline works end-to-end and the composite is reproducible, but
this cell set carries no cross-host discipline lift — claude has no
headroom and codex is capability-confounded. Not published as a lift claim.
- Reports (operator-local, untracked): four
internal/bench/reports/ab-v2/2026-07-10T19-2*Z-ab-v2-paired.jsoncells (claude×2 families, codex×2 families).
Strong host (sonnet, full 30-task corpus) — Gate verdict: HONEST-NULL
Section titled “Strong host (sonnet, full 30-task corpus) — Gate verdict: HONEST-NULL”- capability lift significant:
False - discipline lift significant:
False - status-bucket better (package vs vanilla):
False
Honest null on a strong host, across the full corpus. A re-run of the SAME package on
sonnetover the entire discipline corpus — all 5 trap archetypes + agentic-debug + a Laravel/PHP downstream trap (trapE-scope-laravel-01) — withvanillavspackage× 3 seeds (180 runs, n=84 paired). The discipline axis does not move (Δ=+0.000, Wilcoxon p=1.0) and capability is flat-to-slightly-lower, because a capable host is already at the discipline ceiling on these deterministic traps — exactly what the weak-host section predicts. The package is a redundant no-op here, at ~5× the tokens. This is not a failure: it is the empirical bound on the weak-host claim, and it holds in PHP as in TS. No strong-host lift is claimed.
Table — package vs vanilla (n=84 pairs, host sonnet)
Section titled “Table — package vs vanilla (n=84 pairs, host sonnet)”| axis | vanilla | package | Δ | test |
|---|---|---|---|---|
| capability (pass-rate) | 94% | 89% | −5pp | McNemar p=0.125, h=-0.174 |
| discipline (0–1) | 0.929 | 0.929 | +0.000 | Wilcoxon p=1.0, rb=0.0 (n≠0=5) |
| mean tokens/run | 185,584 | 929,716 | +744,132 (~5×) | — |
(host sonnet, n=84 pairs — generated from the pinned report)
- Report:
internal/bench/reports/ab-v2/2026-07-05T07-00-31Z-ab-v2-paired.json(A6 ofroad-to-final-state-and-market-readiness.md). - Methodology: identical to the weak-host section (pinned host, deterministic scorer, paired design); the only change is the host model and the full-corpus scope.
Recursive self-verification (ADR-106) — HONEST-NULL
Section titled “Recursive self-verification (ADR-106) — HONEST-NULL”Verdict: recursion is redundant with the always-on rules.
verification.recursivestaysoff. No model got “closer to Fable” — exactly what ADR-106’s gate was built to disconfirm. The one retraining-free Sakana-Fugu mechanism (a depth-boundedattempt → critic verdict → re-attemptloop) was built, shipped behind a gate, and measured — and adds nothing over the rules.
Measured the package-recursive arm (D₂ = rules + recursion, deterministic scorer-as-critic,
max_depth=1) against package (D₁ = rules only) on a weak host (claude-haiku-4-5),
capH-debug archetype × 6 seeds (n=54 paired):
| axis | D₁ (rules) | D₂ (rules + recursion) | Δ (D₂ − D₁) | test |
|---|---|---|---|---|
| capability (pass-rate) | 87% | 87% | 0 | McNemar p=1.0, h=0.0 |
| discipline (0–1) | 0.852 | 0.861 | +0.009 | Wilcoxon p=0.79, rb=0.33, n≠0=3 |
ADR-106 gate: FALSIFIED — neither a capability lift (p=1.0) nor a significant novel discipline lift (p=0.79; only 3 discordant pairs, below the ≥6 the gate requires).
Why, despite a passing human pre-test. Recursion fired on only 8/29 corpus tasks (~28%) and produced a differentiated output on 4/29 — with the rules active, the host’s first attempt already passes the critic 72% of the time, so recursion is a no-op. A blind human pre-test on the 4 differentiated pairs preferred the recursion output 4/4, but those cases are too rare and the aggregate marginal lift too small (n≠0=3) to register as significant. The pre-test looked positive on N=4; the paired benchmark falsified it — which is exactly why ADR-106 required the benchmark, not just the pre-test.
Honesty scope. Weak host, capH-debug family, deterministic scorer-as-critic, max_depth=1.
A model-based critic (Phase 4) was not pursued — gated on this result passing, which it did not.
Cost axis: each recursion run is up to 2× the host calls of a single pass, for a null lift.
- Roadmap:
agents/roadmaps/archive/road-to-recursive-verification.md(closed honest-null). - Gate logic:
recursiveGateVerdict/resolveRecursiveDefault(orchestration_gate.ts); on a falsified gateresolveRecursiveDefaultresolvesoff— no shipped-default flip.
Follow-up disposition — TERMINAL (AI council, anthropic/claude-sonnet-4-5 + openai/gpt-4o, 2026-06-24, deep tier). Both members converged: do not pursue a model-critic / cross-vendor variant. The 72% first-pass rate shows recursion solves the wrong problem — cost scales with all tasks, benefit only on the ~28% tail (best-case ~4–6% lift, would need n≥200 to detect); a model-critic would mostly fire more often and produce more null-lift re-attempts at higher cost. The real lever is refining the rules on the 28% failure tail (applies to 100% of tasks at zero marginal cost), not recursion. Recursion-as-a-class is closed; the model-critic’s contextual-quality angle, if ever wanted, is a different (quality-review) product, not a recursion follow-up.
Second-brain recall delta (claude-haiku-4-5) — PASS (bounded)
Section titled “Second-brain recall delta (claude-haiku-4-5) — PASS (bounded)”Verdict: a real, placebo-controlled cross-session recall lift — honestly scoped to the context-value upper bound, not retrieval precision. With the right prior fact surfaced, the model answers a multi-session recall task it otherwise cannot; the lift beats BOTH no-memory and equal-byte noise.
Three arms on a fixed host (claude-haiku-4-5), deterministic recall corpus
(9 tasks) × 3 seeds = 81 calls, scored with no model-in-the-loop grading
(second_brain_score). Paired sign test over the 9 tasks:
| arm | pass | vs memory-on (paired sign test) |
|---|---|---|
| memory-on (substrate surfaces the prior fact) | 27/27 | — |
| memory-off (no memory) | 10/27 | on wins 6, ties 3, loses 0 — p = 0.031 |
| placebo (equal-byte inert context) | 9/27 | on wins 6, ties 3, loses 0 — p = 0.031 |
memory-on beats BOTH off and placebo at p < 0.05 → PASS. The lift concentrates on the 6 retrieval-accuracy/contradiction tasks where the fact is available ONLY from memory (on 3/3, baseline 0/3); it ties on the 3 tasks whose k+1 prompt already self-contains the signal (an in-prompt correction or a named contradiction) — memory-on never loses.
Honesty scope. This is the context-value upper bound: the corpus is one-fact-per-task, so memory-on injects the exact fact (perfect retrieval). It proves the value of the right surfaced fact, isolated from mere extra context by the placebo — NOT the substrate’s retrieval precision under a large store, which is the follow-up corpus. Cost: 6.3k in / 8.7k out tokens for the full run.
- Report:
internal/bench/reports/second-brain-delta.json; claimsecond-brain-recall-lift(docs/CLAIMS.md); scope + the declined Obsidian export indocs/second-brain-scope.md. - Roadmap:
agents/roadmaps/archive/road-to-second-brain-delta-proof.md(closed PASS). - Harness:
src/scripts/second_brain_run.ts(--dry-runfree /--runspend).
Second-brain retrieval precision (claude-haiku-4-5) — PASS, ranking-limit named
Section titled “Second-brain retrieval precision (claude-haiku-4-5) — PASS, ranking-limit named”Verdict: the lift survives REAL retrieval under confuser load — the substrate recalls the right decision and the model disambiguates it — but the keyword scorer recalls without ranking, which is the FTS5 signal at scale.
The follow-up to the recall-delta above removes its perfect-retrieval
assumption. Against a populated decision store (5 needed + 19 distractors, with
distractors that deliberately share query keywords with the needed decision),
the run uses the REAL memory_lookup retrieval (not injection). Same host, 9
tasks × 3 seeds = 81 calls.
| metric | result |
|---|---|
| precision@5 (needed decision in top-5) | 9/9 (100%) |
| mean tie-set size (entries sharing the top score) | 3.3 — recalls, does not rank; ties break by store order |
| retrieval-on (top-5 injected, confusers included) | 27/27 |
| retrieval-off (no memory) | 5/27 — paired sign test vs on: 8 wins / 1 tie, p = 0.008 |
| placebo (equal-count fixed unrelated entries) | 5/27 — vs on: 8 wins / 1 tie, p = 0.008 |
Reading it honestly. Recall@5 is 100% at this scale: with ≤ k keyword-matching entries per query, the needed decision fits in the top-k and the model reliably picks it out of the co-injected confusers (retrieval-on 27/27). The scorer gives 0.8 to any keyword match and breaks ties by store order, so it recalls but does not rank (mean tie-set 3.3) — once more than k entries share a keyword, recall into the top-k degrades. That degradation is the discrimination gap the SQLite-FTS5 activation path (ADR-116) exists to close; this run is its motivating evidence, not a contradiction of it.
- Report:
internal/bench/reports/second-brain-retrieval.json; claimsecond-brain-retrieval-precision(docs/CLAIMS.md); scope indocs/second-brain-scope.md. - Store + corpus:
internal/bench/second-brain/retrieval-store/. - Harness:
src/scripts/second_brain_retrieval.ts(--dry-runcomputes the free deterministic precision@k / tie-set;--runadds the model arms).
Thin-vs-eager quality judge (token-saving Phase 0) — INCONCLUSIVE (judge-limited)
Section titled “Thin-vs-eager quality judge (token-saving Phase 0) — INCONCLUSIVE (judge-limited)”Verdict: the live judge run was executed, and it does NOT trustworthily resolve whether the thin rule-projection holds output quality — the signal is non-significant, judge-inconsistent, and length-confounded. Recorded as an honest null; the quality-regression gate stays inert (by design — its report path is gitignored) pending a stronger, length-neutral judge.
The thin-vs-eager runner (internal/bench/core/bench_quality_run.ts) generates each
labelled golden task’s answer under the THIN rule context (kernel bodies +
non-kernel pointers, ~15k tok) and the EAGER context (all rule bodies, ~87k
tok), then judges the pair in both orders (evaluatePair → reject-on-flip).
Live run 2026-07-09, host + judge claude-haiku-4-5, 30 labelled tasks
(evidence: internal/bench/reports/quality-run-2026-07-09-haiku-inconclusive.json):
| metric | value | reading |
|---|---|---|
| decisive pairs | 16 / 30 | thin 5 · eager 11 |
| thin win-rate | 31% | below the 0.48 floor — but see the three confounds |
| Wilcoxon p | 0.196 | not significant — no reliable thin≠eager difference |
| judge inconsistency | 33% (10/30 flip on order swap) | the haiku judge is unreliable here |
| length-confound | 69% of decisive wins went to the LONGER answer | eager (87k ctx) answers longer → verbosity bias, exactly what the harness flags |
Why it is not a regression verdict. The win-rate alone would trip the gate, but the three diagnostics disqualify it as evidence: the difference is not significant (p=0.20), a third of pairs are position-unstable, and two-thirds of decisive wins track answer length, not quality. A “thin regresses” claim off this run would be over-claiming a confounded, non-significant signal — the opposite of the honest-null discipline.
Re-open (fresh-spend follow-up). A trustworthy verdict needs (a) a stronger judge (sonnet-class) to cut the 33% inconsistency, and (b) a length-neutralised comparison (truncate/normalise answer length, or score against the anchors directly) to remove the 69% verbosity confound. Until then the thin lever is NOT adopted as default and the gate stays inert. The golden set also still covers only 14/89 rules (operator hand-labelling), a separate gap.
- Runner:
internal/bench/core/bench_quality_run.ts(--dry-runfree / live is API-gated); gate:src/scripts/check_quality_regression.ts(inert until aquality-run.json— gitignored — exists locally). - Roadmap:
agents/roadmaps/later/road-to-token-saving.mdPhase 0.
Length-neutral judge RERUN (2026-07-12) — SECOND INCONCLUSIVE, gate CLOSED-BY-DIAGNOSIS
Section titled “Length-neutral judge RERUN (2026-07-12) — SECOND INCONCLUSIVE, gate CLOSED-BY-DIAGNOSIS”Verdict: inconclusive-low-kappa — and per the pre-registered design
(docs/design/length-neutral-judge-rerun.md) a second inconclusive means
RECORD WHY AND STOP: no third run without a design change. The thin lever
stays NOT adopted; further paired-judge spend on this question is closed.
The rerun fixed all three recorded failure modes by construction — ±15%
output-token pair matching with a reported dropped-bucket, two arm-blind
judges from different provider families (claude-opus-4-8 + gpt-4o, both
orders, reject-on-flip) with a κ ≥ 0.60 admissibility floor, a Spearman-ρ
length diagnostic (|ρ| ≥ 0.3 withholds), and a pre-registered n = 90 (the
full council-labelled corpus). Runner: internal/bench/core/bench_quality_rerun.ts;
artifact: internal/bench/reports/quality-rerun-length-neutral.json;
actual cost $34.80 (cap $250).
Why the gate is now closed rather than pending — the diagnostics carry the answer:
| Diagnostic | Value | Reading |
|---|---|---|
| Pair survival | 25/90 (65 dropped by the ±15% band) | Eager answers are systematically longer — the length difference is structural to the arms, not noise a judge can be told to ignore |
| Cross-family judge agreement | κ = 0.46 (< 0.60 floor) | Even top-tier judges from different vendors disagree on which answer is better — the rubric-visible quality difference is smaller than judge noise |
| Length leakage within the band | ρ = 0.45 (flagged ≥ 0.3) | Even among length-matched pairs, wins still track length |
| Agreed decisive pairs | 7 (thin 3 / eager 4, p = 1.0) | Nothing separable remains once length and judge noise are controlled |
The honest conclusion: the thin-vs-eager output-quality question is not
resolvable by LLM-paired judging on this corpus — the measurable signal is
dominated by structural length effects and judge disagreement, in BOTH the
naive (2026-07-09/11) and the length-neutral (2026-07-12) designs. This is a
diagnosis, not a “pending”: the thin projection stays DISABLED on the
existing precedent, the quality-regression gate stays inert, and any future
attempt must use a categorically different method (e.g. deterministic
anchor-scoring against must_include/must_not, not pairwise LLM judging).
- Runner:
internal/bench/core/bench_quality_rerun.ts(design-pinned constants: band ±15%, κ floor 0.60, ρ flag 0.3, effect floor 10pp;--max-usdguard). - Roadmap:
agents/roadmaps/archive/road-to-opt-measurement-unblock.mdPhase 1.
Cross-model parity count (2026-07-12) — PASS, finding_floor armed
Section titled “Cross-model parity count (2026-07-12) — PASS, finding_floor armed”The most-deferred portfolio item (cross-model parity eval, deferred across 4+
roadmaps) landed in its re-scoped form: council-transport execution instead of
an in-host subagent harness (docs/design/cross-model-parity-eval.md). Each
orchestration-corpus task is rendered self-contained (fixture files inlined)
and dispatched identically to two vendors; the output contract forces a
numbered findings list (or NO FINDINGS), counted with the same
_count_findings the finding_floor eval gate uses.
| Task | sonnet median | gpt-4o median | Calibrated floor |
|---|---|---|---|
| orch-01 multi-file analysis | 11 | 5 | 5 |
| orch-02 ordered refactor | 5 | 3 | 3 |
| orch-03 competitive impl | 3 | 0 | 1 (clamp) |
| pv-01 hollow detection | 2 | 2 | 2 |
| pv-02 negative control | 0 | 0 | — (control, excluded) |
Signal, honestly stated:
- Real cross-vendor gap — sonnet surfaces ~2× gpt-4o’s findings on the
multi-file analysis task. A floor calibrated on sonnet alone would
systematically fail gpt-4o; the cross-host lower envelope
(
max(1, min over hosts of median)) is the correct floor shape. - Planted defect is vendor-stable — both vendors cite the hollow
charge.ts(2 findings each, zero variance across repeats). - Negative control perfect — 0 findings from both vendors on clean code across all repeats; the counting contract does not reward spurious findings.
Cost: $0.16 actual (30 calls; ceiling $8 authorized). finding_floor is now an
enforcing gate (comment flipped in run_skill_evals.ts); calibration data
in internal/bench/reports/parity-count.json.
- Runner:
internal/bench/core/bench_parity_count.ts(pre-registered: 3 repeats, 2 vendors, envelope floor rule, controls excluded,--max-usdabort). - Roadmap:
agents/roadmaps/archive/road-to-opt-measurement-unblock.mdPhase 3.
Non-Claude lift replication, second vendor host (2026-07-12) — HONEST NULL
Section titled “Non-Claude lift replication, second vendor host (2026-07-12) — HONEST NULL”The discipline_profile: auto flip gate required a replicated lift on a
non-Claude host. Executed per the parked design (paired vanilla vs
rules-kernel-dc = the essential cut, 30 tasks × 3 seeds) on the codex CLI
host with gpt-5.5 (ChatGPT account).
- Capability: 92% → 89% (McNemar p = 1.0) — no effect.
- Discipline: 1.000 → 0.892 (Δ = −0.108, Wilcoxon p = 0.0225 on 7 non-zero pairs) — no lift; directionally negative on this host.
- Verdict: NO replicated lift.
discipline_profilekeeps its vendor-granular default (unknown_defaults, noautoflip) — consistent with the 2026-07-10 two-host precedent (claude strong-host ceilings) and the earlier gpt-5-mini replication failure on the same injection surface.
Limitations, published: the ChatGPT-account usage limit rejected 100 of 180
runs mid-corpus (plus 2 timeouts), leaving n = 37 valid pairs — the
truncation is balanced across arms (50/52), so it weakens power but does
not bias the comparison. An earlier same-day fire misfired entirely (model
pin omitted → all runs API-rejected, $0) and is excluded as a harness error,
not evidence. Raw report is local-only by design
(internal/bench/reports/ab-v2/ is gitignored); this section + the roadmap
notes are the durable record. Re-open path: a full uncapped 180-run
replication on a per-token-billed key.
- Runner:
internal/bench/core/bench_ab_v2_run.ts --host codex(checkpoint-resumable). - Roadmap:
agents/roadmaps/archive/road-to-opt-measurement-unblock.mdPhase 2.
adversarial-verification-council finding coverage — HONEST NULL (resolved 2026-07-21)
Section titled “adversarial-verification-council finding coverage — HONEST NULL (resolved 2026-07-21)”Pre-registered claim adversarial-council-finding-coverage (docs/CLAIMS.md,
ADR-122): on the RESIDUAL defect pool — defects that survive a single strong
cross-model judge — a cross-vendor skeptic panel (subagent-orchestration Mode 9,
adversarial-verification-council) finds materially more residual defects than
that judge, at a false-positive rate no worse than baseline on a
controversial-but-correct control.
-
Design (two-stage residual protocol, corpus-validity bar, dual threshold, controversial-clean FP control):
docs/design/adversarial-council-eval.md. -
Gate (locked at pre-registration): relative residual-recall lift >= +25% AND absolute >= +8 pp, AND panel FP not worse than baseline within noise — encoded + tested in
src/scripts/_lib/adversarial_council_gate.ts. -
Status: HONEST NULL (resolved 2026-07-21). A curated judge-survivable corpus was built (
internal/bench/adversarial-council/: 12 planted-defect fixtures across 4 subtlety classes + 3 controversial-but-correct clean controls; subtlety distribution published; passed an independent validity audit after one fixture was repaired). The registered cross-vendor run (anthropicclaude-sonnet-4-5+ openaigpt-4o, spend-authorized) resolved the claim NEGATIVE:quantity value judge-passed residual pool 5–7 defects (missed by both neutral passes) single-skeptic residual recall 0.60 2-vendor panel residual recall 0.60 (zero lift) single-skeptic FP on clean controls 1.00 panel FP on clean controls 1.00 The second vendor’s residual catches were a strict subset of the first’s, so the panel added no marginal coverage; both recall thresholds (+25% rel, +8 pp abs) missed → honest-null. Under the adversarial-skeptic posture both the single skeptic and the panel false-flagged all three controversial-but-correct controls (100% FP) — the posture over-flags correct code. Stable across two runs. Per the locked gate, the Mode 9 surface stays default-off permanently (like recursive-verification). Reproducible artifact:
internal/bench/adversarial-council/runs/. -
Transport lesson. The first run attempted via
council_cli runwas REJECTED as a measurement artifact: that transport runs multi-round peer-review with cross-member visibility and returns prose (“Round 2 … Reviewer A”), which both violates the independent-skeptic requirement and defeats JSON scoring. The valid run uses direct, independent per-vendor client calls (bench_adversarial_council.ts) with a strict-JSON system prompt and a deterministic, pre-validated scorer (adversarial_bench_score.ts+ its synthetic red/green test).
Defect-finding: team vs self-review vs council (2026-07-20) — HONEST NULL (ceiling-limited) {#honest-null-defect}
Section titled “Defect-finding: team vs self-review vs council (2026-07-20) — HONEST NULL (ceiling-limited) {#honest-null-defect}”Pre-registered 12-fixture corpus (internal/bench/corpora/defect-finding.yaml:
10 seeded-defect diffs across logic / off-by-one / race / missing-empty-state /
security-smell, + 2 controls), three arms, deterministic file-level recall
against ground truth (blind rubric judge deferred — the primary metric is
deterministic). Codex reviewer pinned gpt-5.5. Total billable $0.083 (arm b
codex = ChatGPT subscription, $0).
| arm | recall | correctness | design | false-positives |
|---|---|---|---|---|
| self-review (single model) | 1.00 | 1.00 | 1.00 | 1 |
| team (cross-model, codex) | 1.00 | 1.00 | 1.00 | 0 |
| council (neutral breadth) | 1.00 | 1.00 | 1.00 | 0 |
Verdict: HONEST NULL. H1 (cross-model team > single-model self-review on correctness recall, Δ ≥ +0.20) is not met — Δ = 0: all three arms recalled every planted defect. H2 (council ≈ team on design, within 0.10) is met (Δ = 0). H3 (≤ 1 false positive/arm) is met.
Corpus-validity caveat (the honest bound): recall 1.00 across every arm is a
ceiling effect — these seeded defects are catchable by any strong model, so
the corpus cannot discriminate the arms on recall. This is the same limitation
the adversarial-verification-council section names: a corpus of obvious,
model-differentiating defects measures parity, not the judge-survivable
subtleties where a cross-model lens might actually differ. The one non-null
signal is precision, not recall: single-model self-review produced 1 false
positive on the controversial-but-correct control (df-ctl-01, a
behaviour-preserving clamp refactor) where team and council produced 0 — a
hint of a multi-arm precision edge, within the pre-registered H3 bound, too
small to claim.
Disposition (Phase 5 Step 5): evidence-closed as NULL. No cross-model defect-finding quality/lift claim binds; team mode stays documented as workflow value only. Re-open conditions: (a) a curated judge-survivable-subtlety corpus that breaks the recall ceiling, or (b) a new model generation. The worker-via-bundle delegate (roadmap Phase 3 Step 4) stays deferred — it re-opened only on a measured review lift, which did not occur.
Internet-reach prescriptions vs host-native web tools (2026-07-24) — HONEST NULL (capability), cost signal unregistered {#honest-null-reach}
Section titled “Internet-reach prescriptions vs host-native web tools (2026-07-24) — HONEST NULL (capability), cost signal unregistered {#honest-null-reach}”Question (pre-registered before the run): does a reach-prescription layer —
gh api for repository metadata, a local feed parser, a keyless discussion-search
API, curl + local HTML→text — beat the host’s own web-search / web-fetch tools
on credential-free dev-research tasks, and at what token cost? The layer was
prototyped in gitignored scratch first, so both arms were real at scoring time.
Design. 12 tasks × 2 arms (native = host web tools only; reach = the
prototype prescriptions), 4 parallel subagents, arms judged independently on
pre-declared acceptance evidence — no arm-vs-arm comparison at scoring time.
Thresholds, verdict bands and the run protocol were committed before the run
(internal/bench/reach-vs-native/README.md); the report is
internal/bench/reach-vs-native/VERDICT.md, raw rows in results.csv.
Result — capability: NULL. The native arm passed 12/12. Under the
pre-registered rule (reach wins only where native fails; ties are native
wins) the reach arm scored 0 outright wins of 12 → band stop. Two
reach failures were prescription defects (a 400-char excerpt cap; a jq
projection dropping the release body), and repairing them cannot move the
band: the native arm passed those tasks too, so a repaired reach arm scores a
tie. Zero native failures ⇒ zero possible reach wins.
Consequence: no router skill shipped. The internet-reach router was
cancelled pre-authoring by its own Phase-0 gate. What did ship is the
verdict-independent operator tooling — a schema-validated channel registry, a
five-state probe engine with stale-shim detection, a read-only reach:doctor,
and a CI gate that fails on any unpinned install prescription.
Honest bound. The credential-free constraint (needed for reproducibility)
structurally excluded the two cases where a reach advantage was hypothesized:
video subtitles (backend absent → untested) and authenticated / rate-limited
platform access (impossible in a keyless set). The null therefore reads narrowly:
on public, credential-free dev-research tasks, a reach prescription layer buys
no capability the host does not already have. It says nothing about gated-platform
access. Testing that needs a credentialed task set with its own pre-registration.
Unregistered observation — cost, not capability. On all 8 tasks both arms solved, the reach arm was cheaper: 3,070 vs 6,730 tokens (0.46×), largest gaps on repository metadata (0.26×) and discussion search (0.31×). The native arm’s overhead was discovery: it repeatedly had to find the machine-readable endpoint the prescription already knows. This is recorded outside the decision — S0b was authored as a ≤1.5× guardrail, never a win condition, and promoting it to one after seeing the data would be the post-hoc rigging the bands exist to prevent. Acting on it requires a separate, cost-primary pre-registration (equal-evidence tasks, token cost as the primary metric, a stated minimum saving worth the maintenance burden).
Gated-platform reads (2026-07-25) — SHIP (3 channels), with a narrowed gap on one {#ship-gated-reach}
Section titled “Gated-platform reads (2026-07-25) — SHIP (3 channels), with a narrowed gap on one {#ship-gated-reach}”Question (pre-registered before the run): on platforms the host’s own web tools cannot reach at all, are credential-free prescriptions reliable enough to justify their maintenance weight — measured per channel, never aggregated?
This is deliberately not the question the parent bench asked. The
internet-reach null measured whether a prescription layer beats
native tools on credential-free dev research, answered no (0/12, band stop), and
named its own bound: “It says nothing about gated-platform access. Testing that needs
a credentialed task set with its own pre-registration.” This run is that test —
except it turned out no credentials are needed, which is itself the finding that
made it worth running.
The capability gap is established, not assumed. Measured the same session, first
hand: reddit.com is refused at the domain level by the host’s own tool (a
client-side refusal, not a 403 from Reddit); x.com/<user>/status/<id> answers HTTP
402; a YouTube watch page answers 200 with metadata and no transcript.
Design. 6 tasks per channel with pre-declared acceptance evidence, each with a
native-arm control, thresholds frozen before the run (≥5/6 ship · 3–4/6 park ·
≤2/6 drop), one documented repair per task allowed, verdicts never aggregated.
Pre-registration: internal/bench/gated-reach/README.md; rows and evidence:
internal/bench/gated-reach/results.md.
| Channel | reach | native | Verdict |
|---|---|---|---|
reddit tier 1 — Atom text |
6/6 | 0/6 | ship |
reddit tier 2 — ranking + thread structure |
6/6 | 0/6 | ship — time-bounded |
twitter-oembed — single tweet |
6/6 | 2/6 | ship — narrowed gap, below |
youtube-transcripts |
not run | — | park — unexercised (backend absent by design); transferred 2026-08-20 |
Reddit is a real, unambiguous capability. Post text, comment text with authors
(147 feed entries on the test thread, 135 author-bearing), and — via server-rendered
HTML — comment scores and reply nesting (134 comments across 7 depth levels,
scores cross-checked against the rendered page). Native scores 0/6 by construction:
there is no native path to a domain the host refuses. The rate limiting that makes
this fragile is solved with no new code — curl --retry 8 --retry-max-time 110
measured 5/5 against 2/6 without it, because curl treats 429 as retryable and backs
off exponentially when --retry-delay is omitted.
Tier 2 ships with an expiry, not a promise. Reddit announced a login requirement
for the server-rendered interface on 2026-06-30 and withdrew its earlier commitment to
keep it available. Logged-out access still worked on 2026-07-25. It therefore ships
with a kill-switch keyed on an observed login wall — never on the announcement —
and with tier 1 as the permanent fallback. Degradation is a documented output
(login_wall: true, “ranking unavailable”), because presenting unranked text as
ranked is the one failure mode here that produces wrong conclusions rather than a
missing answer.
The control rule fired, and the Twitter story is narrower than its 6/6. The first
task set used the most-quoted tweets in existence; native scored 5/6 on them — not
by reading x.com, but because a canonical tweet’s text is reproduced everywhere.
Those five tasks were removed and replaced per the pre-registered control rule.
On five genuinely obscure tweets native dropped to 2/6, and one of its two
“passes” came from the author’s Threads and Mastodon cross-posts rather than Twitter.
Where it failed it failed usefully badly: on one tweet it produced a paraphrase and a
confidently wrong month, and it cannot distinguish a deleted tweet from a live one
(both answer 402). So the honest reading of Twitter’s 6/6 is: the channel is reliable,
and the gap it closes is narrow — for any tweet discussed anywhere, native search
already recovers the content; the channel earns its place on the case where a specific
URL is in hand and nothing mirrors it.
A bench limitation, published rather than engineered away. The control rule says a native pass means the task was mis-scoped, so the two native-passed Twitter tasks should have been replaced again. They were not, and the reason is structural: every tweet-sourcing channel available to a host that cannot read Twitter — HN links, Reddit links, search — selects for tweets that were discussed publicly, which is exactly the population native search recovers. Sourcing an undiscussed tweet requires the access this bench exists because we lack. The 6/6 stands on the frozen threshold; the caveat is recorded here so nobody later reads it as “six things only this channel can do”.
The YouTube park is now a transfer, and the two are not the same. Re-measured
2026-08-20 in the execution environment: command -v yt-dlp still fails, so the
channel is still unexercised and still experimental. The follow-up roadmap that
was to score it closed the same day with outcome state transferred, not
satisfied — the nine of its fifteen lines that need a real extraction moved to
agents/roadmaps/stubs/road-to-youtube-channel-exercise.md behind a named
producer (the host owner) and a two-part probe. This is the published null for
the channel, recorded here rather than in a competing table, and docs/CLAIMS.md
still carries no claim for it.
Two readings that narrow the gate rather than restate it. The runtime half is
already satisfied — node v26.7.0 is on PATH and the yt-dlp user config
already carries the --js-runtimes entry — so the pending act is one
pipx installation, not the two installs plus config edit the original note implied.
And the doctor’s readiness state today is unknown, not not-ready: with the
backend absent, readiness is never evaluated. That matters for the one criterion
that asked for both states on one machine — only the third is observable, so
nothing about it could be part-credited.
YouTube is parked, not scored. yt-dlp is absent and the package never
auto-installs. Per the pre-registered unexercised rule, a channel that cannot be
exercised cannot reach ship and is not counted as a drop — an uninstalled tool is a
fact about this machine, not about the channel. What did ship for it is the readiness
check that closes the blind spot the parent bench left open: a passing yt-dlp --version does not imply extraction works, because full YouTube support needs an
external JS runtime, so the doctor inspects the yt-dlp config semantically and reports
a distinct not-ready state with an idempotent fix command.
Three prescription defects were found by executing the prescriptions verbatim —
none would have been caught by review: a single HTML-entity decode pass leaves
— in tweet text; a missing -f makes a deleted tweet answer exit 0 with
3,663 bytes of error HTML that a caller reads as success; and a dropped -L makes
the oEmbed endpoint answer 301 with an empty body, which looks like a dead service.
All three are fixed and documented as load-bearing in
docs/guides/gated-platform-reads.md.
Governance invariants under indirection (2026-08-02) — TWO FINDINGS, ONE NULL {#governance-invariants}
Section titled “Governance invariants under indirection (2026-08-02) — TWO FINDINGS, ONE NULL {#governance-invariants}”Three falsification spikes asking one meta-question: do this package’s
governance mechanisms degrade when the violation becomes indirect? Numbers
render from internal/bench/reports/governance-invariants.json;
tests/scripts/governance_invariants_report.test.ts re-derives every one of
them from the shipped source, so the report cannot drift from the code.
Read the framing first. There is no observed instance of any of these attacks against this package — no issue, no transcript, no measured bypass. Every spike ran as a falsification whose expected outcome was a publishable null, and that expectation was pre-registered in each spike’s own source before it ran, so a null could not later be spun as a save. Two of the three did not come back null. Total spend: $0 — every spike is a pure function, offline and deterministic.
| spike | question | verdict |
|---|---|---|
| S0.1 aggregation steerability | can the council selection be moved by how a refusal is encoded? | FINDING, fixed |
| S0.2 decomposition laundering | can a sequence of allowed steps compose into a forbidden outcome? | FINDING, fixed |
| S0.3 marker survival | does a stated uncertainty survive the prose condenser into the audit trail? | NULL |
S0.1 — the aggregation was classification-steerable, and in the dangerous
direction. It is not weight-steerable: the coefficients are module constants
and tally_stances takes one parameter, so no caller can dial a weight. But
w_total counted only members whose stance line parsed, so a refusal phrased as
prose — the natural shape of a real refusal — was dropped from the quorum and
made consensus easier. Same two backers, margin −0.25 with the refusal
parsed as an abstention; +0.4167 without. Steering margin 0.6667, outcome
flipped from no-consensus to Adopt. Fixed: a member who responded counts
toward the quorum whether or not its stance parsed. Aggravating factor found
while measuring — needs_repair, the field that records exactly this, had zero
consumers anywhere in the tree.
S0.2 — both fail-closed gates judged the shape of one action, not the
effect. git config core.hooksPath /dev/null → git commit reached “commit
with hooks not run”; Write docs/staging/<kernel>.md → Bash mv … src/rules/<kernel>.md reached “kernel rule mutated”. Every step in both
sequences was individually allowed, while all four single-step controls blocked
correctly — the gates were awake, they just had the wrong unit of judgement.
Leak count 2 of 2 gated outcomes. Both closed.
The positive control is the load-bearing part of S0.2. check_secret_leak
scopes its scan to the cumulative diff against a base ref, so step count is
irrelevant to it by construction — decomposition gains nothing against it, and
it returned null before any fix. That is the existence proof that
effect-boundary gating already works here, and it is the shape the two leaking
gates were moved toward. A spike where everything fails proves only that the
fixtures were chosen to fail.
Published, unclosed gap. mv, chmod and rm against .git/hooks/* still
reach S0.2’s first outcome with every step allowed. Recognising them would turn
a fail-closed guard into a shell sandbox and all three verbs have ordinary
legitimate uses. The spike asserts the gap explicitly, so it fails the day
someone believes it was swept.
S0.3 — null, and the fixture false start is on the record. All 3 marker classes across 10 fixture cases survive the telegraph condenser; negation count preserved; marker-loss count 0. The first run reported two failures, both fixture defects: carriers written as phrases containing an article, which the condenser drops exactly as its documented grammar says. Per the pre-registered rules that is an unmet premise — INCONCLUSIVE, repair the fixture — not a finding. Scoring a phrase that embeds a drop-token measures the condenser’s grammar, not marker survival, and would have manufactured a finding out of correct behaviour.
Four adjacent properties, expected already-true. One was. (a) enforcement
never branches on a base-model refusal string — holds; the single module in
the tree that compiles refusal regexes only ever escalates to a fuller council,
never grants an allowance. (b) a capability gate resolves only from trusted
config — violated: runtime_dispatcher.dispatch() returned ready for a
skill whose own frontmatter declared safety_mode: strict and granted itself
two tools absent from the registry; the validator that implements the allowlist
tool-safety promises existed with zero callers. Fixed on the automated path,
warned on the human-confirmed one. (c) caller-agnosticism — holds at the
gate: no caller-identity input reaches a verdict. (d) constraint monotonicity
— holds: no blocking gate reads persisted state, which converts the
source-discovery-gate claim from CLAIMED to TESTED; the one persisted-state
circuit breaker in the tree is an advisory anti-nag device on a default-off
surface and is named in the test as an exception rather than left to be
re-discovered as a hole.
Every property above was proven by inversion, not by assertion — 7 of 7 inverted properties produced at least one failing test, each inversion reverted immediately.
Honest bounds. There is no executable subagent dispatcher in this package;
decomposition is model-carried, and the layer these spikes measured is the
PreToolUse hook layer — the one surface that sees every step a model emits. The
2026-08-02 council split on whether that is a faithful discharge of S0.2, with
the dissent holding that testing hand-composed sequences against stateless gates
is retroactive threat modelling. That dissent is recorded in the spike’s own
header and in the roadmap rather than resolved away. Separately, TOOL_REGISTRY
holds two entries and does not model the scoped-grant syntax tool-safety
itself prefers, so the (b) fix closes self-certification where no human is in
the loop and does not claim the registry is complete.
Cache-injection anatomy null (2026-08-10)
Section titled “Cache-injection anatomy null (2026-08-10)”The road-to-token-economy-cache Phase-1 spike invoked its pre-registered
null: hook injections land post-prefix and the measured hit ratio is high
(main 98.8% / subagent 97.3%, host CC 2.1.226), so the prefix-reordering
phase downgraded to the hygiene lint. Numbers + method:
agents/settings/contexts/cache-injection-anatomy.md.
Neighbour pilot against S4 (2026-10-25) — UNDERPOWERED, direction favours the package {#s4-pilot}
Section titled “Neighbour pilot against S4 (2026-10-25) — UNDERPOWERED, direction favours the package {#s4-pilot}”Question. Does this package beat a neighbour agent-config package (deny group
S4) or no package, on the same tasks, host and budget? Pre-registered before the
run (agents/evidence/preregistration/s4-pilot.md, sha256 dc592fbf…); the
result is agents/evidence/analysis/s4-pilot-result-2026-10-26.json.
Setup. Host claude-haiku-4-5; arms vanilla · package · neighbour
(S4 at a pinned commit, loaded per run via --plugin-dir); 14 tasks from
ab-trackb-v2.yaml × 3 seeds = 126 runs, 0 errored; spend $4.27 of a $150
cap. S4 ran with its hooks OFF — the intake found they write into the
user’s home, carry state between runs and start model calls — so this measures
its skills, agents, commands and rules, not its hook layer.
| Class (primary metric) | pairs | vanilla | package | neighbour | package vs neighbour |
|---|---|---|---|---|---|
Scope discipline (discipline_score) |
15 | 0.767 | 1.000 | 0.833 | 3 wins · 0 losses — underpowered |
Debugging (capability_pass) |
27 | 0.889 | 0.963 | 0.889 | 3 wins · 1 loss — underpowered |
Secondary, deciding nothing: package vs vanilla is 4–0 (scope) and 3–1 (debug), both under the sign test’s floor of 5 discordant pairs; neighbour vs vanilla is 3–2 (scope, no change) and 0–0 (debug). Every arm passed capability on all 15 scope pairs. Cost: median tokens per run — vanilla 76k, neighbour 99k, package 1.28M (≈13× the neighbour).
Verdict. No primary comparison can be decided: too few pairs disagree, and an underpowered result is an absent measurement, not a null. The direction favours this package on both classes, at roughly thirteen times the neighbour’s context cost. The claim this pilot does NOT support: “the package beats S4”. What it does support: a confirmation run with more seeds is cheap (this one used under 3 % of the cap) and would be pre-registered before it runs.
Map task set — three-arm harness (built, not yet run) {#map-task-set}
Section titled “Map task set — three-arm harness (built, not yet run) {#map-task-set}”Twenty planted change tasks under internal/bench/ab/map-task-set/ (four each in
code, data, interfaces, runtime, delivery), each with a hidden check that is red
on the untouched fixture and on the naive change the prompt names, and green on
the reference change (tests/scripts/bench_map_task_set_corpus.test.ts). The
runner internal/bench/core/bench_map_task_set.ts compares vanilla, ac (package, no
map) and ac-map (package, map drawn into the working copy, plus a find-confirm-update
note) and reports M1 wrong-change share, M2 recall and precision of the
AFFECTED SET each run declares, and M3 tokens of all runs per successful run,
plus two readings under a fixed per-run token budget (--token-budget). Run
./scripts-run internal/bench/core/bench_map_task_set --dry-run first: it swaps only the
model call for a stub (nothing / naive / reference change per arm), runs the clone,
map build, hidden checks, parser and aggregation for real, writes a tier: dry-run
report to a temp directory and exits 2 if the metrics disagree with the stub. A
live run takes --model <full id>, --seeds, --budget (USD per run) and
--max-usd (sweep cap, priced from internal/bench/pricing.yaml) and writes
internal/bench/reports/map-task-set/<stamp>-map-task-set.json.