<?xml version="1.0" encoding="UTF-8"?>
<spec xmlns="https://vibevm.org/spec/1">
  <title>Card Registry — INDEX (Rust projection)</title>
  <p p="1">**Discipline v0.2 · BETA · T2 · Rust**</p>
  <p p="2">*The navigable registry of the Rust projection's cards. The harness uses this to resolve a trigger to a card and to deliver the Band-3 extract for a `.rs` edit. These are the Rust shape of the nine language-neutral scaffold patterns catalogued in the core `02-EXECUTABLE-SCAFFOLDS.xml`; this stack ships its own `cards/` so the weak-reader runtime surface for Rust is a Rust Band-3 block, never another language's. Generated/maintained as a derived index (A2/R-030); hand edits are a defect.*</p>
  <section title="Scaffold cards (the nine executable-scaffold patterns)">
    <table p="3">
      <tr>
        <td>Card</td>
        <td>Layer</td>
        <td>Mechanism</td>
        <td>Trigger mode</td>
        <td>Transfer</td>
        <td>Checker status</td>
      </tr>
      <tr>
        <td>`scaffold-a-generators`</td>
        <td>A+C</td>
        <td>scaffold A</td>
        <td>raid/gate</td>
        <td>[E-strong]</td>
        <td>specified</td>
      </tr>
      <tr>
        <td>`scaffold-b-typed-builders`</td>
        <td>E</td>
        <td>scaffold B</td>
        <td>gate</td>
        <td>[E-mid]</td>
        <td>specified</td>
      </tr>
      <tr>
        <td>`scaffold-c-runnable-contracts`</td>
        <td>E</td>
        <td>scaffold C</td>
        <td>inline</td>
        <td>[E-mid]</td>
        <td>specified</td>
      </tr>
      <tr>
        <td>`scaffold-d-differential-oracle`</td>
        <td>E</td>
        <td>scaffold D</td>
        <td>gate</td>
        <td>[E-mid]</td>
        <td>shipped: oracle-presence (`cell-has-oracle`, rust-ai-native-conform); the oracle itself stays authored</td>
      </tr>
      <tr>
        <td>`scaffold-e-fast-loop`</td>
        <td>E+H</td>
        <td>scaffold E</td>
        <td>gate</td>
        <td>[E-strong]</td>
        <td>shipped (`rust-ai-native fast-loop`)</td>
      </tr>
      <tr>
        <td>`scaffold-f-structured-diagnostics`</td>
        <td>E+C</td>
        <td>scaffold F</td>
        <td>inline</td>
        <td>[E-mid]</td>
        <td>shipped (`error-enum/message-cites-req`, rust-ai-native-conform)</td>
      </tr>
      <tr>
        <td>`scaffold-g-doctests`</td>
        <td>C+G</td>
        <td>scaffold G</td>
        <td>gate</td>
        <td>[E-strong]</td>
        <td>shipped (`seam-has-doctest` + `pub-doctest`, rust-ai-native-conform)</td>
      </tr>
      <tr>
        <td>`scaffold-h-simulators`</td>
        <td>E+H</td>
        <td>scaffold H</td>
        <td>gate</td>
        <td>[E-strong]</td>
        <td>specified</td>
      </tr>
      <tr>
        <td>`scaffold-i-codemods`</td>
        <td>H+A</td>
        <td>scaffold I</td>
        <td>raid</td>
        <td>**[E-hyp]**</td>
        <td>pilot prototype shipped (`rust-ai-native codemod add-cell`); free parameterization stays the open R4 question</td>
      </tr>
    </table>
  </section>
  <section title="Rule cards">
    <p p="4">*Authored as their checkers ship. The first three:*</p>
    <table p="5">
      <tr>
        <td>Card</td>
        <td>Layer</td>
        <td>Mechanism</td>
        <td>Trigger mode</td>
        <td>Transfer</td>
        <td>Checker status</td>
      </tr>
      <tr>
        <td>`rule-position-is-a-resource`</td>
        <td>D+H</td>
        <td>rule</td>
        <td>gate</td>
        <td>[E-mid]</td>
        <td>shipped (`invariant-comment-position`, core-ai-native-conform)</td>
      </tr>
      <tr>
        <td>`rule-closed-vocabulary-naming`</td>
        <td>B+H</td>
        <td>rule</td>
        <td>gate</td>
        <td>[E-mid]</td>
        <td>shipped (`cell-name-is-computed`, core-ai-native-conform; serves Go too; composition only — the closed-vocabulary / one-referent / no-synonym halves of R3-004 are unbuilt)</td>
      </tr>
      <tr>
        <td>`rule-declared-test-matrices`</td>
        <td>E+H</td>
        <td>rule</td>
        <td>gate</td>
        <td>[E-mid]</td>
        <td>shipped (`declared-test-matrices`, core-ai-native-conform; serves Go and TypeScript too; vacuum on host — shown on fixtures)</td>
      </tr>
    </table>
  </section>
  <section title="Trigger-mode delivery summary">
    <list ordered="false" p="6">
      <item>**inline** (per-edit, lint-detectable): C, F. Most frequent; cheapest.</item>
      <item>**gate** (per-merge): B, D, E, G, H.</item>
      <item>**raid** (scheduled/on-adoption): A, I.</item>
      <item>**review** (human/strong-agent): none yet; reserved for judgment-heavy cards.</item>
    </list>
  </section>
  <section title="Axis coverage (research frame A–H)">
    <list ordered="false" p="7">
      <item>A language-shape: A (generators), I (codemods)</item>
      <item>B names &amp; tokens: covered by guide §2 (naming rules) — `rule-closed-vocabulary-naming` (shipped `cell-name-is-computed`, composition only; the closed-vocabulary half of R3-004 stays unbuilt)</item>
      <item>C meta-layer: A, F, G</item>
      <item>D context &amp; repo: covered by guide §1 (cells, closure) — candidate `rule-cell-closure`</item>
      <item>E verification: B, C, D, E, F, H</item>
      <item>F spec-binding: specmap (PROP-014, guide §7) — mechanism, not a card</item>
      <item>G empirics: G</item>
      <item>H weak-reader: E, H, I</item>
    </list>
  </section>
  <section title="Pending cards (named, not yet authored — pilot will prioritize)">
    <list ordered="false" p="8">
      <item>`rule-cell-closure` (R3-001) — editable units declare their full semantic dependency set.</item>
      <item>`rule-contract-first-ordering` (R3-002) — intent before body.</item>
      <item>`rule-uniformity` (R3-006/H6) — one idiom per operation; mark exceptions.</item>
      <item>`antipattern-god-file` (R3-013) — fan-in per file bounds swarm throughput.</item>
      <item>`antipattern-lying-prose` (R2C-004/H4) — unverified prose claims near code.</item>
    </list>
    <p p="9">These are deferred not because they are unimportant but to honor minimal sufficiency: the nine scaffold cards are the runnable-capital core; rule/anti-pattern cards are added as their checkers ship — `rule-position-is-a-resource`, `rule-closed-vocabulary-naming`, and `rule-declared-test-matrices` (above) are the first three, their `invariant-comment-position`, `cell-name-is-computed`, and `declared-test-matrices` checkers now live.</p>
  </section>
  <section title="Notes on status">
    <list ordered="false" p="10">
      <item>**shipped** = the checker ships in this stack (rust-ai-native-conform / rust-ai-native) and runs on any consumer tree.</item>
      <item>**specified** = checker is defined but not yet shipped.</item>
      <item>**specified (pilot)** = checker defined; implementation is a named pilot task.</item>
      <item>**WISH** = no checker yet (A5); the card is advisory until one exists.</item>
      <item>A card graduates from BETA when its checker is implemented AND its evidence IDs are non-empty AND pilot evidence has not falsified it.</item>
    </list>
  </section>
</spec>
