| 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 |