carlos / platform Public

census: proposal for config receipts plan 1 (#522)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev 9e9c1c8f1c2609502717afb7742d189f063ecc45 parent 2828506
3 files changed, +34 −0
  • docs/superpowers/notes/census-proposal-config-receipts-1.md +23 −0
  • internal/provision/testdata/plan14-root-reads-chain.tsv +1 −0
  • internal/provision/testdata/plan14-root-reads-config-receipts-1.tsv +10 −0

CI cancelled — superseded by a newer push — run details

Intent

Human

<task-notification> <task-id>aa5cb067ac92f7f71</task-id> <tool-use-id>toolu_01AzfpzXhpMtXwtRAdLG7SCY</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/4c585ebb-d953-40f5-8f58-fbd337832024/tasks/aa5cb067ac92f7f71.output</output-file> <status>completed</status> <summary>Agent "Implement Task 6: docs" 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>Status: done. Commit: `2828506f`, `docs: effective VALUE is blank for overlay values too (#522)`. The `packed-refs.lock` warning appeared, but the commit is in `git log`, so it landed. The `env effective` prose in `docs/site/cli.md` now says `VALUE` shows a plain var's value when it comes from the default or environment layer. It is blank for secrets and for values from the platform's per-instance overlay. I checked this against `internal/console/apiconfigeffective.go:95`, and I rewrapped the paragraph to the surrounding line width. Tests: `go test ./internal/docsite/` passed (`ok ... 0.009s`). Concerns: none new. Report: `/home/paulca/amadan.net/carlos/platform/.claude/worktrees/config-receipts-1/.superpowers/sdd/2026-11-03-config-receipts-plan-1/task-6-report.md` (fix report 2 appended).</result> <usage><subagent_tokens>77684</subagent_tokens><tool_uses>3</tool_uses><duration_ms>21345</duration_ms></usage> </task-notification>

diff --git a/docs/superpowers/notes/census-proposal-config-receipts-1.md b/docs/superpowers/notes/census-proposal-config-receipts-1.md
new file mode 100644
index 000000000..a659fa640
--- /dev/null
+++ b/docs/superpowers/notes/census-proposal-config-receipts-1.md
@@ -0,0 +1,23 @@
+# Census approval: config-receipts-1
+
+Ruling `census-ruling-config-receipts-1`. The independent reviewer approves or rejects every change below, 1 with a new disposition; nothing goes to the census owner (Paul, #280, 2026-10-26).
+
+| unit | change | read sites | what changed |
+|---|---|---|---|
+| `appconfig_cli.go` `const envUsage` | body | unchanged (1) | usage text gains the --if-version, effective and digest lines; a constant string the CLI prints, no read |
+
+Envelopes re-pinned: `.`, `internal/appconfig`, `internal/release`.
+
+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:
+
+- `appconfig_cli.go` `const envUsage`: legacy, task accepted-legacy. Basis: accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-team-scoped-credentials;basis=team-scoped credentials (#449 §5): the usage text names the three owner verbs adopt, release and fork and says what an owned environment is; a constant string the CLI prints, no read
+
+New dispositions, which census-propose wrote and the reviewer checks against the unit's reads and the diff:
+
+- new `appconfig_cli.go:envDigest`: reads +file:ReadFile; written legacy, accepted-legacy, frozen
+
+Seal: `3b6cd29b87d2728254936722ab45fdadcfbb8c1f5b74fdfa19d1921b9dfd1dbe` → `dbd069c0c4a1ecf27fedfbd750cd42602a87df4741588147b7be823d022be23c`.
+
+Overlay: `internal/provision/testdata/plan14-root-reads-config-receipts-1.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 65cf22662..72e2c6f5e 100644
--- a/internal/provision/testdata/plan14-root-reads-chain.tsv
+++ b/internal/provision/testdata/plan14-root-reads-chain.tsv
@@ -62,3 +62,4 @@ plan14-root-reads-domain-registration-1.tsv 8e7126042fef8cc99899a29e9e06c22763a2
plan14-root-reads-edge-held-streams.tsv c61b055182bf84e822fab92199432bd2d462c268c03ead17c3cfa18f09bd82cd
plan14-root-reads-edge-protect-hard-block.tsv 3b6cd29b87d2728254936722ab45fdadcfbb8c1f5b74fdfa19d1921b9dfd1dbe
plan14-root-reads-edge-held-first-ping.tsv 3b6cd29b87d2728254936722ab45fdadcfbb8c1f5b74fdfa19d1921b9dfd1dbe
+plan14-root-reads-config-receipts-1.tsv dbd069c0c4a1ecf27fedfbd750cd42602a87df4741588147b7be823d022be23c
diff --git a/internal/provision/testdata/plan14-root-reads-config-receipts-1.tsv b/internal/provision/testdata/plan14-root-reads-config-receipts-1.tsv
new file mode 100644
index 000000000..59897b267
--- /dev/null
+++ b/internal/provision/testdata/plan14-root-reads-config-receipts-1.tsv
@@ -0,0 +1,10 @@
+# Census overlay config-receipts-1, written by census-propose (#369). census-ruling-config-receipts-1, approved on #280 before the merge; the approval card is docs/superpowers/notes/census-proposal-config-receipts-1.md.
+# 1 body, 0 sites, 3 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 e5468876ba9dcaa62ad2b79d21115e4dcfe3a79d3f63b160e41bce855c6515f1 appconfig_cli.go const envUsage legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-team-scoped-credentials;basis=team-scoped credentials (#449 §5): the usage text names the three owner verbs adopt, release and fork and says what an owned environment is; a constant string the CLI prints, no read;rev3=census-ruling-config-receipts-1;basis=usage text gains the --if-version, effective and digest lines; a constant string the CLI prints, no read data-literal@17 30c128eb9c028343c49d95aa49ec6c3dc6b63fe2646462bc889dd120ed48fdc1
+@legacy a0c3399f53dead8e89c0736e6bd9f87c3559b5944afea53dd0cc9488e5a5b01c appconfig_cli.go envDigest legacy accepted-legacy accepted-legacy;rev3=census-ruling-config-receipts-1;basis=new `carlos env digest`: reads the envelope file the operator names with --envelope-file and prints its digest; runs as the operator on their own machine, never as root file:ReadFile@509 327ac1509c8a4d7504cf96207cd5da84a0a3411a6348d325eaf1ad6a868f1350
+appconfig_cli.go const envUsage legacy accepted-legacy accepted-legacy;rev3=J4;basis=root-input;rev3=census-ruling-team-scoped-credentials;basis=team-scoped credentials (#449 §5): the usage text names the three owner verbs adopt, release and fork and says what an owned environment is; a constant string the CLI prints, no read;rev3=census-ruling-config-receipts-1;basis=usage text gains the --if-version, effective and digest lines; a constant string the CLI prints, no read data-literal@17 30c128eb9c028343c49d95aa49ec6c3dc6b63fe2646462bc889dd120ed48fdc1
+appconfig_cli.go envDigest legacy accepted-legacy accepted-legacy;rev3=census-ruling-config-receipts-1;basis=new `carlos env digest`: reads the envelope file the operator names with --envelope-file and prints its digest; runs as the operator on their own machine, never as root file:ReadFile@509 327ac1509c8a4d7504cf96207cd5da84a0a3411a6348d325eaf1ad6a868f1350
+@coverage . c89e5f0c4573403ee3aa7c3640bef387cf249ddc02ae14dad3bc4387a2dc8a8f
+@coverage internal/appconfig 4c59d8fff864c24b3e80d9797bd7534278569951e8ce2154d68cdbc466e45162
+@coverage internal/release 64f6671b2daee47172312ab6980394839d4426938f22bdc4377f1ce388b6a293