# SALIENCE: The Death of Fixed Thresholds, the Pyramid of Significance, and Cheap Traversal as the Basis of Next-Generation Vibe Programming: v1.0 → v1.1

From v1.0 (2 Jun) to v1.1 (2 Jun): 6,947 words to 6,761 words, 834 words in new or rewritten paragraphs and 1,020 taken out, 71 paragraphs changed.

## Change note of v1.1

**Rewritten for outside readers; related work replaces the companion-paper list**

Same argument, same structure, written the same day for readers outside the project. In-house names (the project's design bible, its "First Principle #2", file and repository names) become plain descriptions, and the text is a little shorter.

- The list of companion papers is replaced by a new section, "Situating the Work", that places the paper among related ideas.
- The section on how the pyramid mirrors the project's documentation is renamed "The pyramid as live infrastructure".
- The worked examples now say outright which two of the four are not yet replaced, and why naming them still matters.
- Elsewhere, wording is tightened; no claim is added or dropped.

## Changed paragraphs

Marks: [-removed-] {+added+}.

### Abstract

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 [-it-] 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, and we name the paper after it, because the central claim is exactly that:-] {+paper:+} **relevance must be re-computed from the live situation, not read off a frozen list.**

### Abstract

This paper makes three connected arguments about how a capability-first agent harness should be [-built, all of them refinements of a single principle already ratified at the apex of the TinkerClaw bible — *think fractally, not programmatically* (FOUNDATION, First Principle #2).-] {+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: [-FOUNDATION-] {+base principles+} at the apex, then {+structural+} optics, then derived [-principles,-] {+rules,+} then [-diagrams/flows/lifecycles,-] {+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 — [-the bible optics as-] a pre-compressed {+documentation+} map, a knowledge graph, deferred-tool loading, [-probes as-] paired read surfaces, [-the recipe matcher-] {+an intent router+} — 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.

### Abstract

We then describe the executable embodiment of all three: a **native orchestration runtime** (`agent`/`parallel`/`pipeline`/`phase` over [-the-] {+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, not yet built** — it is specified in [-a separate capability-parity-] {+an+} implementation plan and governed by this paper, but the borrowed [-Claude-Code-] workflow primitives it will replace are still doing that job today. The honesty is the point: a paper that overstates its system is the documentation equivalent of an agent that declares victory before it verifies.

### 1.1 The salience analogy, taken seriously

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 [-(the-] {+(chiefly the+} anterior insula and dorsal anterior [-cingulate, chiefly)-] {+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. [-Critically, it-] {+It+} does not hold a list of "important things." A list would be obsolete the moment the situation changed — a [-list-] {+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.

### 1.1 The salience analogy, taken seriously

This is the exact failure mode of software built in the primitive programming [-era, and the exact correction this paper argues for.-] {+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.**

### 1.1 The salience analogy, taken seriously

This is not a new {+idea. A ratified design+} principle [-for TinkerClaw. It is-] already [-ratified at the apex of the design bible as First Principle #2 — *think fractally, not programmatically* — and stated there-] {+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 [-is the paper-level expansion of-] {+expands+} that [-single-] principle: it argues *why* [-the principle-] {+it+} is right, gives [-the-] concrete before/after [-instances from this project,-] {+instances,+} derives the discipline that makes [-the principle-] {+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 pillars

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 [-is a system that-] must *read* a great deal at decision time, and if reading is expensive the live-computation discipline collapses back into caching stale answers [-(which-] {+— which+} is [-just-] a fixed list with extra [-steps).-] {+steps.+} Cheap traversal is what makes live computation affordable enough to actually do.

### 1.2 Why one principle needs three pillars

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-] {+scale: order+} it by significance; make traversal [-cheap).-] {+cheap.+} The orchestration runtime in Section 5 is where all three meet in running code.

### 1.3 What this paper is not

This paper is not a re-derivation of the recipe execution [-substrate (that is PREFRONTAL, J13)-] {+substrate,+} nor of the [-intermediate-abstraction-] theory [-(that is RSC, J15). It-] {+of intermediate abstractions; it+} cites [-both.-] {+both and summarizes the borrowed ideas where they are used.+} It is also not a license to remove every constant in the [-codebase — some-] {+codebase. Some+} limits are mandatory [-(an-] {+— an+} API that requires a `max_tokens` parameter must be given a [-number)-] {+number —+} and some are genuinely [-physical (a-] {+physical: a+} machine has a fixed core [-count).-] {+count.+} The discipline in Section 2.4 is precise about which constants are anti-patterns and which are not. The line is not "no numbers"; it is "no number that encodes a *past judgment about a moving world*."

### 2.1 The anti-pattern, named

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, and the anti-pattern is this:-] {+hats:+}

### 2.1 The anti-pattern, named

> 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*,-] {+*runs* —+} it just runs against a world that no longer exists.

### 2.1 The anti-pattern, named

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 [-the-] {+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 [-single-] decision, quietly.

### 2.2 Why this is structural, not a code-quality nit

The reflex defense of a magic number is "it's just a constant, we'll tune it later." But [-"tune it later" never happens,-] {+"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 model landscape changes monthly. Pricing and quota terms change [-(Anthropic's-] {+—+} programmatic-usage metering [-changes on 2026-06-15,-] and two [-model IDs retire the same day —-] {+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).-] {+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.

### 2.2 Why this is structural, not a code-quality nit

The salience network is the existence proof that the alternative is viable: a control system *can* [-be built to-] 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-] {+low,+} and Pillar 3 [-argues that-] {+makes+} it [-is made-] lower [-still by cheap traversal.-] {+still.+}

### 2.3 Before / after, from this project

[-Abstract arguments about freshness are cheap. Here are the concrete instances in TinkerClaw — each a real fixed artifact, each with the salience-style replacement that First Principle #2 mandates.-]

### 2.3 Before / after, from this project

{+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. Two of the four are named here precisely because they are *not yet replaced*: calling them done would be the stale-claim anti-pattern this paper condemns.+}

### 2.3 Before / after, from this project

**(a) Model choice — from a hardcoded rank to a live sense.** The auth-routing [-optic's-] {+layer's+} current source of truth for which model to prefer is a static [-field:-] {+field,+} `agents.defaults.models[<provider/model>].rank` in the [-harness's own-] {+harness+} config [-file.-] {+(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, not from a judgment frozen in a config file. FOUNDATION-] {+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 [-successor. (This paper names the gap; it does-] {+named successor,+} not [-claim the live sense is shipped — the `rank` field is still the live source of truth today, which is exactly why naming it as a fixed-artifact anti-pattern matters.)-] {+yet shipped.+}

### 2.3 Before / after, from this project

**(b) Budget — from a fixed `70%` to a reasoned allowance.** The [-auth-routing-] failover logic currently gates the flat-rate primary on `<70%` of the seven-day quota [-burned.-] {+burned (the literal `<70%` is in the auth-routing optic today).+} Seventy percent is a round number [-that encodes-] {+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 and-] {+allowance,+} the *actual* time to the next [-reset-] {+reset,+} and the *value of the work in front of it*: with a comfortable surplus and a reset imminent, spending the surplus down is [-not just permitted but-] welcome; with a thin allowance early in the window, the same nominal percentage should hold back. [-FOUNDATION's-] {+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 … spending the surplus down in the day before a reset (when headroom is comfortable) is welcome."-] {+threshold."+} The `70%` is the artifact; the fractal [-budget-] computation is the successor.

### 2.3 Before / after, from this project

**(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 [-is to follow-] {+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. [-FOUNDATION:-] {+The principle:+} "Prompts follow the latest model standards … never pinned to one model [-version."-] {+version." This one is live as posture: no single pinned-version artifact owns the prompt.+}

### 2.3 Before / after, from this project

**(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. [-TinkerClaw-] {+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*. [-FOUNDATION's-] {+The+} autonomy doctrine makes the trade explicit: [-"Reversibility (never-delete archives, rollback, kill-switches)-] {+reversibility+} is what earns aggressive [-autonomy,"-] {+autonomy,+} and [-the foundational criteria require that "recipes evolve-] {+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 [-the gate-] {+it+} with reversibility lets the system be as adaptive as the situation allows while keeping every change undoable. This is the [-same-] death-of-fixed-artifacts move applied to *governance*: the gate is the fixed artifact; reversibility-plus-observability is the live successor.

### 2.3 Before / after, from this project

The pattern across all four: a constant or a frozen list is replaced by a small computation over the live situation, and the safety [-that-] the constant used to provide is re-provided by reversibility and observability rather than by the constant's rigidity.

### 2.4 The discipline — how to kill a fixed artifact safely

**What to compute live (and what not to).** Replace a fixed artifact with a live computation if and only if the quantity it represents is *moving in the deployment's lifetime*: model rankings (monthly), budget headroom (continuous), prompting standards (per generation), library contents (per conversation). Do *not* live-compute a quantity that is genuinely [-fixed: a-] {+fixed. A+} protocol-mandated `max_tokens` argument must be a number, so pick it from the real ceiling [-(the-] {+— the+} model's actual maximum output, the real context [-headroom)-] {+headroom —+} and document [-*why* —-] {+*why*;+} that is a derived bound, not a magic number. A physical core count is fixed; reading it at runtime (`cores - 2`) is already live in the right sense because it reads the real machine. The test is the one in §2.1: *does this number encode a past judgment about a moving world?* If yes, kill it. If no, keep it but derive it from the real constraint.

### 2.4 The discipline — how to kill a fixed artifact safely

**How to keep it cheap.** A live computation on every decision is only viable if it is cheap. Three [-techniques, all already used in the substrate:-] {+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, not a fresh network round-trip;-] {+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-] {+pricing,+} the marginal call [-is-] {+costs+} a fraction of a fresh [-one (the economics PREFRONTAL §2.2 establishes).-] {+one.+}

### 2.4 The discipline — how to kill a fixed artifact safely

**How reversibility makes adaptivity safe.** The reason a conservative engineer reaches for a fixed gate is fear: a live, self-modifying decision could go wrong. The answer is not to freeze the decision but to make every consequence undoable. [-FOUNDATION First Principle #1:-] {+The first principle states it:+} "prudence as the brake — not a gate … until then it runs behind a kill-switch or a rollback path, not a permanent 'off.'" Never-delete archives mean a bad recipe evolution is rolled back, not mourned. A kill-switch means a misbehaving live computation is disabled in one config flip without redeploying. Reversibility converts "this might be dangerous" from a reason to *forbid* into a reason to [-*watch* — which is the whole capability-first posture.-] {+*watch*.+}

### 2.4 The discipline — how to kill a fixed artifact safely

**How observability makes adaptivity legible.** A live decision that is invisible is untrustworthy, because you cannot tell *why* it decided what it did. So every live computation must surface its inputs and its result: the model sense must show which model it picked and on what current evidence; the budget computation must show the real remaining allowance and time-to-reset it reasoned over; the effort router must show the tier and the signals behind it. [-FOUNDATION First Principle #4: "every LLM-] {+The observability principle requires that every+} call [-is visible,-] {+be "visible,+} live and forensically … a correlated artifact chain threads everything." Observability is what lets a [-human (or-] {+human, or+} the agent's own reflection [-layer)-] {+layer,+} catch a live computation drifting *before* reversibility has to clean up after it. Reversibility is the net; observability is seeing the fall coming.

### 3.1 The shape

Knowledge and code [-in TinkerClaw-] are organized as a **fractal pyramid ordered by significance.** [-FOUNDATION states the-] {+The+} five [-levels directly:-] {+levels, apex to base:+}

### 3.1 The shape

{+```{=latex} \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} ```+}

### 3.1 The shape

[-``` L1 FOUNDATION-] {+- **L1+} — base [-principles,-] {+principles** (the "why"):+} the [-"why" (apex: small, stable) L2 optics-] {+apex, small and stable. - **L2 — optics**+} (topology, probes, [-…) —-] {+flows, …):+} structural facts, single owner per [-fact L3-] {+fact. - **L3 —+} derived principles [-&-] {+and+} don't-regress [-rules-] {+rules**+} within each [-optic L4-] {+optic. - **L4 —+} diagrams, flows, [-lifecycles —-] {+lifecycles**:+} the concrete [-shapes L5 code-] {+shapes. - **L5+} — {+code**:+} cites the [-bible;-] {+level above;+} the [-bible-] {+level above+} cites [-this (base: wide, churning) ```-] {+it (the base: wide and churning).+}

### 3.1 The shape

Two gradients run down the pyramid in opposite directions. **Significance decreases** as you descend: the apex holds [-the-] enduring intent ("be as useful as [-possible to the user;-] {+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-] {+level: a+} single optic is itself a small stable header over wide churning [-facts), which-] {+facts. That self-similarity+} is why it is *fractal* rather than merely *layered*.

### 3.2 The governance — derivation and non-contradiction

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.** [-FOUNDATION-] {+The apex+} states [-it-] {+this+} as authority: [-"FOUNDATION outranks-] {+it "OUTRANKS+} every {+bible+} optic. [-A-] {+When an optic's detail contradicts this file, THIS file wins and the+} contradiction [-between an optic and this file-] is [-a bug; flag it, fix the optic, do not follow the stale detail."-] {+flagged for repair — never silently followed."+} The [-INDEX-] {+index that routes to it+} makes the metaphor [-explicit — "This INDEX-] {+explicit: the index+} is the map; [-FOUNDATION-] {+the apex+} is the [-constitution."-] {+constitution.+}

### 3.2 The governance — derivation and non-contradiction

1. **A contradiction is a bug, not a choice.** When an optic's detail disagrees with [-FOUNDATION,-] {+the apex,+} you do not [-get to-] 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. 2. **The apex is read first and trusted most.** The [-INDEX's-] {+index's+} step zero is [-"Read FOUNDATION.md-] {+"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. 3. **Single owner per fact.** Each structural fact lives in exactly one [-optic (its owner). FOUNDATION-] {+optic. The apex+} holds *only* enduring 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 [-the contradiction problem-] {+contradictions+} from multiplying — a fact stated in two places is a fact that will eventually disagree with itself.

### 3.3 Why significance-ordering beats flat documentation

Flat documentation — a pile of equally-weighted files, or one enormous file — fails an agent in three ways [-that-] the pyramid fixes.

### 3.3 Why significance-ordering beats flat documentation

**It has no read order.** Faced with [-twenty-six-] {+two dozen+} equal files, an agent either reads all of them (expensive, and Pillar 3 [-says-] {+calls+} that [-is-] 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 exists precisely to map-] {+index maps+} a question class to its owning optic, so the agent loads only [-the optic that-] {+what+} answers its current question and skips the rest.

### 3.3 Why significance-ordering beats flat documentation

The slimming of [-TinkerClaw's-] {+this project's+} own {+design+} bible is the worked example: [-the original-] {+a+} 3,085-line monolith was reduced to [-~1,500-] {+roughly 1,500+} lines of pure [-narrative in `bible.md`,-] {+narrative,+} with structural facts redistributed to per-optic files under [-single-ownership,-] {+single-ownership+} and [-FOUNDATION-] {+the base principles+} extracted [-as-] {+into+} a [-~180-line-] {+roughly 180-line+} apex. The monolith was flat documentation; the result is a pyramid. The reduction was not deletion — it was *significance-sorting*: enduring intent rose to the apex, structural facts settled into their owning optics, and the narrative kept only what is narrative.

### 3.4 How this mirrors the bible's structure today

[-### 3.4 How this mirrors the bible's structure today-]

### 3.4 The pyramid as live infrastructure

{+### 3.4 The pyramid as live infrastructure+}

### 3.4 The pyramid as live infrastructure

This is not aspirational. The [-pyramid is the bible's actual shape on 2026-06-02. FOUNDATION.md-] {+apex file+} exists, is marked [-`authority: OUTRANKS-] {+as outranking+} every [-bible optic`,-] {+optic,+} and is ratified with architect sign-off. The [-INDEX-] {+index+} names it [-the apex and-] 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 [-`pnpm bible:invariants`-] {+a single command (`bible:invariants`, a real script in the project's package manifest)+} runs them all as the merge [-gate, which-] {+gate. That+} is how the *derives-from-and-does-not-contradict* rule is mechanically enforced rather than merely [-asserted (RSC/J15 calls these-] {+asserted: an+} executable [-invariants its second primitive).-] {+invariant turns a contradiction into a failed check, not a judgment call.+} The pyramid is load-bearing infrastructure with a constitution, a map, single-owner facts, and a [-gate — not a diagram of an ideal.-] {+gate.+}

### 4.2 The instruments of cheap traversal in this project

[-TinkerClaw-] {+This harness+} already treats traversal as infrastructure. Five instruments, each a way to reach the right knowledge or code for far fewer tokens than reading the source would cost.

### 4.2 The instruments of cheap traversal in this project

**(a) The [-bible-] {+design+} optics as a pre-compressed map.** The single largest traversal win is the {+design+} bible itself. Instead of [-an agent-] re-deriving "how does the tool loop diverge in [-cc-bridge?"-] {+the bridge layer?"+} by reading the implementation, [-it-] {+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-] {+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.

### 4.2 The instruments of cheap traversal in this project

**(b) A knowledge [-graph (graphify).**-] {+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. [-graphify (installed for both Claude Code and Jarvis)-] {+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.

### 4.2 The instruments of cheap traversal in this project

**(c) Deferred-tool [-loading (ToolSearch).**-] {+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 [-tool-] schemas to load) is computed live from the turn, not fixed at session start. [-It is the same anti-stale-list move as Pillar 1, in the dimension of tooling: a-] {+A+} pre-loaded tool list is a fixed list; deferred loading makes it live.

### 4.2 The instruments of cheap traversal in this project

**(d) [-Probes as paired-] {+Paired+} read [-surfaces.** FOUNDATION First Principle #4-] {+surfaces (probes).** A first principle+} requires that "every write surface has a paired read surface returning the same state," and [-the probes-] {+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." [-RSC/J15 calls this-] {+This+} probe symmetry [-its third primitive; here it-] is a traversal economy as much as an observability one.

### 4.2 The instruments of cheap traversal in this project

**(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. [-The-] {+A+} recipe matcher [-(PREFRONTAL/J13 §3)-] does exactly this: it scores the prompt against recipe metadata locally, in microseconds, and seeds the matching plan at turn [-start.-] {+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. [-FOUNDATION's-] {+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.

### 4.3 Why cheap traversal is an investment, not a nicety

The case for treating traversal as first-class rests on a compounding argument and a tie to two [-FOUNDATION-] {+first+} principles.

### 4.3 Why cheap traversal is an investment, not a nicety

The tie to [-**observability** (First Principle #4):-] {+**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.

### 4.3 Why cheap traversal is an investment, not a nicety

The tie to the **correlated artifact [-chain** (First Principle #4: "a correlated artifact chain threads everything"):-] {+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.

### 4.3 Why cheap traversal is an investment, not a nicety

So cheap traversal is not a convenience bolted onto the system. It is the precondition that makes Pillar 1 affordable [-(live-] {+— live+} computation requires reading the live situation [-cheaply)-] {+cheaply —+} and makes Pillar 2 [-useful (a-] {+useful: a+} pyramid no one can traverse cheaply is just a tall [-pile).-] {+pile.+} It is the load-bearing investment under both.

### 5.1 Why one runtime embodies all three pillars

The three pillars are a methodology. Their executable embodiment is a single piece of planned infrastructure: a **native orchestration runtime** inside [-Jarvis's-] {+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 [-the-] substrate that already exists: [-`fork.subagents.spawn`,-] {+the subagent spawn path,+} the recipe-runner's group scheduler, and the `onRecipeState` [-sink.-] {+sink (both real seams today, in `recipe-runner.ts` and `recipe-rpcs.ts`).+} It is governed by this paper.

### 5.1 Why one runtime embodies all three pillars

{+```{=latex} \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} ```+}

### 5.1 Why one runtime embodies all three pillars

- **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 (the fractal budget doctrine),-] {+work,+} not a hardcoded ceiling; the model each agent runs is chosen from the live model sense, not a pinned ID. The runtime is, by construction, a place where the death-of-fixed-thresholds discipline is enforced rather than merely recommended. - **Pillar 2 (significance-ordered fan-out).** An orchestration script is itself a small pyramid: a `phase()` is the significant, stable shape of a stage; the `parallel()`/`pipeline()` fan-out under it is the wide, detailed work; the per-agent prompts are the churning base. Phases surface to the [-RECIPES-] {+observability+} panel through the same `onRecipeState` sink 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, [-and it reuses PREFRONTAL/J13's-] {+over a+} durable-checkpointing [-spine.-] {+spine that already exists.+}

### 5.1 Why one runtime embodies all three pillars

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.-] {+hope. (The fixed default of two re-dispatch attempts is itself subject to §2.4's test: a small bound against runaway re-dispatch is derived, not stale, but worth a review pass before it ships.)+}

### 5.2 Honest status — planned, governed, not yet shipped

The runtime is **planned, not built.** [-It-] {+Its four primitives — `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 [-specified task-by-task in a separate capability-parity implementation plan (dated 2026-06-02), which is explicit about *why* it is needed and *what already exists*.-] {+driving the turn.+} The strategic finding behind the {+implementation+} plan is precise: [-Jarvis-] {+the agent+} already *has* most of the capabilities [-(real-] {+— real+} cross-provider debate, tree-of-thought, curiosity, an overseer, recipe fitness and evolution, deferred tools, hooks, plan mode, memory, schema-validated [-outputs)-] {+outputs+} — but it has them *inside borrowed workflows*. The [-four primitives `agent()/parallel()/pipeline()/phase()` are **not defined in TinkerClaw source**; they are the Claude Code `Workflow` tool, reached through cc-bridge, alive only while Claude Code is driving the turn. The-] plan makes [-them-] {+the primitives+} native so [-Jarvis-] {+the agent+} stays fully capable through the [-2026-06-15-] {+near-term+} programmatic-metering change and [-the-] CLI pin — a deadline that is itself a [-Pillar-1-] cautionary tale [-(a-] {+for Pillar 1, because a+} hardcoded dependence on a borrowed runtime is a fixed artifact whose world is about to [-move).-] {+move.+}

### 5.2 Honest status — planned, governed, not yet shipped

Stating this honestly is not a hedge; it is the application of [-FOUNDATION's own-] {+the+} *no silent failure* principle to the paper itself. A producer is "wired" only when verified firing at a real call site — [-"a-] {+a+} dead producer behind green tests is the failure class [-we-] most [-distrust."-] {+distrusted.+} A paper that claimed a planned runtime as shipped would be the documentation form of that exact failure. The runtime is designed, governed by this paper, grounded in a substrate that exists, and not yet running. [-The improvement-notes-] {+A+} companion {+change-ledger+} tracks each piece against [-DESIGNED-] {+a designed+} / [-PARTIAL-] {+partial+} / [-LIVE status-] {+live status, flipping entries to live+} with {+a+} commit [-SHAs-] {+SHA only+} as they [-land.-] {+land at a verified call site.+}

### 6. Relation to Other Papers

[-## 6. Relation to Other Papers-]

### 6. Relation to Other Papers

[-This paper sits among the J-series and is deliberately the *methodology* paper of the set — it argues the principles that the capability papers instantiate.-]

### 6. Situating the Work

{+## 6. Situating the Work+}

### 6. Situating the Work

{+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.+}

### 6. Situating the Work

[-- **FOUNDATION (the apex, not-] {+**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 [-J-paper).** FOUNDATION outranks this paper, as it outranks-] {+correlated artifact chain, a paired read for+} every [-optic. J16 is-] {+write, recipes that evolve under reversibility,+} the [-paper-level expansion-] {+fractal budget doctrine, and single-owner-per-fact. This paper expands one+} of [-FOUNDATION's First Principle #2 (*think-] {+those principles — *think+} fractally, not [-programmatically*)-] {+programmatically* —+} and [-of its-] {+the+} pyramid [-section; it elaborates and grounds, it does not amend.-] {+section that accompanies it.+} Where this paper and [-FOUNDATION-] {+the constitution+} could appear to differ, [-FOUNDATION-] {+the constitution+} is right by construction and the discrepancy is a bug in this [-paper. Every principle invoked here — capability-first with prudence as the brake, total observability, the correlated artifact chain, recipes evolving under reversibility, the budget doctrine, single-owner-per-fact — is FOUNDATION's; J16 only argues *why* they cohere into a single salience thesis.-] {+paper.+}

### 6. Relation to Other Papers

[-- **J13 / PREFRONTAL (the recipe execution substrate).** J13 owns the executive-function machinery: the matcher, composition, on-the-fly authoring, loops, effort routing, the RECIPES panel, durable checkpointing. J16 cites it as the running embodiment of cheap traversal (the matcher as intent router, §4.2e), of live computation (the effort router driving the turn from live signals, a Pillar-1 instance), and of the durable spine the orchestration runtime resumes over (§5.1). J13 builds the executive; J16 argues the salience principle the executive should obey. The two do not redefine each other's units — J16 treats the recipe as defined by J13 and J15.-]

### 6. Situating the Work

{+**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.+}

### 6. Situating the Work

[-- **J15 / RSC (intermediate abstractions).** J15 owns the *abstraction-theory* account:-] {+**The theory of intermediate abstractions.** A further body of work argues that+} the recipe [-as-] {+is+} the missing middle layer between a {+bare+} wish and a {+hand-written+} script, [-the five primitives (multi-optic atlas, executable invariants, probe symmetry, commit-and-timestamp anchors, manifest-injection round-trips) plus Constraint P (privacy dominates functionality). J16 leans on three-] {+and identifies a set+} of [-those primitives directly — the multi-optic atlas-] {+reusable primitives. Three of them are load-bearing here: a *multi-optic atlas* (the pre-compressed documentation map that+} *is* the traversal [-map-] {+accelerator+} of Pillar [-3, executable invariants are how-] {+3); *executable invariants* (the `verify:` blocks that mechanically enforce+} the pyramid's non-contradiction [-rule is mechanically enforced (Pillar 2),-] {+rule, Pillar 2);+} and [-probe symmetry is-] {+*probe symmetry* (the paired read surfaces that double as+} a traversal [-economy (§4.2d). J15 also-] {+economy, §4.2(d)). The same body of work+} supplies the discipline of honest claims-softening that §5.2 follows. Where [-J15-] {+it+} argues the recipe is the right *unit*, [-J16-] {+this paper+} argues that *relevance over that unit must be computed [-live*-] {+live*,+} and that *the units must be ordered by significance and cheap to traverse*.

### 6. Relation to Other Papers

[-The clean division: FOUNDATION states the principles; J16 argues why they form one salience thesis and how to apply it; J13 builds the executive substrate; J15 theorizes the abstraction layer. None contradicts another, and FOUNDATION outranks all.-]

### 7.1 What is real today

- The **pyramid (Pillar 2)** is live infrastructure: [-FOUNDATION.md-] {+the apex file+} is ratified and authoritative, the [-INDEX-] {+index+} routes by significance, optics own facts singly, and [-`pnpm bible:invariants`-] {+a single invariant-runner command+} enforces non-contradiction via executable `verify:` blocks. - Several **cheap-traversal instruments (Pillar 3)** are live: the [-bible-] optics as a pre-compressed map, [-graphify as-] a knowledge graph for [-both agents, deferred-tool/ToolSearch-] {+cross-cutting queries, deferred-tool+} loading, [-probes as-] paired read surfaces, and the recipe matcher as an intent [-router (J13).-] {+router.+} The correlated-artifact-chain and paired-read-surface requirements are [-FOUNDATION criteria-] {+first principles+} already enforced in the substrate. - Several **death-of-fixed-artifacts instances (Pillar 1)** are [-*targets named by FOUNDATION-] {+partly done. Latest-model prompting+} and [-grounded against the live config*, not all yet replaced. The fractal budget doctrine and latest-model-prompting and free-recipe-evolution-under-reversibility-] {+free recipe evolution under reversibility+} are live posture; the [-`agents.defaults.models[...].rank`-] {+`rank`+} leaderboard and the `<70%` budget gate are [-the-] legacy artifacts still in place {+— present in the live config today —+} and [-explicitly-] named here as the [-work.-] {+work, not claimed as replaced.+}

### 7.2 What is planned

- The **native orchestration runtime (the embodiment, §5)** is planned, governed by this paper, specified task-by-task in [-the capability-parity-] {+an implementation+} plan, and not yet built. Its [-P0 (the-] {+first deliverable is the+} four primitives plus schema validation plus [-the `prefrontal.recipe.orchestrate` RPC) is the immediate next deliverable; P1 (runId journaling/resume,-] {+an additive `recipe.orchestrate` RPC; runId journaling and resume,+} per-agent git-worktree isolation, [-an `execute_code`-] {+and a+} tool-RPC [-pipeline) and P2 (a beyond-parity backlog, each its own paper-first cycle)-] {+pipeline that collapses many tool round-trips into one+} follow. - The **live model sense** that retires the `rank` leaderboard, and the **fractal budget computation** that retires the `<70%` gate, are the two highest-leverage Pillar-1 replacements 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).

### 7.3 The honest boundary

The methodology [-(all-] {+— all+} three [-pillars)-] {+pillars —+} is articulated and largely instantiated; the embodiment is designed and not running. 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 [-paper's-] status section is therefore *itself* a live computation — it reports what is true on [-2026-06-02-] {+the date of writing+} and is expected to be re-derived, not frozen, as the runtime lands.

### 8. Conclusion

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 [-one-] encodes a dead world-state and drifts the system silently into obsolescence; replace them with live computation, made safe by reversibility and legible by observability. *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, and contradictions become typed bugs resolved by rank. *Invest in cheap traversal as a first-class concern*, because a system that computes relevance live must read the live situation, and a pyramid is only worth building if an agent can climb it for a fraction of the tokens — so the budget goes to thinking, not to re-reading.

### 8. Conclusion

The embodiment that fuses all three — a native orchestration runtime with no frozen limits, significance-ordered fan-out, and cheap work-graph traversal — is planned and named here honestly as not yet built. 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 system worth building is the one that never stops re-deriving what matters — including, when it writes its own papers, an honest re-derivation of what is true today.-] {+against.+}

### References to Companion Papers

[-## References to Companion Papers-]

### References to Companion Papers

[-This paper is self-contained; the companions are summarized inline where cited.-]

### References to Companion Papers

[-- **FOUNDATION (TinkerClaw bible apex).** The ratified base reference; outranks this and every optic. J16 expands its First Principle #2 (think fractally) and its pyramid section. - **PREFRONTAL / J13 (recipe execution substrate).** The executive-function layer: matcher, composition, authoring, loops, effort routing, observability, durable checkpointing. Owns the recipe as a cognitive-architecture unit and supplies the substrate the orchestration runtime resumes over. - **RSC / J15 (intermediate abstractions).** The abstraction-theory account: the recipe as the missing middle layer, the five primitives plus Constraint P (privacy dominates functionality). Supplies the traversal map (multi-optic atlas), the non-contradiction enforcement (executable invariants), and the honest-claims discipline. - **The capability-parity implementation plan** (2026-06-02, unpublished). The implementation plan the embodiment (§5) is specified in; this paper governs it (paper-first per FOUNDATION).-]

### Appendix B — The Three Pillars on One Page

| Pillar | The anti-pattern it kills | The salience replacement | Safety mechanism | [-FOUNDATION-] {+Principle+} anchor | [-|--------|---------------------------|--------------------------|------------------|-------------------|-] {+|--------|---------------------------|--------------------------|------------------|------------------|+} | **1. Death of fixed thresholds/lists** | hardcoded number, frozen ranking, round-number cap | live computation over the moment-of-use situation | reversibility (kill-switch, rollback, never-delete) + observability | [-First Principle #2;-] {+think fractally;+} 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; [-FOUNDATION-] {+apex+} outranks | the pyramid section; governance | | **3. Cheap traversal** | re-reading the repo every turn; the comprehension tax | optics map + knowledge graph + deferred tools + probes + intent router | observability doubles as traversal; correlated artifact chain | [-First Principle #4 (observability-] {+total observability+} + artifact [-chain)-] {+chain+} | | **Embodiment (planned)** | a borrowed runtime alive only under [-cc-bridge-] {+the bridge layer+} | native `agent/parallel/pipeline/phase`, schema-validated, live concurrency/budget | additive RPC behind no [-flag (P0); dark-launch-] {+flag, then dark-launched+} behavior changes [-(P1/P2)-] | all of the above; capability-first |
