carlos / platform Public

P1a census review brief round 3 (CI fixes and merge delta)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev dc30dbca29908f8ef921440e07f35f345fdfaf1e parent f361145
2 files changed, +47 −0
  • docs/superpowers/notes/census-region-ha-p1a-delta-r3.md +10 −0
  • docs/superpowers/notes/reviews/CODEX-REVIEW-BRIEF-region-ha-p1a-census-R3.md +37 −0

CI passed — run details

diff --git a/docs/superpowers/notes/census-region-ha-p1a-delta-r3.md b/docs/superpowers/notes/census-region-ha-p1a-delta-r3.md
new file mode 100644
index 000000000..a68f7f7cb
--- /dev/null
+++ b/docs/superpowers/notes/census-region-ha-p1a-delta-r3.md
@@ -0,0 +1,10 @@
+# Census delta for round 3 (since the round-2 approved proposal 709ba857)
+
+CI fixes (ad766ec9, 7766bfb2, 5f90012f) and the merge of origin/main (40f43c6b), re-proposed at f3611453:
+
+- internal/host/agent.go haRecordFacts — CI fix: the HA wake's record read goes through the box's judge (judgedRecord); claims off, an ended lifetime reads as not found (fails closed).
+- internal/host/claimcensus.go claimUnitCensus — NEW row, root-run: accepts the two retired join unit files and the one exact multi-user.target.wants/carlos-system-join.path link (from retiredUnitLinks in retiredunits.go); any other link target is still refused.
+- internal/host/agent.go runAgent — passes boxJudge; merge carries main's edge-asset-cache-3 ruling.
+- internal/host/edgesfile.go edgesFileWriteClaims — merge: our claim-free addrs AddressSource plus main's assets.active()/pub; no edgesClaims/hostclaim.
+- internal/activator/activator.go Service.sweepOnce and type Service — merge only (main's remote-instance-metrics ruling); our approved change unchanged.
+- Envelopes re-pinned: ., internal/activator, internal/host.
diff --git a/docs/superpowers/notes/reviews/CODEX-REVIEW-BRIEF-region-ha-p1a-census-R3.md b/docs/superpowers/notes/reviews/CODEX-REVIEW-BRIEF-region-ha-p1a-census-R3.md
new file mode 100644
index 000000000..abdcac991
--- /dev/null
+++ b/docs/superpowers/notes/reviews/CODEX-REVIEW-BRIEF-region-ha-p1a-census-R3.md
@@ -0,0 +1,37 @@
+# Review brief: census approval for region HA P1a, round 3 of 3
+
+Repo carlos/platform, branch `design-region-ha-no-claims` on the amadan.net remote, the commit named in the reviewer's prompt.
+Under review (SCOPED): only the units, envelopes and record-write re-pins listed in `docs/superpowers/notes/census-region-ha-p1a-delta-r3.md` (changed since the round-2 approved proposal 709ba857, by CI fixes and a merge of origin/main, re-proposed at f3611453), in the re-proposed card `docs/superpowers/notes/census-proposal-region-ha-p1a.md`, overlay `internal/provision/testdata/plan14-root-reads-region-ha-p1a.tsv`, and the new record-write layer `internal/provision/region_ha_p1a_census_test.go`. Rounds 1 and 2 approved every other unit (`docs/superpowers/notes/census-review-region-ha-p1a-r1.md`, `-r2.md`); do not re-review those.
+Authorities: AGENTS.md "The census: the reviewer decides" on this branch (main's process, C2 re-base 7c9e9d6). The approved design is `docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md`; do not review against other unmerged branches.
+
+You are the independent census reviewer (Astra, other family than the Claude author). Paul does not rule on census units; you decide every class.
+
+## Fixed: do not re-argue
+
+- The design (spec §2.1 rulings, P1a scope N-HA7) and the P0 removal of joining mode, the enrolment pass and the claim arm of beginExecutableChange.
+
+## What to check
+
+For every unit and envelope on the card, a verdict citing the lines you read. Reject, as a finding, if the change:
+1. 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;
+2. weakens a check, refusal, validation, argument or environment root relies on;
+3. gives a new unit a disposition wrong for its reads;
+4. shows a removed or left unit that moved rather than went;
+5. or the diff cannot settle any of these.
+Look hardest at: claimUnitCensus (root-run; it must accept only the exact retired join files and the one exact link, nothing a tenant or agent could name); haRecordFacts through judgedRecord; that the merge rows carry main's own rulings with our approved change unchanged. This is the last census round (3 of 3).
+
+## Severity
+
+- **P1**: unsafe for root, or the census would not pass. Blocks merge.
+- **P2**: wrong or missing claim/disposition. Fixed without reopening this review.
+- **P3**: clarity. Follow-up list only.
+
+## Output
+
+A table: unit or envelope, class, verdict (APPROVE / REJECT), lines read. Then findings ranked P1, P2, P3 with evidence and a fix. End with exactly one verdict:
+
+- **READY**: approve all; no P1 and no P2.
+- **READY AFTER FIXES**: no P1; the listed P2s are fixed without another round.
+- **NOT READY**: one or more P1s, listed.
+
+Do not edit files. Do not spawn Anthropic-model reviewers or subagents of your own. Do not run the full test suites. Leave GOCACHE unset.