carlos / platform Public

plan: #1139 plan review brief, round 1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 69aab6208b18ceb5cf6d8224438f6714490137f6 parent 99cd099
1 file changed, +79 −0
  • docs/superpowers/plans/CODEX-REVIEW-BRIEF-fleet-seeded-create-plan.md +79 −0

CI cancelled — superseded by a newer push — run details

diff --git a/docs/superpowers/plans/CODEX-REVIEW-BRIEF-fleet-seeded-create-plan.md b/docs/superpowers/plans/CODEX-REVIEW-BRIEF-fleet-seeded-create-plan.md
new file mode 100644
index 000000000..64622cb01
--- /dev/null
+++ b/docs/superpowers/plans/CODEX-REVIEW-BRIEF-fleet-seeded-create-plan.md
@@ -0,0 +1,79 @@
+# Review brief: the #1139 implementation plan, round 1 of 3
+
+Repo carlos/platform, branch `fleet-seeded-create`, commit 99cd0994310721e95f472eeb8332494196c6b13a.
+Under review: `docs/superpowers/plans/2026-11-20-fleet-seeded-create.md`.
+Authorities: `docs/superpowers/specs/2026-10-08-seeded-instances-design.md`,
+`docs/superpowers/specs/2026-10-29-fleet-public-routes-design.md`,
+`docs/superpowers/specs/2026-11-14-fleet-record-labels-design.md`, all on
+main, and the design this plan implements,
+`docs/superpowers/specs/2026-11-20-fleet-seeded-create-design.md` on this
+branch. That design is closed: three rounds, dispositions in its §8-§10.
+Paul ruled there will be no fourth design round. Do not review against
+other unmerged branches; if this work needs one, say so as a P1 and stop.
+
+You are an independent reviewer. Read the plan, then the code it names,
+and check every claim against that code.
+
+## Fixed: do not re-argue
+
+- The design's rulings (§2) and Paul's cut (a) (§3.6): on a fleet a file
+ seed's hostname is held until the owning box proves cleanup; no
+ fleet-side delete. Report only plan mechanisms that fail to honour them.
+- The plan refusing multi-box fleets for seeds (its G1) is accepted scope:
+ Eleven's fleet has one box when it seeds.
+- The plan holding a hostname when an abandoned lease's `lock.json` is
+ left (its G10) is accepted as consistent with the invariant.
+
+## What to check
+
+1. **Does the plan implement the design?** Every §3 mechanism and every §5
+ test has a task. Name anything missing or contradicted.
+2. **The invariant in one place.** Is `provision.rollbackFleetFileSeed`
+ (Task 10/11) really the only path to `rolledback` on a fleet? Does any
+ task (sweep, finish, delete door, retirement) open another?
+3. **R3-1 and R3-2 as planned.** The exhaustive paginated listing of both
+ restore-capable prefixes, fail closed; staging refused and promotion off
+ for an unplaced fleet file seed. Do the named functions and call sites
+ exist, and does the plan cover every restore entry a fleet box can take
+ for such a seed?
+4. **The plan's own decisions** (its "Decisions" and "Design gaps"
+ sections: D1 two protocol numbers, G2 publishing the floor twice, G3 a
+ non-import delete abort, G4 rollback path after row retirement, G5
+ `SeedFail` on an already-aborted seed, G6 staging listing error retries).
+ Are they safe? Do any of them break an existing guarantee for region
+ seeds, imports or `--from`?
+5. **Ordering and rollout.** Is each slice shippable alone? Can slice 1
+ merge without a slice-2 box ever being asked to place a fleet file seed?
+ Is the floor and protocol sequence in slice 4 right for both dev and
+ flagship?
+6. **Feasibility.** Ratchet limits, census scope, files named that do not
+ exist, functions misnamed, tests that could not be written as described.
+
+## 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 section or 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.