carlos / platform Public

census: re-propose group-roll-verb after merging main

Chain line re-appended after main's last entry with the new seal; proposal
note regenerated. Claims file kept beside the other branches' claims.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev cb0f00fdcb95c8928244012feb7e615c6c272afd parent 9728e85
3 files changed, +26 −1
  • docs/superpowers/notes/census-claims-group-roll-verb.tsv +24 −0
  • docs/superpowers/notes/census-proposal-group-roll-verb.md +1 −1
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0

Intent

diff --git a/docs/superpowers/notes/census-claims-group-roll-verb.tsv b/docs/superpowers/notes/census-claims-group-roll-verb.tsv
new file mode 100644
index 000000000..a7f8f5a5c
--- /dev/null
+++ b/docs/superpowers/notes/census-claims-group-roll-verb.tsv
@@ -0,0 +1,24 @@
+internal/grouproll/config.go:LoadConfig reads the operator's group config file named by --config (operator CLI only; refuses root)
+internal/grouproll/depart.go:Engine.Depart lstats a chosen replace or remove transaction's journal name in the operator's own 0700 state directory (an existing one refuses before any call), then creates the journal through State.Create (O_NOFOLLOW, 0600); the same reads as Engine.Roll
+internal/grouproll/engine.go:Engine.blocked lstats provider-divergence.json in the operator's own 0700 state directory (no symlink follow); any answer but not-found refuses as a damaged record
+internal/grouproll/engine.go:Engine.preflight reads provider-observation.json from the operator's own 0700 state directory
+internal/grouproll/journal.go:Journal.read reads a format 2 journal from the operator's own 0700 state directory, capped at 64 MiB
+internal/grouproll/plan.go:Engine.Plan reads provider-observation.json from the operator's own 0700 state directory
+internal/grouproll/probe.go:Engine.Probe creates the probe transaction's journal through State.Create (O_NOFOLLOW, 0600) in the operator's own 0700 state directory under the group lock, after refusing an open transaction; the same read as Engine.Roll, with a generated probe- id
+internal/grouproll/roll.go:Engine.Roll lstats a chosen transaction's journal name in the operator's own 0700 state directory (an existing one refuses before any call), then creates the journal through State.Create (O_NOFOLLOW, 0600)
+internal/grouproll/roll.go:Engine.closeLost lstats provider-divergence.json in the operator's own 0700 state directory to say it is kept
+internal/grouproll/state.go:State.ActiveID lists and reads active-v2.json and journals in the operator's own state directory
+internal/grouproll/state.go:State.Create creates a journal in the operator's own state directory (O_NOFOLLOW, 0600); the begin row records the caller's provider user id
+internal/grouproll/state.go:State.Read reads a small state file (65,536-byte cap) from the operator's own state directory
+internal/grouproll/state.go:randomHex reads crypto/rand for plan log and transaction names
+internal/grouproll/state_unix.go:lstatOwner lstats the state directory and its ancestors to refuse symlinks and unsafe owners
+internal/grouproll/state_unix.go:privateFile opens a state file O_NOFOLLOW and checks it is a private regular file owned by the caller
+internal/grouproll/state_unix.go:syncDirectory opens the state directory to fsync it
+internal/grouprollaws/group.go:Adapter.TemplateRelease reads the launch template's user data from the EC2 answer (in memory, 4 MiB cap)
+internal/grouprollaws/pty_linux.go:openPTY opens /dev/ptmx and the pts slave for the Session Manager plugin
+internal/grouprollaws/pty_unix.go:pty.run reads the plugin's pty output, capped at 4 MiB
+internal/grouprollaws/pty_unix.go:runVersion reads session-manager-plugin --version output, capped at 4 KiB
+internal/grouprollaws/session.go:newNonce reads crypto/rand for the frame nonce
+internal/grouprollaws/transport.go:boundBody.HandleDeserialize reads an AWS API answer body under the 4 MiB cap
+internal/grouprollaws/transport.go:boundedBody.Read reads an AWS API answer body under the 4 MiB cap and the read timeout
+system_group.go:runSystemGroup lstats /etc/carlos/host.env to refuse running on a carlos box (euid 0 is refused first); routes the roll, replace, remove, cancel-drain and probe verbs to the engine after refusing missing arguments
diff --git a/docs/superpowers/notes/census-proposal-group-roll-verb.md b/docs/superpowers/notes/census-proposal-group-roll-verb.md
index d67f98b51..e07a53aec 100644
--- a/docs/superpowers/notes/census-proposal-group-roll-verb.md
+++ b/docs/superpowers/notes/census-proposal-group-roll-verb.md
@@ -33,6 +33,6 @@ New dispositions, which census-propose wrote and the reviewer checks against the
- new `internal/grouprollaws/transport.go:boundedBody.Read`: reads +file:Read ×2; written legacy, accepted-legacy, frozen
- new `system_group.go:runSystemGroup`: reads +file:Lstat; written legacy, accepted-legacy, frozen
-Seal: `8924fafc5b6083858a72f45c764081abe3bcad6a6de71901470586c076c64bb6` → `615f4396bf5e1fe0046c4366b953d68793ecf83db44ec24564d003ca3a2e6631`.
+Seal: `499c08fd29787c5de2aa0197c05f82f6db0ab7760eb7d980bb24211e289e4c24` → `2702ed0f3d78011fe689ea03d0cdf77c4e2473cee84ebc6be49ab2170dead1d8`.
Overlay: `internal/provision/testdata/plan14-root-reads-group-roll-verb.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 263d9e39d..d96ee84b8 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -148,3 +148,4 @@ plan14-root-reads-billing-dashboard-1.tsv 8924fafc5b6083858a72f45c764081abe3bcad
plan14-root-reads-billing-dash-3-cost.tsv 8924fafc5b6083858a72f45c764081abe3bcad6a6de71901470586c076c64bb6
plan14-root-reads-no-negative-prime-724.tsv ab10145ee873e26b87a653f728cd0c9737592fefe94b659ac5988201c195cb7a
plan14-root-reads-gvisor-probe-retry.tsv 499c08fd29787c5de2aa0197c05f82f6db0ab7760eb7d980bb24211e289e4c24
+plan14-root-reads-group-roll-verb.tsv 2702ed0f3d78011fe689ea03d0cdf77c4e2473cee84ebc6be49ab2170dead1d8