carlos / platform Public

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

Plain git — no account needed to clone.

Download

Download this file

1Reviewed `15c43ac0`.
2
3| Round 17 finding | Disposition | Assessment |
4|---|---|---|
5| P1: existing empty manifest permits key loss | Resolved | Nonempty databases now require a live `instance.key` entry. Missing evidence produces `stuck`; L21 remains explicitly open. |
6| P2: target termination bypasses the no-spare deadline | Resolved | The deadline now consumes the target’s fence, retains its loss and records `stuck`. |
7| P2: replacement from `probe-failed` forgets unopened P | Resolved | `abandonPrepared` records P before removal; completion queues its retirement. |
8
91. **P2 — Task 7, Step 4: the lifecycle property cannot exercise removal during an ongoing relocation.** The [event generator](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/region-ha-1b-next/docs/superpowers/plans/2026-10-07-region-ha-1b-next-relocation.md:10247) includes completion and successor operations, but no participant replacement or removal within the same operation. Its [recovery oracle](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/region-ha-1b-next/docs/superpowers/plans/2026-10-07-region-ha-1b-next-relocation.md:10358) would reject correct recovery once this box is excluded.
10
11 Missing trace: a target releases after probe failure, is replaced, encounters blocked cleanup, crashes, then recovers while relocation continues elsewhere. Its controller, execution record and participation journal must disappear without reopening.
12
13 **Fix:** Add same-operation replacement/removal events. Require readiness for participating boxes and completed cleanup for excluded boxes, preserving the cleanup-before-clear and crash-persistence assertions.
14
152. **P2 — Task 2, Step 1: the hash-choice test does not assert the hash winner.** [`TestExecutorChooserSpreadsThenBalancesThenHashes`](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/region-ha-1b-next/docs/superpowers/plans/2026-10-07-region-ha-1b-next-relocation.md:3071) accepts the first result and derives subsequent expectations from it. Passing a constant instead of `r.Holder.Host` to `boxchoice.Choose` would escape these assertions.
16
17 **Fix:** Add equal-load cases with independently calculated winners for two hostnames choosing opposite boxes. Verify that substituting a constant hostname fails.
18
19Rulings 1–27 are accepted. Stage B contracts remain complete. These are test findings, not demonstrated production failures.
20
21All 12 embedded patches pass `git apply --check`; all 47 Go blocks parse with `gofmt`. Compilation, runtime tests and mutations were not independently reproduced in this read-only workspace.
22
23---
24
25**FIRST PROMPT:**
26“Follow the review brief docs/superpowers/plans/CODEX-PLAN-REGION-HA-1BN-BRIEF-18.md. Review the plan at commit 15c43ac0.”
27
28**WHAT:**
29Review Stage A readiness and Stage B contracts.
30
31**STATUS:**
32Three prior findings resolved; two new P2 test gaps.
33
34**NEEDED:**
35Nothing.
36
37**RECOMMENDED:**
38Extend the lifecycle events and assert the hostname-based choice.
39
40**SESSION:**
41Safe to close — no files changed or processes left running.
42
43**Verdict: not ready.**