carlos / platform Public

census: rootfs-check-volumes re-proposed after R1 fixes

make census-propose NAME=rootfs-check-volumes again: envelope "."
re-pinned for the helper's new name (ship_check.go) and the chmod/lchown
seams; prepareCheckDir re-frozen with its claim updated (same calls and
arguments, now through checkChmod/checkLchown). Same unit, same reads
(+file:Lstat), same disposition; seal 94b8ccf9... -> 4fb2a2ad.... The
record-write census is unchanged (main.go main untouched).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 2d5be53e8e43b0b71428adae239f680d918d5a56 parent 500ec2b
3 files changed, +5 −5
  • docs/superpowers/notes/census-proposal-rootfs-check-volumes.md +1 −1
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −1
  • internal/provision/testdata/plan14-root-reads-rootfs-check-volumes.tsv +3 −3
diff --git a/docs/superpowers/notes/census-proposal-rootfs-check-volumes.md b/docs/superpowers/notes/census-proposal-rootfs-check-volumes.md
index e63a07dfb..8b91c78d8 100644
--- a/docs/superpowers/notes/census-proposal-rootfs-check-volumes.md
+++ b/docs/superpowers/notes/census-proposal-rootfs-check-volumes.md
@@ -10,6 +10,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `ship_check_probe.go:prepareCheckDir`: reads +file:Lstat; written legacy, accepted-legacy, frozen
-Seal: `94b8ccf921f64be24a4773f72d55a8e24ceba3acfb40eefe3b56af6f5b008138` → `87bf52b6c013b08d89d3d2e46510c7842d6a4d8a65ef919037e57f382c6bebf4`.
+Seal: `94b8ccf921f64be24a4773f72d55a8e24ceba3acfb40eefe3b56af6f5b008138` → `4fb2a2add6757c23f458237fe34e6b0e6c2c788518b4dc492dc981961f393118`.
Overlay: `internal/provision/testdata/plan14-root-reads-rootfs-check-volumes.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 8e8150bef..9fa3c3c69 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -34,4 +34,4 @@ plan14-root-reads-static-dir-slash.tsv fb7cd756f7c3eb2dc019c8fd55fea5475e2df7ee3
plan14-root-reads-named-unit-delivery-114.tsv d92c9d40eb2a9e66c859e2fe6df3af10a1b9d3a83b1d717ec928cb432eebb1aa
plan14-root-reads-fleet-secrets-key.tsv 9df7f5aca9a502966c9643b7062829c1c25bfbd86fa20e92d764d66f676d2cd6
plan14-root-reads-static-headers.tsv 94b8ccf921f64be24a4773f72d55a8e24ceba3acfb40eefe3b56af6f5b008138
-plan14-root-reads-rootfs-check-volumes.tsv 87bf52b6c013b08d89d3d2e46510c7842d6a4d8a65ef919037e57f382c6bebf4
+plan14-root-reads-rootfs-check-volumes.tsv 4fb2a2add6757c23f458237fe34e6b0e6c2c788518b4dc492dc981961f393118
diff --git a/internal/provision/testdata/plan14-root-reads-rootfs-check-volumes.tsv b/internal/provision/testdata/plan14-root-reads-rootfs-check-volumes.tsv
index cf4e2b1f5..ef2ad0430 100644
--- a/internal/provision/testdata/plan14-root-reads-rootfs-check-volumes.tsv
+++ b/internal/provision/testdata/plan14-root-reads-rootfs-check-volumes.tsv
@@ -1,6 +1,6 @@
# Census overlay rootfs-check-volumes, written by census-propose (#369). census-ruling-rootfs-check-volumes, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-rootfs-check-volumes.md.
# 0 body, 0 sites, 1 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 68ae971d0826d417f0300390bfe36ce4f63e17a44a1dd3562afa6772e5d31476 ship_check_probe.go prepareCheckDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-check-volumes;basis=new: __rootfs-check-prepare (carlos ship --check), run only inside the check's prepare container on the person's machine (as 0:0 with CAP_CHOWN alone, no network, read-only root), never by a box: Lstats the one directory it is given (the check's data volume at /data/instances/check), refuses a symlink or non-directory, then chmod 0700 and lchown to --uid:--uid; no recursion. Read added: file:Lstat of that path. main.go dispatches the verb before the command switch beside __rootfs-check-probe; no root unit calls it. file:Lstat@67 f213124e29a00dadfc06d79f2bec3984906a33cc2ca585b6904668f94628b389
-ship_check_probe.go prepareCheckDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-check-volumes;basis=new: __rootfs-check-prepare (carlos ship --check), run only inside the check's prepare container on the person's machine (as 0:0 with CAP_CHOWN alone, no network, read-only root), never by a box: Lstats the one directory it is given (the check's data volume at /data/instances/check), refuses a symlink or non-directory, then chmod 0700 and lchown to --uid:--uid; no recursion. Read added: file:Lstat of that path. main.go dispatches the verb before the command switch beside __rootfs-check-probe; no root unit calls it. file:Lstat@67 f213124e29a00dadfc06d79f2bec3984906a33cc2ca585b6904668f94628b389
-@coverage . 226464b94908792fef13af167fb6c1fe856128570f1881f090b9c839e961716e
+@legacy b88e56ecd81527322832b883453084fda8bde581689e0e13fbe3a79170889c2e ship_check_probe.go prepareCheckDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-check-volumes;basis=new: __rootfs-check-prepare (carlos ship --check), run only inside the check's prepare container on the person's machine (as 0:0 with CAP_CHOWN alone, no network, read-only root), never by a box: Lstats the one directory it is given (the check's data volume at /data/instances/check), refuses a symlink or non-directory, then chmod 0700 and lchown to --uid:--uid; no recursion. Read added: file:Lstat of that path. R1 P2: the chmod and lchown go through package vars checkChmod/checkLchown (os.Chmod, os.Lchown; only tests change them) so a test pins the order; same calls, same arguments. main.go dispatches the verb before the command switch beside __rootfs-check-probe; no root unit calls it. file:Lstat@67 8633a0299cf2abee0b320ba4701137f31ada646c0d6c8310b6052054d5dad87f
+ship_check_probe.go prepareCheckDir legacy accepted-legacy accepted-legacy;rev3=census-ruling-rootfs-check-volumes;basis=new: __rootfs-check-prepare (carlos ship --check), run only inside the check's prepare container on the person's machine (as 0:0 with CAP_CHOWN alone, no network, read-only root), never by a box: Lstats the one directory it is given (the check's data volume at /data/instances/check), refuses a symlink or non-directory, then chmod 0700 and lchown to --uid:--uid; no recursion. Read added: file:Lstat of that path. R1 P2: the chmod and lchown go through package vars checkChmod/checkLchown (os.Chmod, os.Lchown; only tests change them) so a test pins the order; same calls, same arguments. main.go dispatches the verb before the command switch beside __rootfs-check-probe; no root unit calls it. file:Lstat@67 8633a0299cf2abee0b320ba4701137f31ada646c0d6c8310b6052054d5dad87f
+@coverage . 9d08bade6d01166a87e1538b79466d952a010d5cb5f9208b418adc3a07d3c978