Merge origin/main (armed-box-updates 54ae7fb) into claim-empty-cohort-done
main's overlay armed-box-updates now carries the Disk.Run removal and the runImage row, so this branch's claim-rootaws-sentinel overlay drops them (same ruling); armed-box-updates loads before claim-merge-main. The root-read census still shows the roster-binding build's own changes, which the census task re-pins.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
3 files changed,
+17
−2
internal/provision/plan14_root_reads_test.go+9 −0internal/provision/testdata/plan14-root-reads-armed-box-updates.tsv+7 −0internal/provision/testdata/plan14-root-reads-claim-rootaws-sentinel.tsv+1 −2
CI failed — run details
diff --git a/internal/provision/plan14_root_reads_test.go b/internal/provision/plan14_root_reads_test.go| index 4f79bb696..04fa67175 100644 |
| --- a/internal/provision/plan14_root_reads_test.go |
| +++ b/internal/provision/plan14_root_reads_test.go |
| @@ -1030,6 +1030,15 @@ func TestPlan14RootReadCensus(t *testing.T) { |
| t.Fatal(err) |
| } |
| seal = "393e7f456d8f02b2eee0c683880e5f7bf696b6ee0c87f20e5c113434065bec29" |
| + // Census overlay armed-box-updates (cherry-picked from the claim branch |
| + // for v0.28.5): rootaws's scrub treats its own inherited disabled-file |
| + // sentinels as no override, and hostfloor's guarded run returns stdout |
| + // only, so a guard-armed box's updater can read a candidate's version and |
| + // plan. Loaded last, under census-ruling-claim-rootaws-sentinel |
| + // (platform-1c). No legacy row; the seal stands. |
| + if err = loadRootReadInventory(filepath.Join(root, "internal/provision/testdata/plan14-root-reads-armed-box-updates.tsv"), &inv, true); err != nil { |
| + t.Fatal(err) |
| + } |
| // Census overlay claim-merge-main (claim-empty-cohort-done merged with |
| // main after moves-offline, 7af8815), loaded last: envelope only, the |
| // internal/host re-pin over both branches' code. The seal stands. |
diff --git a/internal/provision/testdata/plan14-root-reads-armed-box-updates.tsv b/internal/provision/testdata/plan14-root-reads-armed-box-updates.tsv| new file mode 100644 |
| index 000000000..b2fadcab0 |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-armed-box-updates.tsv |
| @@ -0,0 +1,7 @@ |
| +# Census overlay armed-box-updates (cherry-picks 8376a468 and 8a313548 from claim-empty-cohort-done onto main for v0.28.5; rows and ruling census-ruling-claim-rootaws-sentinel, confirmed for main by platform-1c, 2026-10-20). Only the rootaws and hostfloor parts apply on main. |
| +# Census overlay claim-rootaws-sentinel (a scrubbed root parent's own disabled shared-file sentinels are not an override in a root child, so the child's scrub stays silent; found by platform-d8's deployment harness at G4: a guard-armed box refused every router update because the candidate's version printed the ALERT into the guarded updater's combined output), loaded LAST, after claim-empty-cohort-fix2. RULED (platform-1e, 2026-10-20): accepted. Envelope only: ScrubEnvironment has no classified root-read unit; no row changes and the seal stands. |
| +@coverage internal/rootaws ad641674b84d17a9f6a7b1acb4cf88b68cc2a882812a28c8f622d4fd9616b470 |
| +# Also (harness G4, parent side, same ruling): hostfloor's guarded run returns the image's stdout only through runImage (new), so stderr progress or an alert cannot corrupt the version or plan an updater parses; Disk.Run's exec site moved into runImage at its class, and Disk.Run's row is retired. |
| +@coverage internal/hostfloor ba748a60d9bd7a55d2d3c4a2fe17fc619c23aa2e813a88b164dff47e04a41a1f |
| +@remove internal/hostfloor/image_linux.go Disk.Run |
| +internal/hostfloor/image_linux.go runImage authority F,J4 rev3=census-ruling-claim-rootaws-sentinel;identity=root (the system updater and root's apply through hostfloor.Disk.Run on a guard-armed box);basis=root-input: the exec of the verified, protected image Disk.Run opened and checked, moved unchanged from Disk.Run; stdout is returned and stderr kept only for the error file:CommandContext@89 fbf4a73db9e71f8deefa8d56ece729f489f84689d064e2475f5551a823d6fa59 |
diff --git a/internal/provision/testdata/plan14-root-reads-claim-rootaws-sentinel.tsv b/internal/provision/testdata/plan14-root-reads-claim-rootaws-sentinel.tsv| index eec98a3c7..4ea315c33 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-claim-rootaws-sentinel.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-claim-rootaws-sentinel.tsv |
| @@ -3,9 +3,8 @@ |
| # Also (CI fix, same ruling): hostInstallationPaths names the raw instance directory through layout.RawInstanceDir, a new exported accessor beside layout's rawInstanceDir, so the raw-directory guard holds; internal/host and internal/layout envelopes re-pinned here, and hostInstallationPaths's 9B8 digest re-pinned at its class (key-site, lit:instances). |
| @coverage internal/layout cbb195397ab6f0018704e745b30e57df56d49289de87a1132d2f7ba426cf006b |
| # Also (harness G4, parent side, same ruling): hostfloor's guarded run returns the image's stdout only through runImage (new), so stderr progress or an alert cannot corrupt the version or plan an updater parses; Disk.Run's exec site moved into runImage at its class, and Disk.Run's row is retired. |
| +# (Merged with main 54ae7fb: the Disk.Run removal and the runImage row now live in main's overlay plan14-root-reads-armed-box-updates.tsv, which loads after this one, under the same ruling.) |
| @coverage internal/hostfloor ba748a60d9bd7a55d2d3c4a2fe17fc619c23aa2e813a88b164dff47e04a41a1f |
| -@remove internal/hostfloor/image_linux.go Disk.Run |
| -internal/hostfloor/image_linux.go runImage authority F,J4 rev3=census-ruling-claim-rootaws-sentinel;identity=root (the system updater and root's apply through hostfloor.Disk.Run on a guard-armed box);basis=root-input: the exec of the verified, protected image Disk.Run opened and checked, moved unchanged from Disk.Run; stdout is returned and stderr kept only for the error file:CommandContext@89 fbf4a73db9e71f8deefa8d56ece729f489f84689d064e2475f5551a823d6fa59 |
| # Also (harness G7, same ruling): journal-migrate's quiesce scan moved into scanQuiesceProcs (new), which skips the migration's own direct children (its service-user registry child) and names any other service-user process it refuses; procParent (new) reads a /proc stat's ppid. Classes carried from quiesceLegacyClaimJournals. |
| @coverage internal/host 514745d2c20f8a38953bdfc8d22cb5f8d4001681baeacdc73f313ed9dbfa3c86 |
| internal/host/claimjournal_migration_linux.go quiesceLegacyClaimJournals authority C,G,J4 root-input;kept=C,G;scope=protected-decision-only;rev3=census-ruling-claim-rootaws-sentinel;basis=the /proc scan moved into scanQuiesceProcs; masks and stops as before file:ReadFile@226,file:ReadFile@327 cbf95218a0314ac8cc50f8957e3e5d142e2bc7f8c76aac0fd9a36eac5e37f013 |