J16 · version 1.3
SALIENCE: The Death of Fixed Thresholds, the Pyramid of Significance, and Cheap Traversal as the Basis of Next-Generation Vibe Programming
Oscar Serra, Jarvis
The software that runs an AI agent, its harness, is full of fixed numbers and frozen lists, such as a rule that fires at 70% of a usage quota. Taking as its model the brain's salience network, which decides from moment to moment what deserves attention, the paper argues that such values should be computed from the live situation when they are used; a fixed number stays only as a ceiling, and yes-or-no boundaries such as a security gate stay hard. Two more ideas make this workable: knowledge and code arranged as a pyramid under a small, stable top that nothing below may contradict, and cheap reading, its cost counted in fetches because each one re-sends the whole conversation. An audit found 17 fixed limits in the running system. A planned runtime for starting and combining agent workers joins the three ideas; its derived limits already run, its four building blocks are not built, and no token savings are measured yet.
What you get from this paper
- Why a hardcoded number or a frozen ranking goes stale without raising any error, and which constants should stay hard.
- A four-layer pattern (derive, validate, enforce, catch) that keeps a derived limit safe.
- How to arrange documentation and code as a pyramid of significance, and why it does not predict where an agent's reads go.
- A cost model for an agent's reading counted in round trips, and seven instruments that cut it.
- A status list of what runs and what is still planned, including the token savings not yet measured.
Version 1.3 · 25 November 2026 · 13,263 words · 58 min read · 4 versions
Abstract467 wordsSummaryThe brain's salience network keeps re-computing what deserves attention right now, and the paper makes that its thesis: relevance must be computed from the live situation, not read off a frozen list. It argues three things about building an agent harness, the software that runs an AI agent and its tools. Hardcoded numbers, frozen rankings and round-number caps go stale and should be derived at the moment of use. Knowledge and code should form a pyramid ordered by significance. And cheap traversal, with cost counted in round trips, is the basis of "vibe programming" (steering a model through code by intent), because it leaves the tokens for thinking. A planned orchestration runtime joins the three; its derived limits already run, its four primitives are not built.
show summary
The salience network in the human brain does not fire on a fixed rule. It continuously re-computes, moment to moment, what is relevant right now — which interoceptive signal, which external stimulus, which goal deserves the next unit of attention — and switches the rest of cognition between its default and executive modes accordingly. It is the organ of live relevance. We take that as the design thesis of this paper: relevance must be re-computed from the live situation, not read off a frozen list.
This paper makes three connected arguments about how a capability-first agent harness should be built. First, the death of fixed thresholds and fixed lists. Hardcoded numbers, frozen rankings, and round-number caps are legacy artifacts of the primitive programming era; each one silently encodes a past world-state and goes stale as the world moves, quietly making the system obsolete. The successor is salience — derive every decision from the live situation at the moment of use, and re-evaluate continuously. Second, the pyramid of significance. Knowledge and code are organized as a fractal pyramid ordered by significance: base principles at the apex, then structural optics, then derived rules, then diagrams and flows, then code — each level deriving from the one above and forbidden to contradict it, significance decreasing and detail increasing as you descend. Third, cheap code-traversal as the basis of next-generation vibe programming. A pyramid is only worth building if an agent can traverse it cheaply; the plugins and structures that make navigating code and knowledge cheap — a pre-compressed documentation map, a knowledge graph, deferred-tool loading, paired read surfaces, an intent router, and reversible compression of what is pulled into context — are the real foundation of good vibe programming, because they let the agent spend its tokens on thinking rather than on re-reading the repository. The unit of that cost is the round trip, not the byte: every fetch re-sends the whole context, so the file it brings back is small change next to the fact that it was fetched at all, and most fetches turn out to be repeats.
We then describe the executable embodiment of all three: a native orchestration runtime (agent/parallel/pipeline/phase over an existing subagent and recipe-runner substrate, schema-validated, with concurrency and budget derived from the live situation rather than from fixed caps). We are explicit that this runtime is planned, with its derived-bound substrate now partly live — its concurrency, retry, supervision, and fan-out bounds are computed from the live situation at real call sites today, while the four orchestration primitives themselves remain specified and borrowed. The honesty is the point: a paper that overstates its system is the documentation equivalent of an agent that declares victory before it verifies.
Keywords: salience, fractal design, fixed-threshold anti-pattern, significance pyramid, knowledge graph, cheap traversal, reversible compression, vibe programming, orchestration runtime, reversibility, observability
1. Introduction — Relevance Is Computed, Not Looked Up707 wordsSummaryThe brain's salience network decides from moment to moment what deserves attention and keeps no list of important things; a hardcoded threshold in software is exactly such a list, frozen when it was written. The thesis is to give an agent harness, the software that runs an AI agent, the same property: compute relevance live. Done everywhere, that makes a system hard to reason about, so two more ideas come with it: arrange the live computations in a pyramid under a small, stable top, and make the reading they need cheap, or the system slides back to caching old answers. These are the three pillars. Yes-or-no boundaries such as a security gate stay hard; only quantity limits are derived.
show summary
1.1 The salience analogy, taken seriously338 wordsSummaryThe brain's salience network (mainly the anterior insula and the dorsal anterior cingulate) decides from moment to moment which signal deserves attention, and switches the brain between its inward default mode and its outward executive mode. It keeps no list of important things, since a list would be out of date as soon as the situation changed. A hardcoded threshold in software is such a list, frozen when it was written and still acting on a world that has moved on. The thesis is to give an agent harness, the software that runs an AI agent, the same property: compute relevance live, never look it up from a frozen artifact. This expands a design principle the project had already adopted.
show summary
The brain has an attention problem that no fixed rule can solve. At every instant a flood of signals — a sound, an ache, a half-finished intention, a face in the crowd — competes for a finite pool of processing. The salience network (chiefly the anterior insula and dorsal anterior cingulate) is the arbiter: it integrates interoceptive and external signals and computes, continuously, which of them is salient enough right now to seize control, and it toggles the brain between its inward default mode and its outward executive mode based on that live computation. It does not hold a list of "important things." A list would be obsolete the moment the situation changed — a rule that said "always attend to loud noises" would have you flinch at every door while the actual threat walked in quietly. Relevance is re-derived from the moment, not retrieved from a table.
This is the exact failure mode of software built in the primitive programming era. A hardcoded threshold is a list of "important things" frozen at authoring time. It was right once, for the world the author could see. Then the world moved, and the threshold kept firing on the old world. The salience network never has this problem because it never freezes its answer. The thesis of this paper is to give an agent harness the same property: compute relevance live; never look it up from a frozen artifact.
This is not a new idea. A ratified design principle already states it in one sentence: "Fixed lists, fixed thresholds, and fixed limits are legacy artifacts of the programmatic era; in a fast-moving world they go stale and make us obsolete. Decisions are derived from the actual situation at the moment of use and adapt continuously." This paper expands that principle: it argues why it is right, gives concrete before/after instances, derives the discipline that makes it safe to follow aggressively, and connects it to the two structural ideas — the pyramid and cheap traversal — that make a fractally-reasoned system tractable rather than chaotic.
1.2 Why one principle needs three pillars242 wordsSummaryReplacing every fixed threshold with a live computation makes a system more correct but harder to reason about, because its behaviour now depends on everything: the current model rankings, the remaining budget, the latest prompting practice. Two more ideas keep it manageable. Ordering by significance puts the live computations in a pyramid under a small, stable top that sets the rules the rest inherit. Cheap traversal keeps the reading that live decisions need affordable; if reading is expensive, the system falls back to caching old answers, which is a fixed list again. So the three pillars are one principle plus the two conditions that let it work at scale, and the orchestration runtime of section 5 is where they meet in code.
show summary
A reader could object that "derive decisions from the live situation" is a slogan, not an architecture. The objection is fair, and the three pillars are the answer to it.
If you tear out every fixed threshold and replace it with a live computation (Pillar 1), you have created a system whose behavior is now a function of everything — the live model leaderboard, the real remaining budget, the latest prompting standards, the current recipe library. That is more correct and far harder to reason about. Two things make it tractable. The first is significance ordering (Pillar 2): if the live computations are arranged in a pyramid where each derives from a small, stable apex and never contradicts it, then "everything is live" does not mean "anything goes" — the apex pins the invariants and the churning base inherits them. The second is cheap traversal (Pillar 3): a system whose every decision is computed live must read a great deal at decision time, and if reading is expensive the live-computation discipline collapses back into caching stale answers — which is a fixed list with extra steps. Cheap traversal is what makes live computation affordable enough to actually do.
So the three pillars are not three topics. They are one principle (compute relevance live) plus the two structural preconditions that make it survivable at scale: order it by significance; make traversal cheap. The orchestration runtime in Section 5 is where all three meet in running code.
1.3 What this paper is not127 wordsSummaryThe paper cites the recipe execution system and the theory of intermediate abstractions without rebuilding them. Nor does it ask for every constant to go: a yes-or-no boundary on what may be done, such as a security gate or a tool whitelist, stays hard, and only quantity limits such as "at most N" or "after T seconds" must be derived from the live situation.
show summary
This paper is not a re-derivation of the recipe execution substrate, nor of the theory of intermediate abstractions; it cites both and summarizes the borrowed ideas where they are used. It is also not a license to remove every constant in the codebase. The discipline is now a ratified design law with a precise typology (Section 2.4): a categorical capability or permission boundary — a principal may or may not do X, an API-required field, a security gate, a tool whitelist — stays hard; only a quantity threshold — at most N, after T seconds, up to D deep — must be made soft and derived. The line is not "no numbers"; it is "no quantity bound that encodes a past judgment about a moving world as its working value."
2. Pillar 1 — The Death of Fixed Thresholds and Fixed Lists3,359 wordsSummaryFixed thresholds, frozen lists and round-number caps record a judgment about the world when they were written and keep enforcing it after the world moves, with no error to warn anyone, and models, prices and prompting practice change too often for tuning to help. Five project cases show the replacement, among them a gate at 70% of a usage quota and a static model ranking, both still in use. The rule is now design principle #19: yes-or-no boundaries stay hard, quantities are derived, a fixed number survives only as a ceiling, and four layers (derive, validate, enforce, catch) keep it safe. An audit found 17 instances in the running system; instruction budgets get the same treatment.
What happens to a constant under design principle #19. Drawn for this summary; not part of the paper.
show summary
2.1 The anti-pattern, named174 wordsSummaryA fixed threshold is a hardcoded number that gates a decision, a fixed list is a frozen ranking or allow-list, and a fixed limit is a round-number cap on a resource. All three record a judgment about the world at the time of writing and keep enforcing it after the world changes. Unlike a bug, the result looks plausible and never raises an error: a 70% usage cap set when a quota reset weekly and the work was light stays at 70% after the quota doubled and the workload tripled.
show summary
A fixed threshold is a hardcoded number that gates a decision. A fixed list is a frozen enumeration that a decision indexes into — a ranking, a leaderboard, an allow-list of "the good options." A fixed limit is a round-number cap on a resource. They are the same anti-pattern wearing three hats:
A fixed artifact encodes, at authoring time, a judgment about a world-state. The world-state then changes, and the artifact keeps enforcing the old judgment. The system does not break loudly; it drifts silently into obsolescence, because the artifact still runs — it just runs against a world that no longer exists.
This is worse than a bug, because a bug announces itself. A stale threshold produces plausible-looking output forever. The 70% cap that was the right burn limit when a quota reset weekly and the work was light is still 70% after the quota doubled and the workload tripled — and nobody notices, because the system never errors. It just leaves capability on the table, or spends past the real limit, on every decision, quietly.
2.2 Why this is structural, not a code-quality nit195 wordsSummaryTuning a magic number later only swaps one frozen judgment for a newer one that will also go stale. The number is fixed while the thing it describes keeps moving: the available models change monthly, pricing and quota terms change (usage metering and two model-ID retirements fall on one near-term date), and prompting practice changes with each model generation. The salience network shows that the alternative works. Its cost is a small live computation in place of a constant, which the paper argues is low.
show summary
The reflex defense of a magic number is "it's just a constant, we'll tune it later." But "later" rarely comes, and even if it did, tuning replaces one frozen judgment with a newer frozen judgment that will itself go stale. The problem is not that the number is wrong; it is that the number is fixed in a domain that moves. The set of available models changes monthly. Pricing and quota terms change — programmatic-usage metering and two model-ID retirements both land on a single near-term date, so a hardcoded model ID or a hardcoded rate is a time bomb with a known fuse. Prompting best-practice changes with every model generation. Against a moving domain, a fixed artifact is not a value that needs tuning; it is a category error — it represents a dynamic quantity with a static one.
The salience network is the existence proof that the alternative is viable: a control system can re-derive its gating decisions continuously rather than store them. The cost is that the decision becomes a small live computation instead of a constant lookup. Section 2.4 argues that this cost is low, and Pillar 3 makes it lower still.
2.3 Before / after, from this project777 wordsSummaryFive cases from the project. (a) The preferred model comes from a static rank field in the configuration; its successor, a self-refreshing ranking by current capability, price and availability, is not yet shipped. (b) The main flat-rate account is used only while under 70% of its seven-day quota is spent; the successor weighs the real remaining allowance, the time to the next reset and the value of the work. (c) Prompts follow the latest model standards, which is already the practice. (d) Recipes, the agent's playbooks, change freely, with never-delete archives, rollback, kill switches and monitoring in place of a review gate. (e) A new skill is kept only if its success rate beats the library's current mean plus one standard deviation.
show summary
Abstract arguments about freshness are cheap. Here are concrete instances in the harness — each a real fixed artifact, each with the salience-style replacement the principle mandates. The first five are named at the level of the principle; the next subsection (§2.4) reports the ratified design law that generalizes them and the first family of derived bounds that now run at real call sites.
(a) Model choice — from a hardcoded rank to a live sense. The auth-routing layer's current source of truth for which model to prefer is a static field, agents.defaults.models[<provider/model>].rank in the harness config (the field is live there today — rank: 2, rank: 3, and so on). That is a frozen leaderboard. The day a better or cheaper model ships, the rank is wrong, and it stays wrong until a human hand-edits the config. The salience replacement is a live sense of what is best — a periodically self-refreshing signal that ranks available models by current capability, price, and availability, so model choice is read from the world's present state. The ratified principle states the target directly: "model choice comes from a live, self-refreshing sense of what's best — never a hardcoded ranking." The rank field is the legacy artifact; the live sense is the named successor, not yet shipped.
(b) Budget — from a fixed 70% to a reasoned allowance. The failover logic currently gates the flat-rate primary on <70% of the seven-day quota burned (the literal <70% is in the auth-routing optic today). Seventy percent is a round number encoding a guess about how much headroom is "safe," made once, against one assumption about workload and reset cadence. The salience replacement reasons against the actual remaining allowance, the actual time to the next reset, and the value of the work in front of it: with a comfortable surplus and a reset imminent, spending the surplus down is welcome; with a thin allowance early in the window, the same nominal percentage should hold back. The budget doctrine says exactly this: "the cap is reasoned fractally — actual remaining allowance, time to reset, value of the work — never a fixed threshold." The 70% is the artifact; the fractal computation is the successor.
(c) Prompting — from a pinned model version to latest-model standards. A prompt written to one model generation's quirks is a fixed list of "things this model likes." The next generation moves the target and the pinned prompt underperforms silently. The salience replacement follows the latest model standards — system-prompt structure, tool-use conventions, thinking-budget idioms — tracking the current generation rather than the one the prompt was born against. The principle: "Prompts follow the latest model standards … never pinned to one model version." This one is live as posture: no single pinned-version artifact owns the prompt.
(d) Recipes — from gated change to free evolution with reversibility as the net. The most aggressive instance, and the one that most tests the principle. A conservative system would gate every change to its own behavioral library behind review. This harness does the opposite: recipes evolve continuously and autonomously, and the safety is not a gate but reversibility — never-delete archives, rollback, kill-switches — plus observability. The autonomy doctrine makes the trade explicit: reversibility is what earns aggressive autonomy, and recipes are required to "evolve continuously and autonomously — made safe by reversibility and observability, not by constraints on change." A fixed gate is itself a frozen judgment ("this class of change is always dangerous"); replacing it with reversibility lets the system be as adaptive as the situation allows while keeping every change undoable. This is the death-of-fixed-artifacts move applied to governance: the gate is the fixed artifact; reversibility-plus-observability is the live successor.
(e) Promotion bars — from a frozen N to a live margin. A library that learns new skills needs a rule for which candidates it keeps. The frozen form is a fixed success rate, or a fixed lead over the runner-up, chosen once. The salience form admits a candidate only when its measured success rate clears the mean plus one standard deviation of the library's current success rates, recomputed at the moment of the deposit, with an empty library admitting everything. The same live margin decides when a match is too weak to trust: the top score has to stand out from the field's distribution, not clear a fixed number. As the library improves, the bar rises with it, and the decision shows the distribution it was measured against.
The pattern across all five: a constant or a frozen list is replaced by a small computation over the live situation, and the safety the constant used to provide is re-provided by reversibility and observability rather than by the constant's rigidity.
2.4 The discipline — a ratified design law, not a case-by-case test1,136 wordsSummaryThe principle is now the project's design principle #19. Yes-or-no boundaries on what may be done stay hard, and every quantity limit is derived from the live situation, with a fixed number allowed only as a ceiling that warns as it nears and saves partial work when reached. Four layers keep a derived bound safe: derive it, validate the request where it enters, enforce it while it runs, and catch the limit with partial results. Each computed bound logs its value, ceiling and inputs so ceilings can be checked against outcomes, and expiring caches and local arithmetic keep the computation cheap. Budgets are soft signals: code running as one trusted principal gains only friction from a quantity gate, and undo and monitoring catch the mistakes.
show summary
PartThe law: hard categories, derived quantities313 wordsSummaryThe principle is now a written rule of the project, design principle #19, "Derive bounds from the live situation; a hard quantity threshold is a bug", with one owner and a one-line corollary in the top-level constitution. It sorts constants into two kinds. A yes-or-no boundary on what may be done (a security gate, a field an API requires, a tool whitelist) stays hard, while a quantity such as a timeout, a retry count, a loop cap or a concurrency limit is derived from the live situation; a fixed number may survive only as a safety ceiling above that value, and nearing it raises a warning while reaching it saves the partial work and carries on.
show summary
The principle is not a discipline each author applies by hand. It is a single-owner, executable governance artifact: design-principle #19, "Derive bounds from the live situation; a hard quantity threshold is a bug," with a one-line corollary at the apex constitution. This is Pillar 1 and Pillar 2 meeting in one act — the principle the paper expands now lives at the apex with a single owner, and every optic's local "don't regress on this magic number" note points back to it. The discipline below is the law's content; the law is what makes it enforceable rather than aspirational.
The categorical-vs-quantity typology. The crisp successor to "no number that encodes a past judgment about a moving world" is a typology, not a test the reader must re-derive each time. A categorical capability or permission boundary stays HARD: a principal may or may not do X; an API-required field; the PII split; a security gate; a tool whitelist. A quantity threshold must be SOFT and DERIVED: at most N, after T seconds, up to D deep, fan out to W. Timeouts, retry counts, loop caps, recursion depth, concurrency, and cache or result sizes are all quantity thresholds — the §2.3 model/budget/prompting cases are now special cases of one law that covers the full taxonomy of bounds.
Ceiling, not working value — the cliff becomes a ladder. The law sharpens "kill the fixed cap" into a more precise truth: a frozen number is at most a safety ceiling, never the working value. The runtime value is derived from the live situation and capped by the ceiling; as it approaches, the system emits adaptive pressure — a trail or warn event — rather than hitting a cliff, and on exhaustion it degrades gracefully (persist the partial, warn, continue) rather than hard-aborting in-flight work. Cliff-to-ladder is the operative refinement: the bound still exists, but it stops being a guillotine.
PartFour layers that keep a bound safe233 wordsSummaryDeriving the bound is only the first of four layers. The request is then validated where it enters (a negative or non-integer budget is refused), enforced while it runs (a watchdog stops a spawned worker that reaches its token or tool-call cap), and caught when the limit is hit (a fan-out returns partial results and drops the exhausted branch so the next stage is not spoiled). Together these answer the objection that a soft bound is no bound: it is enforced and survivable without being frozen.
show summary
The derive → validate → enforce → catch chain. "Derive the bound" is only one of four cooperating layers, and the safety the old fixed cap used to provide is re-provided by the other three — the §2.3 thesis ("safety re-provided by reversibility and observability, not by the constant's rigidity") instantiated as a concrete, reusable pattern:
- Derive the working bound from the live situation — a pure function whose output responds to live inputs (fitness, remaining budget, gap-to-done), never collapsible to a literal without re-introducing the frozen MAX the paper condemns.
- Validate at the trust boundary — reject a malformed budget (non-integer, negative) as an invalid request, and normalize the tool whitelist; a categorical gate guarding the quantity path, the two #19 kinds side by side.
- Enforce at runtime — an attempt-loop watchdog trips when a spawn meets either its token or its tool-call cap and stamps a
budget-exhaustedreason; the whitelist is enforced by filtering the tool set, so the derived budget is real, not advisory. - Catch the limit gracefully — fan-out returns catchable partials, a budget hit surfaces as a classified non-recoverable error, and null-isolation drops the exhausted leg rather than poisoning the next stage — "degrade, don't hard-abort" realized in the fan-out type itself.
This chain answers the conservative engineer's objection — "a soft bound is no bound" — by showing the bound is enforced (layer 3) and survivable (layer 4) without being frozen (layer 1).
PartKeeping derived bounds visible, cheap, trusted590 wordsSummaryEach computed bound writes one row (the value, the ceiling, whether the ceiling decided, the inputs it read), so one can check how often a ceiling fires and whether runs finish less often when it does. A number that has to stay fixed, such as a profiler allowed one thirty-second window an hour, is written down with its reasoning, and a failed retry is logged where a person will see it. The live computation stays cheap through caches that expire, local arithmetic and shared context, and budgets are treated as soft signals with no hard stops: code running as one trusted principal gains only friction from a quantity gate, so mistakes are caught by the ability to undo (archives that never delete, kill switches, rollback) and by watching.
show summary
Every evaluation leaves a row. A derived bound that nobody can inspect is a frozen number with extra steps: its value changes, but no one can say whether it changed well. So each time a bound is computed, it writes one row with four fields: the derived value, the ceiling it was clamped by, a flag set when the ceiling rather than the derivation decided the answer, and the live inputs the derivation read. Those rows turn each bound into a measured series. Two questions become answerable from them alone: how often the ceiling fires, and whether work finishes less often after it fires. The second question needs a join from each bound row to the outcome of the run that used it, and that join is the test that decides whether a ceiling is set too low. A ceiling that never fires is still worth its row; it proves the derivation is doing the work.
A ceiling carries its derivation, and a failure is loud. Some bounds are cost ceilings by nature, such as a sampling profiler that may run one thirty-second window an hour and keep the top twenty allocation sites. The rule does not forbid those numbers. It asks that each one be written down with the reasoning that produced it, next to the code, and that the instrument record its own stop time so a reader can tell a quiet system from a stopped probe. The same rule covers retries. A notifier that fails and retries in silence on a fixed fifteen-minute clock hides two facts: that it failed, and that the clock was a guess. The salience form records the failure where a person will see it and backs off, with the first wait and the cap derived and written beside it.
How to keep it cheap. A live computation on every decision is only viable if it is cheap. Three techniques: (i) cache with a freshness bound — a self-refreshing model sense recomputes on an interval, not on every call, so the hot path reads a recent cached value; the freshness bound is the antidote to "caching = stale list," because the cache expires. (ii) compute locally — budget headroom and effort tier are token arithmetic over data already in hand, no model call. (iii) reuse context — when a live decision genuinely needs a model call, share the turn's context so that, under context-caching pricing, the marginal call costs a fraction of a fresh one.
The trust model behind the aggression. The reason a conservative engineer reaches for a fixed cap is fear that a live, self-modifying decision could go wrong. The law's closing clause states the answer as a stance, not a hope: budgets are soft signals, not hard cliffs; there are no stoppers; reflex safety-hooks are rejected. The justification is the trust model — code that runs as a single trusted principal in its own gateway gains no safety from a quantity gate, only friction. Where §2.3(d) argues reversibility-not-a-gate for recipe evolution, the law generalizes it to all quantity bounds: the working value is derived, the agent is trusted to run up to the ceiling, and adaptive pressure (never a stopper) is what it feels as it approaches. Reversibility — never-delete archives, kill-switches, rollback — converts "this might be dangerous" from a reason to forbid into a reason to watch, and observability is what lets a human or the agent's own reflection layer catch a live computation drifting before reversibility has to clean up after it. Reversibility is the net; observability is seeing the fall coming.
2.5 The anti-pattern is a population-level property — a whole-system audit223 wordsSummaryAn audit of the running system against design principle #19 found 17 real instances of the anti-pattern, each with its location, severity and a formula for a derived replacement. They include a 120-second idle kill that ended a legitimate tool-heavy turn, a loop cap of 25 that can cut off a recipe close to finishing, a depth limit of 3, a five-minute guardian that kills work in progress, retry counts that ignore the provider's Retry-After, and a 90-second timeout that would cut off a thirty-minute transcription. The audit also names the constants it kept hard on purpose, such as the personal-data check and parameters an API requires, which shows the rule sorts constants and does not delete them all.
show summary
The claim that hardcoded thresholds drift a system silently into obsolescence (§2.1) is no longer asserted from four hand-picked cases. A systematic audit of the live harness against design-principle #19 catalogued 17 prioritized real instances of the exact anti-pattern — each with file and location, the principle violated, a severity, and the derived-replacement formula. The roll-call is instructive: a 120s idle kill that terminated a legitimate tool-heavy turn (the bible itself called it "mask the symptom"); a HARD_LOOP_MAX=25 that can amputate a near-converged recipe; a MAX_USES_DEPTH=3; a five-minute guardian that kills in-flight work; frozen maxConcurrent/maxChildrenPerAgent; retry counts that ignore the provider's Retry-After; a whisper timeoutSeconds=90 that would guillotine a thirty-minute transcription. This is "it drifts silently" turned into a measured backlog with a uniform fix shape (ceiling-not-working-value + derivation formula + adaptive pressure).
Equally important for the paper's honesty discipline, the audit also lists the constants it deliberately left hard — the PII grep gate, the browser direct-CDP guard, architect-only paths, API-required params. That is the categorical-boundary side of #19's typology, demonstrated rather than merely asserted: the law does not delete every constant; it sorts each into "quantity → derive" or "category → keep," and proves it did so on real code. Seventeen cliffs, one fix-shape, with the categorical exceptions named: Pillar 1 is a population-level property of the codebase, not a rhetorical device.
2.6 Instruction budgets — derived capacity, tiered meaning854 wordsSummaryThe standing instructions an agent loads each session are cut to a character budget, a quantity limit like any other; a bigger context window raises what fits, not what a model reliably follows. In one case a per-file cap cut the agent's own policy file mid-procedure while about a third of the total budget sat unused. The fix: inject every file whole when the total fits; derive the budget from the live model and a measured curve of how well it follows instructions; rank rules in tiers, with security rules never evicted and a loud failure if they cannot fit; and keep each rule in one place, compiled into a digest, a check and a test. Five tests decide when it works.
show summary
The standing instructions an agent loads at the start of every session (its operating policy, its memory index, its notes on tools) are cut to fit a character budget. That budget is a quantity threshold, so the law above applies. It also exposes a qualification the law needs: a larger context window raises what can fit, not what a model can reliably follow. The successor to a frozen character cap is therefore not "a fixed percentage of the window". It is a two-sided control: derive the available capacity from the live model and cost situation, then protect a measured floor of meaning inside it.
The failure the frozen cap produces is worse than waste. A per-file cap cut a policy file of the agent's own operating rules at a fixed character offset while the total budget for all files stood about a third empty. A generic head-and-tail slicer kept the first three quarters and the last quarter, and the seam fell in the middle of a debugging procedure: the head stopped inside one step and the tail resumed mid-sentence in the next. Nothing about that request needed a cut. The number corrupted the policy to satisfy itself. The history of the number makes the same point. In one open-source agent harness, the default per-file and total caps moved four times in four months, between twelve and twenty thousand characters per file and between twenty-four and a hundred and fifty thousand in total, and none of the changes came with an adherence benchmark or named the model it was sized for. Meanwhile two maintenance prompts enforced a third, unrelated ruler for the same quantity. Runtime, documentation and housekeeping were each regulating one number with their own guess.
The correction has four parts.
- Allocate in two passes, never clip file by file. Measure every candidate file first. If the raw total fits the derived total budget, inject every file whole. A per-file target may reserve fairness when files actually contend for space; it may never discard part of one file while global capacity sits idle. Under contention, allocate by declared priority in whole sections, never by character offset.
- Derive the working budget from the live model profile. The inputs are the context window the runtime resolves, the reserve the reply and any compaction need, the cache and rate-limit economics, and an instruction-adherence curve measured per model. The window is only the physical ceiling. The quality budget is the largest instruction prefix that still passes the critical-rule eval. A frozen number may survive as an emergency ceiling, never as the working value.
- Give policy tiers of meaning. Tier 0 is categorical permission and security policy, and nothing evicts it. Tier 1 is operating policy that holds across tasks. Tier 2 is reference detail, fetched on demand. Under pressure, the loader emits a generated digest of complete tier-0 and tier-1 rules plus exact pointers to the rest. If a tier-0 rule cannot fit, the load fails loudly; a policy cut mid-rule is not a usable policy, and pretending otherwise is the silent failure this paper argues against.
- Make redundancy orthogonal, not copied. Each critical rule has one canonical prose owner, a generated compact form for injection, executable enforcement wherever the rule can be checked by code, and a probe that confirms the forms agree. This keeps one owner per fact: authorship stays single while the failure planes multiply. Pasting the paragraph into a second file is drift. Compiling it into a digest, a gate and a test is fault tolerance.
Redundancy of this kind allows softness in the delivery path, never in the rule. If one slice of the prompt goes missing, the executable gate still holds and the probe reports the damaged injection; if the code drifts, the canonical rule and the probe name the contradiction. A mirrored disk does not make the data less exact. It only stops one missing sector from becoming a crisis.
The successor counts as working when five tests pass. With the raw instructions below the derived total, the injected text equals the raw text, and no file is cut for fairness alone. Every tier-0 rule survives on every supported model, and no cut falls inside a line, a paragraph or a declared rule. A model-by-model eval answers every categorical-policy case correctly and stays within a declared tolerance of the full-context baseline on tier-1 behaviour, with the prefix size and model version stored beside the result. Prefix tokens, cache-hit rate, first-turn latency and compaction headroom are reported next to adherence, so a larger window is not counted as a win when behaviour or cost gets worse. And every consumer of the number (the loader, the health check, the maintenance jobs) reads the same effective-budget report; no prompt keeps a hand-written ruler of its own.
What would change this design: a controlled eval showing that the full instruction set measurably lowers adherence or cost efficiency would lower the derived quality budget. It would not justify a return to blind character slicing. Evidence can move the working value. Only a protocol or security boundary makes the quantity itself categorically hard.
3. Pillar 2 — The Pyramid of Significance1,252 wordsSummaryKnowledge and code form a five-level pyramid: base principles at the top, then topic files of structural facts (optics), derived rules, diagrams and flows, and code at the bottom, with significance falling and detail growing on the way down. Each level derives from the one above and may not contradict it, so a contradiction is a defect, the top is read first, and each fact lives in one file. The project's 3,085-line design document became about 1,500 lines of narrative plus a top file of about 180 lines, and one command checks the pyramid before every merge. It does not predict where reads go: a few dozen files that belong to no topic take most of them.
show summary
3.1 The shape257 wordsSummaryKnowledge and code are arranged in five levels: base principles at the top, then structural facts grouped by topic (the paper calls each topic file an optic), then rules derived inside each topic, then diagrams and flows, then the code itself. Going down, significance falls and detail grows: the top is a few hundred lines that rarely change, the bottom is the whole codebase, changing with every commit. Each topic file repeats the same shape on a small scale, which is why the paper calls the pyramid fractal.
show summary
Knowledge and code are organized as a fractal pyramid ordered by significance. The five levels, apex to base:
\begin{figure}[H]
\centering
\includegraphics[width=\linewidth,height=0.85\textheight,keepaspectratio]{images/pyramid.pdf}
\caption{The pyramid of significance: five levels from a small stable apex of base principles down to a wide churning base of code, with significance decreasing and detail increasing as you descend; each level derives from the one above and may not contradict it.}
\end{figure}- L1 — base principles (the "why"): the apex, small and stable.
- L2 — optics (topology, probes, flows, …): structural facts, single owner per fact.
- L3 — derived principles and don't-regress rules within each optic.
- L4 — diagrams, flows, lifecycles: the concrete shapes.
- L5 — code: cites the level above; the level above cites it (the base: wide and churning).
Two gradients run down the pyramid in opposite directions. Significance decreases as you descend: the apex holds lasting intent ("be as useful as possible; think fractally"), the base holds the most ephemeral detail (a specific function's implementation). Detail increases as you descend: the apex is a few hundred lines, the base is the entire codebase. The apex is small and stable precisely because it is significant — a principle that changed weekly would not be a principle. The base is wide and churning precisely because it is detailed — code changes every commit. This is the same shape at every zoom level: a single optic is itself a small stable header over wide churning facts. That self-similarity is why it is fractal rather than merely layered.
3.2 The governance — derivation and non-contradiction326 wordsSummaryThe pyramid has one hard rule: each level derives from the one above and must not contradict it, and the top file says it outranks every topic file. Three things follow. A contradiction is a defect to be repaired, not a choice; the top is read first and trusted most; and each fact lives in exactly one file, so it cannot disagree with a copy of itself. The fixed-thresholds principle of Pillar 1 was itself adopted this way, as design principle #19 with a single owner, which the paper takes as proof that the pyramid works as governance.
show summary
The pyramid is not just a filing scheme; it is a governance structure with one hard rule: each level derives from the one above and must not contradict it. The apex states this as authority: it "OUTRANKS every bible optic. When an optic's detail contradicts this file, THIS file wins and the contradiction is flagged for repair — never silently followed." The index that routes to it makes the metaphor explicit: the index is the map; the apex is the constitution.
Three consequences follow, and they are what make the pyramid more than decoration:
- A contradiction is a bug, not a choice. When an optic's detail disagrees with the apex, you do not pick which to follow. The apex wins, the optic is wrong, and the discrepancy is filed for repair. This converts "documentation drift" from a vague malaise into a typed defect with a defined resolution.
- The apex is read first and trusted most. The index's step zero is "read the apex first." An agent orienting in the system reads the small stable apex before any wide detail, so it inherits the invariants before it touches anything that might have drifted from them.
- Single owner per fact. Each structural fact lives in exactly one optic. The apex holds only lasting intent and explicitly pushes detail down: "Detail lives in the optics (single owner per fact); this file holds only the enduring intent." Single-ownership is what prevents contradictions from multiplying — a fact stated in two places is a fact that will eventually disagree with itself.
The clearest recent proof that this governance is live is Pillar 1 itself: the death-of-fixed-thresholds principle was ratified as design-principle #19 with a single owner and an apex corollary (§2.4). A methodology claim from this very paper became a governed, single-owner law in the pyramid it describes — the pyramid eating its own argument is the strongest demonstration that it is a governance structure and not a filing cabinet.
3.3 Why significance-ordering beats flat documentation303 wordsSummaryA pile of equally weighted documents fails an agent in three ways: it has no reading order, no rule for which file wins a disagreement, and it decays everywhere at once. The pyramid gives a reading order (the top first, then the one file that owns the question), settles conflicts by rank, and keeps the small top correct while the detailed base is expected to change. The project's own design document is the example: a single file of 3,085 lines became about 1,500 lines of narrative, with structural facts moved to one file per topic and the base principles taken out into a top file of about 180 lines.
show summary
Flat documentation — a pile of equally-weighted files, or one enormous file — fails an agent in three ways the pyramid fixes.
It has no read order. Faced with two dozen equal files, an agent either reads all of them (expensive, and Pillar 3 calls that the cardinal sin) or guesses. The pyramid gives a canonical read order: apex first for invariants, then the one optic that owns the question at hand. The index maps a question class to its owning optic, so the agent loads only what answers its current question and skips the rest.
It has no conflict-resolution rule. In flat docs, when file A and file B disagree, there is no principled winner — you get a debate or a coin flip. The pyramid's strict derivation gives a total order: whichever is higher wins, full stop. Conflicts become resolvable by rank instead of by argument.
It rots uniformly. Flat docs rot everywhere at once because everything matters equally and is equally neglected. The pyramid concentrates stability where it matters: the apex is small enough to keep correct and is the most-read file, so it stays true; the churning base is expected to change and is regenerated from the level above. Rot is pushed down to where it is cheap to fix and away from where it would be catastrophic.
The slimming of this project's own design bible is the worked example: a 3,085-line monolith was reduced to roughly 1,500 lines of pure narrative, with structural facts redistributed to per-optic files under single-ownership and the base principles extracted into a roughly 180-line apex. The monolith was flat documentation; the result is a pyramid. The reduction was not deletion — it was significance-sorting: lasting intent rose to the apex, structural facts settled into their owning optics, and the narrative kept only what is narrative.
3.4 The pyramid as live infrastructure129 wordsSummaryThe pyramid exists in the project. The top file is ratified and marked as outranking the rest, an index routes questions to topic files such as topology.md, probes.md and flows.md, and many of those files carry executable checks that one command, bible:invariants, runs before every merge, so a contradiction shows up as a failed check.
show summary
This is not aspirational. The apex file exists, is marked as outranking every optic, and is ratified with architect sign-off. The index names it the constitution and orders the read. The optics are real files — topology.md, probes.md, flows.md, lifecycles.md, config-shape.md, failures.md, design-principles.md, and the rest — each owning one fact class. Many carry an executable verify: block in their frontmatter, and a single command (bible:invariants, a real script in the project's package manifest) runs them all as the merge gate. That is how the derives-from-and-does-not-contradict rule is mechanically enforced rather than merely asserted: an executable invariant turns a contradiction into a failed check, not a judgment call. The pyramid is working infrastructure with a constitution, a map, single-owner facts, and a gate.
3.5 Authority order is not traversal order237 wordsSummaryThe pyramid says which statement wins and what to read first, but it does not predict where an agent spends its reads. In one long-running deployment, for every type of work but one, most reads landed on files that four or more other types also read: a few dozen files such as the workspace root, the main configuration file, the job list, the agent's standing instructions, the memory index and the bug log. These files belong to no topic, so a finer topic structure would not help; they need traversal aids of their own, such as an address map and a size limit.
show summary
The pyramid answers two questions well: which statement wins a conflict, and what to read first to inherit the invariants. It does not predict where an agent spends its reads, and it is easy to assume that it does.
The test is simple to run on any deployment's transcripts. Type each session by the work it did (development, scheduled jobs, memory upkeep, configuration, papers), then ask, for each type, what share of its reads lands on files that four or more other types also read. In one long-running deployment the answer was a majority for every type but one. A few dozen files carried it: the workspace root, the main configuration file, the job list, the agent's standing instructions, the memory index, the bug log. None of them belongs to a topic. They are a spine that runs across the pyramid, not a level inside it.
Two consequences follow. A finer topic taxonomy, the natural response to a retrieval problem, improves the part of the corpus that is not the bottleneck. And the files on the spine deserve traversal investment out of proportion to their place in the authority order: an address map, a pointer to what is deliberately absent, a size bound (Section 4.2). The pyramid is the right shape for authority and derivation. It is the wrong shape for predicting traversal cost. Both orderings sit over the same corpus, and a design needs both.
4. Pillar 3 — Cheap Code-Traversal as the Basis of Next-Generation Vibe Programming3,546 wordsSummaryVibe programming, steering a model through code by intent, depends on how many tokens the agent spends understanding the system, so the paper calls cheap traversal its foundation. The cost has two halves: reaching the right knowledge, and carrying pulled-in material on every later turn. Each tool call re-sends the whole conversation, so the number of fetches matters more than their size, and in one deployment over half of all reads were repeats. The project has seven instruments, from a pre-compressed documentation map and a knowledge graph to a recipe matcher and indexes inside frequently read files; one of them, compression that keeps originals recoverable, targets carrying. An outside project, headroom, reports 60–95% savings; this paper has measured none of its own.
show summary
4.1 The claim767 wordsSummaryVibe programming, steering a model through a codebase by intent, depends on how many tokens the agent spends understanding the system before it changes it, so the paper calls cheap traversal its foundation and an investment on a par with features. The cost splits into reach cost (getting to the right file, fact, tool or value) and carry cost (what pulled-in material costs on every later turn). Every tool call re-sends the whole conversation, so most of a fetch's cost is the fact that it happened: with a 150,000-token prefix, a 1 KB file is 2% of the call. The target is therefore the number of fetches, and in one deployment over half of all reads were repeats.
show summary
PartWhy traversal cost decides everything306 wordsSummarySteering a model through a codebase by intent, "vibe programming", depends on how many tokens the agent spends understanding the system before it can change it. The paper's claim is that the foundation is cheap traversal, the tools and structures that let the agent find its way for a fraction of the tokens, and that this deserves the same investment as features. The cost has two halves: reach cost, spent getting to the right file, fact, tool or value, and carry cost, what pulled-in material keeps costing on every later turn it stays in context.
show summary
"Vibe programming" — steering a capable model through a codebase by intent rather than by writing every line — lives or dies on one quantity: how many tokens the agent spends understanding the system before it can change it. Every token spent re-reading a file to recall what it does is a token not spent thinking about the change. The naive agent re-reads the repository on every task, paying the full comprehension cost again and again, and its effective intelligence is whatever is left of its context budget after that tax. The claim of this pillar is blunt:
The real foundation of good vibe programming is not a smarter model. It is cheap traversal — the plugins and structures that let an agent navigate code and knowledge for a fraction of the tokens, so the budget goes to thinking rather than to re-reading.
Cheap traversal is therefore a first-class engineering investment, on par with the features it serves — not a nicety to add later. A team that builds traversal infrastructure makes every future agent-task cheaper and smarter; a team that skips it pays the comprehension tax forever, on every turn, in the currency that most constrains the agent.
The comprehension tax has two halves, and it is worth naming them before the instruments, because the instruments split cleanly across them. The first is reach cost — the tokens spent getting to the right knowledge or state: finding the file, the fact, the tool, the runtime value. The second is carry cost — the tokens that the bytes you pulled keep costing on every subsequent turn they remain in the window: a tool output, a file dump, a JSON blob, a diff. A complete traversal investment attacks both. Most of this project's instruments attack reach; the sixth, added below, attacks carry, and an external system occupies that ground as direct prior art.
PartCount fetches, not bytes461 wordsSummaryEvery tool call re-sends the whole conversation, billed under prompt caching at a tenth of the base input price. With a 150,000-token prefix that is about 15,000 token-equivalents per fetch before the payload: a 1 KB file is 2% of the call, a 10 KB file 17%, and two small reads cost almost exactly twice one read of twice the size. So the thing to cut is the number of fetches, which favours tools that remove a step (a router, a precomputed index, a pointer); in one deployment over half of all reads fetched something the session had already read, mostly another part of the same file, because the file had no internal addresses.
show summary
The unit of reach cost is the round trip. "A fraction of the tokens" suggests that the thing to shrink is the size of what the agent reads. Under the pricing that agent harnesses run on, that is the wrong quantity. Each tool call re-sends the whole conversation prefix. With prompt caching, the provider bills a cache read at a tenth of the base input price, and new content written into the cache at one and a quarter times that price. So one fetch costs about a tenth of the prefix, plus the payload, plus the reply. The arithmetic for a 150,000-token prefix:
| what is fetched | prefix re-read (input-token equivalents) | payload (input-token equivalents) | payload share of the call |
|---|---|---|---|
| one 1 KB file, about 250 tokens | 15,000 | about 310 | 2% |
| one 10 KB file, about 2,500 tokens | 15,000 | about 3,100 | 17% |
| two 1 KB files, one call each | 30,000 | about 620 | 2% |
Two small reads cost almost exactly twice one read of twice the size. The byte count of a fetch is small change; the fact that a fetch happened is the bill. A shorter prefix raises the payload's share, but the conclusion holds at any size an agent actually runs at, and each round trip also costs a full model turn of latency. In one long-running deployment, a typical retrieval call re-read well over a hundred thousand cached tokens to produce a few hundred tokens of output.
The target, then, is the count of traversal steps. That predicts which instruments pay most: the ones that remove a step entirely (an intent router, a precomputed index, a pointer that prevents a search), not the ones that shrink a payload. Most of the chunking literature optimises volume, and under this cost model it optimises the cheap term.
Most steps are repeats. The same deployment's transcripts sharpen the target further. Over half of all reads fetched a target the session had already read. Of those repeats, the larger part read a different region of the same file: the agent held the pointer and searched the file again blind, because the file offered no internal addresses. A smaller but large part read the same region again while its content was still in the window. So the step to remove is usually not a new step; it is one already taken. A pointer without a map prevents nothing. It moves the cost from finding the file to finding the place inside it. The cross-cutting spine of Section 3.5 is also what gets re-searched most, which is one more reason to give those files an address map first. Knowing what is already in the window is a memory mechanism and lies outside this paper; its economics are what matter here.
4.2 The instruments of cheap traversal in this project1,251 wordsSummaryThe project has seven instruments that cut traversal cost. Most reduce the cost of reaching knowledge: the design documents as a pre-compressed map, with an index that sends each question to one file; a knowledge graph for questions that cross files; tool descriptions loaded only when a tool is used; probes that return live state directly; and a recipe matcher that loads only the winning playbook. The sixth shrinks what is already in context while keeping the originals recoverable. The seventh fits frequently read files to the way they are read, with an index, an extracted hot section or nothing; splitting a file is almost never right, because two halves cost two fetches.
show summary
PartReady-made maps and tools on demand395 wordsSummaryThe project uses seven instruments to reach or carry knowledge for fewer tokens. The design documents work as a pre-compressed map: an index sends each question to the one small file that owns the answer, so the agent reads that file and not the code. A knowledge graph answers questions that cut across files, such as what depends on a component, in one query, and deferred tool loading lists tools by name and fetches a tool's full description only when the agent decides to use it.
show summary
This harness already treats traversal as infrastructure. Seven instruments, each a way to reach — or to carry — the right knowledge or code for far fewer tokens than reading or holding the source would cost.
(a) The design optics as a pre-compressed map. The single largest reach-cost win is the design bible itself. Instead of re-deriving "how does the tool loop diverge in the bridge layer?" by reading the implementation, an agent reads tool-loop.md — the structural fact, pre-compressed, single-owner, already verified. The pyramid (Pillar 2) is not only a governance structure; it is a traversal accelerator. The index routes a question to its owning optic so the agent loads one small file instead of grepping the tree. Loading the whole bible directory would defeat the purpose — the discipline is "only load the optic that answers your current question." A map you must read end-to-end is not a map; it is more territory.
(b) A knowledge graph. Prose optics are cheap for questions whose owning file you can name. For questions that cut across files — "what depends on the recipe matcher?", "what else breaks if I change this RPC?" — a knowledge graph is the cheaper surface, because it makes relationships first-class and queryable instead of forcing a multi-file read to reconstruct them. A graphify-style tool turns code and docs into a queryable graph; a traversal that would cost many file-reads becomes a single graph query. The graph is the cross-cutting complement to the optics' per-file compression.
(c) Deferred-tool loading. An agent that loads every tool's full schema up front pays a large fixed context cost before it does anything, and most of those schemas are irrelevant to the turn. Deferred loading inverts this: tools are present by name only, and their full schemas are fetched on demand via a search step, so the agent pays for a tool's definition exactly when it decides to use it. This is salience applied to the tool surface itself — relevance (which schemas to load) is computed live from the turn, not fixed at session start. A pre-loaded tool list is a fixed list; deferred loading makes it live. The same move applies to whole surfaces, not just schemas: a tool bridge that few workers ever call should boot with no plugins loaded, and load them on the first call that needs them. An external catalog measures it in §4.3.
PartProbes, intent routing, reversible compression435 wordsSummaryProbes give every write a matching read, so the agent asks for live state directly and does not have to work it out from the code that produces it. A recipe matcher scores the prompt against the playbooks' metadata locally and loads only the winning plan at the start of a turn, so the playbook library costs nothing in context and needs no cap. The sixth instrument shrinks material already pulled into context while keeping the original for exact recovery on demand, which cuts carry cost; section 4.3 discusses an outside system that already does this.
show summary
(d) Paired read surfaces (probes). A first principle requires that "every write surface has a paired read surface returning the same state," and a dedicated optic owns the inspection primitives. For traversal, the payoff is that the agent never has to infer runtime state by reading the code that produces it — it reads the state directly through the probe. A paired read surface is a traversal shortcut: instead of "read the producer, simulate it in your head, guess the state," it is "ask the probe, get the state." This probe symmetry is a traversal economy as much as an observability one.
(e) The recipe matcher as an intent router. The cheapest possible traversal of the behavioral library is to not search it at all — to have the right playbook already selected before the first token. A recipe matcher does exactly this: it scores the prompt against recipe metadata locally, in microseconds, and seeds the matching plan at turn start (the seam is seedPlanFromPrompt in recipe-matcher.ts). The agent does not read the recipe library to find the right recipe; the matcher routes intent to the right playbook for free. The foundational criteria require this: "Recipes are matched to intent before every execution, however trivial it seems." Intent-routing is traversal of the work-graph reduced to a local scoring pass. Because matching happens code-side and only the winning plan is injected, the recipe catalog is uncapped by design — adding playbooks costs nothing at the context layer.
(f) Reversible compression of carried context. The five instruments above all reduce reach cost. They do nothing for carry cost: once the agent has pulled a tool output or a file dump into the window, it pays for those bytes on every subsequent turn until they fall out. The instrument that attacks this is reversible compression with a retrieve path — shrink what was pulled, keep the original cached, and restore it losslessly on demand. This is the runtime-context analogue of the never-delete-archive reversibility that Pillar 1 leans on: the §4.3 unification "observability doubles as traversal" has a natural sibling here — compression with a retrieve path doubles as eviction, because a compressed-but-restorable artifact is exactly an evicted-but-recoverable one. In this project the lineage is the total-recall soft-delete invariant (nothing is ever destroyed; pointers compact, originals survive); the carry-cost instrument is that same invariant applied to the live window rather than to the recipe and skill library. The external system that has productized precisely this gap is treated as first-class related work in §4.3 — naming it honestly is part of the contribution, because it ships the measurement this paper otherwise lacks.
PartAddress maps and when to index421 wordsSummaryThe seventh instrument is about what a frequently read file owes its readers, and how the file is read decides it: a reference work read in many places wants an index at the top with line anchors, a file with one or two hot sections wants them extracted, and a short file read from the top should be left alone. Splitting a file is almost never right, because two halves cost two fetches. An index needs size limits of its own, needs a command to regenerate it when it lists line numbers of its own file, and should state which settings are deliberately unset: in one deployment the most frequent search in the two most-read files was for a setting that appeared in neither.
show summary
(g) Address maps, recorded absence, and a rule for when to index. Instruments (a) to (f) say where to look. This one says what a frequently read file owes its readers once they arrive, and it follows from the round-trip cost model of Section 4.1.
The first question is whether a hot file wants an index, an extraction, or nothing. The way it is read decides. For each recurring target, record how it is read (whole, a line range, or a pattern search), how many distinct queries hit it, and how widely the start lines of the ranges spread.
| read pattern | what the file is | what it wants |
|---|---|---|
| many distinct queries, ranges spread across the file | a reference work | a head index with line anchors |
| many distinct queries, ranges clustered | a lookup table read in scattered places | an index |
| few distinct queries | one or two hot sections | extract the hot section |
| ranges start near the top, file small | a short contract everyone reads from the top | read it whole; change nothing |
Splitting the file is almost never the answer. Under a round-trip cost model, two halves cost two fetches where one cost one, and the reader who needed both pays twice.
Three rules keep an index honest. First, an index is a derived artifact and needs derived bounds of its own, on the length of an entry and on its total size. A file named index whose entries have grown into paragraphs has become content, and consulting it now costs the round trip it was built to save; the failure is a Pillar 1 failure inside a Pillar 3 instrument. Second, an index of line numbers kept inside the file it indexes invalidates itself when written, because inserting it moves every line it points to. Such an index ships with the command that regenerates it, runs a write, re-measure, write-back and assert cycle, and is otherwise a fixed artifact by construction. Third, an index records what is deliberately absent. When an optional setting is valid but unset, the files a reader searches for it say nothing, and nothing in them separates "not set" from "you are looking in the wrong place". In one deployment the most frequent search in the two most-read files was for a setting that appeared in neither, because it was unset and the defaults applied. Stating the absence where the search lands ends the search. It is also a Pillar 1 point: an unset key is a live value the system failed to derive and show.
4.3 Why cheap traversal is an investment — and the external systems that prove it1,528 wordsSummaryTraversal cost is paid on every turn, so a one-time investment lowers the cost of every later turn, and the same read surfaces serve the people watching the system and the agent. Two outside projects back the case: headroom reports 60–95% token savings from compressing context while keeping originals retrievable, and on marketingskills a router of about 130 tokens replaced about 915 tokens of always-loaded descriptions with all 44 skills still reachable. headroom also exposes what this paper lacks, a measured saving of its own. In one deployment two of three pointer fixes did nothing, so every traversal fix should be logged in a ledger and graded later in the same units. Cheap traversal is what makes live computation affordable and the pyramid usable.
show summary
PartWhy the investment compounds262 wordsSummaryTraversal cost is paid on every turn for as long as the system runs, so a one-time investment in maps, graphs, deferred loading, probes, routing and compression lowers the cost of every later turn. The read surface that lets a person watch live state also lets the agent read it cheaply, so observability and cheap traversal are one investment. When every artifact (a recipe run, a dispatch, a memory write, a plan step) carries an id linking it to its neighbours, finding out what happened means following links instead of reading logs.
show summary
The case for treating traversal as first-class rests on a compounding argument, two ties to first principles, and two external open-source systems that validate the posture at scale and, by doing so, expose a real weakness in this paper that it must answer honestly.
The compounding argument: traversal cost is paid per turn, forever. A one-time investment in a pre-compressed map, a knowledge graph, deferred loading, probes, an intent router, and reversible compression lowers the per-turn comprehension tax on every subsequent turn. Over a deployment's life that is the difference between an agent whose budget mostly goes to thinking and one whose budget mostly goes to re-reading. The investment amortizes to near-zero per turn; the tax never does.
The tie to observability: a paired read surface is simultaneously an observability instrument and a traversal instrument. The same probe that lets a human watch live state lets the agent read that state cheaply instead of inferring it. Cheap traversal and total observability are not two investments; they are one — every read surface you build for the human is a read surface the agent traverses for free.
The tie to the correlated artifact chain: when every artifact — a recipe run, a subagent dispatch, a memory write, a plan step — carries the correlation id that links it to its neighbors, traversal of the execution graph becomes following links rather than reconstructing the chain by reading logs. The artifact chain is the runtime analogue of the knowledge graph: it makes "what happened, and what did it cause?" a link-following query instead of an expensive forensic read.
PartTwo outside systems as evidence751 wordsSummaryheadroom (chopratejas, Apache-2.0, about 24.7k stars) compresses what is already in context, keeps the originals retrievable, and reports 60–95% token savings with roughly zero accuracy change on GSM8K, TruthfulQA, SQuAD and BFCL. The paper treats it as the carry-cost instrument its own five reach-cost instruments lack, as outside proof that the investment is worth building as a product, and as a reminder that the paper itself has no measured savings. On coreyhaines31/marketingskills (about 33k stars, 44 skills), a router skill of about 130 tokens replaced about 915 tokens of always-loaded descriptions with all 44 still reachable, roughly 7 times less; that project also has per-skill evals and a shared context file, which this project lacks.
show summary
Related work — reversible compression at carry-time: chopratejas/headroom. The most direct external prior art for this pillar's central thesis is headroom (chopratejas, Apache-2.0, ~24.7k★). Headroom occupies exactly the carry-cost half of the comprehension tax that this paper's five original instruments leave untouched. Its reversible CCR (Compress-Cache-Retrieve) keeps originals cached and lets the model retrieve on demand — convergent with this project's own eviction and pointer-compaction lineage (the total-recall soft-delete invariant), but applied to live context rather than to the recipe and skill library. It adds per-content-type compressors: statistical JSON-array crushing (a "SmartCrusher"), AST-aware code compression over tree-sitter, and dedicated log, diff, and text handlers. It claims 60–95% token savings with roughly zero accuracy delta on GSM8K, TruthfulQA, SQuAD, and BFCL, shipped as a reproducible eval suite (python -m headroom.evals), with a trained compression model (Kompress-v2-base) and proxy, MCP, and library form factors.
The honest differentiation cuts three ways, and one of them is a weakness this citation deliberately exposes. (i) headroom is the sixth instrument, and it is orthogonal to the other five. Those five reduce reach cost — find the right file, state, or tool fast. Reversible CCR reduces carry cost — shrink what you already pulled and restore it on demand. Pre-compression at the source and reversible compression at carry-time are complementary, not competing: this project never pulls the byte in the first place (single-owner optics, knowledge graph, intent router), while headroom shrinks the byte once it is pulled. A complete system wants both, and the paper says so. (ii) headroom validates the first-class-investment claim from the outside. §4.1 argues that traversal-cost reduction deserves to be a productized layer; headroom is that layer, built by an external team, with proxy, MCP, and library form factors and a measured savings-versus-accuracy curve. The posture this pillar argues for is not idiosyncratic — someone else productized it at scale. (iii) headroom exposes the measurement gap in this paper, and the paper concedes it. Headroom ships numbers; Pillar 3 ships none. The compounding argument ("traversal cost is paid per turn, forever") is asserted, never measured — there is no quantified token-savings claim anywhere in this paper. That is a real weakness, and headroom's reproducible eval frame is the template for fixing it: a per-content-type savings table with an accuracy-delta column on a fixed public benchmark would turn "cheap traversal compounds" into a curve. What this project does that headroom does not: significance-ordering (Pillar 2) means the map is governed — single-owner, non-contradiction, executable verify: — not merely compressed; headroom compresses arbitrary content with no constitution above it.
Related work — deferred loading, measured externally: the marketingskills router-eviction. The deferred-loading claim of §4.2(c) and the intent-router claim of §4.2(e) could be argued only from this project's own internals. There is a clean, quantified, external instance of the same mechanism. Applying total-recall-style eviction to coreyhaines31/marketingskills (~33k★, a 44-skill marketing catalog), one ~130-token router skill replaced ~915 tokens of always-loaded skill descriptions, with all 44 frameworks still reachable on demand — a roughly 7× reduction in always-resident catalog overhead on a third-party library, achieved by exactly the move §4.2(c)/(e) describe: replace a pre-loaded list with a code-side router that injects only the matched unit.
This is the first concrete before/after number this pillar's deferred-loading claim has ever had (915 → 130 tokens), on a real, named, large external catalog — the reach-cost counterpart to the carry-cost numbers headroom supplies. It also ties Pillars 1 and 3 together at a measurable seam: an always-loaded description block is simultaneously a fixed list (Pillar 1 — it freezes "these are the skills" and pays for all of them every turn) and a traversal tax (Pillar 3 — the agent carries ~915 tokens it mostly does not use). The router retires both at once: uncapped catalog (add frameworks freely, code-side matching scales), live relevance (only the matched skill's body is injected), near-zero resident cost. The honest differentiation to record is that marketingskills ships two disciplines this project's skill stdlib does not yet have — a per-skill evals/evals.json (realistic prompts plus assertion lists, runnable by an LLM judge) and a shared context-contract file every skill reads before asking the user questions. Those are exactly the eval and shared-context mechanisms a Pillar-3 catalog needs to prove the router preserves reachability: an evals.json per recipe is the missing test that a 130-token router still reaches all 44 frameworks correctly. The router is the mechanism; the evals are the proof obligation, and this paper currently has the former without the latter.
PartHow traversal fixes fail, and the ledger444 wordsSummaryIn one deployment three pointer fixes were measured two days later. The one that worked put a file where agents were already looking; the two that named wrong paths inside that file changed nothing, because a pointer helps only where the reader already passes. Repetitive work such as scheduled jobs follows one route while open-ended work spreads out, so the first wants a precomputed route and the second a map, and every traversal fix belongs in a ledger with its target, action, date and baseline, graded later as fixed, unchanged or regressed: the ledger's first run called two entries fixed by comparing read events with sessions, so a guard now demands the baseline in the grading pipeline's own units.
show summary
Traversal investment can fail, and the way it fails is specific. The compounding argument would be dishonest without its counterweight. In one deployment, three pointer fixes were applied on the same day and measured again two days later; one worked and two did nothing. The one that worked created a file at a path agents kept reaching for and finding empty: the worker's own starting directory invited a lookup relative to it, so the new file sat exactly where readers already went. Failed lookups became successful reads and the path left the dead-read list. The two that failed were wrong paths, each named with its correction inside that same new file, and the wrong paths went on being tried at the same rate. Naming a wrong path in a document the reader may never open does not stop the wrong path being tried. A pointer pays only on a surface the reader is already sure to cross.
Routes diverge with the kind of task. Two sessions doing the same kind of work can read almost disjoint sets of files. Repetitive, well-specified work, such as scheduled jobs, converges on one route; open-ended work fans out across many. The useful number is the contrast between task types, not the absolute overlap, because a coarse label such as "development" covers many different actual tasks and drags every overlap down. The design consequence is a split: precompute the canonical route for repetitive work, and give open-ended work a map instead of a route. Task types also recruit each other, so several specialised surfaces serve one goal at once, and a router that picks exactly one surface per prompt misses that.
Every traversal fix needs a ledger. The evals file that would prove a skill router still reaches all its targets has a general form. Each traversal intervention (a new file, a new index, a pointer) is recorded with its target, the action taken, the date and a baseline, and every later measurement grades it fixed, unchanged or regressed. Without that ledger, two failed fixes out of three would have stayed invisible. The ledger needs a units contract as well. Its first run graded two entries as fixed by comparing a count of read events from one pipeline with a count of sessions from another; a guard now refuses to grade any entry whose baseline is not stated in the grading pipeline's own units. A measurement loop without a units contract manufactures improvements. Latency follows the same rule: before cutting the delay between a prompt's acknowledgement and its first action, put a span on every step of that window, so the cut lands on the step that measured slowest.
So cheap traversal is not a convenience bolted onto the system. It is the precondition that makes Pillar 1 affordable — live computation requires reading the live situation cheaply — and makes Pillar 2 useful: a pyramid no one can traverse cheaply is just a tall pile. The two external systems above are the evidence that the posture is sound and the honest mirror that shows where this paper still owes a number.
5. The Embodiment — A Native Orchestration Runtime (Planned; Its Derived-Bound Substrate Now Partly Live)1,372 wordsSummaryThe three pillars meet in a planned orchestration runtime, built on parts that already exist, with four primitives: agent() starts a worker, parallel() fans out, pipeline() runs stages and phase() labels a stage. The primitives themselves are not built: today they come from a borrowed workflow tool. The layer beneath them already runs: derived limits for fan-out width, retries, supervision passes and schema re-dispatches, fed by success rates measured from past runs, and a task-completion critic whose fixed limit of 5 rounds became a derived value under a ceiling of 25. Two pieces are recorded as partial, and a change ledger marks a piece live only with a commit at a verified call site.
show summary
5.1 Why one runtime embodies all three pillars1,013 wordsSummaryThe three pillars meet in a planned orchestration runtime inside the agent's gateway, built on parts that already exist. Its four primitives are agent() (start one worker), parallel() (fan out and wait for all), pipeline() (stages that do not wait) and phase() (a labelled stage shown on the monitoring panel). By design, concurrency is min(16, cores - 2) and runs are journaled by id, so a resumed run replays finished workers. Some of it already runs: derived bounds for fan-out width, retries, supervision passes and schema re-dispatches work at real call sites, fed by success rates measured from past runs, and the critic that judges whether a task is done lost its fixed limit of 5 rounds for a derived value under a ceiling of 25.
show summary
The three pillars are a methodology. Their executable embodiment is a single piece of planned infrastructure: a native orchestration runtime inside the agent's own gateway, exposing four primitives — agent() (spawn one worker), parallel() (fan out with a barrier), pipeline() (per-item stages without a barrier), and phase() (a labeled stage surfaced to the observability panel) — over substrate that already exists: the subagent spawn path, the recipe-runner's group scheduler, and the onRecipeState sink (both real seams today, in recipe-runner.ts and recipe-rpcs.ts). It is governed by this paper.
\begin{figure}[H]
\centering
\includegraphics[width=\linewidth,height=0.85\textheight,keepaspectratio]{images/runtime.pdf}
\caption{The orchestration runtime mapping each of its four primitives onto an existing substrate seam and onto the pillar it embodies: agent and parallel draw concurrency from the live machine (Pillar 1), phase surfaces stage shape above detailed work through the recipe-state sink (Pillar 2), and runId journaling replays cached agents so resume is link-following over a durable spine (Pillar 3).}
\end{figure}It embodies the three pillars at once:
- Pillar 1 (no fixed limits). Concurrency is derived from the live machine (
min(16, cores - 2)), not a frozen cap; budget for a fan-out is reasoned against the real remaining allowance and the value of the work, not a hardcoded ceiling; the model each agent runs is chosen from the live model sense, not a pinned ID. This is no longer purely a design intent. The first family of situation-derived bounds now runs at real call sites inside the recipe-runner and subagent substrate the runtime is specified over:deriveSpawnBudget(parallel-spawn fan-out width — rises with the typed-field surface, gains a unit when a skill backs the step, widens as fitness falls so a shaky recipe spawns wider coverage, clamped down by affordability, floored at 1);deriveRecoveryRetryBudget(how many times the runner re-runs a failed step underonError: retry— scales with uncertainty1 - fitnessSuccessRate, decays with prior attempts, affordability-clamped);deriveOverseerLoopBudget(how many supervision passes the Overseer makes — rises as fitness falls, gains a pass while the gap-to-done is still shrinking, decays with prior iterations); and a companionredispatch-budgetfor schema-retry attempts. Each is a pure function whose output responds to live inputs, unit-tested so that more fields or lower fitness yields a strictly larger bound — never collapsible to a literal without re-introducing the frozen MAX the paper condemns. The author's directive (max-tokens,onError: retry N, fan-out width) is treated as a downward cap over the derived bound (min(authorIntent, derived)), and a missing or{{template}}directive fails closed to the derived bound, never throws — the salience posture (compute live; degrade, don't abort) made mechanical. The runtime is, by construction, a place where the death-of-fixed-thresholds discipline is enforced rather than merely recommended — and at these seams it now is. - Pillar 2 (significance-ordered fan-out). An orchestration script is itself a small pyramid: a
phase()is the significant, stable shape of a stage; theparallel()/pipeline()fan-out under it is the wide, detailed work; the per-agent prompts are the churning base. Phases surface to the observability panel through the sameonRecipeStatesink the recipe runner uses, so the significant structure is visible above the detailed work. - Pillar 3 (cheap traversal of the work-graph). The runtime journals phases and per-agent results keyed by a
runId, so resuming a run replays cached completed agents and only re-runs the pending ones — traversal of the work-graph as link-following rather than re-execution. This is the execution-time analogue of the knowledge-graph traversal in Pillar 3, over a durable-checkpointing spine that already exists.
It is also schema-validated: agent(prompt, {schema}) validates the worker's JSON output against a JSON-Schema and re-dispatches a bounded number of times before failing — structured output as a first-class primitive, not a hope. The re-dispatch bound is itself derived (redispatch-budget), not a fixed default of two attempts.
The derived bounds read from a measured input, not an assumed one. Every derivation above takes fitnessSuccessRate and widens coverage when it is low. That input is now closed end-to-end by an empirical-fitness loop: a producer (stampRecipeAttribution) appends a [recipe_attribution] recipe:<owner/slug> marker into the engram event store on every run (a turnId:0 system event that cannot mis-split an episode), and a consumer (makeFitnessLookup(...)(kitRef)) reads the measured success rate back and threads it into the derive* calls. A matcher fitness-key bug — keying the lookup on something other than the canonical owner/slug — was fixed so producer and consumer agree. The live computation's confidence term is now measured fitness, not a 0.5 default: Pillar 1's input is observed, not guessed.
The canonical worked example of frozen-to-derived is the Overseer (the "is the whole task done?" critic). Its live per-turn engine previously used a frozen MAX_OVERSEER_ITERATIONS = 5 — a textbook #19 violation sitting in the shipped, per-turn path. It now computes min(OVERSEER_LOOP_HARD_CEILING = 25, deriveOverseerLoopBudget({fitnessSuccessRate, gapShrinking})) re-derived each turn; the frozen 5 is gone, and 25 survives only as the structural ceiling the law permits, never the working value. Both overseer paths (the recipe-runner loop and the per-turn engine) now share one derivation source, so they cannot drift. Because the rebuilt Overseer is a BROCA recipe with a right-side "keep-going" nudge bubble wired through prefrontal.recipe.run, its derived loop surfaces its live state on the observability panel — a Pillar-3 observability-as-traversal instance for the derived bound itself: a human, or the agent's reflection layer, watches the loop reason in real time. "Observability is seeing the fall coming," met for the bound the runtime derives.
A further family of derived bounds landed on the recipe missing-value resolution path — deriveContextTimeoutMs (wait for a structured extraction of a missing recipe var from the live conversation), deriveMemoryTimeoutMs (wait for an engram recall of a missing var), and deriveAskTimeoutMs (the human-answer wait for the durable ask-for-missing pause, floored at a realistic human turn-around) — each scaling with the count of missing vars and 1 - fitness uncertainty, each unit-tested to respond to its inputs, each bounding a best-effort tier that falls through on expiry rather than hard-stopping. A derived timeout that degrades gracefully is the precise opposite of a frozen cliff, and these are its value-resolution members.
5.2 Honest status — planned, governed, with the derived-bound substrate now live359 wordsSummaryThe four primitives are still planned: no file in the project defines them, and today they come from a borrowed workflow tool that works only while that outside runtime drives the turn. The layer beneath them has moved: the derived bounds run at verified call sites, and earlier work brought skill calls, skill search, recipe composition and a live-margin promotion gate into use. Two pieces are recorded as partial: a budget-exceeded branch that does nothing until the wait call reports why a worker stopped, and affordability limits that do nothing until a caller passes a real remaining-token budget. A change ledger marks each piece designed, partial or live, and marks it live only with a commit at a verified call site.
show summary
The four orchestration primitives are still planned, not built. agent()/parallel()/pipeline()/phase() are not defined in this project's source (no orchestration-runtime.ts exists yet); today they are a borrowed workflow tool reached through the bridge layer, alive only while that external runtime is driving the turn. What has moved is the substrate beneath them: the situation-derived concurrency, retry, supervision, and fan-out bounds the runtime was specified to compute now run at verified seams (§5.1), and an earlier increment landed the recipe-runner skill substrate (invoke skill:, semantic fork.skill.search, deterministic prefrontal.recipe.compose, a live-margin promote gate) end-to-end on a real call site. The strategic finding behind the implementation plan still holds: the agent already has most of the capabilities — real cross-provider debate, tree-of-thought, curiosity, an overseer, recipe fitness and evolution, deferred tools, hooks, plan mode, memory, schema-validated outputs — but it has many of them inside borrowed workflows. The plan makes the primitives native so the agent stays fully capable through the near-term programmatic-metering change and CLI pin — a deadline that is itself a cautionary tale for Pillar 1, because a hardcoded dependence on a borrowed runtime is a fixed artifact whose world is about to move.
Two honesty caveats are carried forward in the paper's own no-silent-failure voice, because the substrate that is live is not uniformly live: the budget-exceeded arm in orchestration-deps.ts is wired-but-inert until agent.wait carries the exhaustion reason — recorded PARTIAL exactly as it is commented in source — and the affordability clamps in the derive* family are structurally-derived-but-inert until a caller threads a real remaining-token budget — also PARTIAL. Recording these honestly is not a hedge; it is the application of the no silent failure principle to the paper itself. A producer is "wired" only when verified firing at a real call site — a dead producer behind green tests is the failure class most distrusted, and a paper that claimed a planned mechanism as shipped would be the documentation form of that exact failure. A companion change-ledger tracks each piece against a designed / partial / live status, flipping entries to live with a commit SHA only as they land at a verified call site.
6. Situating the Work808 wordsSummaryThe paper is the method layer of a larger body of work and summarises what it borrows. Above it sits a short constitution of base principles, including design principle #19; where the two seem to differ, the paper is the one in error. From the recipe execution work it borrows the recipe matcher, an effort router that picks a model and a thinking budget from live signals, and durable checkpointing; from the theory of intermediate abstractions, a documentation map, executable invariants and probes. Outside related work: headroom and marketingskills (section 4.3); addyosmani/agent-skills (MIT, about 56.8k stars), whose per-skill "When NOT to use" and "Loading Constraints" sections the paper would adopt; and the Journey registry, which distributes runnable agent workflows.
show summary
This paper is the methodology layer of a larger body of work: it argues the principles, while a separate execution substrate and a separate theory of abstractions build and explain the machinery. To keep this paper self-contained, the borrowed ideas are summarized where they are used rather than assumed. The external open-source systems below are treated as first-class related work, not footnotes — they are fresher than any static citation and, in two cases, supply the measurement this paper's own claims lack.
The ratified base principles. A short, high-altitude constitution sits above this paper and above every structural optic. It states, among others: capability-first with prudence as the brake, total observability through a correlated artifact chain, a paired read for every write, recipes that evolve under reversibility, the fractal budget doctrine, single-owner-per-fact, and — ratified this cycle — the derive-bounds-from-the-live-situation law (design-principle #19) that Pillar 1 expands. Where this paper and the constitution could appear to differ, the constitution is right by construction and the discrepancy is a bug in this paper.
The recipe execution substrate. A separate body of work owns the executive-function machinery: the recipe matcher, recipe composition, on-the-fly authoring, loops, an effort router that picks a model and a thinking budget from live signals, the observability panel, and durable checkpointing. A recipe there is a named, matchable playbook — a unit of behavior the agent selects and runs. This paper borrows three things from it: the matcher as the intent router of §4.2(e), the effort router as a live-computation instance of Pillar 1, and the durable checkpointing spine the orchestration runtime resumes over. This paper does not redefine the recipe; it treats it as already defined.
The theory of intermediate abstractions. A further body of work argues that the recipe is the missing middle layer between a bare wish and a hand-written script, and identifies a set of reusable primitives. Three of them carry weight here: a multi-optic atlas (the pre-compressed documentation map that is the traversal accelerator of Pillar 3); executable invariants (the verify: blocks that mechanically enforce the pyramid's non-contradiction rule, Pillar 2); and probe symmetry (the paired read surfaces that double as a traversal economy, §4.2(d)). The same body of work supplies the discipline of honest claims-softening that §5.2 follows. Where it argues the recipe is the right unit, this paper argues that relevance over that unit must be computed live, and that the units must be ordered by significance and cheap to traverse.
External system — reversible context compression (chopratejas/headroom). Positioned in full in §4.3: the most direct external prior art for Pillar 3, productizing reversible Compress-Cache-Retrieve over live context with content-type-specific compressors, public-benchmark savings numbers, and proxy/MCP/library form factors. It is complementary to this project (compress-at-carry versus pre-compress-at-source), it validates the first-class-investment posture from the outside, and it honestly exposes the absence of any quantified token-savings number in this paper.
External system — measured deferred loading (coreyhaines31/marketingskills). Positioned in §4.3: a 44-skill catalog on which a ~130-token router replaced ~915 tokens of always-loaded descriptions with all frameworks still reachable — the first external before/after number for the deferred-loading and intent-router claims of §4.2(c)/(e). It also models two disciplines this project's skill stdlib lacks: a per-skill evals/evals.json and a shared context-contract file. Those are named here as the proof obligations a Pillar-3 catalog should adopt to demonstrate — not merely assert — that its router preserves reachability.
External systems — authoring discipline and workflow distribution (addyosmani/agent-skills; the Journey registry). Two further fresh external surfaces bear on Pillar 2's governance and the recipe-as-unit lineage, and honesty requires positioning them precisely rather than overclaiming. addyosmani/agent-skills (MIT, ~56.8k★) packages engineering-discipline skills, subagent personas, and command definitions in a single plugin; roughly seventy percent of it overlaps this project's own discipline stack, so it is validating rather than novel for the most part. Two of its authoring conventions are genuinely worth adopting and sharpen Pillar 2's authoring side: an explicit "When NOT to use" section per skill and a "Loading Constraints" section declaring where a skill may load (main session versus subagent). Both are significance-ordering applied to the authoring of a unit — they pin, at the apex of each skill, the conditions under which the unit is relevant, which is the Pillar-1 "compute relevance, don't assume it" discipline pushed up into documentation. The Journey registry is a distribution layer for real, runnable agent workflows (including third-party repacks of suites such as the one above); it is relevant to this paper only as evidence that the unit the recipe substrate formalizes — a matchable, reusable, shareable playbook — is becoming an externally-traded artifact, which raises the stakes on the evals-and-shared-context proof disciplines §4.3 borrows from marketingskills. Neither system changes a claim in this paper; both are cited as the live external context the methodology now sits inside.
7. Status and Future Work738 wordsSummaryLive today: the pyramid and the command that enforces it, five traversal instruments, and Pillar 1 as an adopted rule with a 17-instance audit and its first derived limits in code. Not yet: reversible compression, the runtime's four primitives with journaling and resume, and the replacements for the model rank field and the 70% budget gate, which remain in the live configuration. Measurement is the named debt, starting with a table of token savings with an accuracy column. The paper treats this status as something to recompute as the work lands.
show summary
7.1 What is real today239 wordsSummaryLive today: the pyramid, with its top file, index, single-owner topic files and the one command that enforces them; and five traversal instruments (the documentation map, the knowledge graph, deferred tool loading, probes and the recipe matcher). Reversible compression is not built. Pillar 1 is an adopted rule with a 17-instance audit and a four-layer safety chain, and its first derived bounds run in code, including the critic's loop, now derived under a ceiling of 25. The model rank field and the 70% budget gate are still in the live configuration.
show summary
- The pyramid (Pillar 2) is live infrastructure: the apex file is ratified and authoritative, the index routes by significance, optics own facts singly, and a single invariant-runner command enforces non-contradiction via executable
verify:blocks. Pillar 1's own principle is now ratified inside this pyramid as single-owner design-principle #19 with an apex corollary. - Several cheap-traversal instruments (Pillar 3) are live: the optics as a pre-compressed map, a knowledge graph for cross-cutting queries, deferred-tool loading (with an external 915→130-token before/after on the marketingskills catalog), paired read surfaces, and the recipe matcher as an intent router. The correlated-artifact-chain and paired-read-surface requirements are first principles already enforced in the substrate. Reversible carry-time compression is named as the sixth instrument and positioned against headroom's external implementation; it is not yet built in this project.
- Pillar 1 is no longer "argued plus four examples." It is a ratified design law (#19) with a categorical-vs-quantity typology, a 17-instance whole-system audit (with the deliberately-hard categorical exceptions named), and a derive→validate→enforce→catch safety chain. The first family of situation-derived bounds —
deriveSpawnBudget,deriveRecoveryRetryBudget,deriveOverseerLoopBudget, the schemaredispatch-budget, and the value-resolution timeouts — runs at real call sites, fed by a measured empirical-fitness loop. The live per-turn Overseer's frozen5is retired to a derived budget under a25ceiling. Therankleaderboard and the<70%budget gate remain legacy artifacts still in place in the live config, named here as the work, not claimed as replaced.
7.2 What is planned390 wordsSummaryStill to do: the four runtime primitives with a recipe.orchestrate call, journaling and resume, a git worktree per worker, a tool pipeline that turns many round trips into one, and the two partial branches made live. A live model ranking and a computed budget are to replace the rank field and the 70% gate, each with a kill switch back to the old value. Measurement is the named debt: a table of token savings per content type with an accuracy column, per-skill evals, counts of round trips and repeated reads, and a ledger for every traversal fix. The instruction-budget design must pass its five tests on every supported model, and the rows each bound writes still need joining to run outcomes.
show summary
- The native orchestration runtime (the embodiment, §5) is planned, governed by this paper, and specified task-by-task; the four primitives
agent()/parallel()/pipeline()/phase()are not yet native, but the concurrency, retry, supervision, and fan-out bounds the runtime is specified to derive now run at verified seams. Remaining: the four primitives themselves plus an additiverecipe.orchestrateRPC; runId journaling and resume; per-agent git-worktree isolation; a tool-RPC pipeline that collapses many tool round-trips into one follow; and flipping the two PARTIAL arms (the inertbudget-exceededreason and the inert affordability clamps) to live by threading the exhaustion reason and a real remaining-token budget. - The live model sense that retires the
rankleaderboard, and the fractal budget computation that retires the<70%gate, are the two Pillar-1 replacements with the most to gain still to ship — each converting a named legacy artifact into a live computation, each made safe by reversibility (a kill-switch back to the static value) and observability (surfacing the live inputs it reasoned over). - Measurement is the named debt. Pillar 3 ships no quantified token-savings number of its own; the paper concedes this (§4.3) and adopts headroom's reproducible-eval frame — a per-content-type savings table with an accuracy-delta column on a fixed benchmark — and marketingskills' per-unit
evals.jsondiscipline as the proof obligation that the optics map, the knowledge graph, and the intent router actually compound and actually preserve reachability. The 17-cliff audit is the standing Pillar-1 backlog, with the fix shape (ceiling-not-working-value + derivation formula + adaptive pressure) already defined. The cost model of §4.1 now names its own tests: count round trips rather than tokens, report the share of reads that are repeats and split them into new-region and same-region, and grade every traversal fix in a ledger with a units contract. The savings table is still owed. - The instruction-budget successor (§2.6) replaces a per-file character cap with two-pass allocation, a budget derived from the live model profile, tiers of meaning with a non-evictable tier 0, and orthogonal redundancy. Its five acceptance tests are stated in §2.6; it counts as working only when all five pass on every supported model.
- Derived bounds as a measured series. Each bound writes a row per evaluation (§2.4). The join from those rows to run outcomes, which decides whether a ceiling sits too low, is the next test to build.
7.3 The honest boundary109 wordsSummaryAll three pillars are stated and mostly in use, and Pillar 1 has become an adopted, audited, partly shipped rule. The runtime's four primitives are designed but not built, while the derived limits beneath them run. The paper treats this status as something to recompute as the work lands.
show summary
The methodology — all three pillars — is articulated and largely instantiated, and Pillar 1 has hardened from an argued principle into a ratified, audited, partly-shipped law. The embodiment's four primitives are designed and not yet native, while the derived-bound substrate beneath them is live at real seams. Drawing that line precisely is the discipline the paper argues for, turned on itself: a fixed claim of "done" against a moving implementation would be exactly the stale-artifact anti-pattern Pillar 1 condemns. This status section is therefore itself a live computation — it reports what is true on the date of writing and is expected to be re-derived, not frozen, as the runtime lands.
8. Conclusion358 wordsSummaryThe brain's salience network decides afresh, every moment, what matters, and the paper argues that an agent harness should do the same through three pillars. Replace fixed thresholds and lists with live computation, kept safe by the derive, validate, enforce and catch layers and by a trust model in which one trusted principal gains friction, not safety, from a quantity gate. Order knowledge and code as a pyramid, so a small stable top fixes what the changing base inherits. Invest in cheap traversal, counting its cost in round trips, and measure it, as headroom and the marketingskills router already do. The runtime that joins the three has its derived limits live and its four primitives still on paper.
show summary
The salience network is the brain's standing refusal to decide relevance in advance. It re-computes, every moment, what matters now — and that refusal to freeze is precisely why a brain stays adaptive in a world that will not hold still. This paper has argued that an agent harness needs the same refusal, and that it decomposes into three pillars. Kill the fixed thresholds and fixed lists, because each encodes a dead world-state and drifts the system silently into obsolescence; replace them with live computation, made safe by a derive→validate→enforce→catch chain rather than by the constant's rigidity, and grounded in a stated trust model — a single trusted principal gains friction, not safety, from a quantity gate. Order knowledge and code as a pyramid of significance, so that "everything is live" does not mean "anything goes" — a small stable apex pins the invariants the churning base inherits, contradictions become typed bugs resolved by rank, and the law that governs Pillar 1 now lives inside that pyramid as a single-owner principle. Invest in cheap traversal as a first-class concern, attacking both the reach cost of getting to knowledge and the carry cost of holding it, counting that cost in round trips because every fetch re-sends the whole context — and measure it, because the external systems that productized this posture (headroom's reversible compression, the marketingskills router) ship the numbers this paper still owes.
The embodiment that fuses all three — a native orchestration runtime with no frozen limits, significance-ordered fan-out, and cheap work-graph traversal — has its derived-bound substrate live at real seams and its four primitives still designed, named here honestly as not yet native. That honesty is not incidental to the thesis; it is the thesis. A fixed claim against a moving system is the stale artifact the whole paper is against.
The programmer who hardcodes a threshold is encoding yesterday's world into tomorrow's system. The one who computes relevance live, orders it by significance, and makes it cheap to traverse — both to reach and to carry — is building a system that stays as smart as the world it runs in. That is not better programming. It is salience.
Appendix A — The Fixed-Artifact Test (Decision Procedure)200 wordsSummaryA short procedure for any constant. A yes-or-no permission or capability boundary stays hard. A quantity that changes during the system's life is derived live, and the old number is kept only as a ceiling. A truly fixed physical fact, such as the core count, stays, and anything else gets reviewed. The derived value is floored at 1, warns as it nears the ceiling, saves partial work when exhausted, is validated and enforced, shows its inputs, and can be switched back to the old value.
show summary
function CLASSIFY_BOUND(constant):
# Design-principle #19: categorical boundaries stay hard; quantity thresholds derive.
if constant is a CATEGORICAL capability/permission boundary
(may/may-not do X, API-required field, PII split, security gate, tool whitelist):
return HARD # keep: a category, not a quantity — freezing it is correct
if constant is a QUANTITY threshold (at most N, after T seconds, up to D deep, fan W):
if the quantity MOVES in the deployment's lifetime:
return DERIVE # replace working value with a live computation; keep the
# frozen number only as a CEILING, never the working value
if it reads a genuinely-fixed physical fact (core count, page size):
return PHYSICAL # keep; reading it at runtime is already "live"
return REVIEW # default suspicion: most magic numbers are DERIVE
function REPLACE(quantity_bound):
working <- derive_from_live_situation(quantity_bound.domain) # responds to live inputs
working <- min(working, ceiling) # frozen number survives only here
working <- max(working, 1) # floored, never zero
on_approach(ceiling): emit_adaptive_pressure() # cliff -> ladder: warn, don't cut
on_exhaustion: persist_partial(); warn(); continue # degrade, don't abort
validate(working) # reject malformed at the boundary
enforce(working) # runtime watchdog, not advisory
expose(working.inputs, working.result) # observability: show the reasoning
guard <- kill_switch_back_to(frozen_value) # reversibility: undoable
return working # behind guard, validated, enforced, catchable, derived from nowAppendix B — The Three Pillars on One Page203 wordsSummaryA one-page table of the three pillars and the runtime: for each, the anti-pattern it removes, what replaces it, the safety mechanism and the principle it rests on. Pillar 3, for example, removes re-reading the code every turn and carrying pulled-in text every turn, and puts in their place maps, a knowledge graph, deferred tools, probes, an intent router, address maps and reversible compression, with cost counted in round trips.
show summary
| Pillar | The anti-pattern it kills | The salience replacement | Safety mechanism | Principle anchor |
|---|---|---|---|---|
| 1. Death of fixed thresholds/lists | hardcoded number, frozen ranking, round-number cap | live computation over the moment-of-use situation; frozen number survives only as a ceiling | derive→validate→enforce→catch; reversibility + observability; single-trusted-principal trust model | design-principle #19; budget & autonomy doctrines |
| 2. Pyramid of significance | flat docs: no read order, no conflict rule, uniform rot | apex → optics → derived principles → diagrams → code; derive-don't-contradict | executable verify: invariants; single owner per fact; apex outranks | the pyramid section; #19 ratified inside it |
| 3. Cheap traversal | re-reading the repo every turn (reach tax) + carrying pulled bytes every turn (carry tax) | optics map + knowledge graph + deferred tools + probes + intent router + address maps and recorded absence (reach) + reversible CCR (carry); cost counted in round trips | observability doubles as traversal; correlated artifact chain; per-unit evals as reachability proof; an intervention ledger with a units contract | total observability + artifact chain; headroom & marketingskills as external evidence |
| Embodiment (substrate live, primitives planned) | a borrowed runtime alive only under the bridge layer | native agent/parallel/pipeline/phase, schema-validated, live concurrency/budget; derived bounds already at real seams | additive RPC behind no flag; derive→validate→enforce→catch; PARTIAL arms recorded honestly | all of the above; capability-first |