carlos / platform Public

member backups 1: census re-confirm READY (Astra) (#898)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev a055d094e23063dc6afc5331a0f2fe079e51e625 parent 7697b70
1 file changed, +17 −0
  • docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-1-R2.md +17 −0

CI failed — run details

Intent

Human

<task-notification> <task-id>a19e9c74fb235bc01</task-id> <tool-use-id>toolu_01WgXb4ngijMoxGUrJrbrjaK</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/ab362fc0-f177-4a7f-a92e-4a29ea210aad/tasks/a19e9c74fb235bc01.output</output-file> <status>completed</status> <summary>Agent "Implement slice 2a Task 9 (census)" 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. All three findings are fixed and the census is re-proposed for round 2 with every unit claimed. It still needs the reviewer's approval. Commits on member-backups-2a (not pushed): - 8361c75a: root takes nothing from `&lt;data&gt;/monitor` (census P1). - 85903698: the monitor records must hold exactly one JSON value, and the subtest hook fix. - 132dc89a: census re-proposed (seal 3c417644). 1. **P1 (root):** - The drill now refuses to run as root before anything else. It logs one line and exits 1 without reading `self.json` or the assignment, or opening the store or registry. - An agent running as root no longer writes `self.json` or `verify-assign.json`, and no longer reads `verify.json` for alerts. This follows the ls284 restart-watch pattern; both shipped units run as carlos, so nothing changes in production. - The new tests check that a root run calls the monitor readers and the store zero times, writes nothing, and never reads `verify.json`. The three existing tests that expect `self.json` to be written now pin a non-root uid, so they also hold if CI runs as root. 2. **P2 (one JSON value):** `readStrict` now rejects anything after the record, including a trailing `}` or `]`, a malformed suffix or a second value. `ReadVerify` already refused these, and a new test confirms it. 3. **Subtest hook leak:** the failure-test cases now run in a fixed order, and each injected hook is restored when its own subtest ends. 20 shuffled runs pass. Tests: the targeted boxself, metrics, ops, host and root tests pass, as do both census tests, the wider census set, vet, gofmt and the linux, darwin and windows builds. Concern: an over-broad test filter also ran three `TestClaimBinding*Restart*` tests, which fail here with "hostwrite: lifecycle provider unavailable". The cause is this host's environment; they don't reach any code changed in this round. Proposal: `docs/superpowers/notes/census-proposal-member-backups-2a.md` Report: /home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups-2a/.superpowers/sdd/2026-11-11-member-backups-slice2a/task-9-report.md</result> <usage><subagent_tokens>343196</subagent_tokens><tool_uses>29</tool_uses><duration_ms>567992</duration_ms></usage> </task-notification>

diff --git a/docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-1-R2.md b/docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-1-R2.md
new file mode 100644
index 000000000..902f89e93
--- /dev/null
+++ b/docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-census-member-backups-1-R2.md
@@ -0,0 +1,17 @@
+Reviewed census round 2: `5e345d46..56d01f2467a20c38b0a681ceb3df9c9370112fa7`.
+
+**Findings:** P1: none. P2: none. P3: none.
+
+| Changed envelope or unit | Verdict | Evidence and reason |
+|---|---|---|
+| `.` envelope | Approve | [apimode.go:3934](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups-1/apimode.go:3934), [instances_backups.go:88](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups-1/instances_backups.go:88): existing GET and refusal remain; only error classification and display change. No new root read or authority. |
+| `internal/backupswords` envelope | Approve | [words.go:43](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups-1/internal/backupswords/words.go:43): adds one string constant, with no reads or side effects. Envelope digest matches. |
+| `apiInstancesRefused`, `apiSession.instanceList` | Approve | [apimode.go:3920](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups-1/apimode.go:3920), lines 3934–3946: wraps only HTTP 403, preserving the error text and unsuccessful result. Existing callers retain their refusal behavior. |
+| `backupsShow` | Approve | [instances_backups.go:83](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups-1/instances_backups.go:83), lines 88–104: recognizes the wrapped refusal and exits before the backups GET. No record write; `key-site / lit:instances` remains correct. Declaration digest matches. |
+| `var routeDecls` | Approve | [routedecls.go:691](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups-1/internal/console/routedecls.go:691): comment-only correction; route, role gate and handler are unchanged. Classification remains correct; declaration digest matches. |
+
+The updated claims and record-write inventory accurately describe these changes. The card, chain seal and `internal/dbdoor` envelope are unchanged; their round-1 approval stands.
+
+Validation limitation: focused census tests and Go package enumeration could not start because the filesystem is read-only. Full census execution and the root envelope’s architecture-derived digest remain unverified here. No files changed, no subagents spawned, no full suites run, and `GOCACHE` was left unset.
+
+READY
\ No newline at end of file