Skip to content

Latest commit

 

History

History
837 lines (486 loc) · 172 KB

pressure-testing.md

File metadata and controls

837 lines (486 loc) · 172 KB
title Pressure Testing
nav_order 6
parent The Library
has_toc true
toc true

Pressure Testing

Table of contents {: .text-xs .font-medium .uppercase .tracking-wide .opacity-50 } 1. TOC {:toc}

Pressure Testing (The Crucible)

The review every Grace Commons pattern goes through before it is done. A round is three passes over one frozen text, each read by a fresh reader; a round with no foundational finding after both triages makes the pattern done, and the section titled What DONE means owns that rule and the status words. Every pattern also carries both formal models (see Formal models below). The history of the rounds' naming and counting is in pressure-testing.hist.md.

A pattern's spec is incomplete in three different ways at once. Each of the three passes below catches a different class of incompleteness. None substitutes for the others. Together they constitute the mandatory foundation for atoms (in atoms/) and compositions (in compositions/).

The foundation passes are not a single-shot quality bar. Fixing a Pass 1 gap changes the document, and the changed document has new surface area for Pass 3 to find. A spec that passes all three cleanly on the first attempt has either been authored with extraordinary care or has not been reviewed adversarially enough. Refinement passes — re-running the same three passes after each round of fixes — are expected, not exceptional. There is no fixed number of refinement passes; the loop runs until a complete pass surfaces no new findings.

The three passes are recursive in a useful way: applying them to a pattern produces a commit whose message records the round, and that reasoning can itself be pressure-tested by re-running the same three passes. Each fresh use becomes evidence the architecture is doing real work.


Pass 1 — Structural completeness (GRID)

What it checks. For each of GRID's nine nodes (GRID is a nine-checkpoint completeness framework — each node is one checkpoint) — Intent, System, Friction, Flow, Decision, Feedback, State, Behavior, Proof — is the node specified? Does the spec satisfy the node's completeness rule? Are the node's references to other nodes resolved?

What it catches. Missing pieces. Nodes that aren't addressed at all. Friction items that don't reference a Flow step. Decisions that aren't linked to a State or Behavior. Intent claims that aren't testable.

How to run it. Mechanical. Walk the nine nodes one by one with their MUSE v1.1 (the completeness framework GRID is built on) rules:

Node Completeness rule
Intent Must be testable — falsifiable by observable behavior
System Must reference real components, not hypothetical ones
Friction Must reference a specific system node or behavior
Flow Must have a defined start, end, and at least one branch
Decision Must be linked to a State or Behavior node
Feedback Must be measurable — tied to a specific signal or metric
State Must name what changes and under what condition
Behavior Must be observable — not inferred
Proof Must be measurable and defined before development begins, and must name its verification surface — records-alone checks and the derived formal models every pattern carries (see Formal models below)

Then check the reference graph: every Friction links to a Flow step; every Decision links to State and Behavior; every Proof links to Intent. Orphaned references (links that point to something not defined in the spec) are violations. The same check extends to invariant dependencies: every Rests on: clause must resolve to a declared capability (see Capability provenance) — a dependency on an undeclared substrate or constituent capability is an orphaned reference of the same class.

Then check accessibility completeness — two structural checks that are mechanical, not adversarial, and belong in Pass 1:

  • Summary is Tier 1 clean. Does the Summary contain any unexplained acronym, undefined jargon, or technical term that is not everyday English? Every such term must be defined inline. A Summary that a non-engineer with domain knowledge cannot read without a glossary is a Pass 1 structural gap, not a stylistic preference.
  • No undefined acronym anywhere in the spec. Does any acronym or initialisation (HIPAA, GDPR, EOS, GRID, NFC, FATF, BSA/AML, KYC, CDD, PCI DSS, etc.) appear without being spelled out and briefly glossed at its first use in the document? First-use definition is required globally — in any section, not just the Summary. An undefined acronym is an implicit "you know where to look" cross-reference and is treated as a reference-graph violation.

For compositions that define a named semantics subsection (Replay semantics, Evaluation rules, Provisioning cascade, or similar): every action wiring step that defers execution to that subsection — by saying "recompute", "evaluate", "apply", "cascade", or equivalent — must name the subsection explicitly. An action wiring step that says "recompute the derived state" without citing the Replay semantics section is an intra-document orphaned reference and is a Pass 1 finding.

Then run the reference-graph checks the frozen rules of 2026-08-29 add, each mechanical and each a resolved-or-orphaned question:

  • Every derived-index element states its past-horizon classification, and a truth-bearing half names its atom. The named atom resolves to a file or a *(forthcoming)* marker — the section titled A derived index splits at the horizon.

And the ones the frozen rules of 2026-08-30 add:

  • Every verdict class in a verdict table resolves to a producing step. A failed-verification(purged) the table promises has a step that reaches it before any composition-side membership check — the section titled Lawful destruction is answered before absence.
  • Every exercised constituent capability resolves to a declared source. The six tells for uses under the section titled Capability provenance — a read keyed by an un-indexed field, an enumeration the store does not offer, durability the constituent disclaims, a multi-call critical section, a clock the constituent has none of, a uniqueness scope wider than the constituent's — are each an orphaned reference.

Time: 15–30 minutes for an atom; longer for a composition with multiple constituents.

Personal Todo example. First pass surfaced five gaps: actor (Behavior was incomplete — who acts?), description mutability (State + Decision were silent on edit), temporal metadata (State omitted timestamps), observability (Feedback didn't say what's queryable), identity policy (Decision punted on duplicate handling). Four were closed in-pattern; the fifth was extracted to Duplicate Prevention by Pass 2.


Pass 2 — Conceptual independence (EOS — Essence of Software)

What it checks. For each responsibility the spec names, does it belong to this concept, or to a different concept that ought to compose with it?

What it catches. Over-absorption (when a spec takes on more than it should — grabbing responsibilities that belong to a different concept). A spec absorbing a responsibility that is generic, recurs across many concepts, and deserves its own freestanding atom. In EOS's frame these are concepts hiding inside a host — not properties of the host concept; concepts in their own right.

How to run it. For each responsibility, ask:

  • Does it recur across many domains? (Identity stability, recency guards, audit logging, time windows, ordering, retention, tamper-evidence — usually a separate concept.)
  • Does it have its own state machine, distinct from the host concept's? (If so, almost certainly its own concept.)
  • Could the host concept be specified without it, with the functionality composed in? (If yes, extract.)
  • Would another concept that needs this functionality reinvent it? (If yes, extract.)

Three classification questions the frozen rules of 2026-08-29 add, all about where a fact lives:

  • False records. Does anything durable end up asserting a fact the canonical state denies?
  • Of the records a recovery path writes, which are re-derivable and which are not? A re-derivable record is derived state, rebuilt from the constituent stores or the sealed trail; a record that is not re-derivable is not re-emitted by the recovery — the act is re-run or abandoned. A recovery that "remembers" is holding state no classification admits — Recoverable Invocation, Invariant 5.3 and Invariant 5.9.
  • What is each derived element past its horizon? Still derived from an independent failure domain, not needed, or truth-bearing — and a truth-bearing half is an unnamed atom to extract: a purge's destroyed key (Erasure Tombstone), a record owed for a committed act (Owed Record), a composition's own log (Event Log). A composition-owned middle is the tell — the section titled A derived index splits at the horizon.

The composition-layer extraction gate — one level up. The four questions above are written against atoms: they catch a responsibility that should be its own freestanding atom. As the composition catalog grows, the dominant over-absorption risk moves up a level. It is no longer a responsibility absorbed into one spec, but the same emergent invariant or wiring decision recurring across many compositions — binding bijections, cascade gates, attribution-coverage variants — with no canonical rule for when that recurrence should be retired into a shared substrate composition or atom. The rule below is that trigger, and it is deliberately not a recurrence count: no fixed N is defensible, because two forced recurrences of a real concept warrant extraction while a dozen co-occurrences of the same atoms do not. The trigger is a conjunction of gates — extraction fires only when Gates 1 through 3 all hold; the tie-breaker that follows orders borderline candidates but never opens or closes the decision by itself. Without the rule the choice gets made ad hoc, one round at a time, and the corpus accumulates parallel re-derivations of the same emergent rule.

  • Gate 1 — recurrence is at the invariant level, not the atom-set level. Count recurrence as the same emergent invariant independently forced across compositions — never as co-occurrence of the same constituent atoms. Similarity is not recurrence: shared constituent lists, parallel wiring shape, and naming conventions are surface similarity, while identical wiring can force different invariants and a genuinely cross-domain instance of one invariant can look nothing alike in two specs. This gate rejects recurrence-inflation — the false count that admits cosmetic twins.
  • Gate 2 — the recurrence has an emergent invariant surface of its own. The recurring thing must be a must-be-true that no constituent owns alone, not the co-location of constituents that each already hold their own invariants. Gate 1 asks is it the same invariant recurring; Gate 2 asks is it an emergent invariant at all — distinct failures, so the two gates are not redundant: Gate 1 rejects the same atoms wired twice for different reasons, while Gate 2 rejects a recurrence whose "invariant" is merely the conjunction of constituent invariants (zero emergent yield — a recipe, not a substrate).
  • Gate 3 (decisive) — the recurrence names a freestanding concept, not wiring. This is Jackson's wiring-not-primitive rule: wiring freestanding concepts together does not mint a new primitive. The discriminator that makes the gate decidable rather than a matter of taste: does the recurring invariant introduce state or behavior the constituents do not already carry — a state machine of its own — or is it the mechanical consequence of wiring them, adding no state beyond what the constituents hold? The operative test is new state, not the looser "is something emergent here": mere emergence is present in any non-trivial composition and decides nothing, whereas new state the constituents lack is checkable by inspection. Only the former is a concept worth extracting; the latter is wiring dressed as a primitive, and promoting it makes every composition that names it inherit a dependency that buys no new guarantee. Gates 1 and 2 can both read yes on surface evidence and this gate still settles it — which is why it is decisive, not co-equal with the other two.
  • Tie-breaker (a weight, not a gate) — would a substrate retire forthcoming-debt? If the recurring invariant has already seeded forthcoming atoms or composition-introduced surfaces across the affected specs — each naming the same not-yet-extracted home — a substrate that collapses them into one declared owner retires that standing debt at once. This raises a candidate's priority among those that already clear Gates 1 through 3; it never substitutes for them. A recurrence that would retire debt but fails Gate 3 is still wiring, and is not extracted.

Worked case — running the gates. Immutable Ledger's Final Critique 5 (its Pass 2 EOS extraction-candidate review) considered the strongest candidate it found — a standalone binding-bijection / dual-store atomic commit atom — and declined it. Run through the gates, that decline is determined by the gates, not reached by instinct. Gate 1 holds: the binding-bijection invariant genuinely recurs — the same disclosure-record-to-audit-event atomicity recurs in Chain of Custody and Forensic Recovery, both named in Immutable Ledger's commit history as carrying the binding-bijection model shape, not merely the same atoms co-occurring. Gate 2 holds: it is an emergent must-be-true no single constituent owns. But Gate 3 fails — the bijection has no state machine of its own; it is the mechanical consequence of committing two stores under one atomicity obligation, introducing no state the constituents do not already carry, so it names wiring, not a freestanding concept. Gate 3 turns the decision, exactly as the rule predicts a recurring-but-mechanical invariant should resolve. The council reached this answer by instinct, against one spec, with nothing to make the next such decision repeatable; the gates make it repeatable — and, run here, they reproduce the council's verdict for a stated reason rather than merely re-describing it after the fact.

The higher-order composition test (2026-08-30). The three gates say when a recurrence names a concept; they were written for atoms, and applied one level up they say nothing about whether the concept is worth its own pattern. The test below is the acceptance bar for a composition of compositions — a substrate a composition adopts through a declared contract without exposing its constituents — and it was written the day the corpus proved it needed one: twenty compositions independently re-deriving the same invariant-bearing machinery (an intent and outcome record, a serialized section, a recovery terminus, a bounded reconciliation, a positioned rejection code), each local copy accumulating slightly different fixes, and each fresh-reader round finding the next defect in the copy the previous round had just repaired. That is not duplication; it is a missing compound. The risk on the other side is the false abstraction — a layer created because it might be reusable rather than because the corpus has shown it is — and the test is what keeps abstraction evidence-driven. A higher-order composition earns its existence under all of the following:

  • No abstraction without recurrence. Extract only after the same invariant or protocol shape has appeared repeatedly in real compositions. The floor is five exact instances — instances of the same problem, not the same syntax; a pattern whose recovery, durability, trust, or failure semantics differ does not count toward the five. (A rule on this page freezes on three, and the table titled Thresholds in method.md lists both numbers; a compound costs more to be wrong about, because un-extracting one means re-deriving the protocol in every adopter, so its floor is higher. This does not amend the no fixed N sentence above: the count is a floor the evidence must clear, and the three gates still decide.)
  • The abstraction must remove more complexity than it introduces. If callers still need to understand or restate the protocol's internals, the extraction failed.
  • It must own a real invariant. Helper behaviour is not enough; the compound centralizes something every caller would otherwise have to re-prove.
  • Callers bind parameters, not behaviour. Adoption replaces protocol prose with a small declarative dependency plus caller-specific bindings — the act's key, the constituent commit call, the bound, the pairing field, the identity or none.
  • Responsibility becomes clearer, not more distributed. One invariant family has one obvious owner.
  • Do not abstract away meaningful differences. Similar syntax is not sufficient where recovery, durability, trust, or failure semantics differ; those are separate compounds, or declared deviations, never a wider contract.
  • Require deletion as evidence. A new compound materially removes duplicated prose, state, checks, models, and recovery machinery from its adopters — measured, in bytes, by tools/survey/protocol_prose.py, before and after.
  • Keep deviations explicit. A caller that needs behaviour outside the common contract declares the deviation rather than expanding the abstraction until it is universal and vague.

Stated simply: a higher-order composition earns existence when several compositions repeatedly implement the same invariant-bearing protocol, and extracting it makes those compositions materially smaller while moving the invariant and its proof burden to one place. This is not a class hierarchy. Composition is recursively closed — a composition may itself be composed through a declared contract without exposing its internal atoms — and the principle is closer to chemistry than to object-oriented design: discover a recurring stable compound, name it, specify its properties, reuse it; do not invent one because several things happen to look alike.

Worked evidence — the recoverable invocation (2026-08-30). The survey the seventh rule names, run the day the test was written: twenty compositions carry three or more of the six components, the protocol prose totals roughly 920 kilobytes, and its share of a body runs from 8% (Privileged Access Provisioning) to 55% (Actor Suspension); nine carry all six. The exactness clause splits them. Fourteen share one problem exactly — an act committed in a constituent store and journaled through the Audit Trail substrate, attested, sealed, and retained under a purge horizon, with a recovery identity that writes when the human is gone — and clear the floor nearly three times over; their extraction is a decision the gates make, not a question of evidence. Four share a different problem — the same act shape journaled through a bare Event Log, with no attribution and no horizon (Authenticated Actor, Compensable Workflow, Idempotent Reservation, Preference-Aware Notification Fanout) — and sit one short of the floor, which is where they belong: their legs differ (one evicts, one redisposes, one reports, one has no leg at all), and whether they share a problem or a shape is what the fifth instance will say. Audit Trail is neither: it is the first group's journal, and its own reconciliation is the one instance that cannot adopt what it provides. The two atoms that carried the shape (Clinical Observation, Medication Order) closed it by refusing to have a leg at all, and are not adopters. The compound is stable enough to specify now because its three revisions in one day — where the lease starts, what a non-lease host does, whether expiry stops writes — were each forced by a closure check rather than chosen; it is specified once, modeled once (two processes over one act), gated once, and adopted by one caller before the other thirteen, so the deletion count is measured on a real adopter rather than estimated. Roadmap methodology debt #20 carries the candidate.

A wait composes, never hand-rolls (2026-11-10, Scott: "Yes of course, it is simple DRY"). A pattern whose act waits on a call it does not own composes Recoverable Invocation for that wait (and Lease and Calendar Time where it holds or reads time), and declares no sweep, completion bound, compensation window or reconciliation cadence of its own for it. A rule that does is a foundational finding, cured by composing. The survey above is the evidence: twenty-one compositions wait on a call that may not return, three compose Recoverable Invocation, and twelve more declare their own sweep with the same bundle of completion bound, compensation window, reconciliation cadence, run bound and clock offset allowance. External Onboarding is the worked case: seventeen rounds ungrounded on its own resume arm, grounded two rounds after composing (Final Critique 19, 4856a01). Scope: the approvers' own answers in Approval Step and Multi-Party Approval are not such a wait, since no rule ends a wait on a person. Audit Trail, the substrate Recoverable Invocation stands on, is not an adopter.

