spec: #1139 round 3 brief
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+98
−0
docs/superpowers/specs/CODEX-REVIEW-BRIEF-fleet-seeded-create-R3.md+98 −0
CI cancelled — superseded by a newer push — run details
diff --git a/docs/superpowers/specs/CODEX-REVIEW-BRIEF-fleet-seeded-create-R3.md b/docs/superpowers/specs/CODEX-REVIEW-BRIEF-fleet-seeded-create-R3.md| new file mode 100644 |
| index 000000000..ec2a46bca |
| --- /dev/null |
| +++ b/docs/superpowers/specs/CODEX-REVIEW-BRIEF-fleet-seeded-create-R3.md |
| @@ -0,0 +1,98 @@ |
| +# Review brief: seeded instances on a customer fleet (#1139), round 3 of 3 |
| + |
| +Repo carlos/platform, branch `fleet-seeded-create`, commit 2b535c92ab1661213ef4349c12c6a819f9732a3d. |
| +Under review: `docs/superpowers/specs/2026-11-20-fleet-seeded-create-design.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`, and |
| +`docs/superpowers/specs/2026-10-29-fleet-secrets-key-design.md`, all on main. |
| +Do not review against unmerged branches; if this work needs one, say so as a |
| +P1 and stop. |
| + |
| +You are an independent reviewer. Read the document, then the code it |
| +names, and check every claim against that code. |
| + |
| +## Fixed: do not re-argue |
| + |
| +- Paul's rulings, §2 of the document under review (recorded there, 2026-11-20): |
| + a fresh `create --seed-file` rather than import on fleets; the snapshot in |
| + the deployment bucket under `apps/<sqid>/<app>/seeds/` until placement; |
| + flat layout allowed on a customer fleet; fleet-box seed transitions through |
| + a new console door; `--from` on fleets out of scope. Report only mechanisms |
| + that fail to honour them. |
| + |
| +- Paul's cut after round 2 (stopping rule 2, recorded in §3.6 and §9): |
| + cut (a). On a fleet, a `file` seed's hostname is held until its owning |
| + box proves cleanup; a replica left behind holds it for the fleet owner to |
| + remove by hand; no fleet-side delete is built. Do not propose option (c) |
| + (a fenced fleet-side delete) or argue the held-hostname outcome is |
| + unfriendly. Report only places where the cut, as written, still lets a |
| + hostname be released with data left, or lets a seed restore data it did |
| + not make. |
| + |
| +## What to check |
| + |
| +This round is narrow. Everything round 2 resolved stays resolved unless |
| +the revision broke it. |
| + |
| +1. **The single release path (§3.6).** Is the box's rollback of an aborted |
| + file seed really the only route to `rolledback` on a fleet? Any console |
| + finish, sweep, delete or retire path (`seedfinish.go`, `seedsweep.go`, |
| + `instances delete`, the retirement checks of §3.2) that would still |
| + finish a fleet `file` seed without it? |
| +2. **The proof.** Fence, local purge, then a strict listing of the host's |
| + replica prefix under the fence. Can a replica object appear after that |
| + listing for the same host while the fence holds, or after the fence |
| + lifts but before the console finishes the record? Is the listing really |
| + strict (`hasOwnReplica`), and does it see every object a restore would |
| + read (generations, snapshots, WAL segments, any other prefix the |
| + restore uses)? |
| +3. **Admission (§3.6).** The marker naming this seed's `id` as proof that |
| + an existing replica is this seed's. Is the marker written before any |
| + replica upload on every path that places (`seedplace.go:142`, `:443`)? |
| + Can a marker naming this `id` exist without this seed having made the |
| + replica, or the reverse in a way that refuses a legitimate retry? |
| +4. **Interaction with existing rollback.** `seedreconcile.go`'s rollback |
| + (around :240-:330) today purges and reports for region seeds. Does |
| + adding the listing step for fleets break any of its existing |
| + guarantees, or need the fleet's bucket credentials it does not have? |
| +5. **Tests (§5).** Do the new tests pin the invariant, in particular the |
| + deterministic interrupt-then-recreate case? |
| + |
| +## Round 3 |
| + |
| +Earlier rounds: `CODEX-FINDINGS-fleet-seeded-create-R1.md` and |
| +`-R2.md`, beside the document. Dispositions are in §8 and §9. |
| + |
| +First give one line per round 2 finding: resolved, partly, or not. Carry |
| +forward anything not resolved. A fourth round needs Paul's go, so be |
| +precise about what, if anything, still blocks. |
| + |
| +## 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. |