carlos / platform Public

edge-roll-blip: Astra whole-branch review round 1 findings (READY AFTER FIXES, 2 P2; census approved)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev f5993f526a494ec8ac500530fa630006eb71bb8f parent 8ef6847
1 file changed, +40 −0
  • docs/superpowers/reviews/CODEX-REVIEW-FINDINGS-edge-roll-blip-branch.md +40 −0
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-FINDINGS-edge-roll-blip-branch.md b/docs/superpowers/reviews/CODEX-REVIEW-FINDINGS-edge-roll-blip-branch.md
new file mode 100644
index 000000000..0e84efd2b
--- /dev/null
+++ b/docs/superpowers/reviews/CODEX-REVIEW-FINDINGS-edge-roll-blip-branch.md
@@ -0,0 +1,40 @@
+Reviewed `ee066183642d4b8e374f4fa5052b0b92349a60fc..fe5e9dc57052161113924df354af9d45bea4cb4e`, whole-branch round 1.
+
+**P1: none found.**
+
+**P2-1 — Error classification: deadline expiry masks unrelated failures.**
+At [localhold.go:75](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/localhold.go:75) and [genproxy.go:111](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/genproxy.go:111), any non-retryable error becomes `errHoldExpired` when the attempt context has expired. Context expiry does not establish that it caused the error.
+
+A peer mismatch or control-endpoint refusal returned around the deadline therefore loses its identity and is filed as a timeout. The connection remains refused; this is a diagnostic defect, not an authorization bypass.
+
+Fix both paths to translate only an error attributable to the attempt’s deadline. Preserve unrelated errors and add regression cases for an expired context accompanied by a distinct non-retryable error.
+
+**Fault family:** failure-cause preservation. This promotes the matching Task 1/3 ledger minor to a required fix.
+
+**P2-2 — Cancellation test: health probes can satisfy the request-dial signals.**
+The callback at [localhold_probed_test.go:426](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/localhold_probed_test.go:426) closes shared `entered` and `dialAborted` channels. It also runs for probes through [prober.go:156](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/prober.go:156). `frozenHealth()` still permits the initial probe tick.
+
+If that probe closes `entered` first, the test can cancel before the request dial starts. The request then returns through the pre-attempt cancellation check; the probe’s timeout supplies `dialAborted`. The test can pass without exercising cancellation during a request dial or its post-dial no-ejection branch.
+
+Fix the fixture to use an initialized prober state without a running probe loop, or identify the request dial separately. Verify that introducing erroneous post-cancellation ejection makes the test fail.
+
+**Fault family:** cancellation-test isolation.
+
+**P3-1 — Witness: “boundary resets” are not correlated with the boundary.**
+[localhold_witness_test.go:184](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/localhold_witness_test.go:184) counts resets across the entire run; [line 253](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/localhold_witness_test.go:253) exempts all of them up to eight. Consequently, unrelated resets during baseline or after recovery can pass as shutdown-boundary resets.
+
+Follow up by correlating exempted failures with requests overlapping listener shutdown and reporting the remaining causes separately. This does not require request replay or block the approved bounded-reset policy.
+
+**Fault family:** witness attribution.
+
+The remaining ledger minors do not require fixes before merge.
+
+Verification: `git diff --check` passed. Focused tests could not start because the read-only sandbox rejected Go’s work-directory creation. Tests, race checks and cross-compilation were therefore not independently executed. No files were edited.
+
+**Census verdicts — reviewed tip `fe5e9dc57052161113924df354af9d45bea4cb4e`:**
+
+- **APPROVE — `Edge.Reload`**, existing `legacy / accepted-legacy` disposition: [edge.go:855](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/edge.go:855). Changes pass immutable hold settings into existing proxy constructors; route selection and authority checks remain intact.
+- **APPROVE — `RunWithActivatorReady`**, existing `legacy / accepted-legacy` disposition: [edge.go:3732](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/edge.go:3732) and [edge.go:3911](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/edge.go:3911). Binding preserves address defaults, TLS configuration, startup preparation and fatal-message compatibility; no new untrusted input or root read.
+- **APPROVE — `internal/edge` envelope**: reviewed construction, retry, generation, probing and listener changes at [edge.go:466](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/edge.go:466), [localhold.go:36](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/localhold.go:36), [genproxy.go:45](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/genproxy.go:45), [prober.go:134](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/prober.go:134), and [listeners.go:11](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/edge-roll-blip/internal/edge/listeners.go:11). Unix endpoint and peer checks remain enforced; no authority expansion or weakened refusal found.
+
+**READY AFTER FIXES**
\ No newline at end of file