review: Astra round 3 findings for cert-warm-propagation-443 (NOT READY, budget exhausted)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+24
−0
docs/superpowers/reviews/CODEX-REVIEW-cert-warm-443-R3.md+24 −0
CI passed — run details
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-cert-warm-443-R3.md b/docs/superpowers/reviews/CODEX-REVIEW-cert-warm-443-R3.md| new file mode 100644 |
| index 000000000..2953651eb |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-REVIEW-cert-warm-443-R3.md |
| @@ -0,0 +1,24 @@ |
| +R1 P1: **resolved** for the reported intervening-pass scenario; outstanding deadlines now survive. |
| +R2 P1: **resolved** for the reported slow-order scenario; elapsed deadlines now request an immediate retry. |
| + |
| +- **P1 — Brief §6 / R3: standing down can still strand an owed name for an hour.** |
| + |
| + Both stand-down exits return `warmInterval` without consulting `owedWait`: [certwarm.go:451](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certwarm.go:451) and [certwarm.go:488](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certwarm.go:488). The loop replaces `passDue`, then independently samples the gate at [certwarm.go:298](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certwarm.go:298). |
| + |
| + **Failure scenario:** A has an outstanding hold. Its scheduled pass observes the issuer gate closed and stands down. Before the loop’s subsequent gate read, this box reacquires the lease. The loop records `issuer = true` alongside an hourly deadline. Later gate ticks see no transition, so they request no pass ([certwarm.go:276](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certwarm.go:276)). Without another qualifying wake, DNS retry, or handshake, A remains certificate-less until the hourly pass. Keeping A in `settleUntil` does not itself schedule work. |
| + |
| + **Concrete fix:** preserve the pass’s observed stand-down in its result and make the loop’s scheduling decision account for that observation and outstanding holds. Recovery must trigger a pass even when reacquisition precedes the post-pass gate read; a continuously closed gate must remain non-spinning. Add a deterministic loop regression for precisely that interleaving. The simulation currently supplies a nil gate and calls `pass` directly, so it cannot detect this ([certsettle_test.go:491](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certsettle_test.go:491)). |
| + |
| + **Fault family:** retry scheduling — every held name must retain a scheduled retry through unrelated passes and issuer transitions. This is the same invariant as rounds 1–2. |
| + |
| +No additional P2 or P3 findings. |
| + |
| +The remaining inspected paths preserve admission checks, mirror/local-cache fallback, wildcard issuance, and renewal behavior. Snapshot replacement supports the tracker’s pointer comparisons. Normal completed passes discharge due holds or move their deadlines; I found no due-hold spin there. |
| + |
| +**Census — `internal/edge`: APPROVE** at `212be158e8660f910d8bfb6e0107b6f08ddb77b8`. Reviewed the tracker in [certsettle.go:94](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certsettle.go:94), policy integration in [certsync.go:204](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certsync.go:204), and warm scheduling changes above. These introduce in-memory refusal and bookkeeping, without new external read targets, execution paths, or weakened admission checks. Independently recomputed the Linux amd64/arm64 envelope: it matches `f89991c62c1ccdf40bbeff9194b2ff34a0adc571bea8d2f02df5a7d0cabfca3f`. |
| + |
| +The permitted targeted tests could not start because Go’s work directory is read-only. Production/test-code whitespace checks passed. No files were edited. |
| + |
| +This final round has one P1, sharing the earlier rounds’ cause. Refusing configurations with changing issuer ownership would exclude this scenario, at the cost of failover support. Cutting the settling feature removes this new retry obligation but restores the original propagation failure. The three-round budget is exhausted. |
| + |
| +**NOT READY** |
| \ No newline at end of file |