carlos / platform Public

member backups: rev 3.1, Astra round 3 READY AFTER FIXES (#898)

Applies round 3's one fix: the request budget counts the console's
6-hourly conditional GETs. Records the final disposition.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
claude agent, operated by paul@keymail.dev pushed by paul@keymail.dev b1150532cf0d5b879e177f61d9cba2888686eaf3 parent d866a49
3 files changed, +24 −2
  • docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-member-backups-R3.md +14 −0
  • docs/superpowers/notes/reviews/member-backups/FABLE-GUIDANCE-member-backups.md +0 −0
  • docs/superpowers/specs/2026-11-11-member-backups-design.md +10 −2

Intent

Human

<task-notification> <task-id>bxdbl2doy</task-id> <tool-use-id>toolu_01CXEKLmb17pTjv5uYiMpiVa</tool-use-id> <output-file>/home/paulca/.cache/tmp/claude-1001/-home-paulca-amadan-net-carlos-platform/ab362fc0-f177-4a7f-a92e-4a29ea210aad/tasks/bxdbl2doy.output</output-file> <status>completed</status> <summary>Background command "Run Astra spec review round 3" completed (exit code 0)</summary> </task-notification>

Attributed to this commit: 5.85 g CO₂e (720,001 tokens). This is an attribution, not a measurement — usage counted from this commit's own marker forward to the next one on design-member-backups, 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/reviews/member-backups/CODEX-FINDINGS-member-backups-R3.md b/docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-member-backups-R3.md
new file mode 100644
index 000000000..73e12de8d
--- /dev/null
+++ b/docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-member-backups-R3.md
@@ -0,0 +1,14 @@
+| Open finding | Disposition | Assessment of revision 3 |
+|---|---|---|
+| **R1-1 — Export immutability** | **FIXED** | Refusal 1 removes the versioning guarantee and makes protection conditional on retention the uploader cannot bypass. This matches the explicit version-deletion capability in [versioned.go:261](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups/internal/lease/versioned.go:261). |
+| **R1-5 — Verdict invalidation** | **FIXED** | §3 binds verdicts to incarnation and replica identity, requires matching checks around the read, and compares the bracket’s opening time with `copy_since`. This closes the late-completion case. The existing identity checks are at [agent.go:209](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups/internal/dbreads/agent.go:209). |
+| **R1-12 — Change discovery** | **PARTLY** | The operational fix is sound: forced conditional reads recover overwritten records despite missed notifications, and listing reconciles additions and deletions. [changewatch.go:233](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups/internal/release/changewatch.go:233) confirms age independently makes a read due. However, **§9 still omits those backstop GETs**. Add up to **N conditional GETs per six-hour backstop per console reader**, alongside the LIST, where N is the number of known box records. No additional mechanism is needed. |
+| **R2-1 — Export identity across the complete read** | **FIXED** | §5 requires the second identity check after the last replica byte and before any destination upload, with discard on mismatch. This matches [read.go:249](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups/internal/dbreads/read.go:249). §12 requires adversarial tests during planning and download. |
+| **R2-2 — Preserving remote-region pulls** | **FIXED** | §1 separates intrinsic classification from operation-specific region availability. Existing forwarding remains intact, including both query and pull advertised at [apidbforward.go:145](/home/paulca/amadan.net/carlos/platform/.claude/worktrees/member-backups/internal/console/apidbforward.go:145). |
+| **R2-3 — Duplicate drill/export restores** | **FIXED** | §3 explicitly excludes exporting hosts from ordinary drills; §5 uses the export restore as their drill. Deferred exports explicitly receive no new verdict. This removes the previously specified duplicate work. |
+
+No new findings. The remaining correction is confined to §9’s request accounting; it does not require another review round.
+
+Reviewed `8849088141968497f3a1fdc5e67d07e413fe2eb9` on `design-member-backups`. No files changed by this review; no test suites run.
+
+READY AFTER FIXES
\ No newline at end of file
diff --git a/docs/superpowers/notes/reviews/member-backups/FABLE-GUIDANCE-member-backups.md b/docs/superpowers/notes/reviews/member-backups/FABLE-GUIDANCE-member-backups.md
new file mode 100644
index 000000000..e69de29bb
diff --git a/docs/superpowers/specs/2026-11-11-member-backups-design.md b/docs/superpowers/specs/2026-11-11-member-backups-design.md
index 3a62f207c..a3ef5e4d8 100644
--- a/docs/superpowers/specs/2026-11-11-member-backups-design.md
+++ b/docs/superpowers/specs/2026-11-11-member-backups-design.md
@@ -1,6 +1,6 @@
# Backups owners can see and check
-Status: rev 3, 2026-11-11. Paul's rulings D1-D5 (§11). Astra round 1
+Status: rev 3.1, 2026-11-11. Astra round 3 READY AFTER FIXES; its one fix (§9's backstop GETs) applied. Paul's rulings D1-D5 (§11). Astra round 1
(`docs/superpowers/notes/reviews/member-backups/CODEX-FINDINGS-member-backups.md`)
was NOT READY with 3 P1s and 11 P2s; all 14 accepted (§14). Round 2
(`CODEX-FINDINGS-member-backups-R2.md`) was NOT READY with one new P1, two
@@ -425,7 +425,9 @@ Export:
about $0.00005 a miss.
- **Verdicts:** one PUT per box every 10 minutes during the nightly run,
plus its change-index bump. The console: one LIST and N GETs at start,
- one conditional GET per changed box, and one LIST every 6 hours.
+ one conditional GET per changed box, and every 6 hours one LIST plus up
+ to N conditional GETs, where N is the number of known box records
+ (R1-12, round 3). With 30 boxes that is about 124 requests a day.
- **Export:** for exporting hosts the restore replaces the drill's, so
the drill's cost moves rather than grows. A restore lists the levels and
GETs the planned LTX files, tens of requests per host. At 1,000
@@ -529,3 +531,9 @@ nothing in this design.
| R2-1 | P1 | the export's identity check doesn't cover the whole read | Accepted: the same bracket, second check before any destination byte |
| R2-2 | P2 | sharing the region refusal would break `db pull` forwarding | Accepted: intrinsic classification shared, region availability per operation, with a test |
| R2-3 | P2 | drills-first contradicts one restore per host | Accepted: drills skip exporting hosts; the export is that host's drill |
+
+## 16. Astra round 3 (final): dispositions
+
+READY AFTER FIXES, no new findings. R1-1, R1-5, R2-1, R2-2 and R2-3 FIXED.
+R1-12 PARTLY: §9 omitted the backstop's conditional GETs. Accepted and
+applied in rev 3.1.