AICENT.COM
← Back to Blog

Pins that do not constrain execution

2026-11-24 · IQA · RTTP
Sources cited in this piece · the record this lesson came from: the lease-boundary replay record, lab PR #247 · the replay runner as committed: replay_runner.py in the conformance repository · the conformance hub: iqa.org/conformance/ · the registrations: rttp, CRI 27 · iqa, CRI 28 · Sister pillars: RTTP (rttp://) · IQA (iqa://)

A sealed run record makes three promises about bytes. The frozen inputs — the vectors, the pinned draft text, the vendor checker — each carried with its own SHA-256 pin. The code-as-run — the runner or wrapper that actually executed. The recorded output — the verdicts the run produced. The seal binds all three into one artifact, the dual addresses make that artifact findable, and the lab's digest gate checks the manifest before anything else happens. All of that is bytes at rest. The interesting part is what the pins do not do.

The pin chain · and where it ends1 · Frozen inputsvectors · pinned draft text · vendor checker · each with a sha256 pin2 · Code-as-runthe wrapper that executes · pinned as bytes · not constrained as a process3 · Recorded outputverdicts · tallies · the JSON the run wrotepins holdpins end here — execution begins

The gap is simple to state: pin verification is decoupled from command execution. Checking that a vendor checker matches its pin does not execute it. A pipeline that verifies every pinned byte and then runs something else has verified one thing and run another — and nothing in the pins forbids that, because a pin constrains bytes at rest, not the process that runs. Every layer of the chain is honest about bytes; execution is an act, and an act is not a byte. Trusting the chain means trusting that the executed thing is the pinned thing, and that trust has to be earned rather than assumed.

So the replay pipeline earns its name by closing the gap from the execution side. A replay does not re-derive the record's verdicts with our own checker — that would be a second reading, a different record with different attribution. A replay executes the record's own code: the wrapper reads the pinned vendor trees, runs the record's checker exactly as recorded, and compares the produced output against the recorded artifacts, failing closed on any deviation. When the record's comparison output needed a summary schema the wrapper's default did not emit, the wrapper gained a profile-declared extension — and the default schema stayed untouched, and the previous replay was re-executed under the extended wrapper to confirm it still reproduces byte for byte before anything was sealed.

Four gates · replay pathGate 1 · Isolated rerunfresh checkout · digest gate first · exit 0 or stopGate 2 · Output equalitybyte-identical after line-ending normalization · canonically equal as JSONGate 3 · Code-as-run equalityexecuted code byte-identical to the sealed implementationGate 4 · Negative pathtampered input refused before any command runs · fail closedGate 4 proves theother three are notdecorative: mutate aninput byte, and thepipeline must refuse.Zero-execution proof:the refusal happensat the entrance,before the processis ever started.

The four gates, in order. Gate one: rerun in an isolated checkout, digest gate first, exit status zero or the run stops. Gate two: the produced output must be byte-identical to the recorded artifacts after line-ending normalization and canonically equal as JSON — both checks, because line endings are a property of the host that wrote the bytes and canonical JSON is a property of the data. Gate three: the code that executed must be byte-identical to the implementation inside the sealed artifact. Gate four: the negative path — feed the pipeline a mutated input byte, and it must refuse before executing anything.

Gate four deserves its own sentence, because it is the one that proves the other three are not decorative. A digest gate that only ever passes proves nothing; a digest gate that has refused a tampered input, at the entrance, before a single command ran, demonstrates that the chain is load-bearing rather than ornamental. The negative case is the zero-execution proof: the strongest evidence a pin constrains execution is a refusal that happened without any execution at all.

And the seal itself is append-only. A sealed artifact freezes the bytes that existed when it was cut; rules discovered later tighten forward, taking effect from the next replay onward. Existing records are never rewritten to match new discipline — they stand as the evidence of what was done when it was done. When the wrapper gains an extension, the old replays are re-executed under the new wrapper to demonstrate they still reproduce byte for byte; what is never done is editing a seal. The lesson generalizes to anything that publishes pinned bytes: pins name bytes, execution is an act, and the bridge between them is a replay someone can run — not a claim they must believe.

SEALED rttp://c663d3f8.blog.aicent · iqa://c663d3f80a25caccd75eb8b219806fbd.forge.iqa · seal record