carlos / platform Public

census: regenerate hunt-release-chain-integrity on main's re-based chain

Main re-based the census (census-base.tsv, whole-file scope, the reviewer
decides every class), so the branch's two overlays from 10-25 no longer
fit its chain. Both are removed, the hand-written decisions overlay
included: census-propose now writes new units itself. Regenerated with
make census-propose NAME=hunt-release-chain-integrity and updated claims.

Card: PassFilter, adoptHost, ensureStagedChecked, StageSignedHead (body),
stageHeld (sites), new stagePointerHead (legacy, accepted-legacy), and
envelope re-pins for ., internal/edge, internal/edgesfile, internal/host,
internal/publicrelease and internal/release. DigestRatchet.readWatermark
is no longer a unit of its own: its read is instancefs's now. Main moved
systemApplier.Run's body into runLocked, so the H6-M11/M12 change shows
as the internal/host envelope re-pin. Seal 4eda67fe -> 6f185e7d.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 009dfee97cfbde5e7c1ba2e6e0e7c00c0c090ec3 parent 21426d1
4 files changed, +31 −34
  • docs/superpowers/notes/census-proposal-hunt-release-chain-integrity.md +15 −13
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity-decisions.tsv +0 −7
  • internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity.tsv +15 −14

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
index 892b702d9..2839429e5 100644
--- a/docs/superpowers/notes/census-proposal-hunt-release-chain-integrity.md
+++ b/docs/superpowers/notes/census-proposal-hunt-release-chain-integrity.md
@@ -1,29 +1,31 @@
# 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.
+Ruling `census-ruling-hunt-release-chain-integrity`. The independent reviewer approves or rejects every change below, 1 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
| 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/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 (verifyPointer); the ratchet it consults (Admit) now also holds a per-channel promoted_at floor, which root reads only from its own root-owned <opt>/pointer-digests and never from the agent's data dir, through instancefs.ReadBeneathLimitOrAbsent (openat2 RESOLVE_BENEATH|NO_SYMLINKS|NO_MAGICLINKS, O_NONBLOCK, regular file only, 4 KiB cap); no read kind is added to the unit |
+| `internal/release/adopt.go` `adoptHost` | body | unchanged (129) | stages a digestless pointer head through stagePointerHead (bound to the promotion record's manifest digest) instead of the unbound ensureStagedChecked, keeping main's per-row runtime check (chk); no read kind is added |
+| `internal/release/adopt.go` `ensureStagedChecked` | body | unchanged (1) | body refactor: the staged-copy answer (with main's rootfs-sibling refusal, fix E5) is extracted to stagedTodaysAnswer with the same reads; the unused ensureStaged wrapper is deleted, so the one production path here is ensureStagedDigest with an empty want, which no caller now passes; 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 |
+| `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) instead of the unbound stage; the added sites are the registry and route reads those helpers make (RouteAccount, rt.App, rt.Host), kinds stageHeld already made |
-Envelopes re-pinned: `.`, `internal/console`, `internal/edge`, `internal/edgesfile`, `internal/host`, `internal/publicrelease`, `internal/release`.
+Envelopes re-pinned: `.`, `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.
+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. Reject 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. A rejected unit goes back to the author to correct; nothing escalates to the census owner.
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/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;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate check is left as is for a resident
+- `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;rev3=census-ruling-rootfs-apps-2;identity=the root adopt pass (carlos adopt, carlos-adopt.service, root);basis=the row's runtime (Runtime) rides on a copy of the stage check, so stageFrom stages only the kind the row runs (runtimeMatches) before any download, and the manifest the pass ends up holding is checked again; the artifact sha comes from Manifest.BoxArtifact (the rootfs key for an image); the new kind is registry:Runtime, two sites, and one more Host site in the refusal's line. A runtime the agent forges can make the pass refuse a release, and can also admit a rootfs release to staging for a row it marks rootfs. The evidence paths that can then hand back a staged identity, exhaustively: (1) the signed channel pointer with a manifest digest (ensureStagedDigest, then stageFrom: a fresh download or the staged copy reused); (2) a signed pointer with no digest (the digest marker off), through ensureStagedChecked: with the manifest fetched, stageFrom as in (1); with the fetch failing, a binary's sibling on disk is handed back as before, and a rootfs sibling is refused (controller ruling R-a, task 11 fix E5); (3) a signed promotion record's manifest digest (stageAuthorized, then ensureStagedDigest and stageFrom); (4) retained-copy recovery when (3) fails (stageAuthorized, RetainedStaged: the copy's bytes must hash to its sibling's digest). For a rootfs version every path that hands back an identity yields a sibling byte-equal to the manifest just authorised: stageFrom reads the sibling back after a fresh stage or a reuse and refuses otherwise; (2)'s fallback never yields one; recovery refuses a sibling whose bytes do not hash to the digest a readable record names (retainedRootfsAuthorised, task 11 fix E1), and with no record readable takes the copy root itself verified, as for a binary. Every path is for the row's own account and app. The held stage (materializeheld.go) and signedhead.go stage through ensureStagedDigest with a zero stage check (a binary row's), so they never stage a rootfs release, and their no-digest fallback refuses a rootfs sibling too;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate check is left as is for a resident;rev3=census-ruling-stateless-replicas-1;basis=Task 4 R19: reuse the manifest verified by existing staging and signed selection; within withReleaseWork after history, proof and staging gates, seed or unseed the exec mode before PointLive (R24), under the same full-row compare and no ServingVersion/GoodVersion/running build guard. Version stamps staging and is not serving evidence. All existing root admission, credentials, quotas, proof, restart and rollback checks retained; no additional manifest or bucket read.;rev3=census-ruling-dr1-left-link;basis=the up-to-date return is skipped for an unstamped planned row (unstampedPlannedRow), which takes the existing install path with all its gates; on that repair (cur == ver) the D2 history is not seeded from the candidate path, the stamp keeps PrevVersion, and the refusal clear keeps the up-to-date rule. No new read kind;rev3=census-ruling-sr-followups;basis=#1061 Task 4, print only: on a repoint failure the "repoint failed" line is skipped when the stage relay below is about to run (cfg.stageBlocked set and stageBlocked(err)) and the caps were not converged, the relay condition is computed once into relay and reused, otherwise identical. cfg.stageBlocked is set only by the non-root agent passes (OnStageBlocked, user carlos), the root adopt pass (carlos adopt, carlos-adopt.service, root) has no relay and is unchanged, every line still printing. Same reads, guard (withReleaseWork), relay and rollback, no read, file, store, bucket or root call added
+- `internal/release/adopt.go` `ensureStagedChecked`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-rootfs-apps-2;basis=the manifest-fetch fallback (a pointer with no digest, or a held stage with want "", and a fetch that fails) now refuses a rootfs sibling on disk instead of handing it back (controller ruling R-a, task 11 fix E5); a binary sibling is handed back as before; its I/O is unchanged (the stat of the staged copy, the manifest fetch, the sibling read), no read added
- `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`.
+New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff:
+
+- new `internal/release/adopt.go:stagePointerHead`: reads +file:Stat; written legacy, accepted-legacy, frozen
+
+Seal: `4eda67fee53800e2cfa4177b954c7f0fce6bdfcfbfe1aa2547ddcec3027b668b` → `6f185e7d09dcaf0dc598386f2e2b6e24736ed86e44a372b7cf40899f9f7d989e`.
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 60fa52cca..d9426818f 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -232,3 +232,4 @@ plan14-root-reads-omr-run.tsv f82b5e513d7434e1440c13aa4aa8bc06348745749a21593cf4
plan14-root-reads-fleet-first-reconcile-speed.tsv 9206205b2a3bf27b8b85310f4a44f94ef0c5886d85d6e55dbf2f22e073a8af11
plan14-root-reads-free-storage-250.tsv 9206205b2a3bf27b8b85310f4a44f94ef0c5886d85d6e55dbf2f22e073a8af11
plan14-root-reads-fleet-first-reconcile-speed-4.tsv 4eda67fee53800e2cfa4177b954c7f0fce6bdfcfbfe1aa2547ddcec3027b668b
+plan14-root-reads-hunt-release-chain-integrity.tsv 6f185e7d09dcaf0dc598386f2e2b6e24736ed86e44a372b7cf40899f9f7d989e
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
deleted file mode 100644
index dae38a5f3..000000000
--- a/internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity-decisions.tsv
+++ /dev/null
@@ -1,7 +0,0 @@
-# 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
index 0ebafbe43..b1964e6d0 100644
--- a/internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity.tsv
+++ b/internal/provision/testdata/plan14-root-reads-hunt-release-chain-integrity.tsv
@@ -1,16 +1,17 @@
# 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
+# 4 body, 1 sites, 6 envelope: each changed unit re-frozen at its existing disposition with its claim appended.
+# 1 new dispositions: 0 reads re-frozen at their disposition with the claim, 1 new units frozen accepted-legacy, 0 quiet units retired while they read nothing, 0 other.
+@legacy 397c65006f882e28851e891f9c993f7c464ea85b044d853809fe6d760428d576 internal/release/adopt.go ensureStagedChecked legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-rootfs-apps-2;basis=the manifest-fetch fallback (a pointer with no digest, or a held stage with want "", and a fetch that fails) now refuses a rootfs sibling on disk instead of handing it back (controller ruling R-a, task 11 fix E5); a binary sibling is handed back as before; its I/O is unchanged (the stat of the staged copy, the manifest fetch, the sibling read), no read added;rev3=census-ruling-hunt-release-chain-integrity;basis=body refactor: the staged-copy answer (with main's rootfs-sibling refusal, fix E5) is extracted to stagedTodaysAnswer with the same reads; the unused ensureStaged wrapper is deleted, so the one production path here is ensureStagedDigest with an empty want, which no caller now passes; no read is added file:Stat@189 84750c82e8288ab60adb3a82f8132736cba8332d32c8637698a9e61c49e740e9
+@legacy 901a885348d19ffdb223c7b9e88ae1221c7800c0e8be504465509041cfaa2bf6 internal/release/adopt.go stagePointerHead legacy accepted-legacy accepted-legacy;rev3=census-ruling-hunt-release-chain-integrity;basis=new: stages the head a verified signed pointer names; a pointer with a digest goes to ensureStagedDigest; one without is bound to its signed promotion record (recordBinding) and the manifest is checked against that digest (CheckManifestDigest) before any download; 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 a staged copy keeps today's answer when the manifest cannot be read at all; a refusal recovers only from this box's own verified staged copy (retainedOrRefused, with main's rootfs rule retainedRootfsAuthorised) file:Stat@417 42e14870aa98796a3f604f3b22a695de182b072173fa768cf2e3783cea818a89
+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-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate check is left as is for a resident;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 (verifyPointer); the ratchet it consults (Admit) now also holds a per-channel promoted_at floor, which root reads only from its own root-owned <opt>/pointer-digests and never from the agent's data dir, through instancefs.ReadBeneathLimitOrAbsent (openat2 RESOLVE_BENEATH|NO_SYMLINKS|NO_MAGICLINKS, O_NONBLOCK, regular file only, 4 KiB cap); no read kind is added to the unit registry:App@10139,registry:App@27178,registry:App@29635,registry:App@30322,registry:App@30559,registry:App@31966,registry:App@6740,registry:App@9998,registry:Hibernate@30205,registry:Host@1061,registry:Host@1426,registry:Host@30375,registry:Host@31291,registry:Host@32019,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@30223,whole:Route@30244,whole:Route@30257,whole:Route@30317,whole:Route@30343,whole:Route@30417,whole:Route@30456,whole:Route@30472,whole:Route@30500,whole:Route@30554,whole:Route@30580,whole:Route@3074,whole:Route@31333,whole:Route@31387,whole:Route@3139,whole:Route@31403,whole:Route@31910,whole:Route@31961,whole:Route@31987,whole:Route@32061,whole:Route@32096,whole:Route@32112,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 cb6cc6bc834752d1fb03429afc772f09d53a5ccb01607889ac8f90a0a8319f27
+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-rootfs-apps-2;identity=the root adopt pass (carlos adopt, carlos-adopt.service, root);basis=the row's runtime (Runtime) rides on a copy of the stage check, so stageFrom stages only the kind the row runs (runtimeMatches) before any download, and the manifest the pass ends up holding is checked again; the artifact sha comes from Manifest.BoxArtifact (the rootfs key for an image); the new kind is registry:Runtime, two sites, and one more Host site in the refusal's line. A runtime the agent forges can make the pass refuse a release, and can also admit a rootfs release to staging for a row it marks rootfs. The evidence paths that can then hand back a staged identity, exhaustively: (1) the signed channel pointer with a manifest digest (ensureStagedDigest, then stageFrom: a fresh download or the staged copy reused); (2) a signed pointer with no digest (the digest marker off), through ensureStagedChecked: with the manifest fetched, stageFrom as in (1); with the fetch failing, a binary's sibling on disk is handed back as before, and a rootfs sibling is refused (controller ruling R-a, task 11 fix E5); (3) a signed promotion record's manifest digest (stageAuthorized, then ensureStagedDigest and stageFrom); (4) retained-copy recovery when (3) fails (stageAuthorized, RetainedStaged: the copy's bytes must hash to its sibling's digest). For a rootfs version every path that hands back an identity yields a sibling byte-equal to the manifest just authorised: stageFrom reads the sibling back after a fresh stage or a reuse and refuses otherwise; (2)'s fallback never yields one; recovery refuses a sibling whose bytes do not hash to the digest a readable record names (retainedRootfsAuthorised, task 11 fix E1), and with no record readable takes the copy root itself verified, as for a binary. Every path is for the row's own account and app. The held stage (materializeheld.go) and signedhead.go stage through ensureStagedDigest with a zero stage check (a binary row's), so they never stage a rootfs release, and their no-digest fallback refuses a rootfs sibling too;rev3=census-ruling-rootfs-apps-3;basis=rootfs Plan 3: comment only, the Hibernate check is left as is for a resident;rev3=census-ruling-stateless-replicas-1;basis=Task 4 R19: reuse the manifest verified by existing staging and signed selection; within withReleaseWork after history, proof and staging gates, seed or unseed the exec mode before PointLive (R24), under the same full-row compare and no ServingVersion/GoodVersion/running build guard. Version stamps staging and is not serving evidence. All existing root admission, credentials, quotas, proof, restart and rollback checks retained; no additional manifest or bucket read.;rev3=census-ruling-dr1-left-link;basis=the up-to-date return is skipped for an unstamped planned row (unstampedPlannedRow), which takes the existing install path with all its gates; on that repair (cur == ver) the D2 history is not seeded from the candidate path, the stamp keeps PrevVersion, and the refusal clear keeps the up-to-date rule. No new read kind;rev3=census-ruling-sr-followups;basis=#1061 Task 4, print only: on a repoint failure the "repoint failed" line is skipped when the stage relay below is about to run (cfg.stageBlocked set and stageBlocked(err)) and the caps were not converged, the relay condition is computed once into relay and reused, otherwise identical. cfg.stageBlocked is set only by the non-root agent passes (OnStageBlocked, user carlos), the root adopt pass (carlos adopt, carlos-adopt.service, root) has no relay and is unchanged, every line still printing. Same reads, guard (withReleaseWork), relay and rollback, no read, file, store, bucket or root call added;rev3=census-ruling-hunt-release-chain-integrity;basis=stages a digestless pointer head through stagePointerHead (bound to the promotion record's manifest digest) instead of the unbound ensureStagedChecked, keeping main's per-row runtime check (chk); no read kind is added registry:App@11720,registry:App@11874,registry:App@13228,registry:App@14476,registry:App@16074,registry:App@21569,registry:App@27636,registry:App@3144,registry:App@35416,registry:App@6791,registry:App@8092,registry:App@8286,registry:Backing@21285,registry:GoodVersion@21324,registry:Hibernate@36889,registry:Host@10517,registry:Host@11593,registry:Host@11626,registry:Host@11733,registry:Host@11887,registry:Host@11983,registry:Host@12015,registry:Host@12080,registry:Host@12530,registry:Host@12870,registry:Host@12994,registry:Host@13441,registry:Host@13550,registry:Host@13752,registry:Host@14566,registry:Host@15352,registry:Host@15827,registry:Host@16060,registry:Host@16402,registry:Host@17037,registry:Host@20745,registry:Host@20853,registry:Host@2105,registry:Host@21537,registry:Host@22357,registry:Host@2294,registry:Host@23141,registry:Host@23568,registry:Host@23620,registry:Host@2375,registry:Host@23767,registry:Host@23854,registry:Host@24960,registry:Host@25204,registry:Host@25864,registry:Host@26249,registry:Host@26390,registry:Host@27604,registry:Host@27731,registry:Host@29073,registry:Host@29723,registry:Host@3157,registry:Host@32956,registry:Host@33574,registry:Host@33899,registry:Host@33973,registry:Host@34220,registry:Host@34371,registry:Host@35588,registry:Host@35873,registry:Host@35986,registry:Host@36424,registry:Host@36480,registry:Host@36584,registry:Host@36731,registry:Host@37590,registry:Host@37716,registry:Host@37804,registry:Host@4469,registry:Host@4616,registry:Host@5579,registry:Host@5684,registry:Host@6903,registry:Host@6951,registry:Host@7068,registry:Host@7100,registry:Host@7978,registry:Host@8146,registry:Host@8272,registry:Host@8391,registry:Host@8869,registry:Host@9256,registry:Host@9482,registry:Host@9578,registry:Host@9669,registry:Kind@21241,registry:Kind@554,registry:PrevVersion@35775,registry:Runtime@11377,registry:Runtime@12788,registry:ServingVersion@21348,registry:Socket@21266,registry:Stateless@21225,registry:Stateless@21476,registry:Tunnel@21305,registry:Unit@34119,registry:Unit@579,whole:Route@10106,whole:Route@10460,whole:Route@11715,whole:Route@11869,whole:Route@13218,whole:Route@14466,whole:Route@16042,whole:Route@16607,whole:Route@17013,whole:Route@18213,whole:Route@18516,whole:Route@18672,whole:Route@21002,whole:Route@21146,whole:Route@21422,whole:Route@21559,whole:Route@2206,whole:Route@24689,whole:Route@25088,whole:Route@27626,whole:Route@3139,whole:Route@32527,whole:Route@35564,whole:Route@3595,whole:Route@4347,whole:Route@4587,whole:Route@6786 d2ed1c155ba8c417220a28340d75a9c12dc3e85641edbdabf785dec4abba5c46
+internal/release/adopt.go ensureStagedChecked legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-rootfs-apps-2;basis=the manifest-fetch fallback (a pointer with no digest, or a held stage with want "", and a fetch that fails) now refuses a rootfs sibling on disk instead of handing it back (controller ruling R-a, task 11 fix E5); a binary sibling is handed back as before; its I/O is unchanged (the stat of the staged copy, the manifest fetch, the sibling read), no read added;rev3=census-ruling-hunt-release-chain-integrity;basis=body refactor: the staged-copy answer (with main's rootfs-sibling refusal, fix E5) is extracted to stagedTodaysAnswer with the same reads; the unused ensureStaged wrapper is deleted, so the one production path here is ensureStagedDigest with an empty want, which no caller now passes; 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
+internal/release/adopt.go stagePointerHead legacy accepted-legacy accepted-legacy;rev3=census-ruling-hunt-release-chain-integrity;basis=new: stages the head a verified signed pointer names; a pointer with a digest goes to ensureStagedDigest; one without is bound to its signed promotion record (recordBinding) and the manifest is checked against that digest (CheckManifestDigest) before any download; 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 a staged copy keeps today's answer when the manifest cannot be read at all; a refusal recovers only from this box's own verified staged copy (retainedOrRefused, with main's rootfs rule retainedRootfsAuthorised) file:Stat@417 42e14870aa98796a3f604f3b22a695de182b072173fa768cf2e3783cea818a89
+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) instead of the unbound stage; the added sites are the registry and route reads those helpers make (RouteAccount, rt.App, rt.Host), kinds stageHeld already made registry:App@1058,registry:App@308,registry:App@466,registry:App@555,registry:App@707,registry:Host@1075,registry:Host@572,registry:Host@724,whole:Route@1053,whole:Route@197,whole:Route@303,whole:Route@461,whole:Route@550,whole:Route@702 91aeb674d30fe1d2973541a85eed1675ebf1093705ebb3d144c7621ed86aff8b
+@coverage . e702b5f6a94176f4fc4fb4052af383182bedc6ab74037292306bf23a163f5c34
+@coverage internal/edge bb420354662289f93f3bbf8b5e68b5e6ee3057193780ae9b81fc558dd3bab894
+@coverage internal/edgesfile 1c7f35fe3c75c1761f7997588cdf5c5e66061dfb0a89b107934a498417d125b5
+@coverage internal/host a1f9bf6d6372fc9bf34bb51cb1a797836ded5a078fde4c8b5a05be2c90cf7af9
+@coverage internal/publicrelease 5f88bff966d17193560b6f71d750b4817647f29498c284fb3f9debfb0e01420e
+@coverage internal/release 2d66c70bb6a4bf49ec6730bb17fe681d1dbc794c1d4279a3ad82ab130583aea7