carlos / platform Public

notes: G3 fixes follow-up list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev 459b214091bdacc75c225dd9c4afbf2f53304e24 parent ecd4023
1 file changed, +34 −0
  • docs/superpowers/notes/2026-11-07-region-ha-g3-fixes-follow-ups.md +34 −0

CI passed — run details

Intent

Human

<task-notification> <task-id>bf8gf6b25</task-id> <tool-use-id>toolu_01G7HijwqUwkgvMBiSQw4NfM</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/f72ef775-81b3-4d2e-a18d-c8edb14aa192/tasks/bf8gf6b25.output</output-file> <status>completed</status> <summary>Background command "sleep 15; .superpowers/sdd/2026-11-07-region-ha-g3-fixes/wait.sh fw3" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 44.6 g CO₂e (5,783,310 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on region-ha-g3-fixes, never backward from it. A turn that produced more than one commit books all of its tokens to the last one, and a concurrent session on this branch can add to the same figure. Some of it was priced using the shared default rate, because no model-specific factor row exists yet for at least one model involved. The Carbon view has the repo total, which is never derived from this attribution.

diff --git a/docs/superpowers/notes/2026-11-07-region-ha-g3-fixes-follow-ups.md b/docs/superpowers/notes/2026-11-07-region-ha-g3-fixes-follow-ups.md
new file mode 100644
index 000000000..085035753
--- /dev/null
+++ b/docs/superpowers/notes/2026-11-07-region-ha-g3-fixes-follow-ups.md
@@ -0,0 +1,34 @@
+# Region HA G3 fixes: follow-ups
+
+Branch `region-ha-g3-fixes` (2026-11-07). These are the P3s and deferred items from its reviews. None of them blocked the merge. Each one names where it came from.
+
+## Departures
+1. A dead-owned host whose record leaves the inventory and comes back between the end of one pass and the next falls out of coverage. It is safe only if a move keeps the lifetime. A lock check that could stall a departure forever was reverted in d3166f0b. A bounded "gone for good" rule needs its own design. (T2 review, fix-wave re-review)
+2. Each pass has a 30 s deadline and a 128-read cap when the hosts are listed. If the average GET takes more than about 230 ms, `scan_timeout` loses visits it had not yet saved. Fix: save visits on timeout, or cap reads by the time left. (T6 re-review)
+3. The five-minute proof does not model every in-region host having a data directory. The estimate is about 3 minutes per departure on the flagship. Measure it on dev. (T6 re-review)
+4. `lockListings` entries leak for departures that end by other routes. (T6 re-review)
+5. A transient `ReadLock` error counts as a real blocker. Backoff can then cost up to about 45 minutes on a 9-page walk. (T2 review)
+6. The simulation's churn never mutates records that carry duties. (T2 review)
+7. The journal `Visited` map grows with the deployment: about 40 KB per save at 300 records. (T2 review)
+8. Retiring a group member leaves its `status/boxes`, `alerts/boxes` and `metrics/boxes` objects behind until they age out (24 h). This branch makes the readers that page or block ignore a proven member with no edges file. The departure itself should delete these objects on their ETags after the edges file. That is a new delete on the termination path, so it needs its own review and census row. (8a3d302 finding, inv/status-rows.md)
+
+## Steering
+9. Bisecting a refused chunk is not paced against Route 53's 5 requests per second. Known foreign latency records in the same region are not filtered out up front, and the shrink guard can refuse a whole pass after a large drop. (T1 review)
+10. Each successful pass makes one extra `ListResourceRecordSets` call. (R1)
+11. Steering relies on members publishing `serves_shared_pool:false`. A guard test pins the writer. A future boot path for a group member that serves the shared pool needs steering that knows about membership, or stable ingress. (T5)
+
+## Console
+12. C13: the GeoIP readiness remedy tells operators to delete a box's edges file. For a member, that skips the departure scan. This is a copy change. (edges audit)
+13. C4: the explicit-region gate ignores `serves_shared_pool:false`. It goes wrong once a region's only boxes are members. Owned by §13's retirement plan. (edges audit)
+14. The size door now skips stale boxes even when their file lists the record's host. A narrower rule: keep stale host claims unless the box is a proven member. (R3)
+15. A pooled HA app whose allow-list excludes its stored region now gets `not-allowed` at the door, where before it was silently placed in the home region. Release-note it. (R1)
+
+## Startup and operations
+16. During startup, `reconcileMu` can be held for up to 20 s per attempt when reads hang. Add this to the roll notes. (R1)
+17. The flagship console needs `CONSOLE_REGION_INGRESS` before any G3 retry. This is for card rev 4. (edges audit, C15)
+18. The replay test's member shape has 4 hosts. The zero-host flagship shape appears only in unit tests. (R3)
+19. A retained member file older than 15 minutes stops being proven, and hostname-history coverage waits for it. (R3)
+20. `alerts_topic_arn` validation needs OpenTofu >= 1.9. The module pins >= 1.10. (R3)
+
+## Elsewhere
+21. Offline moves: Litestream compaction writes during the final mirror round. Filed as discussion #659.