review: Astra round 2 findings for cert-warm-propagation-443 (NOT READY, stopping rule 2)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+18
−0
docs/superpowers/reviews/CODEX-REVIEW-cert-warm-443-R2.md+18 −0
CI passed — run details
diff --git a/docs/superpowers/reviews/CODEX-REVIEW-cert-warm-443-R2.md b/docs/superpowers/reviews/CODEX-REVIEW-cert-warm-443-R2.md| new file mode 100644 |
| index 000000000..c9cac594b |
| --- /dev/null |
| +++ b/docs/superpowers/reviews/CODEX-REVIEW-cert-warm-443-R2.md |
| @@ -0,0 +1,18 @@ |
| +Round 1 P1: **partly resolved** — deadlines survive short intervening passes, but a hold that expires during a pass can still lose its prompt retry. |
| + |
| +- **P1 — Brief §6: an elapsed hold can be discarded without its host being retried.** |
| + `pass` skips a host whose deadline is still ahead at [certwarm.go:476](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certwarm.go:476). After processing the remaining hosts, `earliestSettle` ignores deadlines that have elapsed at [certwarm.go:953](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certwarm.go:953). Its assumption that such hosts were attempted or deferred by the cap/DNS gate is therefore false. |
| + |
| + **Failure scenario:** A is held until t=45s. An unrelated DNS retry triggers a pass at t=20s. The pass skips A, then spends 30 seconds successfully ordering B’s certificate. At t=50s, A’s deadline is ignored. With no cap reached or DNS retries remaining, the pass returns one hour at [certwarm.go:566](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certwarm.go:566), replacing the earlier retry through [certwarm.go:295](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certwarm.go:295). Without another qualifying wake or handshake, A remains without a certificate for approximately an hour. |
| + |
| + **Concrete fix:** distinguish hosts skipped because their hold was active from hosts deferred by the cap or DNS gate. Preserve a prompt retry for the former even when their deadline expires during the pass. Add a clock-controlled regression that advances time inside B’s certificate call; the new tests advance time only between passes. |
| + |
| + **Fault family:** retry scheduling — every pending settlement must retain a scheduled retry through unrelated passes. This recurs across rounds 1–2, triggering stopping rule 2. Before another fix, choose between gating the case, cutting the feature, or enforcing this invariant in one scheduling decision with a guard test; I recommend the third. |
| + |
| +No additional P2 or P3 findings. |
| + |
| +**Census — `internal/edge`: APPROVE** at `50c0bc79a0427a18f99340163f3c2924b48a66da`. Reviewed the tracker and helpers in [certsettle.go:94](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certsettle.go:94), the policy in [certsync.go:204](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/cert-warm-443/internal/edge/certsync.go:204), and the warm changes cited above. They add in-memory refusal and scheduling state, introduce no new external read targets or execution paths, and preserve deployment membership and issuer checks. Mirror/local-cache fallback remains available; wildcard issuance is unaffected. The scheduling defect does not expand root authority. |
| + |
| +The permitted targeted tests could not start: Go could not create its work directory on the read-only filesystem. No files were edited. |
| + |
| +**NOT READY** |
| \ No newline at end of file |