rootfs apps plan 4: every deck row accounted for, and the census card for ship --check --env
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/superpowers/notes/census-proposal-rootfs-apps-4.md+19 −0internal/provision/testdata/plan14-root-reads-chain.tsv+1 −0internal/provision/testdata/plan14-root-reads-rootfs-apps-4.tsv+5 −0
Intent
<task-notification> <task-id>aa3e44f3ee0ee07b7</task-id> <tool-use-id>toolu_01PMmYU3N4tKt7tZQ8wiAMyS</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/18ea9266-acea-4f37-abab-b97c6a7faffa/tasks/aa3e44f3ee0ee07b7.output</output-file> <status>completed</status> <summary>Agent "Write Rails guide and drift test (Task 9)" finished</summary> <note>A task-notification fires each time this agent stops with no live background children of its own. The user can send it another message and resume it, so the same task-id may notify more than once.</note> <result>**DONE.** Commit `55b1c9882d13ef4b55915f93e3cad0ca75d310d4` (on d07064d9). **Merge:** no-op. `git fetch origin` failed on the stale `packed-refs.lock`, which I left alone. The local `origin/main` ref was already an ancestor of HEAD. **Tests:** - **Drift test:** it failed first with "no rails page". With the guide in place, `./internal/docsite/` passes. - **Copy gate:** `TMPDIR=/tmp/g go test . -run 'Copy|Applied|Built'` passes with the sandbox off. - **Build and lint:** `go build`, `go vet` and `gofmt` are clean. - **Mutation:** changing one character of a quoted line in `examples/rails-shop/config/puma.rb` made `TestRailsGuideQuotesTheSample` fail. I restored the file and `git diff --exit-code examples/` is clean. **Concerns:** none blocking. - C100 follows the C99 fence with no fence of its own. - C145 sits before the check fence, which is the multi-line backslash form. The fence test accepts it, so I did not need to put it on one line. - The storage.yml fence quotes the whole carlos block, including the optional `CARLOS_STORE_ENDPOINT` conditional at its end. - I did not run the darwin, windows or arm64 cross-builds, since no non-test Go code changed. No row was left out. The full report is in `task-9-report.md` in the SDD directory.</result> <usage><subagent_tokens>86150</subagent_tokens><tool_uses>22</tool_uses><duration_ms>166139</duration_ms></usage> </task-notification>
diff --git a/docs/superpowers/notes/census-proposal-rootfs-apps-4.md b/docs/superpowers/notes/census-proposal-rootfs-apps-4.md| new file mode 100644 |
| index 000000000..1cacfa7e5 |
| --- /dev/null |
| +++ b/docs/superpowers/notes/census-proposal-rootfs-apps-4.md |
| @@ -0,0 +1,19 @@ |
| +# Census approval: rootfs-apps-4 |
| + |
| +Ruling `census-ruling-rootfs-apps-4`. The independent reviewer approves or rejects every change below, 0 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26). |
| + |
| +| unit | change | read sites | what changed | |
| +|---|---|---|---| |
| +| `cli.go` `runShip` | body | unchanged (2) | adds the repeatable --env flag and refuses it before anything else unless --check is given (shipEnvRefusal, parseShipCheckEnv); the parsed values go into rootfsShipOpts.checkEnv. --env values reach the check's local container runtime as -e argv only, never root, never a box. No read added; read sites unchanged (2). | |
| + |
| +Envelopes re-pinned: `.`. |
| + |
| +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: |
| + |
| +- `cli.go` `runShip`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-rootfs-apps-1;basis=rootfs Plan 1 Task 9: takes --rootfs, --processes, --hibernate, --jit and --check and hands a rootfs ship to runShipRootfs (ship_rootfs.go) before the binary path; the --notes-file ReadFile moved into shipNoteText (its own row, the same read of the file the person named) and the direct-mode version mint into mintDirectVersion; one read site fewer, none added; Task 12: the --hibernate flag help is RFS-1-C32's new text, the same reads;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets (repeatable), checks the folders with checkShipAssets (release.ValidAssetPaths; refused on a static site) before the mode split, carries them into the API meta (sess.shipAssets) and the direct-mode manifest (shipAssetsBlock), and passes them to runShipRootfs (rootfsShipOpts.assets), which runs the same check and carries them the same two ways; after a direct-mode ship has stored a release declaring folders, directShipAssetGens runs the console ship door's backfill (provision.MintMissingAssetGens: lists the app's record keys and gives each record without an asset generation one, a CAS write in the deployment bucket as the person running the CLI) and fails naming any record it could not mint; read sites unchanged (2), none added |
| + |
| +Seal: `862d7383ad60d522d6b16f8a545c4cfa37de3d2cc1ba83fec1aff3825a0fe8ab` → `e085917e271ee26877974461133f393ccc5d63add91d7aad2afe10b30977914e`. |
| + |
| +Overlay: `internal/provision/testdata/plan14-root-reads-rootfs-apps-4.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 245e09dd1..812832058 100644 |
| --- a/internal/provision/testdata/plan14-root-reads-chain.tsv |
| +++ b/internal/provision/testdata/plan14-root-reads-chain.tsv |
| @@ -27,3 +27,4 @@ plan14-root-reads-cert-warm-propagation-443.tsv 886863e79986b005cf52aa11445a49c1 |
| plan14-root-reads-console-budget-cold-warm.tsv 886863e79986b005cf52aa11445a49c1bbc3fb9b55bce25915fc21d0e65f1b7f |
| plan14-root-reads-console-slow-writes.tsv fe61ef9b2ecbb7d3d2049b8e6c9746ee08d3ea32dc1e65455e126771447f403f |
| plan14-root-reads-rootfs-apps-3-workers.tsv 862d7383ad60d522d6b16f8a545c4cfa37de3d2cc1ba83fec1aff3825a0fe8ab |
| +plan14-root-reads-rootfs-apps-4.tsv e085917e271ee26877974461133f393ccc5d63add91d7aad2afe10b30977914e |
diff --git a/internal/provision/testdata/plan14-root-reads-rootfs-apps-4.tsv b/internal/provision/testdata/plan14-root-reads-rootfs-apps-4.tsv| new file mode 100644 |
| index 000000000..099d2f9a3 |
| --- /dev/null |
| +++ b/internal/provision/testdata/plan14-root-reads-rootfs-apps-4.tsv |
| @@ -0,0 +1,5 @@ |
| +# Census overlay rootfs-apps-4, written by census-propose (#369). census-ruling-rootfs-apps-4, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-rootfs-apps-4.md. |
| +# 1 body, 0 sites, 1 envelope: each changed unit re-frozen at its existing disposition with its claim appended. |
| +@legacy bc96fdba2a01485621606c1c87ab50544eab57aca23a841f9466f8b7c6554cd1 cli.go runShip legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-rootfs-apps-1;basis=rootfs Plan 1 Task 9: takes --rootfs, --processes, --hibernate, --jit and --check and hands a rootfs ship to runShipRootfs (ship_rootfs.go) before the binary path; the --notes-file ReadFile moved into shipNoteText (its own row, the same read of the file the person named) and the direct-mode version mint into mintDirectVersion; one read site fewer, none added; Task 12: the --hibernate flag help is RFS-1-C32's new text, the same reads;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets (repeatable), checks the folders with checkShipAssets (release.ValidAssetPaths; refused on a static site) before the mode split, carries them into the API meta (sess.shipAssets) and the direct-mode manifest (shipAssetsBlock), and passes them to runShipRootfs (rootfsShipOpts.assets), which runs the same check and carries them the same two ways; after a direct-mode ship has stored a release declaring folders, directShipAssetGens runs the console ship door's backfill (provision.MintMissingAssetGens: lists the app's record keys and gives each record without an asset generation one, a CAS write in the deployment bucket as the person running the CLI) and fails naming any record it could not mint; read sites unchanged (2), none added;rev3=census-ruling-rootfs-apps-4;basis=adds the repeatable --env flag and refuses it before anything else unless --check is given (shipEnvRefusal, parseShipCheckEnv); the parsed values go into rootfsShipOpts.checkEnv. --env values reach the check's local container runtime as -e argv only, never root, never a box. No read added; read sites unchanged (2). file:ReadFile@7696,file:ReadFile@7920 125a17db02a175b3aa9f84ee79a4fd50944873a2d9afa23bfa97ff6e54437848 |
| +cli.go runShip legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-rootfs-apps-1;basis=rootfs Plan 1 Task 9: takes --rootfs, --processes, --hibernate, --jit and --check and hands a rootfs ship to runShipRootfs (ship_rootfs.go) before the binary path; the --notes-file ReadFile moved into shipNoteText (its own row, the same read of the file the person named) and the direct-mode version mint into mintDirectVersion; one read site fewer, none added; Task 12: the --hibernate flag help is RFS-1-C32's new text, the same reads;rev3=census-ruling-edge-asset-cache-1;basis=takes --assets (repeatable), checks the folders with checkShipAssets (release.ValidAssetPaths; refused on a static site) before the mode split, carries them into the API meta (sess.shipAssets) and the direct-mode manifest (shipAssetsBlock), and passes them to runShipRootfs (rootfsShipOpts.assets), which runs the same check and carries them the same two ways; after a direct-mode ship has stored a release declaring folders, directShipAssetGens runs the console ship door's backfill (provision.MintMissingAssetGens: lists the app's record keys and gives each record without an asset generation one, a CAS write in the deployment bucket as the person running the CLI) and fails naming any record it could not mint; read sites unchanged (2), none added;rev3=census-ruling-rootfs-apps-4;basis=adds the repeatable --env flag and refuses it before anything else unless --check is given (shipEnvRefusal, parseShipCheckEnv); the parsed values go into rootfsShipOpts.checkEnv. --env values reach the check's local container runtime as -e argv only, never root, never a box. No read added; read sites unchanged (2). file:ReadFile@7696,file:ReadFile@7920 125a17db02a175b3aa9f84ee79a4fd50944873a2d9afa23bfa97ff6e54437848 |
| +@coverage . b4f0242dc2a4dfd14813dc9c84db5c2c2161f5f1981dcad2b1350c3ed424ece3 |