A sibling boundary error EOS also owns is capability mis-attribution: an invariant or action that pins a capability on a constituent which does not expose it. The capability is real and emergent, but it belongs to a composition-introduced surface or a not-yet-extracted atom — not the constituent it is named on. Treat it like over-absorption in reverse: surface the real owner and declare the dependency there (see Capability provenance).

Time: 10–20 minutes once familiar with the existing atom catalog. Faster as the catalog grows — a quick scan against existing atoms surfaces most over-absorptions.

Personal Todo example. First-pass identity policy was absorbed in-pattern as a 24-hour deletion record. Pass 2 caught it: the same responsibility appears in comment double-post, payment idempotency, newsletter double-subscribe, form submission. It is not a property of Personal Todo — it is its own concept. Extracted as Duplicate Prevention. Personal Todo got cleaner; three other concepts now have a place to compose from.


Pass 3 — Adversarial scrutiny (Linus mode — named after Linus Torvalds, creator of Linux, known for blunt and unsparing code reviews)

What it checks. Read the spec like someone with low patience for hand-waving. Look for muddled thinking, decisions deferred dressed up as deliberate ambiguity, marketing claims without justification, examples that exercise only happy paths, invariants that aren't actually invariant.

What it catches. Hidden decisions and sloppy thinking. The load-bearing decisions that have been pushed below the surface where they don't have to argue for themselves.

