# Executable Scaffolds — The Runnable-Capital Catalog {#root}

@status:spec/done

[p01] @fact:status-line **Discipline v0.2 · status: BETA · T1** @status:impl/done

[p02] @fact:CATALOG-IS-THE-OPERATIONAL-CORE *The operational core of "explanation capital must be runnable capital" (Manifesto §5).* @status:impl/done

[p03] @fact:NINE-CLASSES-CARRY-COGNITION *Nine classes of artifact that carry a strong author's cognition in a form a weak reader CONSUMES rather than re-derives.* @status:impl/done

[p04] @fact:EACH-PATTERN-IS-ALSO-A-CARD *Each pattern is also a card, shipped per-language in each stack's `cards/`; this catalog is the language-neutral overview and the build order.* @status:impl/done

## 0. Definition {#definition}

[p05] @fact:two-properties-at-once-lead An **executable scaffold** has two properties at once: @status:impl/done

1. [p06] @fact:PROPERTY-RUNS-OR-MACHINE-CHECKS **It runs or machine-checks** — compiles, executes, or evaluates as a checker, emitting a pass/fail (or typed) signal. Prose has no signal. @status:impl/done
2. @fact:PROPERTY-CARRIES-COGNITION **It carries cognition** — a weak reader USES it instead of re-deriving the understanding. @status:impl/done

[p07] @fact:prose-fails-the-first-property Prose about a pattern fails (1). @status:impl/done

[p08] @fact:random-utility-fails-the-second-property A random utility fails (2). @status:impl/done

[p09] @fact:SCAFFOLD-IS-UNDERSTANDING-WITH-A-PULSE A scaffold is materialized understanding with a pulse. @status:impl/done

[p10] @fact:empirical-basis-esolang-follow-up **Empirical basis.** EsoLang follow-up (Jun 2026): weak agents given a *written* strategy barely moved (Sonnet 12→12); given an *executable* helper library, they leapt (12→64). @status:spec/done

[p11] @fact:mechanism-not-the-idea-but-the-code Mechanism: mid-tier models lack not the idea but the ability to build the reusable code that carries it (R2C-008). @status:spec/done

[p12] @fact:TRANSFER-TAG-LEGEND **Transfer tags.** [E-strong] = directly supported by that generation result; [E-mid] = supported by other ledger findings; [E-hyp] = first-principles, validate in pilot. @status:impl/done

[p13] @fact:transfer-to-modification-is-the-pilots-job The result is about *generation*; transfer to *modification* is the pilot's job. @status:spec/done

[p14] @fact:floor-haiku-stayed-near-it **The floor.** Even with the executable library, Haiku-4.5 stayed near the floor. @status:spec/done

[p15] @fact:SCAFFOLDS-AMPLIFY-NOT-CREATE Scaffolds amplify capability; they do not create it. @status:spec/done

## 1. The nine classes {#nine-classes}

[p16]
| Class | Name | Carries | Transfer | Card |
| --- | --- | --- | --- | --- |
| @fact:ROW-CLASS-A **A** @status:impl/done | @fact:ROW-CLASS-A-NAME Generators / codegen @status:impl/done | @fact:ROW-CLASS-A-CARRIES structural decisions, as named inputs to an emitter @status:impl/done | @fact:ROW-CLASS-A-TRANSFER [E-strong] @status:impl/done | @fact:ROW-CLASS-A-CARD `scaffold-a-generators` @status:impl/done |
| @fact:ROW-CLASS-B **B** @status:impl/done | @fact:ROW-CLASS-B-NAME Typed builders / typestate @status:impl/done | @fact:ROW-CLASS-B-CARRIES protocol correctness, as types the compiler checks @status:impl/done | @fact:ROW-CLASS-B-TRANSFER [E-mid] @status:impl/done | @fact:ROW-CLASS-B-CARD `scaffold-b-typed-builders` @status:impl/done |
| @fact:ROW-CLASS-C **C** @status:impl/done | @fact:ROW-CLASS-C-NAME Runnable contracts @status:impl/done | @fact:ROW-CLASS-C-CARRIES invariants, as executing assertions/proofs @status:impl/done | @fact:ROW-CLASS-C-TRANSFER [E-mid] @status:impl/done | @fact:ROW-CLASS-C-CARD `scaffold-c-runnable-contracts` @status:impl/done |
| @fact:ROW-CLASS-D **D** @status:impl/done | @fact:ROW-CLASS-D-NAME Differential / characterization oracles @status:impl/done | @fact:ROW-CLASS-D-CARRIES behavior, as a runnable old-vs-new check @status:impl/done | @fact:ROW-CLASS-D-TRANSFER [E-mid] @status:impl/done | @fact:ROW-CLASS-D-CARD `scaffold-d-differential-oracle` @status:impl/done |
| @fact:ROW-CLASS-E **E** @status:impl/done | @fact:ROW-CLASS-E-NAME Per-cell fast verification loop @status:impl/done | @fact:ROW-CLASS-E-CARRIES the substrate that makes all signals fast enough @status:impl/done | @fact:ROW-CLASS-E-TRANSFER [E-strong] @status:impl/done | @fact:ROW-CLASS-E-CARD `scaffold-e-fast-loop` @status:impl/done |
| @fact:ROW-CLASS-F **F** @status:impl/done | @fact:ROW-CLASS-F-NAME Structured, REQ-citing diagnostics @status:impl/done | @fact:ROW-CLASS-F-CARRIES debugging cognition, in the error text @status:impl/done | @fact:ROW-CLASS-F-TRANSFER [E-mid] @status:impl/done | @fact:ROW-CLASS-F-CARD `scaffold-f-structured-diagnostics` @status:impl/done |
| @fact:ROW-CLASS-G **G** @status:impl/done | @fact:ROW-CLASS-G-NAME Executable examples / doctests @status:impl/done | @fact:ROW-CLASS-G-CARRIES canonical usage, as compiled examples that cannot lie @status:impl/done | @fact:ROW-CLASS-G-TRANSFER [E-strong] @status:impl/done | @fact:ROW-CLASS-G-CARD `scaffold-g-doctests` @status:impl/done |
| @fact:ROW-CLASS-H **H** @status:impl/done | @fact:ROW-CLASS-H-NAME Local simulators / reference models @status:impl/done | @fact:ROW-CLASS-H-CARRIES subsystem semantics, as a runnable model @status:impl/done | @fact:ROW-CLASS-H-TRANSFER [E-strong] @status:impl/done | @fact:ROW-CLASS-H-CARD `scaffold-h-simulators` @status:impl/done |
| @fact:ROW-CLASS-I **I** @status:impl/done | @fact:ROW-CLASS-I-NAME Scaffolded edit operations / codemods @status:impl/done | @fact:ROW-CLASS-I-CARRIES a multi-file change, as one checked operation @status:impl/done | @fact:ROW-CLASS-I-TRANSFER [E-hyp] @status:impl/done | @fact:ROW-CLASS-I-CARD `scaffold-i-codemods` @status:impl/done |

