carlos / platform Public

Fleet public routes: Astra plan review brief, round 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Paul Campbell pushed by claude agent, operated by paul@keymail.dev 4be07a29354828ec0883122aee87eb884c33085b parent 35b4c29
1 file changed, +99 −0
  • docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-plan.md +99 −0

CI passed — run details

diff --git a/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-plan.md b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-plan.md
new file mode 100644
index 000000000..4680391ed
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-REVIEW-BRIEF-fleet-public-routes-plan.md
@@ -0,0 +1,99 @@
+# Review brief: fleet public routes implementation plan, round 1 of 3
+
+Repo carlos/platform, branch `design-fleet-public-routes`, commit 35b4c29b88f537d77488349a2cbaff3455b2570e.
+Under review: `docs/superpowers/plans/2026-10-30-fleet-public-routes.md`.
+Authorities: the approved spec on this branch,
+`docs/superpowers/specs/2026-10-29-fleet-public-routes-design.md` rev 4
+(approved by Paul 2026-10-30, recorded on amadan #457), and main's code
+(origin/main 1fa2a99b, which this branch is cut from). AGENTS.md (census,
+request budget, production-wired witnesses, stopping rules). Do not review
+against other unmerged branches.
+
+You are an independent reviewer. Read the plan, then the spec and the code
+it names, and check every claim against that code.
+
+## Fixed: do not re-argue
+
+- Paul's approval of spec rev 4 (2026-10-30, #457). The design is settled:
+ report a plan that fails to implement it, not the design.
+- The controller's calls recorded in the spec (§10 "Decisions"): a new
+ `forward` row kind; forwarded responses skip the hub's response and asset
+ caches; every existing row at the host wins and is never converted; the
+ edge refuses a fleet-placed row whose account is not the fleet's owner
+ (an empty raw account served and logged); `apps place` stops re-stamping
+ rows; bindings hardened in this work; enforcement once at the hub; the
+ fleet edge owns the gate; root egress recognises the inert forward
+ shape; the release floor with its override; one eligibility predicate
+ for serving and publishing; explicit trash decisions; `Slug` kept; no
+ platform names in 1a; the hub does no gate work for a forward host; a
+ below-floor first publication refused while fleets exist, the barrier
+ passing an absent pointer; `SetFleetBoxIf`; canary reads skipped and a
+ marker-only trash prefetch; the domains trash loop skips forward rows;
+ one exhaustive shape; the blanket writer guard (judged sound in spec
+ round 3); the floor's "a fleet exists" condition.
+- The plan's own rulings P-1 to P-3 (the floor numbered `v0.32.0` until
+ the cut, the override warning as the console's log line, the held-host
+ REASON computed by the console) are open to challenge with evidence.
+
+## What to check
+
+1. Spec coverage: every requirement of spec §4 to §9 has a task whose
+ tests prove it (the plan's self-review maps them). Name any gap.
+2. Interfaces: every signature a task consumes is produced by an earlier
+ task with the same name and types; every file:line it modifies exists
+ on main and is the code it describes.
+3. Order and dormancy: does `main` stay buildable after each task, and is
+ it true that nothing mints a forward row before Task 12? Is anything
+ live earlier than the plan says (Task 1's bindings change, Task 4's
+ tenancy refusal of hand rows)? Does the floor (Tasks 8, 9) land before
+ any build can mint a forward row?
+4. Tests: does each test's assertion actually fail before the change and
+ pass after it, against the code as it is? Are the fixtures production
+ wiring where the spec or AGENTS.md requires it (Task 13 especially: real
+ console, real hub edge, real fleet edge over the tunnel, no hand rows,
+ no fabricated records)? Can a test seed a forward row after Task 3
+ refuses `Upsert` of one?
+5. Task 3's writer guard: is the inventory test (`go/ast` over string
+ literals) able to see every writer, including statements built at run
+ time? Is the per-writer table test feasible for every transactional
+ writer named?
+6. The floor (Tasks 8, 9): every door that publishes a system pointer goes
+ through `systemFloorSnapshot` and `fleetFloorPublish`; the lock order
+ (`fleetFloorMu` before `regionalMu`) holds at every call site; the
+ activation identity carries the new override everywhere the other two
+ are compared.
+7. The budget test (Task 12): can it be built from the production
+ functions named, and does it see every reader of spec §6?
+8. Census: does each task's census step name the units the card will show
+ for that task (spec §7)?
+9. Proportion and steps: any step that decides nothing, or any code block
+ that transcribes a body the signature and tests already determine.
+
+## Severity
+
+- **P1**: unsafe, would not compile, a test fails, or it would not work.
+ Blocks merge.
+- **P2**: wrong or missing. Fixed without reopening this review. (The
+ census, and review of any newly changed security, root, termination
+ or production-storage behaviour, still check the fix; see AGENTS.md,
+ "Stopping rules".)
+- **P3**: clarity or polish. Goes on a follow-up list; never a reason for
+ another round.
+
+A P1 states its failure scenario and the evidence (file:line). Do not
+raise a P2 to P1 to keep the review open.
+
+## Output
+
+Findings ranked P1, P2, P3. Each gives the task, the problem, the
+evidence (file:line, verified), the failure scenario, a concrete fix and
+the invariant or trust boundary it breaks (that is its fault family). End
+with exactly one verdict:
+
+- **READY**: 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.