carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1| Round-3 finding | Disposition at `7dcdf31e` |
2|---|---|
3| A3-1 — Failed authentication resets the forwarding budget | **Closed at design level.** Version 2 authenticates the count and destination region; rejected credentials cannot trigger further forwarding. The newly specified key-rotation contract needs correction below. |
4| A3-2 — Removing public addresses breaks old readers | **Partially closed.** Stage 1 preserves legacy publication and adds compatible receivers. The stage-2 gate does not yet prevent a return to incompatible binaries. |
5| A3-3 — Stalled refresh worker remains healthy | **Closed.** Completed failures count as progress. The existing two-minute context covers the entire refresh attempt (`homemap.go:849`), so five minutes accommodates the timeout and 30-second poll interval. |
6| Stale summaries | **Closed.** The first-build exception and zone-B deferral are corrected. |
7
81. **P2 — Stage 2 needs a forwarding-specific release floor, not just a capability advertisement.**
9 [Spec:228](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-region-ha-two-box/docs/superpowers/specs/2026-10-15-region-ha-two-box-regions-design.md:228)
10
11 A box can publish `fwd_protocol: 2`, satisfy the console’s check, then return to a pre-forwarding release through rollback or recovery. That release can still satisfy the existing claim/HA floor: nothing here raises it to the release introducing version 2. Existing recovery explicitly restores `carlos.prev`, subject to its activation guards ([systemapply.go:1604](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-region-ha-two-box/internal/host/systemapply.go:1604)).
12
13 After stage 2, that box cannot authenticate the new credentials or perform the required second hop. After stage 3, it also discards peers whose publication lacks `eip`. Waiting one release cycle does not prohibit this regression.
14
15 Require every participating box to report an armed floor covering the forwarding release before enabling stage 2, including protection of rollback and boot recovery. Test activation racing with recovery to an incompatible `.prev`.
16
172. **P2 — “Current and previous” conflicts with the existing mesh-key rotation protocol.**
18 [Spec:224](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-region-ha-two-box/docs/superpowers/specs/2026-10-15-region-ha-two-box-regions-design.md:224)
19
20 The current implementation loads **current and `.next`**, and immediately prefers `.next` for signing ([mesh.go:167](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-region-ha-two-box/internal/edge/mesh.go:167)). It neither loads nor retains a previous-key slot; successful refreshes replace the cached pair ([homemap.go:812](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/design-region-ha-two-box/internal/edge/homemap.go:812)).
21
22 During a rotation, an existing signer therefore uses the successor before promotion. A receiver implementing the specified current/previous acceptance would reject that credential even after both boxes have refreshed. Once forwarding requires an intermediate regional box, the failed-credential rule turns that rejection into 503.
23
24 Preserve and explicitly name current/`.next` acceptance, or specify the complete transition to a previous-key scheme, including signing and retention. Test successor publication, staggered refresh, promotion and removal; the proposed previous-key test alone does not cover today’s protocol.
25
26Reviewed platform HEAD `7dcdf31e71c3852b6acdc4d74b20df9d77636f89` and flagship checkout `7c99ff8f1512f1a9ff3bf13337c3d147d730a6b6`. No files changed; no builds, tests or infrastructure commands run.
27
28---
29
30**FIRST PROMPT:**
31Review spec 2 round 4 at the requested HEAD, read-only, against flagship Tofu.
32
33**WHAT:**
34Confirm prior fixes and check forwarding, rollout and refresh-worker liveness.
35
36**STATUS:**
37Review complete; two P2 findings remain.
38
39**NEEDED:**
40Nothing.
41
42**RECOMMENDED:**
43Specify the forwarding floor and reconcile the key-rotation contract before planning.
44
45**SESSION:**
46Safe to close; nothing started or modified.
47
48**Verdict: not ready for an implementation plan.**