backupengine: the offsite S3-compatible target is a refused later slice (ADR 0104) #310

Open
opened 2026-08-05 23:11:33 +00:00 by ben · 4 comments
Owner

Known honest-refusal slice, filed for the production-deployment ledger (backups spec #20).

internal/backupengine/targets.go:56 — an offsite target refuses: "the S3-compatible partner surface is a later slice (ADR 0104); a cross-device target moves today". Cross-device replication works; offsite does not exist. A single-site community therefore has no off-premises copy — fine for alpha, but a named gap in the 3-2-1 story the backups spec promises.

Ask: confirm offsite stays post-production-deployment (or schedule it), and make sure the Backups surface states the limitation honestly wherever a member would expect offsite coverage.


Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code).

Ruled: DEFERRED (Ben, 2026-08-12 backlog walk) — the S3 target only

The honest-copy half split out as #472 (ready-for-agent): the Backups surface states the no-offsite limitation wherever coverage would be expected. The S3-compatible offsite target itself is parked.

Revisit when the FIRST of these fires:

  1. A single-site community reaches production (the missing off-premises copy becomes a live 3-2-1 gap, not a theoretical one).
  2. The backups tier's verified-restore machinery (P7) lands and offsite is the next rung.
Known honest-refusal slice, filed for the production-deployment ledger (backups spec #20). `internal/backupengine/targets.go:56` — an offsite target refuses: "the S3-compatible partner surface is a later slice (ADR 0104); a cross-device target moves today". Cross-device replication works; offsite does not exist. A single-site community therefore has no off-premises copy — fine for alpha, but a named gap in the 3-2-1 story the backups spec promises. **Ask:** confirm offsite stays post-production-deployment (or schedule it), and make sure the Backups surface states the limitation honestly wherever a member would expect offsite coverage. --- _Filed from the 2026-08-05 fail-loud audit (three-agent pre-production sweep; findings verified against code)._ ## Ruled: DEFERRED (Ben, 2026-08-12 backlog walk) — the S3 target only The honest-copy half split out as #472 (`ready-for-agent`): the Backups surface states the no-offsite limitation wherever coverage would be expected. The S3-compatible offsite target itself is parked. **Revisit when the FIRST of these fires:** 1. A single-site community reaches production (the missing off-premises copy becomes a live 3-2-1 gap, not a theoretical one). 2. The backups tier's verified-restore machinery (P7) lands and offsite is the next rung.
Author
Owner

This was generated by AI during triage.

Verification: Confirmed on main. backupengine's target resolver refuses any target carrying an offsite endpoint with exactly the message quoted in the body (only the line number has drifted slightly). Cross-device replication is real and wired; offsite is a genuine, honest gap — not a bug, a scoped-out slice per ADR 0104.

Recommendation: ready-for-human — this needs a roadmap ruling, not code:

  1. Does offsite (S3-compatible) storage gate production deployment, or ship as a scheduled fast-follow after?
  2. Either way, does the Backups surface need an explicit "no offsite copy yet" affordance before production, or is the current honest refusal (surfaced only when someone actually configures an offsite target) sufficient for now?

Leaving enhancement + moving to ready-for-human since only a maintainer can make this call.

> *This was generated by AI during triage.* **Verification:** Confirmed on `main`. `backupengine`'s target resolver refuses any target carrying an offsite endpoint with exactly the message quoted in the body (only the line number has drifted slightly). Cross-device replication is real and wired; offsite is a genuine, honest gap — not a bug, a scoped-out slice per ADR 0104. **Recommendation:** `ready-for-human` — this needs a roadmap ruling, not code: 1. Does offsite (S3-compatible) storage gate production deployment, or ship as a scheduled fast-follow after? 2. Either way, does the Backups surface need an explicit "no offsite copy yet" affordance before production, or is the current honest refusal (surfaced only when someone actually configures an offsite target) sufficient for now? Leaving `enhancement` + moving to `ready-for-human` since only a maintainer can make this call.
Author
Owner

Ben ruled (2026-08-06, ready-for-human sweep):

  1. Offsite is scheduled now — it does NOT wait for post-production. The S3-compatible target becomes a pre-production slice; ADR 0104's "later slice" is hereby later-no-more.
  2. The Backups surface states the limit honestly until the target lands — split out as #314 (ready-for-agent).

This ticket now carries the offsite target build itself. The operator-facing half (where the target is configured — endpoint, bucket, credential entry, and the custody of those credentials) has no flow or wireframe yet, so this flips needs-design: it needs its grill/wireframe pass against backups spec #20 before tickets can arm the swarm.

Ben ruled (2026-08-06, ready-for-human sweep): 1. **Offsite is scheduled now** — it does NOT wait for post-production. The S3-compatible target becomes a pre-production slice; ADR 0104's "later slice" is hereby later-no-more. 2. **The Backups surface states the limit honestly** until the target lands — split out as #314 (`ready-for-agent`). This ticket now carries the offsite target build itself. The operator-facing half (where the target is configured — endpoint, bucket, credential entry, and the custody of those credentials) has no flow or wireframe yet, so this flips `needs-design`: it needs its grill/wireframe pass against backups spec #20 before tickets can arm the swarm.
Author
Owner

Ruled by Ben 2026-08-08 (decision sweep): scheduled now — the offsite S3-compatible target is pulled forward rather than parked post-production-deployment. Next step is the design pass (target configuration, credential custody, and the honest "no off-premises copy yet" statement on the Backups surface in the meantime). needs-design stands; grill next.

Ruled by Ben 2026-08-08 (decision sweep): **scheduled now** — the offsite S3-compatible target is pulled forward rather than parked post-production-deployment. Next step is the design pass (target configuration, credential custody, and the honest "no off-premises copy yet" statement on the Backups surface in the meantime). `needs-design` stands; grill next.
Author
Owner

Un-deferred by design, 2026-09-22. DDR 0268 (two targets a one-device community can actually use) is the design this slice was deferred for: the generic "Offsite — S3-compatible, or a partner community's site" pill is withdrawn, and offsite arrives instead as a concrete "IDSS offsite storage" target a community turns on in one act, plus "This computer" (the operator app pulls) so a one-device community can reach a verified copy without buying anything.

ADR 0269 rules where the bytes live: an ordinary Linux box behind storage.idss.nz — bens-mac-04 for now, no nix, no clan, no VM.

Blocking work is now tracked at #1754 (the storage module itself). The Broker's bucket-provisioning verb + the free-tier allowance is the next ticket, blocked on #1754. This issue stays open as the engine-side arming (StoreResolver.WithOffsite, S3Store.Free returning real headroom) and closes when a community's confirmed policy moves a sealed copy to a hosted bucket.

**Un-deferred by design, 2026-09-22.** DDR 0268 (*two targets a one-device community can actually use*) is the design this slice was deferred for: the generic "Offsite — S3-compatible, or a partner community's site" pill is **withdrawn**, and offsite arrives instead as a concrete **"IDSS offsite storage"** target a community turns on in one act, plus **"This computer"** (the operator app pulls) so a one-device community can reach a verified copy without buying anything. ADR 0269 rules where the bytes live: an ordinary Linux box behind `storage.idss.nz` — `bens-mac-04` for now, **no nix, no clan, no VM**. Blocking work is now tracked at **#1754** (the storage module itself). The Broker's bucket-provisioning verb + the free-tier allowance is the next ticket, blocked on #1754. This issue stays open as the engine-side arming (`StoreResolver.WithOffsite`, `S3Store.Free` returning real headroom) and closes when a community's confirmed policy moves a sealed copy to a hosted bucket.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Matou/idss#310
No description provided.