Regional domains (#447): Astra findings Task 10 round 2 (READY AFTER FIXES, 2 P2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+29
−0
docs/superpowers/reviews/regional-domains-447/CODEX-FINDINGS-T10-R2.md+29 −0
diff --git a/docs/superpowers/reviews/regional-domains-447/CODEX-FINDINGS-T10-R2.md b/docs/superpowers/reviews/regional-domains-447/CODEX-FINDINGS-T10-R2.md| new file mode 100644 |
| index 000000000..da2371e0e |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/regional-domains-447/CODEX-FINDINGS-T10-R2.md |
| @@ -0,0 +1,29 @@ |
| +Round 1 P1: resolved. |
| + |
| +Reviewed `4d469ff6..151d1acd` at HEAD `8ac5f147`. Round 2 of 3. |
| + |
| +**P1: None.** |
| + |
| +The publication paths now hold `regionalMu` through the binding judgment and conditional write. Unpublished held rollbacks rejudge; committed publications preserve their idempotent answer. Downloads and reservations remain outside the mutex. The PUT checks followed channels under the same mutex and refuses unreadable or unverifiable pointers. |
| + |
| +**P2 — The documented two-pointer budget is incorrect** |
| + |
| +- **Location:** [design.md:1002](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/regional-domains-447/docs/superpowers/specs/2026-10-28-regional-domains-447-design.md:1002). |
| +- **Problem and verified evidence:** The new budget says “canary and stable: at most 2.” However, [apiplacements.go:944](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/regional-domains-447/internal/console/apiplacements.go:944) collects every distinct followed channel and performs one GET per channel. Boxes support additional channels: [systemprobe_test.go:29](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/regional-domains-447/internal/host/systemprobe_test.go:29) explicitly covers `canary/paul`. |
| +- **Failure scenario:** Fresh boxes following `stable`, `canary`, and `canary/paul` produce three pointer GETs, exceeding the stated maximum. |
| +- **Fix:** Document the bound as the number of distinct channels followed by fresh boxes, bounded by their count. Add a counting case with three channels and repeated followers. Preserve checks of every followed channel. |
| +- **Fault family:** Request-budget accuracy. |
| + |
| +**P2 — The mutex mutation test depends on scheduling** |
| + |
| +- **Location:** [regionalfloor_test.go:475](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/regional-domains-447/internal/console/regionalfloor_test.go:475). |
| +- **Problem and verified evidence:** The hook starts an asynchronous PUT and waits at most one second before allowing publication (`:476–483`). It does not establish that the PUT reached the critical section during that interval. |
| +- **Failure scenario:** Remove only the publication’s lock/unlock. If the PUT is delayed beyond one second, rollback publishes first; the PUT subsequently refuses the downgraded pointer, satisfying the unchanged assertions. The mutation can therefore pass. |
| +- **Fix:** Add a deterministic assertion that `regionalMu` is held inside the publication hook, such as a checked `TryLock`, alongside the HTTP outcome test. Repeat the lock-removal mutation. |
| +- **Fault family:** Regression coverage for publication exclusion. |
| + |
| +**P3: None.** |
| + |
| +The targeted four-test run could not start: the read-only sandbox prevented Go from creating its work directory. `GOCACHE` remained unset. The reported mutation results were inspected but not independently rerun. No files were edited. |
| + |
| +READY AFTER FIXES |
| \ No newline at end of file |