[p17] @fact:row-details-live-in-the-card Each row's full Applicability/Routine/Checker is in its card. @status:impl/done

## 2. Build order (transfer-strength × weak-reader leverage) {#build-order}

1. [p18] @fact:BUILD-ORDER-E **E (fast loop)** — substrate; nothing pays off without it. First. @status:impl/done
2. @fact:BUILD-ORDER-G-AND-F **G (doctests) + F (diagnostics)** — cheapest runnable capital; guaranteed-truthful few-shot signal. [E-strong]. @status:impl/done
3. @fact:BUILD-ORDER-B-AND-C **B (typed builders) + C (contracts)** — convert hallucinations to compile/assert failures at seams. [E-mid]. @status:impl/done
4. @fact:BUILD-ORDER-D **D (differential oracles)** — the modification-specific safety net; the class most worth validating for our actual task. [E-mid]. @status:impl/done
5. @fact:BUILD-ORDER-A-AND-H **A (generators) + H (simulators)** — highest ceiling, highest cost. [E-strong]. @status:impl/done
6. @fact:BUILD-ORDER-I **I (codemods)** — potentially decisive for the swarm, but [E-hyp]; prototype and measure before the guide commits to it. @status:impl/done

## 3. The scaffold-reality checklist (all four must hold) {#reality-checklist}

- [p19] @fact:CHECKLIST-RUNS-OR-CHECKS [ ] **Runs/checks:** emits pass/fail or typed signal, not prose. @status:impl/done
- @fact:CHECKLIST-CARRIES-COGNITION [ ] **Carries cognition:** encodes a decision a weak reader would otherwise re-derive. @status:impl/done
- @fact:CHECKLIST-FAST-ENOUGH [ ] **Fast enough:** signal returns inside the per-cell loop budget (<~60s). @status:impl/done
- @fact:CHECKLIST-CANNOT-SILENTLY-LIE [ ] **Cannot silently lie:** if it drifts from reality it FAILS (compile error / assert / red test), never misleads. (The doctest-vs-comment distinction.) @status:impl/done

## 4. The build/use boundary (a pilot hypothesis worth stating) {#build-use-boundary}

[p20] @fact:sharp-capability-line-hypothesis There may be a sharp capability line between *building* a scaffold (Classes A, I — emit/parameterize) and *using* one (Classes G, H — consume). @status:spec/done

[p21] @fact:evidence-haiku-did-not-improve Evidence: Haiku did not improve even with the executable library, suggesting the barrier is not the scaffold's presence but the ability to wield it. @status:spec/done

[p22] @fact:WEAKEST-TIER-GETS-CONSUME-ONLY-SCAFFOLDS If true, the weakest swarm tier should receive consume-only scaffolds (G/H) and invoke-only operations (I as a fixed command), never build-it-yourself scaffolds. @status:spec/done

[p23] @fact:prime-pilot-question Prime pilot question (R4). @status:spec/done