How to run it. Adopt the posture of a senior reviewer who is allergic to abstraction-as-evasion. Sample questions to ask of every spec:

  • Identity. What concretely is the identity model? Is identity an opaque id, or is it a property like name or description? What happens if the identity-property changes — is that the same entity or a different one? Pick a side. State it.

  • Action signatures. What does each action return on success? On failure? What are the rejection reasons, named?

  • Primitive policies. For every string, number, date, identifier in the spec — what are the rules? Empty allowed? Whitespace? Unicode normalization? Length cap? Trim? Case-sensitivity?

  • Invariant precision. Are invariants (rules that must always be true, no matter what) stated with proper conditional structure when terms are optional? A chain inequality a ≤ b ≤ c is wrong if any term may be undefined.

  • Examples. Do they exercise rejection paths, edge cases, and the explicit non-goals — or only the happy path?

  • Deferred responsibilities. Are concurrency (multiple operations happening at the same time), atomicity (an operation either fully completes or fully fails — no in-between), clock semantics (rules about where timestamps come from and whether they can be trusted), and persistence named explicitly as out-of-scope, or implicitly assumed away?

  • Marketing. Does the spec claim it extends or is informed by or is built on something? Is the claim accurate, or sleight-of-hand papering over a different model?

  • Atomicity. Are state transitions atomic? What about a crash mid-transition — is an invariant violated? Whose problem is that?

  • Time. Where does now come from? Whose clock? What about skew, monotonicity, timezone?

  • Cross-references. Does every step, invariant, or claim that depends on content defined elsewhere name that section explicitly? Does every section that defines a mechanism used by another section get named by those users? Implicit "you know where to look" is a finding — all references must be explicit in both directions.

  • Logic confinement. Does any action embed async work, IO, crypto, or clock reads inside the core transition? Time, identity, and cryptographic material must be injected inputs, not internal calls. A transition that generates now or a random id inside itself is non-deterministic — flag it. See Logic Confinement Principle in execution-contract.md.

  • Relations. Does every relation a composition introduces across its constituents (containment, ownership, membership, hierarchy) declare its cardinality — one-to-one, one-to-many, or many-to-many — and the modality of each side (mandatory / optional)? Modality is asserted at quiescence, modulo declared compensation and the retention horizon: a binding's orphan may be reachable-but-surfaced under partial failure (state it as safety + liveness, not a static "always both sides"), and may degrade to bound-or-honest-destruction past the horizon. Is the relation's state classified per the section titled Composition state in execution-contract.md — a derived index (the default; the inverse is rebuilt from the forward references) or extraction-pending (state carrying truth no constituent replays — an unnamed atom to extract; there is no composition-owned middle)? An undeclared cross-constituent relation is where orphans, dangling references, and drifting inverses hide. A relation may also be self-referential — a constituent related to its own kind (a containment hierarchy, a bill-of-materials, a grouping) — which additionally requires acyclicity / well-foundedness: no record is its own ancestor under the transitive closure (the cycle a cross-constituent relation cannot even form). The required-invariant forms this pass checks for — referential integrity, orphan-freedom, inverse consistency, and acyclicity — are the canonical templates in the section titled Structural-relation invariant templates in spec-format.md: this pass owns the check (declare the relation's shape; carry the templates that shape requires), spec-format owns the forms.

  • Horizon. For each derived element, what reads it after the purge, and does that reader know the element is no longer derived? — the section titled A derived index splits at the horizon.

  • Purged. Present this action a record the substrate purged yesterday and read the step list: which step answers, and is it the constituent's? — the section titled Lawful destruction is answered before absence.

  • Provenance of uses. For each read, enumeration, durability claim, critical section, clock, and uniqueness scope the steps exercise, which line of the constituent's contract grants it? — the section titled Capability provenance.

  • Lost entries. What does a lost entry do here?

  • The bound. What does this invocation do one tick past its bound, and what do two runs of this leg do at once?

  • Stamps. Whose clock stamped each side of this comparison?

  • First sentences. Quote each invariant's first sentence alone: is it true?

  • Failed steps. Which step failed, and what is on disk?

  • Authority. Whose authority is this transition relying on, and where was that identity authenticated before it?

Adversarial postures (run all three). The questions above check topics; these check the spec from a hostile stance, and catch what a topic-checklist misses:

  • The cheapest-compliant implementer. "Read this as someone trying to ship the cheapest possible implementation that still technically satisfies every sentence." Whatever they could get away with is an under-specification — close it.
  • Two engineers who dislike each other. "Find any sentence two senior engineers who want each other to be wrong could read two different ways." Each such sentence is a determinism leak — pin the reading.
  • The unstated-assumption hunt. "Name every implicit assumption about clocks, ordering, or identity the spec relies on but does not state." Each one is a hidden load-bearing decision — surface it or name it out-of-scope.

Time: 30–60 minutes for a thorough pass. The most labor-intensive of the three.

Personal Todo example. Surfaced five gaps in the simplified post-Pass-1-and-2 spec: identity model muddled, add return value unspecified, description rules unspecified, timestamp monotonicity (the requirement that timestamps always move forward, never backward) malformed (chain inequality with optional terms), examples were happy-path only. All five fixed in a third revision; three additional responsibilities (concurrency, atomicity, clock semantics) named as explicit out-of-scope rather than fixed in-pattern.


Formal models — the parallel verification surface

The three passes above operate on structured English. They catch ambiguity, incompleteness, over-absorption, and hidden decisions — the classes of gap a careful reader can frame as a question. They cannot catch the class of gap no reader thought to look for. That class is what formal models exist to catch.

A pattern may carry one or more formal-model siblings — .als for Alloy, .tla + .cfg for TLA+ — in its folder's models folder (atoms/models/, compositions/models/), under its canonical .md's base name. Alloy checks structural invariants via bounded exhaustive search; TLA+ checks behavioural sequences via exhaustive interleaving under TLC. Both run at design time, before any implementation exists. Both treat the canonical English as the source — the formal artifact is a validator of the spec, not a replacement for it.

Formal models complement the three passes; they never replace them. Every pattern carries both models (below); a model is a first-class artifact in its own right. The Alloy model for Attributed Permissions Admin surfaced Invariant 7 (Attestation Exclusivity) after sixteen prose-review findings had already closed, because no human reviewer thought to ask could an attestation be used twice? That is the load-bearing contribution: the formal layer asks questions the prose layer cannot frame.

Findings from formal models are recorded in the commit message that lands the model, in the same arc as Pass 1–3 findings; the Ledger's formal: line names the files and the verification date. The entry must carry plain-English summary sufficient for a reader who does not know the tool — what the artifact is, where it lives, what invariants it checks (named, not by syntax), the bounds or scope used, any deliberate scope exclusions and why, and the result. See the section titled Formal-model artifacts below for the full convention: location and tier discipline (spec-layer artifacts; not in demos/ or build folders), base TLA+ as the default flavor (PlusCal only when intra-action protocol semantics genuinely warrant it, and defended in the commit message where used), and the human-readability requirement (every formal construct annotated in plain English). The artifact-side annotation and the commit-message summary together discharge the minimum-formalism principle's accessibility contract — the formal layer is free to use the most expressive tool that earns its keep precisely because the canonical English carries the bridge to every other reader.

The minimum-formalism principle

The minimum-formalism principle is the operating discipline that governs how rigor is introduced into a spec. We embrace the smallest possible formalism when irreducible complexity requires it, defaulting to plain English but employing high-logic tooling under the hood. The result satisfies human readability and the highest possible verification output simultaneously — not as a compromise between the two but as a consequence of the correct architecture.

Plain English is the canonical representation and the default. Formalism is introduced only at the layer where it provides coverage the layer above cannot: decision tables and decision trees are inline constructs — self-evident enough to require no prose gloss — that compress complex conditional logic without cost to readability. Alloy, TLA+, and mechanized proof assistants are sibling artifacts that check structural invariants, behavioral sequences, and inductive correctness properties exhaustively against the spec, catching unknown unknowns no prose reviewer thought to probe. Property-based tests are downstream artifacts that verify the compiled implementation against the spec's stated properties. Each layer operates without burdening the layers above it. A reader of a Grace Commons spec never needs to know Alloy; the Alloy model catches what the reader would not have caught.

The three-tier formal verification stack

The three-tier formal verification stack. When a pattern or composition warrants formal verification — typically at the compliance and security-critical end of the catalog — the architecture provides three tiers, each reaching further than the one before it:

  • Alloy (the static data model). Static structural checks over the data model only: what the records may hold at one instant. Whatever happens across steps belongs to TLA+. Catches: malformed identity models, invariant violations over snapshots, structural attacks the prose didn't articulate (e.g., principal-binding exploits in Session-Gated Authorization). Tool: Alloy Analyzer / Alloy 6. Sibling files: .als. First natural targets: any composition with a rich relational structure — attribution maps, session-credential bindings, grant pairing maps.

  • TLA+ (everything across steps). Everything that happens across steps, eventually included in every pattern's model. Exhaustive interleaving over every reachable state within bounded constants. Catches: race conditions, cascade-ordering violations, map-consistency failures under concurrent writes, TOCTOU races the action wiring must explicitly handle. Tool: TLC model checker. Sibling files: .tla + .cfg. Natural fit: any composition whose invariants involve ordering across actions; the TLA+ models for Login, External Onboarding, Attributed Permissions Admin, and Session-Gated Authorization are worked examples.

  • TLAPS (TLA+'s own proof system: mechanized proof over the same TLA+ model). Proofs that hold for all sizes, not just bounded ones, used only for a law a pattern names as holding for every size (a conservation law, say), checked first by TLC at small sizes. The natural target is any such law whose correctness argument is genuinely inductive — where "it held for N=2,3,4" is not the same as "it holds for all N." First natural target: the verifyChain tamper-evidence property in the Tamper Evidence atom and Audit Trail composition. The inductive structure is: if every link in a hash chain has an unbroken predecessor, and the chain was written append-only, then no intermediate record can be silently modified. TLC confirms this at small chain lengths; TLAPS closes the induction.

A bounded check settles a claim that has a small-model cutoff, a bound beyond which a larger instance shows no new behavior (atomicity, gating, a namespace bijection, a per-record rule, a snapshot's completeness), and that cutoff argument is owed once for each class of such claim. A claim whose correctness argument is inductive over an unbounded sequence or set (a hash chain's integrity, allocation coherence over any number of steps, a conservation law) is settled by no bound, and owes a TLAPS proof once its pattern names it as holding for every size. Where the cutoff argument cannot be made for a class, that class is not out of scope for proof.

The five cutoff arguments (2026-11-15). Each class of claim has one argument, stated once here and cited by the pattern that rests a bounded claim on it. Each states its condition and its bound and argues the bound; a claim outside the condition owes the argument its own class names (the Outside the condition paragraphs below), and where none is named, a proof once its pattern says it holds for every size. "Position" means the place a record or actor holds in a group.

  • Atomicity. Condition: a write puts a group of records in one transaction (Execution Contract Database 1), and the model takes the whole group as one step; a failure is one fault at a time, at some position in the group; and the write and any undo treat the records by one rule (the same code for each), not by position or count. The claim is that after a failure none of the group's writes stands, or all of them do. Bound: a group of three. A failure falls before the first record, between two, or after the last; with a uniform rule a record is the first, the last, or in between, and every record in between is alike, so a group of three has one of each and a larger group only more of the last kind. A group of two has no record in between, so its check covers the first and the last only. Why the bound holds under the condition: under Database 1 the group is one step in the model whatever its size, so the check at any size is whether the action is one step, and a step has no states inside it; what the bound adds is for a pattern that writes by loop with an undo, whose behaviour at a position is the same for every record in between. What it does not argue: that the code treats records uniformly. That is a property of the implementation, not of the model, and no bounded check can show it.
  • Gating. Condition: the gate judges each actor or request on its own: whether to admit it depends on that actor's own attributes and the standing rules, not on how many others were admitted or refused, nor on what the gate remembers of them. Bound: two actors, one the gate admits and one it refuses, for each distinct reason a gate refuses. Judged alone, each request meets the same rule whatever the others do, so one admitted and one refused (per refusal reason) already realize every outcome. A third actor can add states, as Approval Step's 13 at two actors and 25 at three show (the actor who is neither approver nor submitter), but no outcome the two did not have; a fourth adds neither (25 again). Outside the condition: a gate that counts (a capacity, a quorum, a first-wins, an at-most-one) depends on the others admitted, and its cutoff is the count's limit plus one (capacity 2 needs three requesters before one is refused), argued per pattern; a gate that remembers (a deny list, a cache) depends on how many it remembers.
  • Namespace bijection. Condition: two names are the same exactly when they are equal after the pattern's normalization (the case-fold, trim or other rule the pattern states), and the comparison is on the normalized name itself, not on a hash, bucket or truncation of it. Bound: for each normalization rule the pattern states, a pair of names the rule maps together, and one pair it does not. A collision among any number of names is a collision between two of them (the comparison is of pairs), so two names decide it for a rule once they are a pair the rule treats; two names the rule does not map together do not exercise it at all. Not argued: a lossy comparison (a bucket or hash), whose collisions come from more names than the key has values.
  • Per-record rule. Condition: the rule, and the action that applies it, read the fields of one record and nothing else: no other record, no count of records, no ordering among them. Bound: one record that breaks the rule, and one record untouched. The rule's value for a record does not depend on the rest of the collection, so one record decides it for every size; the second, untouched record shows that nothing else changes. The condition is read over the action's wiring as well as the rule: a rule that names no other record, applied by an action that reads the count of records, is outside it.
  • Snapshot completeness. Condition: each member is taken or left by its own test, independently of the others, and the snapshot is read whole (no page, limit or cap on how many it returns). Bound: two members, one the snapshot should take and one it should leave. If members are taken independently, a snapshot missing a member is missing it for its own reason, and a second member shows the one the test leaves alone. Outside the condition: a snapshot read in pages or under a limit, whose omissions depend on how many members there are; and a snapshot whose members depend on one another (an ordering, a cascade through links).

What the tests left open. The five were run against the library's models raised one step past each bound, against the library's own twins, and against one twin a class written to break the rule only above the bound (each missed at the bound, as the argument's condition predicts); the runs, their state counts and the receipts are recorded in rounds/cutoff-arguments.md of the council's repository (grace-council), not in this corpus. Three things are thin there. The library's atomicity models build groups of two, and the bound is three, so the middle case is unchecked by them as they stand. Of the three patterns that carry a snapshot claim, one (Login) was raised; the other two have no constant to raise. The counts of claims by class are estimates from a keyword pass over the coverage matrices, not a ledger.

Every pattern carries both models, an Alloy model of its data and a TLA+ model of its behavior, unless writing one finds nothing to check; there is no vote on it. TLAPS is added only for a law a pattern names as holding for every size, after TLC has checked it at small sizes. The minimum-formalism principle governs the proof tier: introduce it only where a bounded check cannot say what the pattern needs said.

This is what makes the architecture both rigorous and accessible — not rigorous for specialists, accessible for everyone else but rigorous and accessible simultaneously, because the formalism is under the hood and the plain English is on top. The formal tools serve the spec; they do not compete with it, and they are never prerequisites for authoring it.


The English/formal SSOT contract

The canonical English spec is the single source of truth. A formal model is a derived artifact — the same ontological status as generated code in the library's thesis (code is a build artifact; the spec is canonical): the model is a second build artifact, lowered from the same English source, whose job is to prove the source's load-bearing claims hold under exhaustive search or interleaving. It is a validator and a discovery instrument, not a second source of record. This holds along the library's compile-to-binary roadmap, where the pipeline is English (source) → formal verification (gate) → binary (output): both the model and the binary are derived from the one English source, and the formal layer is the type-checker of the compiler — the proof-carrying gate that refuses to emit a binary when the source's stated invariants do not hold. Compiling meaning directly to a binary reinforces English-as-SSOT (one source compiles) and requires the formal layer (the source must be provably deterministic enough to lower). It is both, never either.

Where the protocol lives (2026-08-30). The contract above says what each layer is; the campaign of 2026-08-29 and 2026-08-30 said where the boundary between them had drifted. Twenty-five fresh-reader gates and closure checks ran in two days, none returned clean, and of the forty-five foundational findings a second reader confirmed, most were not wrong semantics — they were interleavings: a second writer landing an outcome beside the invocation's own, a stalled invocation waking after the reconciliation had compensated, a lease edge, a zero-match landing, a purged verdict reached after a membership check. That is the class a formal layer exists to find, and it found none of them, because the models had been handed a protocol with the leg absent, the invocation as one atomic step, and no crash — debt #19's the model proved what it was told, seen from the other side. The English layer was not too large because it held too much semantics; it was too large because it held the protocol, where the interleaving space is unbounded and every fix adds surface (the files grew fifteen to thirty percent per round). The correction is a boundary, not a rule: the protocol — the intent and outcome pair, the section and its lease, the bound, the reconciliation with its edges, the positioned code — belongs in the formal layer, carried there by a compound specified once with a model that has two processes over one act, the invocation and the leg. What stays in an adopter is bindings and the semantic judgment only a human can make: what the act means, which store is authoritative, what a caller may rely on, what must be retained. The measurable is the protocol prose per adopter (tools/survey/protocol_prose.py), falling to bindings. The first result, the same day: the compound's model landed — five components over one act, two sweep runs, time explicit — held, rejected three twins, and corrected the prose in two places five fresh readers had passed: the section host must not release on a holder's death, and the closure window must budget one dead run. The model also found the sweep's lower edge is not what forbids the second writer — the section is — which no reader had questioned because the prose asserted it. And then the boundary was tested properly. The gate that followed the model — written to a success criterion fixed before the model existed, so it could not be fitted afterwards — returned three foundational findings, all of them timing, which the criterion had named as the shape of failure. Every one was a place where the model had been more disciplined than the pattern: it fused the lease check with the write, so the pause the pattern itself admits could not occur; it held the critical section until a write had landed, where the pattern releases on return; it gave the sweep the act's bound as a lease, where the pattern gives it the longer of two. The correction was to the model, not to the prose — and the corrected model reproduced all three defects unaided, then found a fourth nobody had asked about: the remaining gate the pattern had leaned on for two rounds carries none of the one-writer invariant, and the fence carries all of it. The lesson is not that the boundary is wrong. It is that moving the protocol into the formal layer only helps to the extent the model is audited against what the pattern actually says, which is now a pitfall in its own right below. The refining tail did move as the criterion predicted — five semantic, six structural, and no binding findings at all: the adopter-facing surface, which is the compound's whole purpose, held.

The dialect (2026-08-30). The same campaign made visible what the passes and the linter have been building: a structured English whose semantic core is gradually formalized. A construction becomes part of the language by one pipeline — stated as a rule on this page, given its tells, given a mechanical slice, landed in the linter advisory, promoted to gating when the sweep empties it — and the freeze discipline is what makes the pipeline work, since no grammar check can be written for a phrase that is still moving. The constructions that crossed that line in two days: recording-failure(step), (intent | outcome), <x>_completion_bound, between two edges, intent_event_candidates, proceed as landed, recovery_intended, one writer per act, the lease whose expiry is the terminus. The three checks that converged to zero (S-recording-step, T-seal-key, U-retry-bit) are syntactic slices of that dialect; the next slices can be structural — a <x>_completion_bound must exist wherever a leg does; an exported code landed on both sides of a commit must carry a position — and are writable only because the vocabulary is now fixed. The prose that remains after the protocol moves is the high-value layer, and its errors will look different from this campaign's: fewer two writers and more this store was not the authoritative one — the ones worth a fresh reader's full effort. That difference is the test of the boundary, and it is stated here before the first model that could pass it exists: a fresh gate run after a compound's model lands should return mostly semantic and binding findings — meaning, authority, what a caller may rely on — and not another crop of lease, clock, and interleaving defects. A gate that still returns several foundational timing defects after the model has landed says the model absorbed too little of the protocol and the boundary sits in the wrong place. The first candidate to face the test is the Recoverable Invocation (roadmap debt #20), whose five prose gates on 2026-08-30 showed the category of finding change from protocol shape to timed concurrency — the phase change that says prose review has done its job and the model's has begun.

The one carve-out. A property that cannot be stated in English without loss — true liveness, fairness, certain temporal conditions only crisp in LTL/TLA+ — is canonical in the formal assertion, and the English carries an explicitly-labelled gloss that points to it (precise statement: see assertion L3). That is the only place "English and formal together" is literally true. Everywhere else — the overwhelming majority of every spec — English is canonical and the formal model is derived.

The conflict protocol. A disagreement between the English and a derived artifact (a model counterexample, or two artifacts that lowered differently) is a diagnosis trigger, not an auto-fix. Three cases, three different repairs:

  1. The model found a real counterexample the English permits. The English has a genuine logic gap — a missing precondition, an ordering that does not hold under interleaving. Fix the English, regenerate the model, re-verify. This is the model earning its keep; the finding lands in the commit message and is written back into the canonical English.
  2. The model was mis-derived — wrong predicate, wrong bound, an action omitted from the translation. The English is correct; the encoding is wrong. Fix the derivation; the English is untouched. Never edit the English to match a buggy validator.
  3. The English was ambiguous enough that two derived artifacts (model and binary) lowered it differently. Neither derived artifact is wrong — the source was under-specified. Disambiguate the English, regenerate both. Under the compile-to-binary target this becomes the dominant and most valuable signal: the compiler telling you the source is ambiguous before it ships.

The invariant across all three: you only ever edit the English to change meaning; you only ever edit the derivation to fix translation; and you never hand-patch a model to silence a counterexample. Triage which artifact holds the defect, then repair the right one. (Today some models are hand-authored, so "regenerate" is partly manual; the roadmap's endgame makes the model and the binary both build targets off the English, at which point regeneration is a button and hand-maintained models are a transition-phase artifact to be eliminated.)

Why composition models do not import constituent models

Composition models sit beside their constituents' models in the repo and never reference them — no .als opens another pattern's module, no .tla instances one. That is architecture, not oversight, and not performance:

Formal models are derived per-pattern: each is lowered from its own pattern's English and verifies only what that pattern owns. A composition's model verifies the emergent surface against its constituents' contracts — their named invariants and action signatures, assumed as abstracted structure — while each constituent's own model discharges those contracts independently, with its own bounds and its own buggy twin. This is assume-guarantee layering. A derived artifact importing a derived artifact would build a shadow dependency graph that can drift from the canonical one in the English (the section titled The English/formal SSOT contract: the spec graph, not the artifact graph, is the source of record); it would couple per-pattern tool choices the library deliberately keeps free — the flavor is picked per property class, so a constituent and its composition legitimately differ (Attributed Permissions Admin's operational model is TLA+ while its Permissions constituent's model is Alloy, and a .tla cannot instance an .als); and it would fail outright where a constituent carries no model (a pattern may carry none where writing one finds nothing to check), yet a composition's model still verifies fine against that constituent's prose contract. Change propagation runs through the spec layer instead: a breaking constituent change triggers the constituent-change cascade (touch-triggered re-passes on every composition naming the atom) and the affected models are re-derived, in the multi-file refinement order — atoms before the compositions that name them. The state-space economics — abstracted contracts instead of multiplied constituent state machines — are a consequence of this architecture, not its reason.

The residual this leaves is rendering fidelity: a composition model re-declares simplified constituent structure, and if that rendering drifted from the atom's spec, the composition model would verify against a phantom. The dependency-ordered refinement rule, the cascade, and the section titled The coverage cross-check are the guards that own that residual. (Surfaced by issue #1, the library's first external question; canonicalized 2026-06-12.)

Formal-model authoring pitfalls

These are the recurring traps that surfaced authoring the formal layer across the library. Each one produced a model that looked verified while checking nothing, or a model that diverged from the spec it was meant to validate. They are authoring discipline, not tooling trivia; the tool-specific and operational specifics (checker dialect, harness provisioning) live in tools/harness/README.md. The single thread connecting them: a model that passes is worthless unless you have established it could have failed. Each dated entry keeps its instruction here; the story behind it is in the record.

  • An action that fuses a guard with its effect cannot find a check-then-act defect. Split every lease, deadline, freshness and liveness gate into two actions, with time free to pass between them, and budget the pause rather than forbidding it.

  • Where the model is more disciplined than the spec, it is validating a better spec than the one anybody will implement. Audit a model against the spec's stated discipline, clause by clause, asking of every guard and every ordering: does the pattern say this, or am I supplying it? Where the model must be more generous than the pattern to stay tractable, say so and say why the gap cannot matter.

  • A property that is really liveness, checked as time-indexed safety, needs the stall budgeted. Give the pause an explicit budget, so exceptional pauses stay reachable (the safety counterexamples need them) while the arithmetic becomes measurable. Then derive the bound by controlled variation — hold everything fixed, move one term, measure the smallest window that holds — rather than reading it off the prose.

  • STANDING ROUND DISCIPLINE: the diff-derived obligation sweep. Before a round is delivered, take the round's own diff and list every obligation it introduced or removed — each new must, each inequality, each new key or argument, each new exemption, each deleted source, each renamed token, each newly declared piece of state — and check every site that now has to honour each one. Run this sweep in addition to the token sweep, never instead of it.

  • Sweep obligations, not tokens. The sweep to run is derived from the round's own diff, not from the corpus: for each normative statement the round introduced — every must, every inequality, every new key, every deleted source — enumerate the sites that have to honour it and check each.

  • The sweep finds neighbours, not only the diff's own sites. Do not narrow the sweep to a diff-versus-site test. The diff decides which passages to open; read what you find once they are open as well.

  • A delegated obligation needs a discharge record, or it is not delegated — it is dropped. Generate the transitive set of delegated clauses for a wiring as a deployment obligation sheet and make answering it part of shipping.

  • A check is only as reliable as the surface it parses, and this corpus has measured that. Ask first: is the thing being read already written in a controlled form? If not, reject the check or control the surface first. Control the surface, then check it — in that order, because the reverse produces a check that runs, passes, and lies.

  • Introducing a form is riskier than discovering one, so introduce it at one site. Where a concept is earned and its phrasing is not, introduce the form at exactly one site and let it be used before it is propagated.

  • Where a claim lives in both a controlled form and a prose form, the prose is the half that rots. When a claim exists in a model, a checker, an enumerator or a fixture as well as in prose, diff them deliberately at the end of every round — to see whether the pattern still says what the code checks.

  • Measure the form, not the word — and say which you measured. A vocabulary measurement states its match pattern, its case rule and its file set, or it is not a measurement of a form.

  • Extend an earned form's field set before inventing a new one. A new field set inside an established shape is a discovery; a new shape is an introduction. Reserve introductions for the cases where no earned shape fits.

  • Ownership has levels: extracting a rule leaves its bindings behind. Run the ownership count twice: once on the rule, once on each binding of it, and consolidate the bindings on the composing pattern even after the rule has left it.

  • Consolidating is a change like any other, and needs the obligation sweep run on it. At a consolidation, ask: what did the old owners say that the new one must now say? Walk each site the consolidation emptied and check that every clause it carried — the exemptions, the classifications, the degradations, the pointers — arrived at the new owner or was deliberately dropped.

  • DRY on responsibility, not on nouns — and extraction is not the only cure. One authoritative owner per obligation. Triage an extraction candidate by counting owners first and files second: owners in more than one pattern → an atom; owners in more than one place in one pattern → consolidate and cite.

  • Choose an extraction by where the obligations are now, not where they have been. Rank extraction candidates by the obligation sources in the last one or two rounds, and treat a candidate whose share is falling as one the review has already handled by hand.

  • Say a measurement is underpowered before you run it, not after. When a change is too small for the metric you were going to judge it by, either make the change bigger before measuring, or change the measure to something the change can move.

  • A flat defect density means the repairs are growing the denominator. Measure the density before deciding that a rising count means a worsening pattern; where the density is flat, a pattern gets better only by getting smaller.

  • Before building a check, ask whether its decidable form would have caught the instances that motivated it. The full triage is three questions, and the order matters: can a finding be dismissed without reading what a sentence claims; does the shape recur often enough to be worth checking; and does the mechanical shadow of the shape actually cover the defects that made you want it?

  • A plausible remediation from a fresh reader is still only a hypothesis until the model distinguishes it from its siblings. Build the configuration where the prescribed mechanism is off and everything else is unchanged, and the configuration where its sibling is off, and let the checker say which one the property depends on.

  • Splitting an action redefines every phase label it touches. When an action is split, re-derive every guard that mentions its phases before running anything, and prefer renaming the old label to keeping it.

  • A model's claim is bounded by its horizon, and the twin suite is what measures whether that bound is enough. Re-run the whole twin suite at every horizon change and treat the results as the vacuity evidence they are; a property attacked by no twin is checked at the horizon and claimed at the horizon, and should be written that way.

  • Count a shape's population in recurrences, not in instances. Ask how many instances a shape has, and how many times it has been repaired before; a shape with two prior repairs needs no further argument.

  • Write the probe for the second occurrence, not just the first. Raise a budget constant by one and probe for the second occurrence, or write down why one is enough; when a probe holds, ask "WHAT IS ACTUALLY PREVENTING THE BEHAVIOUR?"

  • A new component earns its invariants only after a deliberate falsehood about it fails. Write reachability probes, each a deliberate falsehood about the new component, and require the checker to REJECT each one before reading the main run as evidence; a twin whose constant is flipped inside an unusual configuration needs a PASSING SIBLING in that same configuration, differing by exactly that constant.

  • When a model will not terminate, ask whether the excess behaviour is behaviour the spec actually admits. A budget shrinks the space and leaves the model wrong; a fidelity correction shrinks it and makes the model right. If the narrowing can be stated as a sentence from the specification, it is fidelity; otherwise it is a budget, and it belongs in the configuration with a comment saying what it costs.

  • An outside-the-frame finding names the instrument you are missing, not the model you should grow. Read the outside-frame bucket as a shopping list of small instruments. A model is one instrument, not the instrument; a bound over a schedule wants an enumerator, an arithmetic claim wants a checker.

  • Fixing an instance of a shape is not the same as knowing the shape. Sweep the shape across the whole document after every repair, not the site — one grep per token introduced.

  • A check needs a population, not just a rule. Triage a candidate on two questions before building it: can the rule be stated without the word claims, and does the shape occur often enough that a check beats fixing the instances?

  • The boundary's real test is the dismissal, not the rule. Ask of a candidate not "can the rule be stated without the word claims" but "can a FINDING be dismissed without reading what a sentence claims".

  • The linter can ask what a document CONTAINS; only a reader can ask what a sentence CLAIMS. The promotion test is not "did it find something real" but "can the rule be stated without the word claims". Anything needing that word stays with the fresh reader.

  • A checker's finding being true does not make its rule correct. A check earns promotion on its rule being right, never on a finding happening to be real; where the two diverge, split the check into the rule that holds and the one that does not yet.

  • A fixture pins nothing until you have watched the check fail with it. Break the check on purpose and confirm the suite goes red, naming the fixture, before believing a green suite means the logic is held.

  • Three layers, and a promotion pipeline between them. The formal model owns concurrency, timing, crash and recovery, leases, fences and bounds; the linter owns mechanically decidable internal consistency; the fresh reader owns semantics. A recurring finding is promoted rather than merely fixed: fresh-reader finding → recurring mechanically decidable shape → linter check → corpus sweep → zero → gating, and the instrument is verified against a case whose answer is known before its output is evidence.

  • A model's NOT MODELED list is a prediction surface, not a disclaimer. Keep the list as a live artifact, written to be read as a forecast: what the model newly excludes is what the next round is expected to find. Widen the frame selectively, at the exclusions the last gate actually hit.

  • A remedy introduced into a pattern must be specified to the standard of its nearest established analogue. Find the analogue first and write the remedy against it clause for clause, and then ask what the analogue did not need.

  • Vacuity is the silent killer. A check passes whenever its antecedent is unsatisfiable — it then constrains nothing while reporting success. This is the failure mode behind most false confidence. Defend against it structurally, not by inspection: every guarantee gets a satisfiable companion (an Alloy run that exercises the predicate; a TLA+ buggy twin that the checker rejects). The diagnostic tell is a holds check paired with a vacuous run — when you see it, the guarantee is unenforced. (See the "model present" bar above; this is why criteria 2 and 3 exist.)

  • Static models lie about transitions. In a static structural model (Alloy snapshots), a "transition" is a pre/post pair representing one entity across a step — but a global identity-or-uniqueness fact (all disj r1, r2 | r1.id != r2.id) treats pre and post as two co-existing records and forbids them from sharing the id, making every transition unsatisfiable. The result is both vacuous demonstration runs and vacuously-passing transition checks (the capability.als defect). Fix: scope identity/uniqueness facts to the records co-existing in a store snapshot (a Store { records : set Rec } sig), so free pre/post transition atoms are exempt. A pre/post pair is the same entity at two times, not two entities at one time.

  • Derive idealizations; do not lag them with a flag. Specs idealize — membership auto-expires the instant a window passes; visible state is the replay of non-undone events. Modeling such an idealization as a separate variable that you remember to update creates a transient the spec forbids (the flag lags the clock), and the checker correctly rejects your correct model (the Duplicate Prevention case-2 mis-encoding). Fix: model the idealization as a derived predicate computed from the underlying state (Seen == everRecorded /\ now - recordedAt < Window), not as a tracked flag with its own update rule.

  • Do not beg the question. It is tempting to track the load-bearing invariant as state, updated by the same rule as the action guard — then the check is a tautology and the buggy twin can't break it. Fix: derive the load-bearing predicate from the actual history (the log, the records, the insertion order), then assert against that. Then a buggy twin genuinely produces a violating history the check catches — which is the only evidence the check has teeth.

  • Saturate the bound; a low-bound pass is not coverage. A model that passes at an arbitrary small bound may simply be truncating the reachable state space before the interesting interleavings occur (the external-onboarding MaxClock=3 truncation to 44 of 172 reachable states). Fix: raise the bound until the explored-state count stops growing (the space has saturated), then keep headroom. Record the saturation point in the model config so the next reader knows the bound is deliberate, not arbitrary.

  • Conflate nothing between "exists" and "verifies." A .tla/.als file in the directory, a model that ran once in a GUI, or a sibling checker in another language that "agrees" are all not the formal layer being discharged. Only a green run of the committed artifact in the reproducible harness, with a rejected buggy twin, counts. This is the discipline the "model present" bar encodes; the pitfalls above are the specific ways an artifact silently fails it.

The coverage cross-check (formal-layer rescan sub-step)

The "model present" bar establishes that a model verifies what it checks and that what it checks is non-vacuous. It does not establish that the model checks the right and the whole load-bearing surface. That residual — did a load-bearing invariant go unchecked, or get silently scoped out? — is the dominant property-fidelity risk, and it is the one the harness cannot catch on its own: a model can be green, twin-rejected, and non-vacuous while quietly omitting an invariant the spec calls load-bearing.

The coverage cross-check closes it. It is a structured read-and-diff, not new tooling or heavier search — deliberately cheap, so it rides the existing scheduled-rescan cadence rather than requiring a separate effort (inductive theorem-proving and large-scope blow-up are the expensive levers, and they chase smaller, lower-probability residuals; do not reach for them to discharge this one). A fresh-context reviewer (a fresh-reader AI is ideal — it surfaces the gaps the model's author rationalized past) is the right executor; it is parallelizable across patterns.

Procedure. For each pattern carrying a model, produce a coverage matrix: one row per invariant in the spec's Invariants section, each classed into exactly one verdict:

  • covered — a named check/invariant in the model asserts it (cite the construct).
  • by-construction — the model makes it structurally impossible to violate rather than asserting it (e.g. an append-only log modeled with no remove action). Acceptable, but recorded as an assumption, not a verified property — because the model cannot catch a regression that a future edit introduces. Flag for promotion to a real check if the property is load-bearing.
  • out-of-scope (named reason) — deliberately not modeled, with the reason stated: a within-action atomicity claim (not an interleaving), a structural/relational property better suited to the other tool, a best-effort clock property, etc.
  • GAP — load-bearing, uncovered, and with no defensible out-of-scope reason. A GAP is a finding, routed through the standard channel (Pass-3-shaped) and blocking done until closed.

Add one bound-saturation line: raise the model's scope once (N or MaxClock + k), confirm the explored-state count does not grow and the invariant still holds, and record the saturation point. This is the cheap guard against a low-bound pass that truncated the reachable space before the interesting interleavings.

Worked example — Party Identity. The formal-layer vote of the time (a vote since ended: every pattern now carries both models) named Invariants 4 and 6 load-bearing.

Spec invariant Verdict
2 — State membership exclusivity covered (Inv2_StateExclusivity / TypeOK)
3 — Closed is absorbing covered (Inv3_ClosedAbsorbing, history-flag form)
4 — Verified requires a passed verification after the most recent suspend covered (Inv4_PassedAfterSuspend, derived from the log) — load-bearing, verified
6 — Append-only in insertion order GAP → resolved. Was by-construction (the model only appended, never removed — an assumption, not an asserted check) despite being load-bearing per the vote. Promoted 2026-06-03 to an explicit check, Inv6_AppendOnlyPrefix (the log is a contiguous filled prefix); now covered.
1, 5, 7 — record permanence / event & field immutability out-of-scope (immutability is structural; the relational/Alloy surface, not this interleaving model)
8 — state-change events auditable out-of-scope (records-shape property, discharged in prose + Generation acceptance)
9, 10 — id stability / no id reuse out-of-scope (structural identity; Alloy-class, not TLC-class)
11 — action atomicity out-of-scope (within-action, not an action-vs-action interleaving)

Bound saturation: at MaxEvents = 6, 532 states; MaxEvents = 7 holds at 532 → saturated. ✓

Note what the cross-check surfaced on the very first pattern: Invariant 6, named load-bearing by the vote, was only by-construction in the model, not asserted — exactly the kind of silent partial-coverage the green checkmark hides. That is the finding the cross-check exists to produce, and it was closed the same way: Invariant 6 was promoted to an explicit checked predicate (Inv6_AppendOnlyPrefix) in both the model and its twin, the correct model still holds (532 states) and the twin is still rejected. Surfaced and closed on the first real run — the worked example is the cross-check earning its keep.

A blank fill-in matrix lives at tools/harness/coverage-matrix.template.md; one filled matrix per pattern is the rescan artifact, and any GAP row is a routed finding.

Formal-model artifacts

Formal-model artifacts (Layer 2 above) are recognized companion artifacts to any Grace Commons spec: every pattern carries both models (see Formal models above), and a model is a first-class artifact with its own conventions.

Recognized tools. Alloy and TLA+ are the current recognized tools. Alloy (relational, bounded exhaustive model finder) is the right first choice for structural invariant checking — valid states, structural properties, reachability. TLA+ (temporal/behavioral model checker) is the right choice for operation-sequence properties — does a sequence of actions preserve invariants, are there liveness or fairness questions. Other tools may be added as the library grows.

Value. Both tools generate checks rather than tests. The distinction matters: a test says "it worked for the cases I tried"; a model check says "there is no counterexample within scope N." This provides coverage of the unknown unknowns — the structural gaps no reviewer thought to probe — and is categorically stronger than any prose review.

Location convention. Formal artifacts live in their folder's models folder, atoms/models/ for an atom and compositions/models/ for a composition (Scott, 2026-11-13), sharing their spec's base name with a tool-appropriate extension:

  • atoms/actor-identity.md → atoms/models/actor-identity.als, atoms/models/actor-identity.tla (+ actor-identity.cfg for the model checker)
  • compositions/attributed-permissions-admin.md → compositions/models/attributed-permissions-admin.als, compositions/models/attributed-permissions-admin.tla (+ attributed-permissions-admin.cfg)

One models folder per pattern folder, same base name, different extension — kebab-case for every file type. The extension identifies the tool; the base name makes the relationship self-evident. A model's twins, its configurations and its constants sit in the same models folder, so a pattern folder lists its patterns and their history files and nothing else. (The models folder holds no .md, so it adds no page to the Jekyll build.)

TLA+ filename rule (superseded 2026-06-14 — kebab-case is canonical). Standard TLA+ tooling (SANY, the parser) requires a .tla file to declare MODULE <name> matching its basename exactly, and TLA+ identifiers cannot contain hyphens — which originally forced .tla / .cfg filenames to lower-camelCase as the one exception to base-name sharing (see the 2026-05-23 entry in discoveries.md). That trade is retired: canonical .tla and .cfg files are kebab-case like every other artifact. The repo's harness checker tolerates hyphenated module names, so the kebab file runs in-harness as-is; for standard-TLC runs, tools/harness/tla-adapter.mjs derives a TLC-valid camelCase copy on demand (rewriting the MODULE line; output in git-ignored build-tlc/). The TLC-facing name is a derived artifact, never a hand-maintained variant — derive-don't-lag, applied to filenames. See the 2026-06-14 entry in discoveries.md for the supersession record.

Tier discipline. Formal artifacts are spec-layer artifacts. They live in the same tier as their canonical .md (atoms/models/ for atoms, compositions/models/ for compositions). They do not live in demos/, build-tier folders, POC subdirectories, or anywhere else downstream of the spec. The spec is canonical; the formal model validates the spec; both belong on the canonical side of the spec-versus-build line. A formal model that lives under a specific implementation's folder implicitly claims the implementation as its referent — which inverts SSOT, treats one build as the canonical artifact, and walls off other builds. Build-tier tooling (TLC runners, CI integration, build-specific harnesses) may live in implementation folders or in a top-level tools/ location; the canonical .tla/.als/.cfg files do not.

TLA+ flavor. Base TLA+ is the default. Each action expressed as an atomic predicate matches the structured-English spec's Action wiring directly — one action, one conjunction, line-by-line mappable to the spec. PlusCal is reserved for compositions where the load-bearing race lives inside a single action (multi-step protocols, intra-action asynchronous message ordering) and the imperative-with-labels style genuinely earns its keep. When PlusCal is used, the choice is defended in the commit message that lands the model — Principle, Likely objection, Mechanism, Result — the same four-step rubric every other architectural claim in the library is held to.

Human-readability requirement. Every formal construct — every sig, fact, assert, check, pred, run in Alloy; every definition, invariant, and property in TLA+ — MUST be accompanied by a prose comment legible to a reader who does not know the tool. The comment should explain what the construct is checking and why it matters, not just restate the syntax. A formal artifact that requires tool expertise to interpret is a wall; one with plain-English commentary alongside every construct is a bridge. The bridge is the standard. See compositions/models/attributed-permissions-admin.als and compositions/models/attributed-permissions-admin.tla for the reference examples.

Recording the model. The spec's Ledger formal: line names the model files, the twin count and the verification date. Everything a reader who does not know the tool needs — what invariants the model checks (named, not by syntax), the bounds used (for TLC) or scope (for Alloy), any deliberate scope exclusions and why, and the result — goes in the commit message that lands the model and in the artifact's own header comment. The artifact-level commentary requirement above governs the .tla and .als files; the commit message governs the reasoning. The two together discharge the minimum-formalism principle's accessibility contract — the formal layer is free to use the most expressive tool that earns its keep precisely because the canonical English carries the bridge to every other reader.


Implementation-discovered findings

(Ownership moved here 2026-06-11 from the session-bootstrap index — now AGENTS.md, reached via the CLAUDE.md shim.) Building demos or production systems against a spec sometimes surfaces problems the three-pass review missed. The discipline below keeps the spec-as-canonical story honest without silencing implementation discoveries.

A finding is a contradiction inside the spec — or inside a derived artifact such as a formal model, which is the same class (the worked precedent: Privileged Access Provisioning's dead-variable finding, a TLA+ model whose vars and Init disagreed). An action wiring and an invariant disagree, two passages describe different behavior for the same case, a CHECK and a trigger cannot both hold, an example violates an invariant, a forthcoming-link points at something that already landed under a different name. Findings are Pass-3-shaped and belong in the pattern's Ledger as open lines. Log them; route them through the standard review channel; do not modify the spec mid-build.

A preference is anything else — "this would be cleaner if…", "I'd rather have one table than four", "the column name is awkward", "this collapses to a simpler form in my implementation". Preferences are implementation choice and belong in the implementation's own follow-up tracker (e.g., a CORNERS.md alongside the build), not in the spec.

The single distinguishing question: does the observation name a contradiction inside the spec, or a preference outside it? If the answer is not obviously the first, it is the second. The bar is "contradiction, not preference" — deliberately not "very wrong," because very wrong slides under any sustained effort and contradiction does not. A contradiction can be named by pointing at the two passages that disagree; a preference cannot.

Builds proceed against the spec as written. The spec changes only through a review pass, not through a code commit. An agent that rewrites the spec inline during a build has made a process error, regardless of whether the rewrite is correct — the correct path is to log the finding, finish the build against the existing spec, and let the review channel adjudicate.


Defending each claim in-line

The three passes are review tools — they catch gaps. Authoring well in the first place reduces what the passes find. The strongest writing discipline for architectural specs: every claim is defended in-line by the same paragraph that introduces it.

The four-step rubric (rubric: a structured guide for evaluating something):

  1. State the principle. The architectural claim, expressed cleanly.
  2. Name the likely objection or barrier. What would a senior reviewer push back on? What historical objection attaches to this claim?
  3. Show the mechanism that resolves it. What specifically defuses the objection — a counter-argument, an architectural choice, a tooling capability?
  4. Land the result. The principle stands, and the reader's likely objection has been addressed without them needing to raise it.

Readers bring objections; in-line answers are more persuasive than principles that let objections surface unanswered. A claim that survives this discipline rarely needs Pass 3's adversarial review to defend it — the defense is built in.

Worked example (from the-spec-layer.md):

Verbosity is the architecture of the bridge. Compress the language and one side loses access; preserve it and both sides — humans and machines — traverse the same canonical artifact. AI removes the historical barrier of too-long-to-read: the canonical text stays long because it must be verifiable; AI-generated summaries stay short because they only need to orient; diagrams support summaries without replacing the canonical text underneath. Readers choose the detail level appropriate to the task; the canonical layer keeps all levels consistent with each other.

Tracing the rubric through it:

  • Principle: verbosity is structural, not stylistic.
  • Objection: "long specs go unread."
  • Mechanism: AI summarizes on demand; diagrams orient; canonical text stays verifiable.
  • Result: readers choose detail level; consistency preserved.

Apply to every architectural claim. Atomic-pattern specs, composition specs, methodology documents, and outreach material all benefit from this discipline. Where an architectural claim does not yet have a defended-in-line form, that is a writing gap to fix in the next revision — not a structural gap that needs a pass.


Capability provenance — a spec may claim, and use, only declared capabilities

FROZEN — 2026-08-30. The oldest rule on this page still open, stated 2026-06-08 and widened 2026-08-27 to reach uses. It is frozen from the third fresh-reader gates, which returned six foundational findings of this shape across five patterns — none a Rests on: line, every one a use — and mapped each to a surface the widening had already named. The rule's text is complete for the evidence in hand; what the corpus lacked was the discipline of applying it as written, which a frozen rule supplies and an open one does not. The six shapes are recorded below as the tells for uses, added with the freeze; after it, a round that finds the rule inconvenient applies it or records a finding against the pattern, and reopening requires a case none of its sources or tells covers, recorded first.

An invariant is only as sound as the authority it quantifies over. The strongest form of the reference-graph discipline, applied to invariant dependencies: every clause an invariant rests on must trace to an explicitly declared capability — never to an implicit assumption that a constituent or substrate "can" do something it does not declare. This is no ambient authority — the core tenet of capability-based security — lifted to the invariant layer: an invariant may rely only on authority explicitly held somewhere in the spec graph.

A legitimate invariant dependency traces to exactly one of four declared sources:

  • a named constituent invariant or action — Audit Trail Invariant 3, AuditTrail.verify_record, a Tamper Evidence seal — something the constituent's own spec states it has;
  • a deployment-declared configuration capability — a named, deployment-set obligation such as tamper_evidence_supports_partial_disclosure;
  • a composition-introduced surface — an emergent action the composition itself defines and owns (a verify_disclosure specified at the composition's own layer); or
  • a declared dependency on a named peer pattern — an atom or composition the spec does not compose but explicitly names, where that peer genuinely declares the capability and the spec states the deployment's obligation to wire it (a conditional invariant whose antecedent is "the named peer is wired"). This differs from an undeclared dependency precisely in being named: the owner is real and stated, not an ambient "the substrate can…".

An invariant resting on anything else — "the substrate can produce…", "the mechanism supports…" with no declaring source — carries an undeclared dependency, a foundational finding. The invariant's Rests on: line is the provenance record where this is enforced: every entry must resolve to one of the four sources.

Declared is not verified. The rule governs provenance, not soundness. An invariant may rest on a declared-but-unverified capability — a deployment-asserted obligation the records cannot confirm — provided it is stated as an obligation with its verification routed to an externally-clearable check (see Generation acceptance). The rule forbids undeclared dependencies, not unverified ones; conflating the two would forbid every legitimately conditional invariant — one whose antecedent is a declared capability the deployment supplies, stated with the antecedent inside the invariant rather than as an after-the-fact weakening clause.

The rule reaches uses, not only claims — widened 2026-08-27, and the widening corrects a mistake this section made about itself. As first written, the rule policed the Rests on: line: the place where an invariant says what it depends on. That is where a mis-attributed capability is declared, but it is not where most of them are exercised. A composition consumes constituent capabilities at four surfaces that carry no Rests on: line and do not look syntactically like calls:

  • Rebuild procedures — "traverse the trail and take these fields from each payload" claims the payload is readable when it is read, which the substrate may lawfully deny past its retention horizon.
  • Generation acceptance checks — "for every X, confirm Y" claims the auditor can enumerate X, which the constituent may expose no surface for; and "confirm verify_record returns verified" claims a call shape and an outcome the constituent's contract may not offer.
  • Enumeration and traversal logic — a read over a store keyed only by identifier, or over an index whose declared semantics are keyed lookup with rebuild-on-miss, where an enumeration has no miss to detect.
  • Atomicity and presentation contracts — "these writes commit together or not at all" claims a withdrawal capability over every member of the set, including members the constituent declares it cannot withdraw.

The test is unchanged; only its subject widens. A use is legitimate when the capability it exercises traces to one of the same four declared sources above. A use that traces to none is an undeclared dependency exactly as a claim would be, and a foundational finding of the same kind — the difference is only that nothing on the pattern announces it, which is why it survives longer.

The tells for uses (2026-08-30). Six shapes, each a foundational finding in the third gates, each an exercised capability the constituent's own text declines:

  • A read keyed by a field the constituent does not index. "Enumerate the trail by data.record_id", "select action_ref = X and this invocation_id" — Audit Trail declares a sequence-range read and routes payload-field selection to a forthcoming Reverse Index. The composition may filter a range in its own code and must say so; it may not call the filter the substrate's read.
  • An enumeration over a store keyed by one identifier. Provenance is keyed by chain_id and declares no lookup by artifact_ref; a genesis orphan that must be found by artifact cannot be, and the leg that says it will is resting on a host index nobody declared.
  • Durability the constituent disclaims. Event Log: "persistence across process restarts is handled at the deployment layer." A journal the composition rebuilds from after a crash is durable only under a host obligation the Configuration names.
  • A critical section spanning several constituent calls. Capacity Constraint serializes each call; a composition that reads, allocates, and reads again "under the pool's serialization" has attributed a multi-call section the constituent's own edge case sends to a Transaction composition.
  • A clock from a constituent that has none. now "injected by the Audit Trail substrate" — the substrate exposes no clock output; the reading is the composition's own seam's, and saying otherwise mislocates every stamp the composition writes.
  • A uniqueness scope wider than the constituent's. Credential bounds effective-Active per (principal_ref, credential_type); a step that revokes "the actor's active credential" has read per-pair as per-principal and leaves the second type authenticating.

A clean rescan is not evidence when the rule was pointed at the wrong surface. The 2026-06-08 corpus rescan below found zero undeclared dependencies across eighteen compositions, and that result was honestly obtained: every Rests on: line did resolve. Two months later, eleven fresh-reader gates run for an unrelated reason returned undeclared-capability findings in most of the patterns that rescan had cleared — constituent invariant and check counts that do not match the contracts, acceptance checks quantifying over records the constituent cannot enumerate, atomicity asserted over un-withdrawable writes, rebuilds sourced from payloads the substrate destroys. The rescan was not wrong; it was narrow. Treat a clean sweep as evidence about the surface swept, and record which surface that was — a result whose scope is not stated cannot later be told apart from a result that was simply mistaken.

Which pass owns it. Detection belongs to Pass 2 (EOS): attributing a capability to a constituent that does not expose it is a boundary error of the same family as over-absorption — the capability is mis-housed, belonging to a composition-introduced surface or a not-yet-extracted atom rather than the constituent it is pinned on; the fix names the real owner. The mechanical form is a Pass 1 reference-graph check: every Rests on: entry resolves to a declared source, exactly as every relative link must resolve to a real file. The mechanical slice of this has landed as tools/linter/lint.py's check F-invariant-ref: an exact pattern name followed by "Invariant N" where N exceeds that pattern's real invariant count is flagged (and the linter runs as a continuous-integration gate as of 2026-06-11). A second mechanical slice landed 2026-08-24 as tools/linter/lint.py's check F-constituent-call: every qualified constituent call site in a composition body (Constituent.action(args), above the Status section) must name an action the constituent's projected contracts declare, and every keyword argument passed must appear in that action's declared parameter list — the drift class where an atom re-grounds, its contract moves, and the composers' call sites silently go stale (see roadmap.md methodology debt #17 for the motivating findings). Positional-arity drift, renamed rejection reasons, and parenthesis-free prose citations of removed actions stay with the fresh reader. The fuller dangling-capability check — parsing each invariant's Rests on: clause and flagging any referenced capability that names no declaring constituent invariant/action, configuration knob, or composition surface — remains future; capability-level mis-attribution stays the fresh-reader Pass 2 check described in the corpus-rescan paragraph below.

The mechanical slices the widening makes available (2026-08-27). Both were prototyped as corpus sweeps before being proposed as checks, and both police a use rather than a claim: (1) an all-or-nothing sentence whose member set names an audit write — the test that isolates the atomicity class from the nine patterns that use the phrase benignly; (2) a rebuild procedure that reads an event payload with no stated bound on its own totality. A third — distinguishing a keyed lookup from an enumeration over the same index — needs a parse rather than a match and is not yet available. The sweeps live in tools/survey/ and their results are recorded in roadmap.md methodology debt #19; the rule's text widens first and the checks follow, so that a finding a check produces is attributable to a rule that already covered it.

Worked origin. Surfaced by the fresh-reader council on Immutable Ledger (Final Critique 5, finding Final Critique 5): Invariant 2 (verifiable partial disclosure) rested on "the Audit Trail substrate's Tamper Evidence surface" producing a subset inclusion proof — but the Tamper Evidence atom verifies only whole record-sets, so the capability was pinned on a constituent action that does not exist. The fix re-declared the dependency at two of the legitimate sources (a composition-introduced verify_disclosure surface resting on a deployment-declared mechanism capability) and seeded a forthcoming Subset Proof atom as the eventual named-constituent home. An author reviewing their own work is structurally prone to this miss: the assumed capability feels declared because the author knows what they meant — the fresh-reader EOS seat, lacking that context, reads only what the spec actually grants. The rule is the generalization that makes the miss catchable before a fresh reader is available.

Corpus rescan (2026-06-08). A fresh-reader sweep of all eighteen then-grounded compositions against this rule found zero undeclared dependencies — the substrate-composition template the library already uses attributes capabilities to named constituent actions/invariants, so Immutable Ledger's Final Critique 5 was the unique instance, closed when it landed. The sweep did pressure-test the rule itself: Privileged Access Provisioning's Invariant 4 (cascading revocation) rests on Login's revoke_sessions_for_credential — a peer composition PAP names but does not compose — which the original three-source list (written from the Immutable Ledger case) did not cover. The capability is real and the dependency is declared, so it is sound; the fourth source above was added to name the peer-pattern case explicitly. The rescan also surfaced one mechanical nit the lint.py check below cannot catch — Forensic Recovery cited "Event Log Invariant 1 (total order preserved)" when total order is Event Log Invariant 3 (Invariant 1 is append-only); the number was in range, so only a name-aware reader catches it. The division of labor is the lesson: the linter catches out-of-range invariant numbers; the fresh-reader Pass-2 catches name/number mismatches and phantom capabilities.


What August taught

Each rule below is a rule of the pattern named after it, which states it and is where a review reads it; the essays that argued them are in the record.

  • An independently durable write never sits inside a host transaction's atomic set: the writes are ordered, and each reachable partial has its recovery. Recoverable Invocation, Non-goal 1 and Non-goal 2; Audit Trail, Cross-store 1 through 3.
  • A reconciliation examines nothing still in flight and nothing past the audit horizon. Recoverable Invocation, Invariant 7.1 and Invariant 7.2.
  • An intent pairs with its outcome by one invocation id, injected at the seam beside now, and by no other field. Recoverable Invocation, Invariant 3.1 and Invariant 3.2, and its Term invocation id.
  • A recovery writes under the declared service identity, behind its own recovery-intended record, and only what it re-derives; what it cannot re-derive it escalates. Recoverable Invocation, Invariant 5.1 through 5.3 and Invariant 5.9.
  • A transcribed rejection arm keeps the constituent's payload and lands every step the constituent can answer. Execution Contract Constituent failure 4; Recoverable Invocation, Invariant 9.3.
  • A seal is verified against its whole covering range, in log order, never against a map keyed by the composition's own identifier. Audit Trail, Primitive policy 26 and its Term verify-time presentation.
  • One writer per act: the invocation retries only to its terminus, and two runs of a leg serialize on the act. Recoverable Invocation, Invariant 2.1 through 2.3, reconcile 7, and Primitive policy 29 and Primitive policy 30.
  • The largest record an act can write is sized against the cap before the intent is written. Recoverable Invocation, Invariant 6.1 and Invariant 6.2, and Primitive policy 12 and Primitive policy 13.
  • A promised closure window is a strict inequality over every term the closure spends, checked at instance start. Recoverable Invocation, Instance start 4 and its Term worst closure.
  • A comparison across two seams takes the declared clock allowance and may only narrow a decision. Recoverable Invocation, Allowance 1, Allowance 4 and Allowance 6, and Invariant 3.4.
  • A code that can land on both sides of the commit carries its position, and the signature declares it. Recoverable Invocation, Invariant 8.1 and Invariant 8.2.

A derived index is trustworthy only where a miss is observable

Owner pending: Execution Contract Derived index 1 states the keyed-lookup half; no pattern or Execution Contract rule yet states that an enumeration, a count or a check over the index steps outside it.

FROZEN — 2026-08-29. Stated 2026-08-27 when methodology debt #19's enumeration anchoring class closed on all five known instances, and frozen with the rest of #19 on 2026-08-29. Written after the section titled Durability boundaries rather than with its own class, which was an oversight worth keeping on the pattern: a rule that lives only in a roadmap debt entry is a rule on its way to being lost, and this one had been left there for two classes' worth of rounds.

The rule. rebuild-on-miss is a keyed-lookup contract. It repairs a gap because a lookup that finds nothing is an observable signal — and every other read shape steps outside that contract, silently. A Contract classification of derived index, rebuild-on-miss invites a reader to conclude that losses are self-healing. They are, at the shape the contract names, and only there.

The shapes that step outside it, all observed:

  • enumerating the index — no lookup, so no miss; a lost entry is indistinguishable from a fact that never existed;
  • counting its entries — the same, with the loss expressed as a number that looks like evidence;
  • quantifying an acceptance check over it — the auditor's own surface inherits the blindness, and worse, the check often quantifies over the very record whose absence defines the thing it is looking for;
  • reading a list under a key — the contract is honored at key granularity and violated at element granularity: a short list is not a miss, so the lookup succeeds and the answer is silently truncated;
  • rebuilding it while something depends on its current contents — the repair mechanism running over a window in which the index is the only record.

The treatment: anchor the read in the authoritative record, and use the index as a cache probed per element with rebuild-on-miss before concluding anything. That restores the keyed-lookup shape the contract is written for, one element at a time, inside a read anchored where the losses cannot occur. The in-corpus exemplar is Audit Trail's unretained-event sweep, which says why in its own words: "a scan that read a lost entry as no retention exists would misdiagnose an index gap as a compliance finding — and then compensate it, placing a second retention over an event that already had one."

But anchor carries an assumption, and both halves of it fail in this corpus. "Rebuild from the authoritative record" assumes that record is complete and current with respect to the index. Forensic Recovery's index outlives its source, because a retention purge destroys the payload field the source enumeration is keyed on. Multi-Party Approval's index precedes its source, because a chain record exists before its initiation event lands. Replacing the index with the enumeration loses real data in both directions.

Reconcile, never replace — and never let the repair mechanism outrank the record it is repairing. On the read side: compute both directions and report each divergence for what it is (an index gap the rebuild closes; a lawfully-purged payload, which is a fact). On the write side: a rebuild must be additive over the surviving store while any truth-bearing window is open. Anchoring is the special case that is safe only when the completeness-and-currency assumption holds.

Three tells, each seen in three or more of the five instances

1. The principle is already in the pattern, applied to one site and not its neighbour. Forensic Recovery anchors its residue collection correctly at step 6 and reads the raw list at step 4. Capability-Backed Sharing carries a four-case residue triage for one action and none for the other. Execute Gated Workflow's keyed lookups rebuild correctly while its enumeration does not. Before concluding a composition lacks the insight, search it for the sentence that already has it — and when you find one, the repair is usually to extend a discipline rather than to invent one.

2. A check that verifies an index against its own source. For every entry, confirm its record exists finds dangling references and, by construction, cannot find omissions — so a clean pass is not evidence of completeness, and reporting it as such is how an audit surface acquires a blind spot it will keep. The direction that finds omissions runs the other way, from the source to the index.

3. A claim strengthened by an earlier campaign, resting on a set a later class shows to be incomplete. Execute Gated Workflow's moot-gate plan was argued exact on the strength of a serialization rule — sound about serialization, silent about the enumeration that built the set. A correctness argument is only as strong as the completeness of the set it quantifies over, and an under-reported set is exact-looking and unfalsifiable, because the omission appears in neither side of whatever comparison the check performs.

What this does to the formal layer

A twin must be a plausible mis-implementation of this composition. Where a safety arm is earned by a constituent's guarantee — an earlier write that is terminal by the atom's own invariant — no wiring of this composition can violate it, so it is a frame property here and correctly has no dedicated twin; a twin that broke it would be asserting that a constituent breaks its own contract, which guards nothing. The same claim is a frame property in one pattern and a reachable defect in another, and which it is depends on whether the earlier write can be taken back. Record that reasoning where isolate.mjs reports an invariant as by-construction; the tool asks for the confirmation and the confirmation is the interesting part.

Which pass owns it, and why there is no linter check

Detection is Pass 3 (adversarial) — what does a lost entry do here? — and classification is Pass 2 (EOS), since whether the reachable partial is silent or loud, safe or unsafe, decides whether the round edits a sentence or moves a boundary.

No mechanical check was built, and that is a decision on evidence. Telling a keyed lookup from an enumeration over the same map is a parse rather than a match, and the closed class confirms the cost: two of the five instances are not enumerations at all — a list read under a key, and a rebuild colliding with a write window — so a test keyed on read syntax would have found three and pronounced the class clean. The classification sweep found five and reclassified the shape. What is mechanizable and worth building later is narrower and honest about being so: flag a Composition-state element classified derived index / rebuild-on-miss that is also declared truth-bearing in any window, which is the collision Multi-Party Approval's instance was.


Derived state has a validity duration — say what it is, and what reads it

Owner pending: no pattern or Execution Contract rule yet states a derived element's validity duration against the lifetime of what reads it.

FROZEN — 2026-08-29. Stated 2026-08-27 when methodology debt #19's retention horizon class closed on all sixteen known sites across ten patterns, and frozen with the rest of #19 on 2026-08-29. Its Tier 3 is restated as a rule of its own below (the section titled A derived index splits at the horizon), because the second fresh-reader gates kept finding elements that had been given Tier 0 or Tier 1 and needed Tier 3.

The rule. A derived element's recovery procedure is valid for a bounded interval; a claim that reads it has a lifetime; the spec is sound only where the first exceeds the second — so both belong on the pattern. A Contract classification of derived index, rebuild-on-miss says how a fact is recovered and never for how long, and a spec can be perfectly conformant to that vocabulary while asserting a derivability that lapses on a schedule it does not control.

What a purge actually leaves, because the class turns on it — corrected 2026-08-27 by a fresh-reader gate on Defensible Retention, verified against the substrate, and the correction is instructive. This section first asserted that a purge leaves "event_id and sequence_number, and nothing else", reasoning from Event Log's append(data) → event_id contract that action_ref and actor_ref ride inside the destroyed payload and go with it. That is wrong about the substrate, and it was wrong in the direction that tells an implementer to abandon a recovery path that exists. Audit Trail captures a destruction record carrying the (event_id, attestation_id) pair before the delegation runs, exactly so a purged event stays answerable, and the attestation carries action_ref, actor_ref and attested_at, of which all three survive readable — only its proof does not. The event's own recorded_at is likewise a stored field the cascade never touches.

So the corrected statement, which is narrower and sharper. A purge destroys the payload, in its entirety — Event Log's data field is the whole constructed object, so every binding a composition wrote into it is gone and no enumeration replays it. But the event's identity survives: it can still be told that it was this composition's, what action kind it recorded, who attested it and when. Identity survives; binding does not. The standard move — enumerate and filter by action_ref — is therefore not dead past the horizon; it must change surface, joining destruction records to attestations rather than reading payloads. What it recovers is the fact that the events existed and what kind they were, never what they bound.

Why the error is worth keeping on the pattern rather than quietly fixing. The overstatement made the class look more severe and was therefore comfortable — it argued for the treatment this section prescribes. A wrong fact that supports the conclusion you already hold is the hardest kind to notice, and this one survived a corpus-wide sweep, ten pattern rounds, and its own landing in this document, because at every site it was doing rhetorical work. It was caught by a cold reader who checked the claim against the constituent's text instead of against the argument it served.

The four treatments, cheapest first

Ask them in order; the first that applies is the answer.

Ask If yes Cost
0 Does the claim's lifetime already sit inside the recovery's validity? State the comparison and stop. a sentence
1 Is the recovered fact needed at all past the horizon? If not — State the bound and why it suffices for the element's one job. a clause
2 Is there a second declared source, and is using it permitted? Name it as the past-horizon fallback, and say which claim degrades. a paragraph
3 Otherwise the fact is needed and nothing else holds it — Split the classification by retention state (derived index while the payload survives, extraction-pending beyond) and carry the durability obligation that follows. Where the index does not already hold the fact, capture it at destruction time, before the delegation runs, and name the forthcoming atom that will own it. a mechanism

Tier 0 is not a formality, and it is the most common answer. Login's session map looks like every other instance until you ask who reads it: the cascade skips every non-Active session, so the only pairs whose recovery can change an outcome belong to sessions still inside their own TTL. The rebuild must stay valid for one session lifetime, not for the life of the credential or the trail — hours against years. Nothing further is owed, and the comparison is what proves it rather than what excuses it.

Tier 2's two questions are genuinely two. Is there a second source is not may I use it. Defensible Retention falls back to Retention Window's own records and gains a fallback that over-includes, which on a destruction gate can only refuse a purge — the loss direction is safe, so Invariant 9 survives and only Invariant 2's scope claim degrades. Propagate Consent Revocation Downstream has the identical fallback available and forbids it: a store-sourced rebuild would resolve the bypassed identifier that audit-first resolvability must leave unresolvable, and the traversal/enumeration disagreement is the bypass detector. Taking it would delete a security property rather than degrade a scope claim. Where the traversal's exclusivity is itself the guarantee, the fallback shape is unavailable.

And check that a second source is a source. Privileged Access Provisioning's binding is recoverable from the approval substrate's chain store — but that store is itself a derived index over audit events, so where the two compositions share one Audit Trail instance they share one horizon and both sides are erased by the same purge. A second source is only a second source if it is an independent failure domain. A constituent whose state is a derived index over the same substrate is not one — where both are erased by the same purge, you have two names for one failure domain, and it is the more dangerous mistake precisely because it reads as coverage.

Tier 3 is not the default. Audit Trail reaches it because nothing else holds its purged entries' pair, so the pair is captured into the destruction record before the delegation runs. Forensic Recovery needs only the durability half, because the event_id is already written into its list at commit time — where the index already holds the fact before the destruction, the treatment is a durability obligation rather than a capture mechanism.

The deployment obligation none of the tiers supplies — it is orthogonal, not a fifth tier

Tiers 0–3 govern what the spec says, and whichever one applies, this is owed as well — it is not an alternative to them and not the second rung of the ladder. None of the tiers makes the horizon long enough. A composition whose claims read a payload must declare the ordering its deployment has to satisfy, name the invariant that spends it, and route the half it cannot read to the externally-clearable set. The recurring tell: a horizon recommendation stated for one reason while a load-bearing claim silently depends on it for another. Defensible Retention advised keeping the trail as long as the record for litigation defensibility; Invariant 9 depended on it because the trail is that invariant's rebuild source. Propagate Consent Revocation Downstream advised the same thing for the same stated reason; three of its maps depend on it because the traversal is their only permitted source. When converting, give both reasons and say which one is load-bearing.

Ask what stops working, not only what evidence is lost. The sharpest consequence this class produced is not an audit gap. Past its horizon, Propagate Consent Revocation Downstream cannot resolve a consent_id whose grant event has aged out, so [Withdraw Consent] answers not-known for a consent that is still Granted: a live consent becomes un-withdrawable because the record of its grant aged out before the consent did — a GDPR Article 7(3) failure reached with no partial failure, no bypass, and no bug. Defensible Retention's is a destruction gate reading a sibling set it can no longer rebuild. Availability and safety are both on this list, not just evidence.

The interval has two edges. Expiry is the common one. Multi-Party Approval is the mirror: its store is truth-bearing before its event exists, so a rebuild running too early destroys the only record. The general form is a validity interval, and both ends have produced real defects — a gate reading a set it could no longer rebuild, and a repair mechanism deleting the record it was repairing.

Which pass owns it

Detection is Pass 1 (GRID) in its mechanical form — a rebuild procedure that reads a payload is a reference into a store whose contract bounds it, and the reference graph is where a dangling one is caught. The classification is Pass 2 (EOS): whether a fact is derived or extraction-pending is a question about where it lives, and the answer changes at the horizon. The mechanical slice is tools/linter/lint.py's Q-rebuild-bound, gating since 2026-08-27, with a recorded recall gap (it is line-scoped and keys on the literal *Rebuild procedure:* marker) that is the reason a classification sweep still runs before the check's count is trusted: this class's sweep found sixteen sites where the check saw fourteen, and two of the four treatment shapes came from instances the check cannot see.


A derived index splits at the horizon, and the truth-bearing half names its atom or is declared unrebuildable

Owner pending: the Execution Contract's extraction rule names the truth-bearing half's atom; no pattern or Execution Contract rule yet asks every derived element what it is past the horizon.

FROZEN — 2026-08-29. This is the section titled Derived state has a validity duration's Tier 3, promoted from the last row of a table to a rule of its own, because the second gates kept finding patterns that had taken Tier 0 or Tier 1 for an element that needed Tier 3 — and one that had written "all six elements are derived indexes" over a store it elsewhere called truth-bearing three times.

The rule. Every Composition-state element classified as a derived index says what it is past the horizon of the store it derives from, and the answer is one of three: still derived, from a second source that is an independent failure domain; not needed, with the claim that reads it bounded to say so; or truth-bearing under a durability obligation — in which case the element is extraction-pending against a named forthcoming atom, and until that atom lands the durability is a declared deployment obligation with a Configuration entry that spends it. A fourth answer is honest and rare: the element is unrebuildable past the horizon and every claim reading it degrades explicitly. There is no fifth. A blanket sentence — all elements are derived — is not an answer, it is the tell.

The truth-bearing half has three recurring shapes and each has a home. What a purge destroyed and how it was keyed — the binding key that lived in a payload the cascade destroys and survives only where the composition wrote it while the event was live — is the Erasure Tombstone atom the substrate itself names. A record owed for a committed act — a marker written transactionally beside a domain write, standing until the sealed outcome lands, from which a seal may be built and without which it must never be — is the Owed Record atom. A composition's own log — an element that is a list of events no constituent replays, written by the composition, read by its checks — is Event Log, absorbed and mis-classified, and the fix is to say so rather than to keep the middle.

The tells

1. A durability obligation referenced and not declared. "Under the durability obligation stated in Composition state" three times, and Composition state says derived. Grep for the phrase; count declarations.

2. "Rebuild from the trail" for a fact the trail's payload destroyed. The rebuild procedure reads data.<key>; the horizon destroys data. Past it the element is not derived from anything, and calling it derived is the blindness the section titled A derived index is trustworthy only where a miss is observable describes — a lost entry indistinguishable from a purged one.

3. A marker sealed from the intent alone. Where the outcome's authoritative datum (a disclosure_id, a minted token) exists only in the marker, a recovery that seals from the intent when the marker is lost fabricates the datum. The marker is the truth-bearing half; the seal is built from it or not at all.

4. A composition-owned middle. An element that is neither rebuildable from a constituent nor named as an atom to extract — a <pattern>_event_log, a history list the composition appends to — is the no composition-owned middle rule of the Execution Contract, violated by omission.

What it costs

A sentence per element stating its past-horizon classification; a Configuration entry where the answer is truth-bearing (the durability the deployment owes, stated as an ordering against the store the element keys — as durable as the Selective Disclosure store, at least the audit instance's retention); and a named forthcoming atom with its *(forthcoming)* marker, which the linter's stale-forthcoming check will retire when it lands.

Which pass owns it

Classification is Pass 2 (EOS) — the truth-bearing half is an unnamed atom, and naming it is extraction — with the mechanical form in Pass 1 (GRID): every derived element's past-horizon sentence exists, and every named atom resolves to a forthcoming marker or a file. The collision check the section titled A derived index is trustworthy only where a miss is observable names — an element classified derived that is also declared truth-bearing in some window — is the linter check this rule would carry, and it is still not built; the sweep under this rule is what will say whether it is worth building.

Worked origins. Multi-Party Approval (second gate, 2026-08-29) — the chain store's past-horizon durability was referenced three times and declared nowhere; fixed with a chain_store_durability Configuration entry and the blanket sentence amended. Immutable Ledger (2026-08-27) — disclosure_to_event's purged half is truth-bearing, extraction-pending against the Erasure Tombstone atom. Capability-Backed Sharing (second gate, 2026-08-29) — the pending marker is truth-bearing under a durability obligation, extraction-pending against an Outbox atom, and the seal is built only from it. Login (second gate, 2026-08-28) — login_event_log was a composition-owned middle; reclassified extraction-pending against Event Log. Execute Gated Workflow (2026-08-27) — the consumed flag is durable past the horizon and the consumption test fails closed without it.


Lawful destruction is answered before absence — the constituent's purged verdict precedes any composition pre-check

Owner pending: Audit Trail's verify record step 1.1 through 1.3 answer purged first; no pattern or Execution Contract rule yet holds a composition's own checks behind that answer.

FROZEN — 2026-08-30. Stated from two third-gate findings that closed the same way in two patterns whose verification actions had each been reworked under the section titled A seal presentation is keyed by log position three days earlier. The rework added a composition-side membership check to the step list and put it ahead of the constituent call; the constituent's purged short-circuit, which the composition's verdict table promised to relay, became unreachable in both. Frozen with the other rules of this date.

The rule. Where a composition presents a record to a constituent that answers purged before it answers anything else — Audit Trail's verify_record reads retention state first and returns failed-verification(purged) before it looks at a payload — every composition-side check that could fail on the same record runs after the constituent's answer, or branches on the retention state the composition already read. A record the substrate has lawfully destroyed is not missing, not unsupplied, and not unverifiable; it is purged, and the verdict class the composition promises for that case is reachable only if the purged answer comes first.

This is the section titled Derived state has a validity duration's Tier 2 arriving at the step list: the composition knows the element's validity is bounded by retention, says so in its verdict table, and then writes a membership check that cannot tell a purged member from a lost one. The blindness the section titled A derived index is trustworthy only where a miss is observable names is here in the ordering rather than the index.

The tells

1. A verdict class with no producer. The Overall Verdict table lists failed-verification(purged) as consistent with Complete; walk the step list and find the step that produces it. If every path to it first passes a check that fails on a purged member — "any entry whose payload is not in the presented map → unverifiable(payload-not-supplied)" — the class is promised and unreachable.

2. "Payload not supplied" for a payload the substrate destroyed. The caller cannot supply what the purge removed. A verdict that asks them to has mistaken destruction for omission.

3. A retention state read and not branched on. A step that reads retention_state "for the record" and then proceeds identically for Retained and Purged has read it for nothing.

What it costs

One reordering per verification action — retention state first, then the constituent's own verdict, then any composition-side membership or presentation check on the survivors — and one per-entry outcome for the purged case (not-applicable(purged), or the constituent's own failed-verification(purged) relayed) that the completeness verdict counts as consistent. The check that quantifies over the entry set says which members it examined and which it reported purged.

Which pass owns it

Pass 1 (GRID) — every verdict class in the table resolves to a producing step — with the reachability argument in Pass 3 (adversarial): present this action a record the substrate purged yesterday, and read the step list.

Worked origins. Chain of Custody (third gate, 2026-08-30) — [Verify Custody] step 3c's absence check ran before the purged short-circuit, so a lawfully purged entry landed unverifiable(payload-not-supplied) and the chain could never reach [Custody Proof Complete] after its first purge. Forensic Recovery (third gate) — [Recover History] step 5b reported a purged transition as payload-not-supplied and history-complete became unreachable with one purged event in the sequence.


Authentication precedence — no authority-bearing transition may rely on an unauthenticated principal

Owner pending: Recoverable Invocation Invariant 1.1 and Invariant 5.2 state it for that protocol's adopters; no pattern or Execution Contract rule states it for every transition that takes a credential.

FROZEN — 2026-08-27. This rule and everything below it are closed to amendment. It was stated 2026-08-26, carried into eleven patterns over the two days that followed, gated by a fresh reader on every one, and revised eight times over those rounds. It is now fixed: a round that finds this rule inconvenient applies it as written or records a finding against the pattern, and does not edit this section. The freeze is not a claim that the rule is complete — it is the condition under which the next campaign's findings can be attributed, since a rule still in flight cannot be told apart from the corpus archaeology running beside it (roadmap methodology debt #18's operating rule, and #19's sequencing note).

What the freeze does not do. It closes no routed finding: every pre-existing foundational finding those eleven gates returned stays open in its pattern's Lineage entry, and the formal-layer extensions several of those patterns owe stay undischarged and recorded as such. The live tally lives in roadmap.md, not here (The no-snapshot rule). It also does not exempt the one remaining round — Privileged Access Provisioning's incomplete template — which applies the frozen rule rather than changing it.

Unfreezing is a deliberate act with a stated cause. The rule reopens only when a round produces a case none of its three answers covers, and the reopening records that case first. Discomfort is not a case.

An invariant is only as sound as the authority it quantifies over (Capability provenance, above); this is the same discipline applied to identity rather than capability. No consequential state transition may rely on an actor identity that has not yet been authenticated — and, the half that does the real work, the authenticated principal must be the principal whose authority the guarantee asserts.

The rule is stated at the seam, not the implementation, and deliberately so. It does not say "every pattern taking a credential must call Credential.verify first" — that would be mechanical, and it would wrongly convict patterns where the attestation is the load-bearing write, with no prior consequential commit to protect. It asks one question at every credential seam:

Whose authority is this state transition relying on, and where is that identity established as authentic before the transition?

Three answers are sound, and they are the only three:

  • Nothing commits first. The credential-consuming call is itself the load-bearing write, so no state depends on an unverified claim — the substrate case (Audit Trail, where attest is the first and only write), and the single-write action generally.
  • Verification precedes the commit. The composition verifies the presented credential against the acting principal before any constituent call, with a declared rejection arm that writes nothing — the Privileged Access Provisioning form: Credential.verify(actor_ref, credential_type, credential) early, a deployment-declared credential_type, a named credential-invalid rejection, an invariant that states it, and a Generation acceptance check that tests it.
  • The transition does not rely on that actor's authority at all. A bearer-token redemption that takes no actor claim, a system-initiated sweep acting under its own identity with no human authority asserted. This answer is only available when the pattern's guarantees are correspondingly silent about a human.

A declared deployment obligation is not a fourth answer. Stating that an upstream pre-check is "a deployment obligation, not an option" records the hazard honestly, and is better than silence, but it discharges nothing: it leaves the composition's own records unable to show the check ever ran, which forfeits precisely the records-alone standard the regulated patterns exist to meet. Where the composition can enforce the seam at its own boundary, it must; the deployment obligation is the residue for what genuinely cannot be enforced there, stated with its verification routed to an externally-clearable check, never the default escape hatch.

The binding half is the sharper half, and it is a different class of defect from ordering. A pattern that verifies the service actor while its guarantee speaks about a human has not made an ordering mistake — it has made a binding mistake, and re-ordering will not fix it. This is the shape that recovery machinery produces by construction: a record re-emitted outside the original invocation is attested under the composition's own credential, with the human demoted to a payload field, so the substrate verifies the service and says nothing about the person. "The credential is verified inside the audit write" is true of the substrate and false as an inherited claim about the human actor — a composition may state it only about the identity the composition actually passed. Where a guarantee names a person, that person's authority needs its own authentication binding, and a nested composition does not inherit one merely because some inner layer eventually verifies some actor.

Which pass owns it. Detection belongs to Pass 3 (adversarial): it is the "who checked that the caller was real, and when" question, and it is found by walking an action's numbered steps and comparing the position of the first verification against the position of the first commit. The mechanical slice is a Pass 1 reference-graph check of the same shape as the Rests on: discipline — for every action taking a credential, either a verification step precedes the first constituent write, or the pattern names which of the three sound answers applies. The binding half stays with the fresh reader: matching each guarantee's asserted principal against the principal the wiring actually authenticates is a reading task, not a position comparison.

What verified does and does not establish — required wherever the second answer is used, because the guarantee inherits exactly this much and no more. A successful verification establishes that material matching the principal's registered verifier was presented at that instant. It does not establish that the presenter is the principal (a stolen credential verifies), that the presentation is bound to a channel or session, or that it cannot be replayed. Patterns needing more compose the atoms that provide it; patterns that do not must not claim it.

The insertion hazard — a changed write order invalidates explanations, not just references. Applying this rule to an existing pattern means inserting a write before one that was previously first, and that changes a global fact about the spec: which write comes first. Three consecutive rounds each shipped the same defect, and it was never a step-number error — a mechanical renumber catches those. What goes stale is every paragraph that reasons from the old global fact, and those sit at a distance from the step lists: a "uniform rejection-mapping rule" concluding that a rejection code is unreachable because the constituent writes first; a primitive-policy paragraph explaining that credential failures always surface post-commit; an atomicity claim asserted "without qualification" on the path that just acquired a precursor. Each was internally coherent and each contradicted the new wiring. So: after changing the write order of a composition, re-audit every invariant, rejection mapping, guarantee, recovery description, and explanatory paragraph whose truth depends on ordering — not merely the references to the changed steps. State that audit as a distinct step; it is not a proofreading pass, and a reviewer brief that asks only for renumbering integrity will not find it.

The ordering guarantee must be structurally available before it can be claimed. The sharper form of the same lesson, and the one that produced a false invariant rather than stale prose: an action whose loop interleaves resolution with commitment has no point at which "before the first irreversible act" exists. A rights-fulfillment path that resolved each record's disposition and destroyed it in the same per-record pass could not host a pre-state intent record anywhere, and placing one after the loop satisfied the step numbering while inverting the guarantee. The fix was to make the read-only phase separable — resolve the whole universe, then authenticate, then execute — and the general rule is that an ordering guarantee is a claim about the shape of the action, not only about the position of a call. Where the shape does not admit the ordering, the shape is what changes.

Stated for the reviewer rather than the author: a temporal guarantee cannot be established from textual step ordering when the runtime execution shape interleaves iterations. A step list is a static artifact and a loop is not; step n precedes step n+1 on the pattern while executing after every iteration of the loop inside step n−1. This is the failure a careful review is most likely to miss, because it survives every check that reads the document as written: the numbering is consecutive, every cross-reference resolves, and the invariant that is false cites the step that is genuinely there. Reviewing an ordering claim means asking what the runtime does, not what the list says.

Causal provenance: authenticate at every boundary, and record what occasioned the act. Where one composition performs its irreversible act through another that has also adopted this rule, both write an intent record and both verify the same caller credential. That redundancy is cost, not ambiguity, and it must not be optimized away: the inner composition's surface is independently callable and cannot know it sits inside an authenticated outer context, so a version that trusted such a context would be unsafe on the direct-call path — the inner verification is that path's only defence. Authentication is not inheritable across a composition boundary. What the outer layer owes instead is provenance: where the two layers share one audit substrate, their intent records land in one sequence, and without a link a reader cannot tell an inner act occasioned by an authorized outer process from a direct call that bypassed it — the question a regulator actually asks. The outer intent record therefore carries the plan: what it is about to occasion, across every leg including the ones that bypass the inner composition entirely. State the resulting join at its true strength — an inner act with no preceding plan is certainly direct, which is the sound and useful discrimination; attribution to a particular outer invocation is exact only where that invocation completed, and presumptive otherwise.

The distinction the name carries is worth keeping sharp, because it is easy to think the problem is already solved. A distinct action_ref per record kind settles the identity of the evidence — which record is the authentication, and for which layer. It says nothing about the identity of the causal process — which invocation occasioned this one. Two intent records can be perfectly distinguishable as records and still leave an auditor unable to say whether an act was occasioned by an authorized process or by a direct call, and that second question is the regulated one.

Two rules about the rule's own boundaries, learned late and worth stating where the rule is rather than where its appliers are.

A delegated exclusivity check is a flag for this rule, not evidence against it. Two compositions — Execute Gated Workflow and Multi-Party Approval — deliberately carry no authorization gate on their decision actions, because the constituent's own exclusivity invariant is the authorization: only the named approver may approve, only the submitter may withdraw. Both spelled that out as a design decision, and it survived nine and eleven critique rounds respectively. It is also where each pattern's foundational claim quietly stopped being about people: an exclusivity invariant compares a supplied actor reference against a recorded one, and until this rule was applied neither reference had been verified, so the named approver approved was a comparison of two strings and anyone who knew an approver's reference could move a regulated workflow. Delegating authorization to a constituent's exclusivity check also delegates away the moment a credential would have been consumed — and because the delegation reads as more rigorous than a redundant local gate, it is the last place a reviewer looks. Treat the sentence no redundant permission check is added here as a flag for this rule wherever it appears.

A third-answer carve-out must be checked against the constituent's record, not only against the composition's own trail. An exemption argued as this transition relies on no actor's authority is only true if no constituent it calls requires an actor's authority to perform it. Multi-Party Approval's round got this wrong in a way worth preserving: two recovery paths that authenticate nobody were carved out as relying on no principal, and both call a constituent whose invariant admits the call only on the initiator's reference — so the atom's immutable record permanently states that the initiator withdrew a step at a moment when the initiator had not authenticated and, on one path, was not present at all. The composition's own audit record was scrupulously honest (composition actor, recovery = true); the constituent's record was not, and could not be, because the atom exposes no composition-actor surface. The two records can disagree, and the constituent's is the one a later reader finds first. Where they must disagree, say so in the invariant and name the records-alone disambiguator; do not let the composition's own honesty stand in for the constituent's.

Four failure modes of the applier, not the rule — observed repeatedly enough to be a checklist rather than a caution.

Evidence sufficiency: a binding is only as good as what the record carries. Twice in one campaign the mechanism was wired correctly and the evidence left insufficient, in ways a reader of the wiring would not notice. In one pattern the intent-to-outcome join was specified over a key that was per-case while three of the actions were repeatable against one case, so a single stale intent record would have satisfied the check for an unbounded number of later acts. In another, the attestation's action reference was correctly composed per-invocation — and no record carried the field needed to recompute it, so an implementation binding one proof to a whole category of act would have passed every declared check. Both were caught by a gate; neither would have been caught by re-reading the step list, because the step list was right. So: whenever a check is claimed to verify an ordering or a binding, name the field on the record that makes it recomputable, and confirm that field is written by the wiring and survives as long as the check must run. A guarantee whose verification depends on state that is evicted, or on a key that does not distinguish the thing being bound, is asserted rather than witnessed — which is the exact defect the rule exists to remove.

The signature block is where attention does not land. Three consecutive rounds shipped the same omission: the touch makes a new rejection reachable — invalid-credential, cleanly returnable now that verification precedes commitment — the preamble says so, an invariant says so, the wiring maps it, and no action signature declares it. The action contract is the surface a caller switches on and a generator consumes, so a code that is reachable and undeclared is either flattened into a neighbour (erasing the distinction the change was made to create) or emitted undeclared. After any change that makes a new outcome reachable, re-read the signature blocks specifically — they are the last place a reviewer looks and the first place an implementer does.

The invariant's opening sentence must carry its own scope, because that sentence travels alone. An invariant that covers some of a pattern's actions and not others is routinely drafted as an unrestricted quantifier followed by a paragraph of exceptions — "no call that commits is reached on any path before the caller's credential has validated", then a block explaining which action is outside it and why. The block is correct and the sentence is false, and the sentence is what gets quoted: into a status line, a roadmap row, an acceptance check, a generator's prompt, a reviewer's summary. In the case that produced this entry, the excluded action was the pattern's load-bearing one, and the unrestricted opening therefore asserted, on its own, precisely the thing the pattern exists to refuse. Name the covered actions inside the sentence that states the invariant, and let the following block explain why the others are outside rather than that they are. The test is mechanical: quote the invariant's first sentence with nothing after it and ask whether it is true.

An inheritance claim must be routed through a record that is authoritative, not one that is derived. Where a guarantee is not established at the act itself but inherited from an earlier, verified act, the applier must say how a reader gets from one to the other — and the natural route is whatever index the pattern already maintains for that lookup. That index is usually derived: rebuildable from the same event trail the claim is being verified against, which makes the verification a comparison of a reconstruction with itself, and makes the claim fail exactly when the trail is damaged, which is when it is needed. The authoritative carrier is nearly always already available — a sealed event whose payload holds the same keys — and the fix is to name it and say why the derived route was not taken. This is the same hazard as the check-over-a-rebuildable-index case above, arriving through a different door: there it corrupts a check, here it corrupts a claim in the prose, where no acceptance bar is looking for it.

When the intent record should carry its plan, and when carrying it is a hazard. The causal-provenance rule says an intent record names what its invocation will occasion. Applying it produced the opposite answer in two patterns within a day, and the discriminator is worth stating because both answers looked obviously right at the time.

Carry the plan when the plan and the outcome are separately recorded and their divergence is diagnostic. One composition's transition firing occasions a burst of withdrawals of human approvals, emitted under the composition's own service identity, that the caller never sees and that have their own per-item outcome events. Recording the intended set before the act makes both directions of divergence checkable: an item the outcome events name that the plan did not is a conformance failure — the composition acted beyond what it declared — and an item the plan named with no outcome event is an owed compensation. Neither is visible without the plan on the record, and the check that reads them is the only cross-check the cascade has.

Do not carry it when the outcome record is the single authoritative carrier of that datum. Another composition's withdrawal occasions a propagation set that its load-bearing invariant makes bijective with one outcome event, and whose acceptance check verifies that set against the events it was derived from. A copy on the intent event would be a rival rebuild source for the one datum the pattern exists to make authoritative — and a reader who rebuilt from it would be verifying a reconstruction rather than the record. The same reasoning excludes minted identifiers from every intent record in the corpus: a consent_id, a capability_token, an instance_id, a step_id did not exist when the intent was written, and an intent event carrying one would make an act that never committed resolvable to a reader who traverses for it.

The test is therefore not is this datum interesting? but does the outcome already own this datum authoritatively? If it does, the intent must not restate it. If it does not — if the plan's only other trace is a set of separately-recorded side effects, or nothing at all — the intent record is the correct and often the only place it can live. A useful sharpening: an intent record may name what the invocation decided to do; it must not name what the act produced.

A related discipline the same rounds argued for: cross-references that leave a section should name the step, not number it. Every round in this campaign spent its most expensive errors on distant paragraphs citing step numbers that an inserted write had shifted — and the worst of them carried correct numbers while describing an order that no longer held, which no numeric check can catch. Inside an action's own step list a number is fine and reads well. Crossing into an invariant, a rebuild procedure, an acceptance check, an example, or an edge case, prefer the step's name and role — [Open Gate]'s submit, [Fire Transition]'s gate-state read, the outcome record — with the number in parentheses if it helps. Named references survive insertion; numbered ones silently rot. This is a coupling reduction, not a style preference: it is the cheapest available fix for the representation-level defect debt #19(c) exists to measure.

Worked origin (2026-08-26). Surfaced by the fresh-reader gate on Execute Gated Workflow (Final Critique 9, F1), in a form that shows why the rule is worth stating rather than adjudicating per pattern: the finding was created by a fix. That composition's prior round gave the deterministic invalid-credential arm a terminal landing — composition-actor re-emission with the human named in the payload — which was correct as a recovery move and which, as a side effect, converted a loud unresolvable alert into a quiet acceptance of an act committed on an unverified actor claim. A landing is only as good as the check that ran before the thing landed. The triage of all eighteen credential-taking patterns that followed found the corpus had reached four different answers to the identical structural question — one pattern verifying, three declaring the obligation in identical words, four naming an upstream pre-check as an option some deployments may want, the rest silent — with no stated rule to choose among them, and with Chain of Custody having closed a word-for-word identical foundational finding by declaration where Privileged Access Provisioning had closed it by verification in its first draft and was never asked to justify the difference. Two live falsehoods fell out of the same triage: a pattern whose prose claimed it "records whoever calls it with a valid credential" on a path where irreversible destruction commits a step before the credential is touched, and a nested erasure path with two unverified layers under a guarantee naming the operator. Unreconciled precedent, not ignorance, is what the rule is for: without it each round picks an answer locally and the corpus drifts.


The no-snapshot rule — library-state facts live in ROADMAP

(Ownership moved here 2026-06-11 from the session-bootstrap index — now AGENTS.md, reached via the CLAUDE.md shim; the rule itself was generalized 2026-06-10, Refactor 1.) roadmap.md is the single source of truth for the library's current state — grounded counts, per-category lists, sequencing. The six core docs — readme, the-spec-layer, this document, spec-format, contributing, execution-contract; the rule-owning documents in the first six positions of the bootstrap reading order — carry no library-state snapshots: no pattern or composition counts, no present-tense corpus enumerations ("all current compositions are…"), and no "anticipated" or "forthcoming" framing for patterns that have already landed (the landed-but-forthcoming case is also caught mechanically by the linter's D-stale-forthcoming check). Library-state facts are stated by reference to ROADMAP. Dated historical records ("the 2026-06-08 sweep of all eighteen then-grounded compositions…") conform — they are self-dating and cannot drift; present-tense corpus claims do not. A snapshot found in a core doc is a finding, not a preference. A number a tool can compute belongs to the tool (council read 34). The rule earned its generality the usual way: a mirrored count in the session-bootstrap file read "twenty atoms and eight compositions" long after ROADMAP had moved past both; worked instances removed 2026-06-10 included spec-format's Status line carrying the same stale count and the Execution Contract filing Notification Fanout as "in the roadmap" after it had landed. This document is one of the six and is subject to its own rule (see the section titled The methodology applied to itself).


Regulated-pattern conventions

Two structural conventions emerged as Pass 3 findings on the first regulated atom in the library and have stabilized as required sections for any pattern with external acceptance bars. Both are structural fixes to recurring Pass 3 gaps — not optional polish.

Regulated adversarial scenarios

The Pass 3 gap. Early-draft examples are almost always happy-path biased: they walk what users do, not what auditors check. Pass 3 catches this routinely. The historical fix was to add rejection-path examples — what the system refuses. That helps, but it still misses a third class: what external evaluators ask. A regulator querying "show me every commitment confirmed after its declared window" is exercising the invariant from the outside, in the language they use, against the records they can see.

The structural fix. A dedicated Examples subsection — Regulated adversarial scenarios — walking three canonical adversarial reads: regulator audit (a query against the records that must return the expected result by virtue of an invariant), disputed transaction or data-subject request (an external party challenges the system's claim and the records must answer), and breach or incident investigation (an investigator queries during or after an anomaly). The three classes exercise different invariant surfaces: audit checks structural guarantees, dispute exercises the contract under hostile interpretation, breach exercises forensic queryability.

Worked examples. Provisional Commitment's adversarial scenarios walk regulator-audit-of-confirmation-window, GDPR-erasure-on-personal-data (GDPR is Europe's data protection law — it gives people the right to have their data deleted), and breach-window-forensics. Actor Identity's walk regulator-audit-of-attribution, disputed-transaction-by-actor, and compromised-credential-discovery. Idempotent Reservation's walk regulator-audit-for-double-charges, disputed-double-charge, and replay-attack — exercising the emergent invariants of the composition rather than the constituents' invariants.

Generation acceptance

The Pass 3 gap. Success criteria for derived implementations are almost always implicit — the "the invariants hold and rejections surface" assumption. For regulated atoms, that assumption fails to specify what an external auditor reading the records must be able to do. The MUSE Proof node (the "Proof" checkpoint in GRID's nine-node framework — requires success criteria be testable and defined upfront) requires success criteria be "measurable and defined before development begins," but the bar is rarely written down; it lives in the architect's head.

The structural fix. A standalone Generation acceptance section naming what a derived implementation must produce, framed as the bar an external auditor must be able to clear from the records alone, with no recourse to source code, runbooks, or developer narration. Typically four-to-six checks: reconstruct lifecycles from records, verify every invariant from records, observe every rejection-outcome class, identify composing patterns in use, trace ids across boundaries. The framing is "any code generated from this atom must produce records and a runtime surface that pass the following checks" — the generator's contract.

Worked examples. Provisional Commitment's Generation acceptance names four checks an external auditor performs against the commitment record set plus the composed Event Log. Actor Identity's names five checks against the attestation store plus the actor registry's public material. Idempotent Reservation's names five checks that span the composition — including the token-to-commitment tracing that neither constituent atom owns alone.

When the conventions apply

Both conventions are required for patterns carrying the regulated overlay, patterns elsewhere whose examples invoke regulated domains (banking, healthcare, payments, hospitality with personal data, airline reservations), and compositions that compose any of the above.

Regulated adversarial scenarios are optional for non-regulated primitives — Personal Todo's would be contrived. Use judgment; the test is whether an external evaluator with no developer access would have a meaningfully different verification surface from the atom's existing structure.

Generation acceptance is no longer optional for anything, and the amendment has a cause (2026-09-14). The old rule made it optional for non-regulated primitives on the argument that their bar reduces to the invariants hold and rejections surface — which is true and is not a reason to leave the pattern silent, because optional and absent read alike from one layer up. A census on 2026-09-14 found three atoms carrying no acceptance surface at all, all three from the earliest migration wave, composed between them by eleven of the corpus's compositions; Undo History rested thirteen Check rules on two constituents that audited none of their own rules, and nothing reported it, because a considered decline and an unconsidered silence are the same absence.

So presence is mandatory for every migrated spec, and the posture is what must be discoverable. A spec satisfies this in one of exactly two ways: it carries a Generation acceptance section with at least one Check or External check rule, or it declines by delegation — audit declined on its own Term qualifiers line, naming the pattern that owns the audit surface instead. Silence is the only thing outlawed. The point is not that every atom owes checks; it is that a composition resting its own acceptance on a constituent can discover that constituent's posture mechanically rather than by reading the file and inferring from an absence. tools/linter/lint.py's Y-acceptance-surface enforces both shapes and is pinned to synthetic fixtures; the bar each section must clear is unchanged and stays this section's.

Where a section is written for a primitive, it is written from the spec's own rules and invents no obligation — the atom's existing claims become testable, which is what the old implicit in its invariants argument was really asserting and never made checkable.

The conventions are inherited rather than reinvented in each new pattern. Each new regulated atom or composition that lands lists "conventions inherited from prior work" in its landing commit and either points back to this section or to the worked examples it most closely follows.


What DONE means

A round is three passes over one text. Before the first pass, the round freezes the text at one grace-commons commit. Each pass has a fresh reader: a reader who has read no earlier round of the pattern and gets only the reading set of the round. A pass whose reader saw more than that set is lapsed: its findings stand, and it counts toward no clean round. A full round reads the whole pattern. A delta round reads the reach of the changes since the last settled round, as tools/grace/cites.py --reach prints it. The triage and the cures start only after the third pass reports.

A finding is foundational when two conforming implementations can behave differently, or an invariant can break, because of what the pattern states or does not state. A finding is placed by what it is, never by how its finder wrote it: where a report names no two implementations and no reachable state, each triage looks for them itself, and a finding for which they exist is foundational. A refining finding sharpens content that the pattern has. A rhetorical finding attacks only the phrasing of sound content. Each finding also has a kind: A defect, B hardening, C ownership, D preference. Two triages place each finding. The second triage is blind to the threshold and to what the count decides.

Zero foundational findings after both triages make the pattern done, in a delta round or a full round. The cures of that round are part of it, if each cure was verified against the frozen text. A pattern with an open Ledger line of any kind, or a NOTE: open in its text, MUST NOT be done. A refining finding whose cure needs a decision is decided by a named rule of the corpus in the same settle, or goes to the maintainer the same settle; it is never parked. No second round is owed, and no round is rescanned.

A pattern is done against the commit that its round froze. A later change does not make this false. A change reopens only the rules that it reaches, and the tool measures the reach. A relocation reopens nothing: the rule is stated once, and each old place cites it. A proved deletion reopens nothing: a named rule holds the obligation, and cites.py resolves the citation to that rule. A reopened pattern takes a delta round, and it stays done until its own round finds a foundational defect.

Each report gives two numbers: done, the patterns that are done, and current, the done patterns whose frozen commit is an ancestor of grace-commons HEAD, with no change since to the pattern or to a constituent.

The status words:

  • todo: written, and no round has read it yet.
  • doing: rounds are reading it.
  • done: a clean round. A done pattern stays done when a change reopens it; current is the number that says nothing is owed since.

The status line is the first line of the ## Status section. It starts with exactly one token in backticks: `todo`, `doing`, or `done — YYYY-MM-DD`, where the date is the date of the clean round. Prose MAY follow the token, and MUST NOT be inside the backticks. The Ledger's status: line MUST repeat the token, and its last gate: line MUST name the round and the commit that the round froze.


Where the journey gets recorded

Each pattern carries two sections after its Status, and nothing else about its history: a Ledger and a Decisions section. The narrative of every round — what a pass surfaced, what was fixed, what was argued — lives in the commit that made the change, and git log -- <file> is the per-pattern index of it. This replaced the prose Lineage notes on 2026-08-27, when fifty-two Lineages totalling close to two million characters had become the corpus's largest reading cost and its least reliable record: closures were recorded in some patterns inline and in others in later entries, aggregate counts went stale within a day, and a health census took a day's reading and was wrong when done.

The Ledger is the countable single source of truth for a pattern's health, in a fenced block with a fixed grammar the linter parses (R-ledger-* checks; python3 tools/linter/lint.py --census derives the corpus tally from it):

status: doing
formal: verified — login.tla, no twin, 2026-05-23
last gate: 2026-08-27 — fresh reader — 7 foundational, 10 refining, 5 rhetorical

open:
- 2026-08-27-a · foundational · Action wiring, cascade step 4 · `failures` is consumed and initialized nowhere → initialize at step 4; increment on 5b's failure arm

Five fields per open line — id, class, where, defect, fix — with → between defect and fix. Ids are date-based (YYYY-MM-DD-x), never gate-based, so a finding does not need to know which round found it. Classes are foundational, refining, rhetorical per the entry The 92%-good grounding threshold. When a finding closes, its line is deleted; if the closure carried a directional decision, that goes in Decisions; the fact that it was found and closed is in git. The linter refuses by construction: a done token with an open line of any class or a NOTE: open line in the text, a Ledger status that disagrees with the Status line, and every grammar fault. formal: states the model files and their verification date, pending with a reason, or not applicable with the vote — and it states what is on disk, not what an entry claims.

Decisions are directional changes only — the turns a future reader must know the pattern took — in three fields, no narrative: - **YYYY-MM-DD — title.** *Chose:* … *Over:* … *Because:* …. An implementation choice is not a direction; it is in the commit. A gate's roster is not a direction. A choice a Hard invariant of GRACE-lang.md forbids is not a direction either: a Decisions entry cannot make it lawful, so the review that finds one repairs the spec and corrects the entry rather than letting the entry stand as its justification — Provenance's renumbering was recorded as a choice for four days before a citation broke on it (council read 95). The test is whether the pattern would be a different pattern had it gone the other way; a mature pattern has two or three entries, and many have none. The list lives in the pattern's history file (<name>.hist.md, under its ## Decisions heading, beside the entries that record a round or a migration in no fixed form), and the pattern keeps its ## Decisions heading with one line pointing there: what stays in the pattern is what a reader of its rules needs, the history file holds the dated record, and the linter reads the entries where they are (unit library: the Decisions block moves to the history file, Scott 2026-11-16 7:08 AM Central, "YY"; a pattern's Decisions took about an eighth of the library's bytes).

Which makes the commit message load-bearing. A commit that changes a spec carries the why in its message; the spec carries the what, and for directional changes, the why. A round whose commit message would not let a future reader reconstruct its reasoning has not finished. The corpus's rule stands — never commit; propose the message in chat — but the message is no longer a courtesy summary.


The methodology applied to itself

The methodology applied to a pattern produces a Ledger, a Decisions list and a commit history. That record can itself be pressure-tested by re-running the three passes — does the recorded reasoning hold up under structural, conceptual-independence, and adversarial scrutiny?

The methodology document itself is subject to its own three passes. This file has been written through the same arc that produced Personal Todo: name the structure, check for over-absorption, attack the remaining vagueness. If you find this document hand-waving anywhere, that is a Pass-3 finding against the methodology, and it should be fixed here the same way it would be fixed in any other spec.

Dated record, kept as written: the self-finding below was made while the formal-layer vote was in force, and the vote ended on 2026-11-09 (every pattern now carries both models; no vote). Where the record says vote-yes, vote-no, the vote or the model-present bar, read the rule above; the argument against the split rests on the seams it names, not on the vote.

A recorded Pass-2 self-finding — the split, considered and declined. Run against this document, Pass 2 surfaces a real over-absorption candidate: the file carries both the three-pass process every pattern walks and the formal-layer machinery that only vote-yes patterns exercise in full — the vote, the model-present bar, the authoring pitfalls, the English/formal SSOT and conflict protocol, the coverage cross-check — so a contributor authoring a simple vote-no atom reads past all of it. The remedy proposed was a split: a lean process document here, a formal-layer.md taking the formal machinery, capability provenance routed to that document or to spec-format.md, embedded change-history to changelog.md. The split was considered and declined; the reasoning is recorded here rather than lost, because the next reader will feel the same pull and deserves the argument, not a silent absence:

  • Every cut splits a single rule across the seam. The formal layer interlocks with the three-pass process at point after point, and each place the split would sever lands one rule in two files — the exact one-SSOT-per-rule violation the spec-format.md / Execution Contract ownership seam was assigned to end, reintroduced for a weaker reason. The sharpest instance is the grounding gate: the formal-layer vote is mandatory for every pattern, vote-yes or vote-no, and carries the model-present bar by reference (a vote-yes pattern stays grounded (English) — formal layer pending until it clears the bar), so "the three passes plus grounding semantics" and "the vote plus the bar" cannot live in separate documents without one rule spanning both. The same cut recurs throughout: Pass 1's Proof node names the formal model; Pass 3's logic-confinement question is the model's determinism precondition; the coverage cross-check is a scheduled-rescan sub-step, not freestanding formal machinery; "what grounded means" is stated in terms of the vote and the bar.
  • The corpus links section-into-file, and re-pointing is not free. Patterns across the grounded corpus cite this document's sections titled The formal-layer vote and Capability provenance, and the regulated conventions as file-level references that name the section in prose. A split re-points every one of them — and a corrected cross-reference is itself a touch-trigger (see the entry Touch triggers re-pass), so the mechanical fix would brush a partially resolved downgrade across the grounded corpus to relocate the weakest finding in the set. The cure costs more than the disease.
  • The change-history that looks extractable mostly is not — the first reason, applied to the cut that looks safest. The "canonicalized in Round N" and retro-mapping sentences read like changelog in canonical space, but most are worked examples discharging this document's own defend-each-claim-in-line discipline — the capability.als typecheck error justifying the model-present bar, Defensible Retention's relabel explaining the round-naming convention. Moving them to changelog.md would strip the in-line defense the methodology requires of every architectural claim.

The over-absorption is real, and the benefit is worth naming plainly: a contributor authoring a simple vote-no atom does read past the entire formal-layer machinery, and a split would spare them that. But the benefit is bounded — a vote-no author already skips those sections in practice, so the cost they pay is reading-order, not correctness — while the remedy's cost is not: a document seam to maintain in perpetuity, much of the grounded corpus touched, both halves owed a fresh adversarial read under this very section's applied-to-itself rule. Weighed at the same resolution, the cost exceeds the benefit. The condition that would re-open the decision is concrete and falsifiable: when the formal layer grows surface that no three-pass process step references — whether a second formal tool or a standalone model-authoring guide, the test being that no process step depends on it — it will have earned its own document, and the split becomes worth executing. Until then the single document holds.

Each fresh use of the methodology becomes evidence the architecture is doing real work — both for the pattern under review and for the methodology itself.


Three classes of gap, three classes of fix

Phase Pass Class of gap Lens Typical fix
1–3 1 — GRID Missing pieces Structural completeness Specify the missing node; resolve dangling references
1–3 2 — EOS Over-absorption Conceptual independence Extract the over-absorbed responsibility as its own atom; document the composition
1–3 3 — Linus Hidden decisions Adversarial scrutiny State the load-bearing decision explicitly; tighten invariants; add rejection-path examples
4 Clearance gate Foundational / refining / rhetorical findings Opus — Happy Torvalds X2 Close foundational gaps (blocks grounding); decide each refining finding by a named rule in the same settle, or file it under Needs Scott the same settle; cure rhetorical findings in-pattern. Done at zero foundational and no open line; see the section titled What DONE means

A pattern is grounded when rows 1–3 are clean and row 4's foundational-finding count is zero. Until then, the pattern is in process — and that is a respectable state to be in, provided the actual state is declared honestly.


The shortest path to a grounded pattern is to run all three passes early and iterate through as many refinement rounds as the pattern needs. The longest path is to declare grounded prematurely — whether after one pass or after three passes that were not adversarial enough. Premature grounding means the spec, the implementations that depend on it, and the contributors who reviewed it must all be revisited together when the gaps surface later. Refinement passes are cheaper before grounded than after.