Regional domains (#447): Astra findings Tasks 4+5 round 2 (READY AFTER FIXES, 1 P2 spec 10.5 wording)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+29
−0
docs/superpowers/reviews/regional-domains-447/CODEX-FINDINGS-T4T5-R2.md+29 −0
diff --git a/docs/superpowers/reviews/regional-domains-447/CODEX-FINDINGS-T4T5-R2.md b/docs/superpowers/reviews/regional-domains-447/CODEX-FINDINGS-T4T5-R2.md| new file mode 100644 |
| index 000000000..6d57a3087 |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/regional-domains-447/CODEX-FINDINGS-T4T5-R2.md |
| @@ -0,0 +1,29 @@ |
| +R1 P1 — **Resolved under ruling 7:** atomic set writes remove the partial-row failure in the covering routes family. |
| + |
| +R1 P2-1 — **Resolved:** unread-claim wildcard retention checks account, app, target eligibility and the per-box cap. |
| + |
| +R1 P2-2 — **Partly resolved:** the detach/recreate recovery bound is corrected, but §10.5 still overstates protection and recovery for failed first derivations. |
| + |
| +Reviewed `a44a4cff..27b5fec2` against worktree `e856dc31`. The later Task 6 changes are outside scope. This is Tasks 4+5 review round 2 of 3. |
| + |
| +**P2 — §10.5 still equates reading a claim with installing its protection** |
| + |
| +Location: [design spec:974](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/regional-domains-447/docs/superpowers/specs/2026-10-28-regional-domains-447-design.md:974). |
| + |
| +The text describes a box without rows as having unreadable claims since creation, retains “the same end as above,” and states at line 977 that no current box that has read the claim lacks its desired star. These statements conflict with ruling 7’s failed-write case. The new recovery qualification at lines 981–986 addresses detach/recreate specifically. |
| + |
| +Failure scenario: a current box reads a newly created catch-all claim, but its first set write fails. Neither row lands. Restarting or adopting a current binary cannot supply those missing rows while persistence continues failing; the conflicting hand route remains usable within the accepted residual. |
| + |
| +Verified evidence: [registry.go:3561](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/regional-domains-447/internal/registry/registry.go:3561) rolls back the set on a statement error; [regional.go:110](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/regional-domains-447/internal/edge/regional.go:110) leaves the routing map unchanged when no regional rows exist. The production-wired witness explicitly exercises successful reads, failed writes and restart with no rows at [regional_fault_test.go:142](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/regional-domains-447/internal/edge/regional_fault_test.go:142). |
| + |
| +Fix: use **successfully derived** for the protection guarantee; include failed persistence in the no-row class; apply the successful-derivation-or-route-removal recovery bound to that class as well as detach/recreate. |
| + |
| +Fault family: **covering routes — recovery-bound accuracy**. This corrects documentation of the accepted residual; it does not challenge ruling 7 or identify a new runtime bypass. |
| + |
| +No P1 findings. The table has one production mutation method, with one transaction locally and one request invoking that transaction remotely. Regional readers retrieve the set in one query. `writeRegional` groups replacements and removals by claim. The randomized guard checks every generated read claim against its complete desired set or unchanged previous set, and its assertions reject partial per-row results. The hand-route witness uses real derivation, edge dispatch and registry reopening. Wildcard retention preserves tenancy and the cap. |
| + |
| +Targeted tests could not start because the read-only sandbox prevented Go from creating its build directory. Reported mutation results were inspected, not independently rerun. No files changed, no subagents spawned, no full suites ran, and GOCACHE remained unset. |
| + |
| +With no P1, this review stops under rule 1; the P2 requires no further review round. |
| + |
| +READY AFTER FIXES |
| \ No newline at end of file |