carlos / platform Public

fresh-box-446: Astra review brief, round 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev d0b4af5c3d9953715ec3ec47a3a15250b1d6e43d parent c33b011
1 file changed, +30 −0
  • docs/superpowers/plans/CODEX-REVIEW-BRIEF-FRESH-BOX-446-1.md +30 −0

CI failed — run details

Intent

Attributed to this commit: 233 g CO₂e (24,149,671 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on fresh-box-446, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/superpowers/plans/CODEX-REVIEW-BRIEF-FRESH-BOX-446-1.md b/docs/superpowers/plans/CODEX-REVIEW-BRIEF-FRESH-BOX-446-1.md
new file mode 100644
index 000000000..3edc6ab3a
--- /dev/null
+++ b/docs/superpowers/plans/CODEX-REVIEW-BRIEF-FRESH-BOX-446-1.md
@@ -0,0 +1,30 @@
+# Review brief: fresh-box-446 branch (#446), round 1 of 3
+
+Repo carlos/platform, branch `fresh-box-446`, commit c33b0115dbf4a70dec900cee9e8609fcc65afcb1.
+Under review: the diff `origin/main...HEAD` (one commit). Authorities: amadan discussion #446 (the bug, read it with
+`AMADAN_HOME=~/.amadan-agent amadan discuss show carlos/platform 446` if you can), the region HA spec
+`docs/superpowers/specs/2026-10-26-region-ha-without-claims-design.md` and P1a's rule that a born-HA host wakes only nested
+(`internal/activator/hawake.go` haContained). Do not review against unmerged branches.
+
+You are an independent reviewer, and also the cross-model census reviewer for `census-ruling-fresh-box-446`
+(card `docs/superpowers/notes/census-proposal-fresh-box-446.md`; AGENTS.md "The census").
+
+## What to check
+
+1. **Bootstrap** (`internal/host/bootstrap.go`): the live path now runs `systemd-tmpfiles --create /etc/tmpfiles.d/carlos.conf` after
+ the credentials repair and before `systemctlPlan`. Does it fix the fresh-box fault (the socket unit creating /run/carlos-control
+ root:root before the conf's `d /run/carlos-control 0750 root carlos -` line is applied)? Can applying the whole conf at that point
+ break anything on a fresh box or a re-run (mounts not active yet, the /data/instances bind, existing sockets, the probe-secret
+ file, a failure making bootstrap fatal)? Is the staging output's order a fair witness of the live order?
+2. **RouteFor** (`internal/provision/reconcile.go`): a born-HA record now mints nested paths whatever `nested` says. Check every
+ RouteFor caller (`grep -n 'RouteFor(' internal`): the drift check (~1890), adoption (~1919), held mints (~2316), seed swap,
+ relocation and root inventory installs. Can any existing row be re-pathed under its data, or a legacy row change shape? Is the
+ new "different route SHAPE" warning for an already-flat HA row (the bug's leftover state) safe and acceptable?
+3. **Census:** for each unit and envelope on the card, approve or reject per the card's question.
+4. The spec paragraph added under §12.1 (closing 443 later): any factual error?
+
+## Severity, output
+
+P1 (unsafe, does not work, a test fails), P2 (wrong or missing, fixed without another round), P3 (polish, follow-up). Each with
+file:line evidence and a failure scenario. End with exactly one verdict: READY, READY AFTER FIXES, or NOT READY. Then the census
+verdict per unit and envelope (approve or reject). Do not edit files, spawn subagents of your own, or run full suites.