carlos / platform Public

Census approval card for the release-chain integrity fixes (census-ruling-hunt-release-chain-integrity), with the two new units' rows for the census owner's decision

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev eea2b70e5044abee613870cdf6f0448484bd5498 parent 8b28dc8
4 files changed, +54 −0
  • docs/superpowers/notes/census-proposal-hunt-release-chain-integrity.md +29 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +2 −0
  • internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity-decisions.tsv +7 −0
  • internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity.tsv +16 −0

CI failed — run details

diff --git a/docs/superpowers/notes/census-proposal-hunt-release-chain-integrity.md b/docs/superpowers/notes/census-proposal-hunt-release-chain-integrity.md
new file mode 100644
index 000000000..892b702d9
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-hunt-release-chain-integrity.md
@@ -0,0 +1,29 @@
+# Census approval: hunt-release-chain-integrity
+
+Ruling `census-ruling-hunt-release-chain-integrity`. Every change below keeps the disposition it already has, so it needs an approval, not a decision.
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `internal/host/systemapply.go` `systemApplier.Run` | body | unchanged (1) | the replay floor admits an equal promoted_at only for the recorded version or a pointer whose History lists it (seen-versions.json beside seen.json under the root-owned opt dir); the no-op is decided from the installed binary's version, not the request's NoOp flag; no read kind is added |
+| `internal/release/adopt.go` `PassFilter` | body | unchanged (75) | a digestless head is bound to its signed promotion record through stagePointerHead, and a pointer without an account binding is refused on read; no read kind is added |
+| `internal/release/adopt.go` `adoptHost` | body | unchanged (113) | stages a digestless pointer head through stagePointerHead (the promotion record's manifest digest) instead of the unbound stage; no read kind is added |
+| `internal/release/adopt.go` `ensureStagedChecked` | body | unchanged (1) | body refactor: the staged-copy answer is extracted to stagedTodaysAnswer with the same reads; no read is added |
+| `internal/release/signedhead.go` `StageSignedHead` | body | unchanged (7) | routes through stagePointerHead so a digestless head binds to its promotion record before staging; no read kind is added |
+| `internal/release/materializeheld.go` `stageHeld` | sites | +registry:App ×2, +registry:Host, +whole:Route ×2 | a held stage with no recorded digest now goes through recordBinding and retainedOrRefused (refused unless this box holds its own verified copy); the added sites are the registry and route reads those helpers make, kinds stageHeld already made |
+
+Envelopes re-pinned: `.`, `internal/console`, `internal/edge`, `internal/edgesfile`, `internal/host`, `internal/publicrelease`, `internal/release`.
+
+Review: a model from the other family than the author reads the branch's diff against main on the amadan.net remote (`origin` or `amadan`, whichever points at amadan.net) and gives a verdict for every unit and every re-pinned envelope above. For a unit, compare the change with its recorded disposition and basis below; for an envelope, read every changed function in the package and what it reaches. Escalate if the change lets root open, run, query or follow anything it did not before from a path or input a tenant, an app or a box agent can create, write or name; if it weakens a check, refusal, validation, argument or environment the basis relies on; or if the diff cannot settle either. Otherwise approve. Record each verdict on #280 with the tip. An escalation goes to the census owner as a decision.
+
+Recorded dispositions, which each change must still satisfy:
+
+- `internal/host/systemapply.go` `systemApplier.Run`: authority, task D,F,J4. Basis: rev3=PROPOSED-claims-on-gate-recover;identity=root apply/recovery uid 0;basis=re-pinned at its class and task; its lock-file read is unchanged. A checkGuardRecovery error wrapping errSettlementDeferred under --recover is logged and not fatal, and the end-of-run settlement is not retried after a deferral; every other refusal returns as before. root-input;kept=D,F;scope=protected-decision-only. TestRecoverDefersACensusRefusalWithNoJournalOpen, TestApplyStillFailsACensusRefusalWithNoJournalOpen. Fix round 2: a deferral that recoverIfNeeded returns after the journal was removed is consumed the same way, with no fatal error kept and no settlement retried. TestRecoverDefersARefusalAfterTheJournalIsRemoved. Fix round 3: the end-of-run marker settlement (settleMarker, settleUpdateBegun) also goes through settleWithoutJournal, so a legacy update-begun marker with no update record and no journal defers a census refusal with the recover-legacy barrier held; a barrier that cannot be written joins the run's error in every mode; every other marker failure is logged as on main. TestRecoverHoldsAcquisitionsForALegacyMarker, TestRecoverFailsALegacyMarkerWhoseBarrierCannotBeWritten.
+- `internal/release/adopt.go` `PassFilter`: authority, task B3,E3,J1,E1,E2. Basis: Signed named-unit recovery is independent of release and health history. Root rechecks canonical source, unit, process, signed target and trusted live pointer; captures attempt authority before publication; verifies readiness and resumes without repeated effects. Fixtures: TestPlan14SignedActiveFixIgnoresHistory, TestPlan14SignedActiveFixAuthority, TestPlan14SignedFixSupersedesOlderAttempt, TestPlan14ActiveRecoveryProcessCrash, TestPlan14SignedRestartWithoutHealthHistory, TestPlan14CapturedRollbackWithoutHealthHistory, TestPlan14SignedRestartRequiresTrustedLiveLink. E7 applies merge ruling 4: unbound no-census routes use the legacy pass and restart; ordinary candidates make no binding store call. Fixtures: TestR2UnguardedERecoveryUpdate, TestR2UnguardedERecoveryIncidentRecipe, TestPlan14ERecoveryBindingRefusalKeepsPromotedFix. E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=resolves protected route inputs before filters, recovery and dispatch on census boxes and bypasses service-owned failure opener only there;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=asks the optional pointer gate (gatePointers) once per channel group before selection and reports each group's pointer outcome to it; only the agent's fast sweep arms a gate (WithPointerGate), so under carlos adopt the gate is nil and the pass is unchanged; a gate can only leave a group out of the pass, never add one; one whole-Route site added
+- `internal/release/adopt.go` `adoptHost`: authority, task B3,E1,E2,E3,E4,J1. Basis: E16: root first-registration creation evidence under release exclusion; exact installation identity is required for first-program adoption and is consumed before an attempt. Installed-program history comes from the verified claim launch. Fixtures: TestPlan14FreshInstallRegistration, TestPlan14FreshInstallProgramGate, TestPlan14FreshInstallCanonicalIdentity, TestPlan14FreshInstallLaunchObservation, TestPlan14InstalledLaunchProgramEvidence, TestPlan14FreshInstallProcessCrash, TestPlan14FreshInstallVisibleSync, TestClaimControlUnitInstallers. E22: root generation pins guard existing-tree artifact and manifest writes in adoption and moves-held staging/publication. Held snapshot is read under release exclusion before the leaf held-stage lock; failures remain restrictive for writes. Claims-off source returns no root pins. Fresh wholly absent version trees retain signed staging. Fixtures: TestPlan14GenerationSiblingWrites, TestPlan14GenerationVerifiedSiblingWrites, TestPlan14GenerationHeldStage (production source assembly, both flag values without census, lock order, pin/error/fresh cases). Production completeness remains unavailable; no new completeness grant.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=applies root settings to canonically resolved routes including named units while legacy settings eligibility remains unchanged;rev3=PROPOSED-p3;run=16;basis=P3-R11 approved punctuation edit only; authority and reads unchanged;rev3=census-ruling-315;identity=legacy agent pass uid carlos (RootRestartsUnits; never set on carlos adopt);basis=a non-root agent pass hands a route its named unit serves (unitServed) to root through the stage relay before staging or repointing; root adopt reads unchanged
+- `internal/release/adopt.go` `ensureStagedChecked`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input
+- `internal/release/signedhead.go` `StageSignedHead`: authority, task E1. Basis: Canonical route is supplied by the root unit verifier. Verifies signed channel, digest ratchet and manifest/artifact before staging; unavailable pin census never authorizes restaging differing bytes. Fixtures: TestPlan14Incident20261006WithLedger and TestPlan14SignedNamedRecoveryAuthority.
+- `internal/release/materializeheld.go` `stageHeld`: authority, task C,E1,J1,E2. Basis: root-route;kept=C,E1;scope=protected-decision-only E22: root generation pins guard existing-tree artifact and manifest writes in adoption and moves-held staging/publication. Held snapshot is read under release exclusion before the leaf held-stage lock; failures remain restrictive for writes. Claims-off source returns no root pins. Fresh wholly absent version trees retain signed staging. Fixtures: TestPlan14GenerationSiblingWrites, TestPlan14GenerationVerifiedSiblingWrites, TestPlan14GenerationHeldStage (production source assembly, both flag values without census, lock order, pin/error/fresh cases). Production completeness remains unavailable; no new completeness grant.
+
+Seal: `2e4e67b0ecc3b1cf26b3f30ce325792beccec261af50cdeb3a7c7e56a74ee6e1` → `b223bc3c48923008244d4a941fd3d7332790cbd25e47f50c9d926456bf8278c8`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity.tsv`, appended to `internal/provision/testdata/plan14-root-reads-chain.tsv`.
diff --git a/internal/provision/testdata/plan14-root-reads-chain.tsv b/internal/provision/testdata/plan14-root-reads-chain.tsv
index 57f37ea6e..1591d92ac 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -25,3 +25,5 @@ plan14-root-reads-design-edge-rate-limit-358-decisions.tsv a067dcd9e32e6be2b7dd9
plan14-root-reads-design-edge-rate-limit-358.tsv 0c4eabfe38e12b098285bdeb5ceb0b16e5333928f5b02e160a6b16b5fd9ce1e0
plan14-root-reads-plans-4b-after-grace.tsv 0c4eabfe38e12b098285bdeb5ceb0b16e5333928f5b02e160a6b16b5fd9ce1e0
plan14-root-reads-certwarm-wake.tsv 91204fcbc484343c03bd5ae69e3084055bc519a5b317e2ae3dc49880080764e2
+plan14-root-reads-hunt-release-chain-integrity-decisions.tsv 2e4e67b0ecc3b1cf26b3f30ce325792beccec261af50cdeb3a7c7e56a74ee6e1
+plan14-root-reads-hunt-release-chain-integrity.tsv b223bc3c48923008244d4a941fd3d7332790cbd25e47f50c9d926456bf8278c8
diff --git a/internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity-decisions.tsv b/internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity-decisions.tsv
new file mode 100644
index 000000000..dae38a5f3
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity-decisions.tsv
@@ -0,0 +1,7 @@
+# Census overlay hunt-release-chain-integrity-decisions, written BY HAND (AGENTS.md, The census: census-propose refuses decisions). The decisions of census-ruling-hunt-release-chain-integrity (branch fix/hunt-release-chain-integrity: the release-chain integrity fixes from the 2026-10-25 security hunt, H3-M1, H3-M5, H6-M2): two new units. Loaded from the chain manifest before plan14-root-reads-hunt-release-chain-integrity.tsv, which census-propose wrote for the approvals. Asked of the census owner on #280 with the card docs/superpowers/notes/census-proposal-hunt-release-chain-integrity.md; rows carry the ruling from the start (#369).
+# Each new unit mirrors the disposition of its closest sibling, named in its basis: stagePointerHead is accepted legacy at ensureStagedDigest's class (one frozen declaration is added, so the seal moves); DigestRatchet.readWatermark is authority at DigestRatchet.marked's class and kept owner (E1), which needs no frozen declaration.
+# NEW, root-input (the staging authority): stages a signed pointer's head bound to a publisher-signed manifest digest, the pointer's own or its promotion record's. Mirrors ensureStagedDigest and stageAuthorized.
+@legacy 390fddd8ab591b58a044bedcae13a8347fd6c8907f852def736020fedea8ae6a internal/release/adopt.go stagePointerHead legacy accepted-legacy accepted-legacy;rev3=census-ruling-hunt-release-chain-integrity;identity=carlos adopt uid 0 and the legacy agent pass uid carlos (adoptHost), and root's unit verifier (StageSignedHead);basis=new: stages the head a verified signed channel pointer names; a pointer that carries a manifest digest goes straight to ensureStagedDigest; one that carries none is bound to its signed promotion record (recordBinding, shared with stageAuthorized) and its manifest is checked against the record's digest (CheckManifestDigest) before anything is downloaded; its one site, os.Stat of VersionPath(optDir, acct, ver, app), is this box's own staged copy under the root-owned opt dir, the Stat ensureStagedDigest makes, and only decides whether an already staged copy keeps today's answer when the manifest cannot be read at all (stagedTodaysAnswer); a manifest that does not hash to the record is refused whatever the Stat says, and a refusal recovers only from this box's own verified staged copy (retainedOrRefused); nothing a tenant, an app or the agent names chooses the path; the class of ensureStagedDigest (J4 root-input) and stageAuthorized, the same staging authority file:Stat@417 4ad49ff50ce7916b718ff4bfbe92621d1c27450c64a965bc6682fe5d81987744
+internal/release/adopt.go stagePointerHead legacy accepted-legacy accepted-legacy;rev3=census-ruling-hunt-release-chain-integrity;identity=carlos adopt uid 0 and the legacy agent pass uid carlos (adoptHost), and root's unit verifier (StageSignedHead);basis=new: stages the head a verified signed channel pointer names; a pointer that carries a manifest digest goes straight to ensureStagedDigest; one that carries none is bound to its signed promotion record (recordBinding, shared with stageAuthorized) and its manifest is checked against the record's digest (CheckManifestDigest) before anything is downloaded; its one site, os.Stat of VersionPath(optDir, acct, ver, app), is this box's own staged copy under the root-owned opt dir, the Stat ensureStagedDigest makes, and only decides whether an already staged copy keeps today's answer when the manifest cannot be read at all (stagedTodaysAnswer); a manifest that does not hash to the record is refused whatever the Stat says, and a refusal recovers only from this box's own verified staged copy (retainedOrRefused); nothing a tenant, an app or the agent names chooses the path; the class of ensureStagedDigest (J4 root-input) and stageAuthorized, the same staging authority file:Stat@417 4ad49ff50ce7916b718ff4bfbe92621d1c27450c64a965bc6682fe5d81987744
+# NEW, authority E1 (the digest ratchet): reads the channel's replay floor beside its digest mark. Mirrors DigestRatchet.marked.
+internal/release/watermark.go DigestRatchet.readWatermark authority E1,J4 root-input;kept=E1;scope=protected-decision-only;rev3=census-ruling-hunt-release-chain-integrity;identity=root (carlos adopt uid 0: own <opt>/pointer-digests, also the agent's <data>/pointer-digests) and the agent and edge (uid carlos: own <data>/pointer-digests, also <opt>/pointer-digests), the one SharedDigestRatchet per process (pointerRatchet, edge staticRatchet);basis=new: DigestRatchet.marked's twin for the channel replay floor (hunt H3-M5), called only from admitWatermark after the digest verdict: one os.ReadFile per ratchet directory of the box-local <acct>/<app>/<channel>.watermark beside the channel's .digests mark (watermarkPath, '/' escaped as markPath does), parsed as {promoted_at, version}; only ENOENT or ENOTDIR counts as no floor, and any other answer, a file that does not parse or carries no promoted_at included, is an error admitWatermark treats as fail-closed (markUnreadable), as marked does; the highest floor across the directories wins, so a file in either directory can only refuse a pointer, never admit one the signature and digest verdict did not; like marked's Stat the read follows a symlink, and it is not size-capped, so the agent's own directory can at worst refuse or stall an admission; the class and kept owner of DigestRatchet.marked (E1, J4 root-input) file:ReadFile@259 a4a3df6d1698d98a4371faab599e939c3d3aef1221b6dd5c4322aac88652bf9e
diff --git a/internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity.tsv b/internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity.tsv
new file mode 100644
index 000000000..0ebafbe43
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity.tsv
@@ -0,0 +1,16 @@
+# Census overlay hunt-release-chain-integrity, written by census-propose (#369). census-ruling-hunt-release-chain-integrity, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-hunt-release-chain-integrity.md.
+# 5 body, 1 sites, 7 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+@legacy a6c94ff36a89e6316b78b210bffe7625161ddb9bf42c9ac0b8d36cc3d4f55d48 internal/release/adopt.go ensureStagedChecked legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-hunt-release-chain-integrity;basis=body refactor: the staged-copy answer is extracted to stagedTodaysAnswer with the same reads; no read is added file:Stat@189 84750c82e8288ab60adb3a82f8132736cba8332d32c8637698a9e61c49e740e9
+internal/host/systemapply.go systemApplier.Run authority D,F,J4 rev3=PROPOSED-claims-on-gate-recover;identity=root apply/recovery uid 0;basis=re-pinned at its class and task; its lock-file read is unchanged. A checkGuardRecovery error wrapping errSettlementDeferred under --recover is logged and not fatal, and the end-of-run settlement is not retried after a deferral; every other refusal returns as before. root-input;kept=D,F;scope=protected-decision-only. TestRecoverDefersACensusRefusalWithNoJournalOpen, TestApplyStillFailsACensusRefusalWithNoJournalOpen. Fix round 2: a deferral that recoverIfNeeded returns after the journal was removed is consumed the same way, with no fatal error kept and no settlement retried. TestRecoverDefersARefusalAfterTheJournalIsRemoved. Fix round 3: the end-of-run marker settlement (settleMarker, settleUpdateBegun) also goes through settleWithoutJournal, so a legacy update-begun marker with no update record and no journal defers a census refusal with the recover-legacy barrier held; a barrier that cannot be written joins the run's error in every mode; every other marker failure is logged as on main. TestRecoverHoldsAcquisitionsForALegacyMarker, TestRecoverFailsALegacyMarkerWhoseBarrierCannotBeWritten.;rev3=census-ruling-hunt-release-chain-integrity;basis=the replay floor admits an equal promoted_at only for the recorded version or a pointer whose History lists it (seen-versions.json beside seen.json under the root-owned opt dir); the no-op is decided from the installed binary's version, not the request's NoOp flag; no read kind is added file:OpenFile@483 5f30aaba2d50e0f2ddadbdc06626a7ee0c819aee1baa711d6bab9cf5bb7af8fd
+internal/release/adopt.go PassFilter authority B3,E3,J1,E1,E2 Signed named-unit recovery is independent of release and health history. Root rechecks canonical source, unit, process, signed target and trusted live pointer; captures attempt authority before publication; verifies readiness and resumes without repeated effects. Fixtures: TestPlan14SignedActiveFixIgnoresHistory, TestPlan14SignedActiveFixAuthority, TestPlan14SignedFixSupersedesOlderAttempt, TestPlan14ActiveRecoveryProcessCrash, TestPlan14SignedRestartWithoutHealthHistory, TestPlan14CapturedRollbackWithoutHealthHistory, TestPlan14SignedRestartRequiresTrustedLiveLink. E7 applies merge ruling 4: unbound no-census routes use the legacy pass and restart; ordinary candidates make no binding store call. Fixtures: TestR2UnguardedERecoveryUpdate, TestR2UnguardedERecoveryIncidentRecipe, TestPlan14ERecoveryBindingRefusalKeepsPromotedFix. E19: both destructive readers use the root reservation snapshot under existing release exclusion. Exact artifact and containing-tree identities are retained; missing completeness refuses destruction. Production installation/launch/kernel completeness and verified retirement remain unfinished. Fixtures: TestPlan14GenerationDeletionCannotUnpin, TestPlan14GenerationSnapshotCompleteness, TestPlan14GenerationSnapshotPermitsUnreservedRestage, TestPlan14GenerationSnapshotPinsContainingTree, TestPlan14GenerationSnapshotEmptyIsUnknown, TestPlan14GenerationConsumerMode.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=resolves protected route inputs before filters, recovery and dispatch on census boxes and bypasses service-owned failure opener only there;rev3=PROPOSED-s3-change-index;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=asks the optional pointer gate (gatePointers) once per channel group before selection and reports each group's pointer outcome to it; only the agent's fast sweep arms a gate (WithPointerGate), so under carlos adopt the gate is nil and the pass is unchanged; a gate can only leave a group out of the pass, never add one; one whole-Route site added;rev3=census-ruling-hunt-release-chain-integrity;basis=a digestless head is bound to its signed promotion record through stagePointerHead, and a pointer without an account binding is refused on read; no read kind is added registry:App@10139,registry:App@27178,registry:App@29635,registry:App@30127,registry:App@30364,registry:App@31771,registry:App@6740,registry:App@9998,registry:Hibernate@30010,registry:Host@1061,registry:Host@1426,registry:Host@30180,registry:Host@31096,registry:Host@31824,registry:Host@3413,registry:Host@3480,registry:Host@3576,registry:Host@3611,registry:UpdateSettings@9876,whole:Route@10134,whole:Route@1046,whole:Route@1164,whole:Route@1188,whole:Route@1461,whole:Route@1622,whole:Route@27173,whole:Route@2726,whole:Route@2768,whole:Route@2877,whole:Route@2901,whole:Route@2932,whole:Route@29630,whole:Route@29888,whole:Route@29910,whole:Route@29957,whole:Route@29975,whole:Route@29985,whole:Route@30028,whole:Route@30049,whole:Route@30062,whole:Route@30122,whole:Route@30148,whole:Route@30222,whole:Route@30261,whole:Route@30277,whole:Route@30305,whole:Route@30359,whole:Route@30385,whole:Route@3074,whole:Route@31138,whole:Route@31192,whole:Route@31208,whole:Route@3139,whole:Route@31715,whole:Route@31766,whole:Route@31792,whole:Route@31866,whole:Route@31901,whole:Route@31917,whole:Route@3225,whole:Route@3247,whole:Route@3347,whole:Route@4430,whole:Route@5077,whole:Route@6662,whole:Route@6684,whole:Route@6735,whole:Route@6761,whole:Route@761,whole:Route@803,whole:Route@950,whole:Route@9827,whole:Route@988,whole:Route@9941,whole:Route@9986 7cd898f6515d67c49c52c3476ce7deafeba5eea190ba2ddf6877e25691aa163a
+internal/release/adopt.go adoptHost authority B3,E1,E2,E3,E4,J1 E16: root first-registration creation evidence under release exclusion; exact installation identity is required for first-program adoption and is consumed before an attempt. Installed-program history comes from the verified claim launch. Fixtures: TestPlan14FreshInstallRegistration, TestPlan14FreshInstallProgramGate, TestPlan14FreshInstallCanonicalIdentity, TestPlan14FreshInstallLaunchObservation, TestPlan14InstalledLaunchProgramEvidence, TestPlan14FreshInstallProcessCrash, TestPlan14FreshInstallVisibleSync, TestClaimControlUnitInstallers. E22: root generation pins guard existing-tree artifact and manifest writes in adoption and moves-held staging/publication. Held snapshot is read under release exclusion before the leaf held-stage lock; failures remain restrictive for writes. Claims-off source returns no root pins. Fresh wholly absent version trees retain signed staging. Fixtures: TestPlan14GenerationSiblingWrites, TestPlan14GenerationVerifiedSiblingWrites, TestPlan14GenerationHeldStage (production source assembly, both flag values without census, lock order, pin/error/fresh cases). Production completeness remains unavailable; no new completeness grant.;rev3=PROPOSED-p3;run=8;identity=carlos adopt uid 0; legacy agent pass uid carlos;basis=applies root settings to canonically resolved routes including named units while legacy settings eligibility remains unchanged;rev3=PROPOSED-p3;run=16;basis=P3-R11 approved punctuation edit only; authority and reads unchanged;rev3=census-ruling-315;identity=legacy agent pass uid carlos (RootRestartsUnits; never set on carlos adopt);basis=a non-root agent pass hands a route its named unit serves (unitServed) to root through the stage relay before staging or repointing; root adopt reads unchanged;rev3=census-ruling-hunt-release-chain-integrity;basis=stages a digestless pointer head through stagePointerHead (the promotion record's manifest digest) instead of the unbound stage; no read kind is added registry:App@11500,registry:App@11660,registry:App@12689,registry:App@13615,registry:App@15194,registry:App@20353,registry:App@25829,registry:App@3144,registry:App@33588,registry:App@6758,registry:App@8059,registry:App@8253,registry:Hibernate@34449,registry:Host@10484,registry:Host@11373,registry:Host@11406,registry:Host@11513,registry:Host@11673,registry:Host@11775,registry:Host@11807,registry:Host@11872,registry:Host@12322,registry:Host@12455,registry:Host@12902,registry:Host@13011,registry:Host@13213,registry:Host@13705,registry:Host@14491,registry:Host@14966,registry:Host@15180,registry:Host@15522,registry:Host@16112,registry:Host@19843,registry:Host@19951,registry:Host@20321,registry:Host@2105,registry:Host@21141,registry:Host@21299,registry:Host@21761,registry:Host@21813,registry:Host@21960,registry:Host@22047,registry:Host@2294,registry:Host@23153,registry:Host@23397,registry:Host@2375,registry:Host@24057,registry:Host@24442,registry:Host@24583,registry:Host@25797,registry:Host@25924,registry:Host@27266,registry:Host@27916,registry:Host@31149,registry:Host@3157,registry:Host@31767,registry:Host@32092,registry:Host@32166,registry:Host@32413,registry:Host@32564,registry:Host@33760,registry:Host@33927,registry:Host@34034,registry:Host@34262,registry:Host@34405,registry:Host@35150,registry:Host@35276,registry:Host@35364,registry:Host@4469,registry:Host@4583,registry:Host@5546,registry:Host@5651,registry:Host@6870,registry:Host@6918,registry:Host@7035,registry:Host@7067,registry:Host@7945,registry:Host@8113,registry:Host@8239,registry:Host@8358,registry:Host@8836,registry:Host@9223,registry:Host@9449,registry:Host@9545,registry:Host@9636,registry:Kind@554,registry:Unit@32312,registry:Unit@579,whole:Route@10073,whole:Route@10427,whole:Route@11495,whole:Route@11655,whole:Route@12679,whole:Route@13605,whole:Route@15162,whole:Route@15727,whole:Route@16088,whole:Route@17311,whole:Route@17614,whole:Route@17770,whole:Route@20100,whole:Route@20244,whole:Route@20343,whole:Route@2206,whole:Route@22882,whole:Route@23281,whole:Route@25819,whole:Route@30720,whole:Route@3139,whole:Route@33736,whole:Route@3595,whole:Route@4347,whole:Route@6753 eb652006138838f0c3b289e4ee4f0e34fcc396378170cf707a8b514ef81fe596
+internal/release/adopt.go ensureStagedChecked legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-hunt-release-chain-integrity;basis=body refactor: the staged-copy answer is extracted to stagedTodaysAnswer with the same reads; no read is added file:Stat@189 84750c82e8288ab60adb3a82f8132736cba8332d32c8637698a9e61c49e740e9
+internal/release/signedhead.go StageSignedHead authority E1 Canonical route is supplied by the root unit verifier. Verifies signed channel, digest ratchet and manifest/artifact before staging; unavailable pin census never authorizes restaging differing bytes. Fixtures: TestPlan14Incident20261006WithLedger and TestPlan14SignedNamedRecoveryAuthority.;rev3=census-ruling-hunt-release-chain-integrity;basis=routes through stagePointerHead so a digestless head binds to its promotion record before staging; no read kind is added registry:Account@202,registry:Account@302,registry:Account@406,registry:App@214,registry:App@418,registry:Channel@222,registry:Host@437 316beee345c4a72c31fc207fd923f30c32aadda10ec58431b7845c80f33ea009
+internal/release/materializeheld.go stageHeld authority C,E1,J1,E2 root-route;kept=C,E1;scope=protected-decision-only E22: root generation pins guard existing-tree artifact and manifest writes in adoption and moves-held staging/publication. Held snapshot is read under release exclusion before the leaf held-stage lock; failures remain restrictive for writes. Claims-off source returns no root pins. Fresh wholly absent version trees retain signed staging. Fixtures: TestPlan14GenerationSiblingWrites, TestPlan14GenerationVerifiedSiblingWrites, TestPlan14GenerationHeldStage (production source assembly, both flag values without census, lock order, pin/error/fresh cases). Production completeness remains unavailable; no new completeness grant.;rev3=census-ruling-hunt-release-chain-integrity;basis=a held stage with no recorded digest now goes through recordBinding and retainedOrRefused (refused unless this box holds its own verified copy); the added sites are the registry and route reads those helpers make, kinds stageHeld already made registry:App@1052,registry:App@308,registry:App@466,registry:App@555,registry:App@701,registry:Host@1069,registry:Host@572,registry:Host@718,whole:Route@1047,whole:Route@197,whole:Route@303,whole:Route@461,whole:Route@550,whole:Route@696 281effefc615a70f099f7972fd31be5211ff4618efec05ba9ce04cbf11677fd3
+@coverage . 504a86c48dfab4a12dc390716240ffdcc07adf3be37f01280a38f8e484138190
+@coverage internal/console fef94fe2069b2b5516a09b5b84b97e580101d9624c4c1423568f9f47302218c6
+@coverage internal/edge 29cb99da1a23a4ba92e9476a2a5c03e4d5a5bea73c999e69c95a9ac346cb0c83
+@coverage internal/edgesfile 1cc6e70d57e3424ba3b6b57f3b84974428f607ac7eb5fc96b18a798669976c26
+@coverage internal/host e7fb86471e26f287ff69069c4ab57da02a79a2178a4c4537f84ee8ea539ab896
+@coverage internal/publicrelease 2256479cf347c4df5c6fd511b7ef228e063462a95867bdca514b91456126ca7d
+@coverage internal/release 236fe4dcd353eaabe3e8162185d3de29f4157f4e8697f9a1c7abf40686cb215d