v0.3.8 → v0.3.9
What changed from v0.3.8 to v0.3.9
From v0.3.8 (14 Jun) to v0.3.9 (29 Jul): 6,715 words to 7,082 words, 530 words in new or rewritten paragraphs and 163 taken out, 18 paragraphs changed.
Two new limits - a check can measure the wrong thing, a tool can sit unusedA small revision, about 5 % of the text. It adds evidence from a July deployment to two places. The revision plan says the two arguments were kept on purpose, although an assessment had suggested splitting them.
- The leak pattern is extended to measurement: a gate that sees only part of the state reads "zero" both when things are clean and when they are unseen. A real case is given, where a misread token count made memory compaction fire far too early.
- A new limit on maturity: a component can be installed, enabled and passing its checks and still carry no traffic. A tool tried in late July handled six requests in four days.
- "Probe symmetry" becomes "probe symmetry and liveness": a probe must show real observations in a stated window.
- The gaps appendix gains this reachability item.
v0.3.8 · 14 June 2026v0.3.9 · 29 July 2026
··· 1 unchanged paragraph folded ···
v0.3.8 · AbstractThis paper carries two arguments. The first is structural: a privacy gate scoped to each push proves that no single push makes history worse, but it does not prove the cumulative history is clean — a diff-based contract is necessary but not sufficient for any contract that must hold over absolute state. A real leak demonstrated this. The fix names the missing axis (privacy dominates functionality) as a design principle and hardens the pre-push gate to scan accumulated drift, not just the push range. The second argument is about abstraction: AI-pair coding lacks a *middle* layer between source code and a single prose mental model, and that gap exists for behavior as much as for documentation. The fork ships an orchestration substrate of *recipes* (on disk: *kits*) — the named, replayable, gated unit between a one-shot prompt (a wish) and a script (brittle code). The same five primitives that make a self-documenting codebase enforce itself make the recipe library enforce itself. Two claims are deliberately held to what the live code supports: the composition algebra has both halves shipped and tested — `uses:` (runtime sub-recipe invocation) and `composes:` (inline step-merge at plan-build time), each depth- and cycle-guarded; and recipe matching is lexical by default with a semantic fallback lane gated default-OFF, not a default-semantic match. A third position is now defensible against the live ecosystem: the recipe's on-disk schema (`kit/1.0`) is a *cross-registry interchange format*, not a fork-local convention — the same header is published by an independent registry (Journey) and parses and runs in our loader, completing the function/module-library analogy across project boundaries. The honest residue is also named: every gate the recipe layer carries is *structural*, and adjacent open-source systems (addyosmani/agent-skills, marketingskills, headroom) carry contracts we do not yet — negative-space anti-triggers, load-context constraints, and runnable behavioral evals — which the paper now positions as related work and queued future work rather than absorbing into an inflated maturity claim.
v0.3.9 · AbstractThis paper carries two arguments. The first is structural: a privacy gate scoped to each push proves that no single push makes history worse, but it does not prove the cumulative history is clean — a diff-based contract is necessary but not sufficient for any contract that must hold over absolute state. A real leak demonstrated this. The fix names the missing axis (privacy dominates functionality) as a design principle and hardens the pre-push gate to scan accumulated drift, not just the push range. The second argument is about abstraction: AI-pair coding lacks a *middle* layer between source code and a single prose mental model, and that gap exists for behavior as much as for documentation. The fork ships an orchestration substrate of *recipes* (on disk: *kits*) — the named, replayable, gated unit between a one-shot prompt (a wish) and a script (brittle code). The same five primitives that make a self-documenting codebase enforce itself make the recipe library enforce itself. Two claims are deliberately held to what the live code supports: the composition algebra has both halves shipped and tested — `uses:` (runtime sub-recipe invocation) and `composes:` (inline step-merge at plan-build time), each depth- and cycle-guarded; and recipe matching is lexical by default with a semantic fallback lane gated default-OFF, not a default-semantic match. A third position is now defensible against the live ecosystem: the recipe's on-disk schema (`kit/1.0`) is a *cross-registry interchange format*, not a fork-local convention — the same header is published by an independent registry (Journey) and parses and runs in our loader, completing the function/module-library analogy across project boundaries. The honest residue is also named: every gate the recipe layer carries is *structural*, while adjacent open-source systems carry negative-space and behavioral-evaluation contracts we do not yet. First-party deployment measurements expose a third missing axis: *in-situ reachability*. A component can be installed, enabled, structurally valid, and behaviorally sound in isolation while carrying no production traffic. The paper therefore adds probe liveness — non-zero observations in a stated window — as a queued complement to probe symmetry.
··· 8 unchanged paragraphs folded ···
v0.3.8 · 1.2 The pattern in one sentence
v0.3.9 · 1.2 The pattern in one sentence{ width=100% }
··· 2 unchanged paragraphs folded ···
v0.3.8 · 1.3 Generalisation beyond PII- Schema-drift contracts: one migration may not violate the invariant; a chain of three may land in a state none of them individually broke. - Performance contracts: one commit may not regress a benchmark by 5%; seven commits each regressing 0.9% land beyond the threshold. - Bundle-size contracts: one dependency add may be small; the accumulated tree exceeds budget.
removed in v0.3.9
not in v0.3.8
v0.3.9 · 1.3 Generalisation beyond PII- Schema-drift contracts: one migration may not violate the invariant; a chain of three may land in a state none of them individually broke. - Performance contracts: one commit may not regress a benchmark by 5%; seven commits each regressing 0.9% land beyond the threshold. - Bundle-size contracts: one dependency add may be small; the accumulated tree exceeds budget. - Budget and estimator-coverage contracts: a gate may inspect only part of the state, so zero can mean either "clean" or "unseen." On one deployment, a 55,632–61,336-character system prompt (about 15,000 tokens) arrived under an unhandled synthetic role and was scored as zero. Another path read a turn-aggregate `usage` field as a context snapshot, producing the opposite error: 6,448,106 reported tokens for a decoded 52,116-token context.
v0.3.8 · 1.3 Generalisation beyond PIIAnywhere a contract reads "the system state must satisfy X," a per-delta gate is necessary but not sufficient. The gate must check the absolute state, not just the delta.
v0.3.9 · 1.3 Generalisation beyond PIIAnywhere a contract reads "the system state must satisfy X," a per-delta gate is necessary but not sufficient. The gate must check the absolute state, not just the delta, and its measurement contract must establish that the observed state is the state it claims to measure.
··· 29 unchanged paragraphs folded ···
v0.3.8 · 7. What the maturity claim can honestly sayThere is a second axis of honesty the maturity claim must respect, and it is sharpened by the live open-source ecosystem. Every gate the recipe layer carries (§9) is *structural*: the `subagents-and-recipes.md` verify blocks assert that exports still exist, that the loader still wires turn-start auto-seed, that the kit files still parse as YAML carrying slug/title/summary. None of it measures whether a recipe, *when it fires*, produces a better outcome than the one-shot prompt it replaces — which is the abstraction's entire reason to exist. So "the recipe library enforces itself" today means *enforces its structure*, not *enforces its value*. Two adjacent systems make this gap concrete by closing it on the value side: **marketingskills** (Corey Haines, `coreyhaines31/marketingskills`, ~33k stars) ships per-skill `evals/evals.json` — realistic prompts paired with assertion lists, runnable under an LLM judge — and **headroom** (Tejas Chopra, `chopratejas/headroom`, ~24.7k stars) ships a reproducible eval suite (`python -m headroom.evals`) that reports a measured accuracy delta (≈0 on GSM8K/TruthfulQA/SQuAD/BFCL) against its compression claims. The honest position: our structural-verify discipline is *stronger* than either system's — neither has a `verify:`-gated governing doc or commit-anchored invariants — but both carry a behavioral-eval surface we do not, and that surface is exactly what would let the "abstractions accumulate" thesis (§9.3) claim *measured retention-of-quality* rather than only measured structural integrity. A per-recipe assertion set, runnable as a judge, is therefore queued as the highest-value next gate, not folded into the present maturity claim. It belongs to the same priority logic as Constraint P: a claim of value, like a claim of privacy, must be backed by a gate that runs, not by prose.
v0.3.9 · 7. What the maturity claim can honestly sayThere is a second axis of honesty the maturity claim must respect, and it is sharpened by the live open-source ecosystem. Every gate the recipe layer carries (§9) is *structural*: the `subagents-and-recipes.md` verify blocks assert that exports still exist, that the loader still wires turn-start auto-seed, and that the kit files still parse as YAML carrying slug/title/summary. None measures whether a recipe, *when it fires*, produces a better outcome than the one-shot prompt it replaces — the abstraction's reason to exist. So "the recipe library enforces itself" means *enforces its structure*, not *enforces its value*. Two adjacent systems close this gap on the value side: **marketingskills** (Corey Haines, `coreyhaines31/marketingskills`, ~33k stars) ships per-skill `evals/evals.json`, with realistic prompts and assertion lists runnable under an LLM judge; **headroom** (Tejas Chopra, `chopratejas/headroom`, ~24.7k stars) ships a reproducible eval suite (`python -m headroom.evals`) reporting a measured accuracy delta (≈0 on GSM8K/TruthfulQA/SQuAD/BFCL). Our structural-verify discipline covers mechanisms they do not, while both carry a behavioral-eval surface we lack. A per-recipe assertion set runnable as a judge is therefore queued as the highest-value next gate.
not in v0.3.8
v0.3.9 · 7. What the maturity claim can honestly sayA third axis is *in-situ reachability*: whether the abstraction actually receives production traffic in a stated window. We deployed headroom on this stack from 25–28 July 2026. It was installed, enabled, running, and referenced by the gateway environment, yet recorded six lifetime requests and zero tokens saved because the live path ran through a CLI subprocess that stripped the environment variable. Its isolated evaluation could still pass; the algorithm was not disproved. The integration was unreachable. The same failure shape appeared independently in cache telemetry: a correct per-call producer targeted an unconfigured backend while the live path fed an aggregate. Structural integrity, behavioral quality in isolation, and in-situ reachability are therefore orthogonal claims.
not in v0.3.8
v0.3.9 · 7. What the maturity claim can honestly sayThe estimator failure in §1.3 supplies the cost of confusing these claims. A turn aggregate read as a context snapshot produced at least a 19.8× over-read; compaction then fired at a median of about 5.5% of the real window, and 29 events in seven days reached a 540-second cap and were discarded despite 19 ms of compaction work. A claim of value, like a claim of privacy, needs a gate that runs; the gate must also read what it claims to measure and prove that the measured component sits on the live path.
··· 7 unchanged paragraphs folded ···
v0.3.8 · 9. The recipe as intermediate abstraction
v0.3.9 · 9. The recipe as intermediate abstraction{ width=100% }
··· 26 unchanged paragraphs folded ···
v0.3.8 · 9.5 The schema's negative space: anti-triggers and load-context contractsThis is exactly the kind of executable-invariant the title concept ("intermediate *abstractions*") says the executable layer deserves, and its absence is a real hole in the §9.6 claim that both layers are gated by the same primitives. A `verify:`-gradeable anti-trigger field and a load-context field would let the matcher *refuse* as deliberately as it *fires*, and would let the governing doc assert that refusal-coverage exists — the same way it asserts that turn-start auto-seed exists. The honest comparison runs both ways: our recipes already carry something addyosmani's do not (runtime composition with depth/cycle guards, and on-the-fly authoring at the point of need), but their schema encodes an applicability/load-context contract ours does not. The next revision's mechanism work, not yet shipped, is to add an anti-trigger axis and a load-context axis to the kit schema and a verify block that asserts their presence — promoting the negative-space contract from prose convention to executable invariant. Until that lands, §9.6's "both layers gated identically" claim is held to "both layers gated identically *on positive structure*; negative-space gating is queued."
v0.3.9 · 9.5 The schema's negative space: anti-triggers and load-context contractsThis is exactly the kind of executable-invariant the title concept ("intermediate *abstractions*") says the executable layer deserves, and its absence is a real hole in the §9.6 claim that both layers are gated by the same primitives. A `verify:`-gradeable anti-trigger field and a load-context field would let the matcher *refuse* as deliberately as it *fires*, and would let the governing doc assert that refusal-coverage exists — the same way it asserts that turn-start auto-seed exists. The honest comparison runs both ways: our recipes already carry something addyosmani's do not (runtime composition with depth/cycle guards, and on-the-fly authoring at the point of need), but their schema encodes an applicability/load-context contract ours does not. The queued mechanism work is to add anti-trigger and load-context axes to the kit schema and a verify block that asserts their presence, promoting the negative-space contract from prose convention to executable invariant. Until that lands, §9.6's "both layers gated identically" claim is held to "both layers gated identically *on positive structure*; negative-space gating is queued."
··· 2 unchanged paragraphs folded ···
v0.3.8 · 9.6 Why the two layers belong together- **Multi-optic atlas / one recipe per task class.** One documentation file answers one question class; one kit answers one task class. The fork carries 38 kits with `schema: "kit/1.0"` (counted live on 2 June 2026), one per task class (debug, revise-paper, security-audit, upstream-merge, …). The library is uncapped by design (§9.2): code-side matching means an unmatched kit costs near-nothing, so the file count is free to grow. The concrete budget payoff is the one marketingskills demonstrates directly — its ~130-token router skill replaces ~915 tokens of always-loaded framework descriptions while keeping all 44 frameworks reachable on demand. That is the measured version of our "inject only the winner" claim: code-side routing converts an O(library-size) prompt cost into an O(1) one. - **Executable invariants.** The documentation atlas's claims have `verify:` blocks; the recipe library's structural claims do too — `subagents-and-recipes.md` asserts via verify that `recipe-matcher.ts` still exports `seedPlanFromPrompt` and still warns on the recipe-gap, that `index.ts` still wires the turn-start auto-seed, and that the kit library holds at least ten `kit.md` files each parsing as YAML carrying slug/title/summary. The behavioral layer is gated as the documentation layer is — on *positive structure*. Two gating axes are explicitly named as not-yet-covered: the negative-space contract (§9.5) and the behavioral-value contract (§7). Both are queued; neither is claimed as present. - **Probe symmetry.** Kit execution emits recipe-state: the `onRecipeState` sink in `recipe-runner.ts` (the option declared at line 84) forwards to `fork.prefrontal.setRecipe` (wired in `recipe-rpcs.ts`), so the running abstraction is inspectable, not opaque — the write surface (running a kit) has its paired read (the RECIPES panel data source). - **Commit-and-timestamp anchors.** The documentation file that governs the recipe library, `subagents-and-recipes.md`, carries `last_verified` / `last_verified_commit`, same as every other documentation file (`last_verified: 2026-06-02`, commit `06f8647fdc`). The `kit.md` files themselves carry a `version:` field rather than a verified-against-commit anchor; the commit-and-timestamp guarantee for the recipe layer lives in the governing doc's verify block, not in each kit.
v0.3.9 · 9.6 Why the two layers belong together- **Multi-optic atlas / one recipe per task class.** One documentation file answers one question class; one kit answers one task class. The fork carries 38 kits with `schema: "kit/1.0"` (counted live on 2 June 2026), one per task class (debug, revise-paper, security-audit, upstream-merge, …). The library is uncapped by design (§9.2): code-side matching means an unmatched kit costs near-nothing, so the file count is free to grow. The concrete budget payoff is the one marketingskills demonstrates directly — its ~130-token router skill replaces ~915 tokens of always-loaded framework descriptions while keeping all 44 frameworks reachable on demand. That is the measured version of our "inject only the winner" claim: code-side routing converts an O(library-size) prompt cost into an O(1) one. - **Executable invariants.** The documentation atlas's claims have `verify:` blocks; the recipe library's structural claims do too — `subagents-and-recipes.md` asserts via verify that `recipe-matcher.ts` still exports `seedPlanFromPrompt` and still warns on the recipe-gap, that `index.ts` still wires the turn-start auto-seed, and that the kit library holds at least ten `kit.md` files each parsing as YAML carrying slug/title/summary. The behavioral layer is gated as the documentation layer is — on *positive structure*. Two gating axes are explicitly named as not-yet-covered: the negative-space contract (§9.5) and the behavioral-value contract (§7). Both are queued; neither is claimed as present. - **Probe symmetry and liveness.** Kit execution emits recipe-state: the `onRecipeState` sink in `recipe-runner.ts` (the option declared at line 84) forwards to `fork.prefrontal.setRecipe` (wired in `recipe-rpcs.ts`), so the running abstraction is inspectable, not opaque — the write surface (running a kit) has its paired read (the RECIPES panel data source). Wiring alone does not prove that the abstraction runs. The measured zero-traffic integration in §7 motivates a verify-gradeable sub-primitive, *probe liveness*: the paired read must record non-zero observations over a stated production window, or explicitly report the no-traffic condition. This liveness gate is queued, not claimed as shipped. - **Commit-and-timestamp anchors.** The documentation file that governs the recipe library, `subagents-and-recipes.md`, carries `last_verified` / `last_verified_commit`, same as every other documentation file (`last_verified: 2026-06-02`, commit `06f8647fdc`). The `kit.md` files themselves carry a `version:` field rather than a verified-against-commit anchor; the commit-and-timestamp guarantee for the recipe layer lives in the governing doc's verify block, not in each kit.
··· 5 unchanged paragraphs folded ···
v0.3.8 · 9.7 Related work: the recipe/kit ecosystemThe consistent shape of the differentiation: we are *ahead* on enforcement (no other system here has a `verify:`-gated governing doc, commit-anchored invariants, or a depth/cycle-guarded composition algebra) and *behind* on two contracts these systems already ship (negative-space applicability, and runnable behavioral evals). Naming both directions is the point — the maturity claim earns its credibility from where it concedes, not only from where it leads.
v0.3.9 · 9.7 Related work: the recipe/kit ecosystemThe consistent shape of the differentiation: we are *ahead* on structural enforcement (no other system here has a `verify:`-gated governing doc, commit-anchored invariants, or a depth/cycle-guarded composition algebra) and *behind* on two contracts these systems already ship (negative-space applicability and runnable behavioral evals). Our deployment adds a third gap shared by the comparison: neither structural checks nor isolated evals prove in-situ reachability. Naming all three directions is the point — the maturity claim earns credibility from where it concedes, not only from where it leads.
··· 5 unchanged paragraphs folded ···
v0.3.8 · 10. ConclusionThe maturity claim is held equally to what it does *not* yet cover. Every recipe-layer gate today is structural; the negative-space contract addyosmani/agent-skills carries (anti-triggers, load constraints) and the behavioral-eval contract marketingskills and headroom carry (runnable assertion sets, measured accuracy delta) are both real gaps, named here as queued future work rather than absorbed into the present claim. The discipline is mature enough to be boring — and boring, here, includes being explicit about which gates have not been built yet.
v0.3.9 · 10. ConclusionThe maturity claim is held equally to what it does *not* yet cover. Every recipe-layer gate today is structural; the negative-space contract addyosmani/agent-skills carries (anti-triggers, load constraints), the behavioral-eval contract marketingskills and headroom carry (runnable assertion sets, measured accuracy delta), and the in-situ reachability contract exposed by our deployment are real gaps. All remain queued future work rather than inflated into the present claim. The discipline is mature enough to be boring — and boring, here, includes being explicit about which gates have not been built yet.
··· 2 unchanged paragraphs folded ···
v0.3.8 · Appendix A — The five primitives plus one constraint1. Multi-optic atlas. 2. Executable invariants. 3. Probe symmetry. 4. Commit-and-timestamp anchors. 5. Manifest-injection round-trips. 6. **Constraint P:** Privacy dominates functionality. Verify commands enforcing privacy contracts run with priority over functional ones. The pre-push gate scans accumulated drift, not just per-delta. The bypass is emergency-only. The same ranking logic governs abstraction provenance (the license-gate on external-kit import) and is the model for the queued value-gate (§7).
v0.3.9 · Appendix A — The five primitives plus one constraint1. Multi-optic atlas. 2. Executable invariants. 3. Probe symmetry, with probe liveness queued: a paired read must eventually demonstrate non-zero observations in a stated production window. 4. Commit-and-timestamp anchors. 5. Manifest-injection round-trips. 6. **Constraint P:** Privacy dominates functionality. Verify commands enforcing privacy contracts run with priority over functional ones. The pre-push gate scans accumulated drift, not just per-delta. The bypass is emergency-only. The same ranking logic governs abstraction provenance (the license-gate on external-kit import) and is the model for the queued value-gate (§7).
··· 6 unchanged paragraphs folded ···
v0.3.8 · Appendix D — Related-work delta (negative-space and behavioral-eval gaps, not yet gated)## Appendix D — Related-work delta (negative-space and behavioral-eval gaps, not yet gated)
removed in v0.3.9
not in v0.3.8
v0.3.9 · Appendix D — Ungated negative-space, behavioral-eval, and reachability contracts## Appendix D — Ungated negative-space, behavioral-eval, and reachability contracts
v0.3.8 · Appendix D — Ungated negative-space, behavioral-eval, and reachability contractsThe following contracts are carried by adjacent open-source systems and are **not** present in our recipe layer as of this revision. They are recorded here as the verified gap behind §7 and §9.5, so a later revision can mark each as shipped when its verify block lands:
v0.3.9 · Appendix D — Ungated negative-space, behavioral-eval, and reachability contractsThe following contracts are **not** present in our recipe layer. The first three are carried by adjacent open-source systems; the fourth is exposed by first-party deployment evidence. They are recorded as the verified gaps behind §7, §9.5, and §9.6; each remains future work until its verify block lands:
v0.3.8 · Appendix D — Ungated negative-space, behavioral-eval, and reachability contracts- **Anti-trigger / "When NOT to use"** — per-skill applicability boundary in addyosmani/agent-skills; absent from our kit schema. Future mechanism: an anti-trigger field the matcher consults before firing, with a `verify:` asserting its presence. - **Load-context / "Loading Constraints"** — per-skill main-vs-subagent load declaration with degraded fallback in addyosmani/agent-skills; absent from our kit schema. Future mechanism: a load-context field plus a verify that asserts coverage. - **Per-recipe behavioral evals** — `evals/evals.json` assertion sets (marketingskills) and a reproducible eval suite reporting measured accuracy delta (headroom, `python -m headroom.evals`); absent from our recipe layer, whose gates are all structural. Future mechanism: a per-recipe assertion set runnable under an LLM judge, gated as the value-counterpart of Constraint P (§7).
v0.3.9 · Appendix D — Ungated negative-space, behavioral-eval, and reachability contracts- **Anti-trigger / "When NOT to use"** — per-skill applicability boundary in addyosmani/agent-skills; absent from our kit schema. Future mechanism: an anti-trigger field the matcher consults before firing, with a `verify:` asserting its presence. - **Load-context / "Loading Constraints"** — per-skill main-vs-subagent load declaration with degraded fallback in addyosmani/agent-skills; absent from our kit schema. Future mechanism: a load-context field plus a verify that asserts coverage. - **Per-recipe behavioral evals** — `evals/evals.json` assertion sets (marketingskills) and a reproducible eval suite reporting measured accuracy delta (headroom, `python -m headroom.evals`); absent from our recipe layer, whose gates are all structural. Future mechanism: a per-recipe assertion set runnable under an LLM judge, gated as the value-counterpart of Constraint P (§7). - **Instrument reachability / in-situ liveness** — absent from our recipe layer; structural wiring and isolated behavioral evals do not establish that a component carries live traffic. Future mechanism: a windowed liveness assertion over the paired probe requiring non-zero observations, with an explicit no-traffic state rather than a silent zero (§7, §9.6).
Changed paragraphs in the same form, for scripts: JSON
· Markdown