Backups (P7) — child spec: coverage, verified runs, deliberate restore, rebuild-from-nothing #20

Open
opened 2026-07-25 00:12:34 +00:00 by ben · 1 comment
Owner

Parent

Wayfinder map: #7 (OurCloud v1 program scope — Phase 0). Backups' definition and boundary rulings were locked on #9 (2026-07-21); this child spec consumes the backups grill and wireframe set (2026-07-24, run in auto-accept mode at Ben's instruction — the P4b/monitoring precedent — with both gates signed off by Ben on 2026-07-24): ADRs 0079–0082 (engineering) + DDRs 0083–0085 (design), the rebuilt docs/ux/flows/p7-backups.mermaid (11 screens), and the confirmed wireframe set in docs/ux/wireframes/p7-backups/ (approved in-browser 2026-07-24).

Problem Statement

A community's data — its files, chats, photos, git, and the people-and-access truth in kanidm — must survive a dead disk, a lost node, a fat-fingered deletion, or the whole site burning down, and it must survive it without anyone running "backup administration." The operator (low-skill, low-time, the P1 persona) needs to see what is protected and where the gaps are, get real coverage without designing a backup plan from scratch, trust that a "backup" is actually restorable rather than a green light over an unverified copy, bring data back when something goes wrong, and — in the worst hour — rebuild from nothing without any surviving infrastructure to consult. The most dangerous backup system is one that quietly stops running and stays green; today none of this exists, and the moment founding ends the Identity dataset already exists and is unprotected (ADR 0078).

Solution

The Backups tab (in shell's dashboard frame). Coverage exists before the operator does anything (DDR 0085): every dataset appears by itself — Identity from founding, each service's datasets as provisioning deploys them (ADR 0080) — each honestly not backed up yet, with a drafted recommended policy (nightly 02:00, 30-day retention, targets recommended from fleet topology with zone spread) the operator reviews and confirms. Snapshots are always encrypted — stated as a fact, never a toggle (DDR 0085). A backup is not good until its sampled restore test passes; coverage counts verified copies only (CONTEXT: Coverage). A backup that didn't run is a failure, not an absence — a stale dataset is as loud as a failed run (DDR 0083). Backups own the substance and publish faults and coverage as state; monitoring classifies and notifies — backups never grow their own alert channel (ADR 0081). Restore is deliberate: in-place restore promotes to a REPLACES destructive confirm and takes a pre-restore snapshot to fall back to (DDR 0084). Export is the sovereignty valve — the community can take its data and go, dataset by dataset (DDR 0084). And every artifact is shaped so that after a total loss, the recovery kit's keys decrypt ciphertext-only offsite snapshots the config repo names — no step consults infrastructure that burned down (ADR 0082).

User Stories

The overview and first run

  1. As an Operator, I want the Backups overview to show a coverage map of every dataset, so that I can see at a glance what is protected and where the gaps are. (P7-S1)
    • Given datasets exist with backup policies, When I open Backups, Then each row shows the dataset, its verified copies count, whether it has an offsite copy, and its last good moment — counting verified snapshot copies only, never live replicas and never a copy on a gone target.
  2. As an Operator, I want the overview to name gaps proactively rather than making me hunt for them, so that degraded redundancy is loud, not buried in small print. (P7-S1, CONTEXT: Coverage)
    • Given a dataset with a single copy, or no offsite anywhere, or a stale run, When I view the coverage map, Then the gap is named as a state on the row (single copy / no offsite / stale), never a dated "last good: 9 days ago" timestamp standing in for a fault.
  3. As an Operator, I want the first visit to Backups to show every dataset that exists rather than an empty screen, so that the surface is never a dead end and my unprotected data is visible from day one. (P7-S1x, DDR 0085)
    • Given a freshly founded community that has confirmed no policy yet, When I open Backups, Then every dataset that exists is listed — Identity present from founding, each service's datasets as provisioned — each shown honestly not backed up yet, with the drafted recommended policy offered to review and confirm.
  4. As an Operator, I want datasets to appear by themselves as services deploy, so that I never create or register a dataset by hand. (P7-S1/S1x, ADR 0080)
    • Given a catalogue service is provisioned, When I next view Backups, Then its declared dataset(s) appear as rows automatically from the port's dataset contract, with no operator action to add them.
  5. As an Operator on a just-founded single-node fleet, I want the honest single-node floor stated plainly, so that I am never shown fake green from a same-node copy. (P7-S1x, DDR 0085)
    • Given the fleet is one gateway with no second node, When I view first-run Backups, Then it states that no on-fleet target can give real coverage until a second device joins — an offsite target is the only real coverage, offered right there beside an "Add a device" cross-link, and no same-node copy is ever counted as coverage.

Policy

  1. As an Operator, I want to confirm the drafted recommended policy in one act, so that I get real coverage without designing a backup plan from scratch. (P7-S1x → S2, DDR 0085)
    • Given the drafted policy (nightly 02:00, 30-day retention, recommended targets), When I review and confirm it, Then it becomes the dataset's confirmed backup policy and scheduled runs begin; confirming is my act (the system recommends, the operator confirms — advice never veto).
  2. As an Operator, I want target recommendations to come with their reasons and spread across zones, so that I understand why each target was picked and my copies aren't all in one place. (P7-S2, ADR 0079/DDR 0085)
    • Given I open the policy screen, When the system recommends targets, Then it draws them from fleet topology with zone spread, shows each target's reason, and recommends both a cross-device and an offsite target where the fleet allows.
  3. As an Operator, I want encryption stated as an always-on fact rather than offered as a choice, so that I can never accidentally hand a partner community or S3 provider readable member data. (P7-S2, DDR 0085/ADR 0082)
    • Given the policy screen, Then it shows "Encrypted — always" as a fact with no toggle; snapshots are encrypted with keys held in the community's crown-jewel secret store, so offsite holders ever only hold ciphertext.
  4. As an Operator, I want an intermittent node never used as a dataset's only copy, so that a backup is never asleep when the disaster comes. (P7-S2, DDR 0085)
    • Given target recommendation includes an intermittent-tagged helper, Then it is offered only as an additional copy with its candid status shown, never as a dataset's sole target.
  5. As an Operator, I want to edit a dataset's frequency, retention, and targets, so that the defaults are a starting point, not a cage. (P7-S2, DDR 0085)
    • Given a confirmed policy, When I change frequency, retention window, or targets, Then the change is saved to the policy (homed in the config repo) and takes effect on the next scheduled run.

Runs & verification

  1. As an Operator, I want scheduled runs to snapshot, replicate, and verify without me, so that recoverability doesn't depend on my laptop being awake. (P7-S2 → S3, ADR 0079)
    • Given a confirmed policy, When a scheduled run fires, Then it snapshots the dataset, replicates to each target, and verifies by sampled restore test, running fleet-side with every browser closed and the operator app off.
  2. As an Operator, I want verification to promote a snapshot to "last good" and refresh coverage, so that the overview only ever counts copies that are genuinely restorable. (P7-S3 → S1, CONTEXT: Sampled restore test)
    • Given a run's snapshot, When its sampled restore test passes, Then it is promoted to the dataset's last good and counted in coverage; When it fails verification, Then it counts nowhere and the failure publishes a fault.
  3. As an Operator, I want a run's outcome to be per target — keep what verified, name what didn't, so that one failed target never voids a run's good copies. (P7-S3 → S3x, DDR 0083)
    • Given a run replicating to several targets where one fails mid-run, When the run completes, Then the copies that verified are kept and counted, the failed target is named and its outcome retryable (per-target steps and outcome shown), and a copy that has not passed its sampled restore test counts nowhere.
  4. As an Operator, I want retention to never prune a dataset's last good snapshot, so that a short window can never leave a dataset with nothing. (DDR 0083)
    • Given any retention window however short, When retention prunes old snapshots, Then the most recent verified snapshot is always kept until a newer one verifies.

Faults, staleness, and gone targets (through monitoring)

  1. As an Operator, I want a failed run or failed verification to alert me through monitoring, so that I never rely on spotting a silent red row myself. (P7-S3x → P5-S2, ADR 0081)
    • Given a run fails to write to a target, or a snapshot fails its sampled restore test, When the fault occurs, Then backup publishes the fault as control-plane state with plain-language evidence, and monitoring classifies it (critical) and notifies — backups never set a severity or touch the notifier.
  2. As an Operator, I want a backup that didn't run treated as a failure, so that a stopped scheduler can never stay green. (P7-S1 → P5-S2, DDR 0083)
    • Given a dataset's scheduled run has not completed by the time the next is due (nightly: stale by the second 02:00, one missed cycle with no grace), When staleness is detected, Then the dataset shows stale as a loud state on the coverage map and publishes a critical fault through monitoring — computed from policy and clock against the target inventories, not from the scheduler's belief that it ran.
  3. As an Operator, I want a target that goes away to drop its copies out of coverage at once, so that coverage I cannot actually reach is never counted. (P7-S1 → P5-S2, DDR 0083)
    • Given a target becomes known gone (a node removed in provisioning, an offsite endpoint whose credentials died), When the fleet learns it is gone, Then every copy it held leaves the coverage map immediately (down to single copy → warning, or no copies → critical when it was the last), and a fault alerts through monitoring.
  4. As an Operator, I want acting on a monitoring diagnosis to land me where I can fix it, so that an alert leads straight to the closing action. (P5-S2 → S2 / S2x, ADR 0081)
    • Given I act on a backup fault's plain-language diagnosis, When the diagnosis is a general gap, Then I land on the policy screen to close it or retry; When the diagnosis names a gone target, Then I land on the policy's gone-target state with the dead target named and a replace affordance.
  5. As an Operator, I want to replace a gone target and have the next run rebuild the lost copies, so that recovering from a dead target is one choice, not a rebuild-by-hand. (P7-S2x → S3, DDR 0083)
    • Given the gone-target state, When I pick a replacement target, Then the next scheduled run rebuilds the lost copies onto it and coverage recovers.

Restore

  1. As an Operator, I want the restore moment picker to offer verified snapshots only, so that I never gamble current data on an unproven copy. (P7-S1 → S4, DDR 0084)
    • Given I open Restore for a dataset, When I pick a moment, Then only snapshots that passed their sampled restore test are offered.
  2. As an Operator, I want an in-place restore to promote to a REPLACES confirm stated in my community's own terms, so that I know exactly what I'm destroying before I do it. (P7-S4 → S4x, DDR 0084)
    • Given I choose to restore in place (replacing current data), When I proceed, Then a destructive confirm (trigger word REPLACES, beside ERASES and LOSES) names what is destroyed — e.g. "Replaces Files & documents on rimu with the snapshot from yesterday 02:00 — everything members added or changed since then will be gone" — with action Replace & restore, and states headroom needs when space is tight.
  3. As an Operator, I want an in-place restore to take a pre-restore snapshot first, so that a restore that goes wrong can be undone. (P7-S4x → S5, DDR 0084)
    • Given I confirm Replace & restore, When the restore begins, Then the engine first snapshots the current data (outside the retention schedule, kept until the restore verifies), then quiesces the service on its port's terms (pause → replace → resume → verify) and runs the restore, logged.
  4. As an Operator, I want side-by-side restore to an alternate device to stay a plain action, so that a non-destructive "let me look first" doesn't nag me with a confirm. (P7-S4 → S5, DDR 0084)
    • Given I choose to restore to an alternate device, When I proceed, Then nothing is overwritten, the restore runs and is logged with the ordinary Restore action (no destructive confirm) — the honest recommendation for "I'm not sure which moment I need."
  5. As an Operator, I want a restore verified before it is called done, so that a half-applied restore is never reported as success. (P7-S5 → S1, DDR 0084)
    • Given a restore is running, When the restored data passes the dataset's own verify-sample, Then the restore is called done and the overview refreshes; a restore ends at verify, like a run.
  6. As an Operator, I want a restore that fails partway to fall back to the pre-restore snapshot, so that the service comes back on the data it had and nothing is left half-applied. (P7-S5 → S5x, DDR 0084)
    • Given an in-place restore fails partway, When the failure occurs, Then the service is restored from the pre-restore snapshot, the failure is named and retryable, and nothing half-applied is called done.
  7. As an Operator, I want to retry a failed restore, so that a transient failure doesn't leave me stuck. (P7-S5x → S4, DDR 0084)
    • Given a restore that failed partway, When I retry, Then I can restore from the same snapshot or pick another verified moment.

Export

  1. As an Operator, I want to export a portable copy of a dataset out of OurCloud, so that the community can take its data and go, dataset by dataset, with no one's permission. (P7-S1 → S6, DDR 0084)
    • Given I choose Export for a dataset, When I run it, Then a fresh snapshot is taken, packaged, and downloaded from the dashboard as an archive — the sovereignty valve.
  2. As an Operator, I want export to change nothing on the fleet but still be logged, so that taking data out is safe yet visible. (P7-S6 → S1, DDR 0084/ADR 0027)
    • Given an export runs, Then it touches no service data and no service is confirmed or changed, but the export is logged and audit-visible like every operation (a copy of community data leaving the fleet).

Recoverability and audit (the whole point)

  1. As an Operator, I want offsite copies to be ciphertext-only and readable in a rebuild-from-nothing, so that a total loss is genuinely recoverable and my offsite host can never read my data. (ADR 0082)
    • Given a total loss, When recovery runs (rescue drives the ladder), Then the recovery kit / combined shares yield the crown jewels → the config repo comes back → the restored policy names the offsite target → the target's self-describing inventory lists the snapshots → the crown-jewel keys decrypt them → every dataset restores, with no step consulting infrastructure that burned down.
  2. As an Operator, I want run history and coverage to be re-derivable rather than durable, so that losing the gateway never means losing my backups' truth. (ADR 0082)
    • Given the gateway is lost, When it is rebuilt, Then the run ledger and coverage map are recomputed from policy (config repo) + target inventories (targets) + per-service health — "last good" and verification results travel in the self-describing target inventory, not a gateway-local table.
  3. As an Operator, I want a failed service to contribute no backup coverage anywhere, so that a broken service can never look protected. (ADR 0079/0061)
    • Given a service that failed its health check, Then its dataset's target contributes no coverage, consistent with provisioning's "a failed service claims no coverage" invariant.
  4. As an Operator, I want every backups operation audit-logged with drill-in, so that runs, restores, exports, and policy changes are all accountable. (ADR 0027)
    • Given any backups action (policy confirm/edit, scheduled run, restore incl. REPLACES, export, target replace), Then a structured entry lands in the standing logging pipeline attributed to the acting operator (or to the scheduler for automatic runs), drillable from the overview.

Implementation Decisions

  • One orchestrator, control-plane-hosted (ADR 0079). The backup Go package lives in the control plane on the gateway, and only there — it schedules and executes runs (snapshot → replicate → verify), computes coverage and staleness, publishes backup faults for monitoring, and drives restores and exports. The Vue dashboard's Backups tab is thin UI over it; the operator app runs none of this logic. Placement decided on backups' own merits: runs are a standing scheduled duty of the fleet that must fire with every browser closed (ADR 0011); everything backups touches is fleet-side; a restore runs server-side so a closed browser interrupts nothing (the ADR 0058 property). Restore-as-disaster-tooling stays rescue's territory — while the control plane is up, backups belong to it; when it is down, a Tier-3 rebuild consumes backups' artifacts (ADR 0082), never its running engine.
  • Datasets are port-declared; the backup contract is part of a port (ADR 0080). The engine knows nothing about chat, files, photos, or people. Each catalogue port declares its dataset(s) and ships a four-part backup contract: the dataset (name, which service instance, where it lives), a snapshot verb (consistent point-in-time copy; consistency is the port's promise), a restore verb (including the quiesce behaviour an in-place restore needs), and a verify-sample verb (what a sampled restore test checks for this dataset). These ride the reconciler contract AttachService already admits (the ADR 0062 parts pattern) — no clan seam amendment. Identity is the one dataset with no catalogue port: kanidm is control-plane infrastructure, so the control plane itself ships Identity's backup contract (same shape, built in), present from the moment founding ends.
  • Backups publish faults as state; monitoring classifies and notifies (ADR 0081). backup writes fault conditions (run failed, verification failed, stale, coverage gap) and coverage as control-plane state with plain-language evidence strings; monitor reads that state exactly as it reads per-service health (ADR 0070 already lists coverage/HA gaps among the classifier's inputs). backup never touches the Notifier, never sets a severity, never decides what the operator is told. The overview and monitoring's alerts render the same underlying record — they cannot disagree.
  • State homes by the sovereignty test, plus one test only backups faces — the artifacts must survive the disaster they exist for (ADR 0082). Backup policy → the config repo (versioned; the operator app's replica means Tier-1 rescue already holds the arrangements). Snapshots → the targets, and the snapshots ARE the truth: each target holds a self-describing inventory (datasets, moments, verification results) so no database is required to read a target. Run history and coverage → runtime projections, re-derivable from policy + target inventories + per-service health. Backup encryption keys → the crown-jewel secret store (ADR 0044), deliberately not derivable from anything on a target — offsite holds ciphertext it can never read.
  • A backup that didn't run is a failure, not an absence — and run outcomes are per target (DDR 0083). Stale = one missed cycle, no grace (the staleness rule is an agent-invented number Ben kept at sign-off). Per-target outcomes keep what verified and name what didn't (ADR 0061's discipline applied to runs); a copy that hasn't passed its sampled restore test counts nowhere. A gone target's copies leave coverage at once. Retention never prunes the last good snapshot.
  • Restore is deliberate (DDR 0084). In-place restore promotes to a REPLACES destructive confirm (the third word beside ERASES and LOSES — ADR 0060 family), offering verified snapshots only, taking a pre-restore snapshot to fall back to on partial failure. Side-by-side (alternate device) stays a plain action. Export is plain but logged — a fresh snapshot packaged and downloaded (homed in backups per ticket #9); the sovereignty valve. (The REPLACES trigger and pre-restore snapshot are agent-invented machinery Ben kept at sign-off.)
  • Coverage exists before the operator does anything (DDR 0085). Datasets appear by themselves from the port contracts; the recommended policy is drafted, not applied (nightly 02:00, 30-day retention, zone-spread targets — the numbers are system defaults, editable, agent calls Ben kept at sign-off); encryption is always on, stated never offered; the single-node floor is stated honestly (offsite is the only real coverage until a second device joins); an intermittent node is never the only copy.
  • No new seam amendment. Policy commits ride the existing Config hatch; port verbs ride the reconciler contracts AttachService already admits (ADR 0080); faults/coverage are control-plane-internal state monitor reads (ADR 0081). After monitoring, backups is the second Phase-1 feature to leave all three confirmed seams untouched. The repo skeleton (ADR 0040) gains a backup package built into the control plane only.
  • Wire/API contract. Shared Go types are the schema (ADR 0037); the dashboard consumes backup through the OpenAPI-specced control-plane API. Architecture diagram 02 gains the backup box; diagram 12 gains the Tier-3 rebuild-from-offsite note (ADR 0042, done at grill time).

Testing Decisions

  • What makes a good test here: drive the backup orchestrator through its public interface and assert externally visible outcomes — coverage and staleness computations, per-target run outcomes, the fault/coverage state published for monitoring (what fault, with what evidence — never how it is notified), restore-ladder state transitions, and the calls made to the fake port verbs — never internals. A per-target partial failure is a successful run with a named failed target, not an error. A stale dataset is a computed state, not a missing record. A restore ends at verify.
  • The single seam (re-confirmed by Ben — the seam gate sign-off of 2026-07-24 stands as the seam confirmation; no fresh live confirmation is claimed): the backup orchestrator driven headlessly in-process against fakes — a fake clock (schedules, one-missed-cycle staleness, retention windows, "last good three days ago"); fake port backup contracts (per-dataset snapshot / restore / verify-sample verbs that succeed, fail, or hang, including the quiesce an in-place restore relies on); fake targets (node and offsite) that accept, refuse, or vanish (per-target partial outcomes and the target-gone state); a fake fleet-state provider (topology and zones for zone-spread recommendation, the intermittent tag, and per-service health so a failed service contributes no coverage); an in-memory fault/coverage state read the way monitor will read it; and the config-repo commit path faked as an in-memory policy store. Above the seam nothing (Vue renders, does not decide); below, one thin HTTP round-trip test against the real control-plane binary, mirroring provisioning's and monitoring's.
  • Prior art to copy:
    • Provisioning's and monitoring's control-plane orchestrator-as-seam and fake harness (ADRs 0058/0069), including the fake-clock scheduling discipline from monitor → schedules, staleness, retention, and "last good N days ago".
    • Provisioning's per-service partial-failure test family (ADR 0061) → the shape of per-target partial runs (keep what verified, name what didn't, failed target retryable, others unaffected).
    • Monitoring's classifier-input family (ADR 0070) → backup's harness asserts what fault was published with what evidence; the reciprocal monitor test replays published backup faults as classifier input.
    • Members' ledger / audit family (ADR 0078) → the run ledger and audit entries (attribution, re-derivability, idempotent re-runs never duplicating a snapshot).
    • The S13 prototype's Garage clanService reconciler driving (spikes/S13-clan-orchestration/) — the substrate backup verbs ride on.
  • Non-gating real-lab backups smoke (fake-drift insurance, explicitly not an acceptance gate): on the clan-lab fleet with a real dataset — confirm a policy → a real scheduled run replicates to a second node and verifies → force a target failure and observe the coverage drop raised via monitoring → run a real restore end to end. Mirrors the founding/device-add/provisioning/monitoring/members smokes; catches fake-vs-real drift in the port verbs and target inventory without gating acceptance.

Out of Scope

  • Member self-service restore — restore is an operator act in v1; members cannot restore their own data.
  • Snapshot pinning — keeping a chosen snapshot beyond the retention window on purpose is deferred; retention is uniform per policy (last good always kept, DDR 0083, is the only exception).
  • Window-aware / maintenance-window scheduling — the drafted schedule is fixed defaults (nightly 02:00), not derived from any measured community rhythm; a maintenance-window-aware schedule is a later refinement (DDR 0085).
  • Throttling / bandwidth shaping of runs and replication.
  • Backups-side notification — no second alert channel; monitoring owns classification and delivery (ADR 0081).
  • Archive deletion / retention of departed-member data by backups — an archived member's data stays inside its service's dataset and stays covered (ADR 0075); backups add no special case.
  • Filesystem-level generic backup of service directories (rejected — produces inconsistent copies, no meaningful verify-sample, no quiesce; ADR 0080).
  • A run/coverage database as durable state (rejected — a circular dependency in the worst hour; ADR 0082).

Further Notes

Cross-feature edges for the slice-map (Phase 2):

  • provisioning — a service that failed its health check contributes no coverage anywhere (ADR 0061/0079); service datasets appear on the overview as provisioning deploys them; provisioning's removal path already warns when a removal drops a dataset's last copy (ADR 0060 LOSES) — this feature covers every other way a target disappears.
  • every catalogue port — the contract grows a dataset declaration + four-part backup contract (snapshot / restore-with-quiesce / verify-sample), joining the ADR 0062 parts (daemon, reconciler, health check, ingress, disable-credentials, offboard fates, role mappings). Growing the catalogue never edits backup code.
  • members — the Identity dataset (kanidm store) must be in the recommended default policy from day one (ADR 0078); an archived member's data stays inside its service's dataset and stays covered (ADR 0075).
  • monitoring — bidirectionally specified: backup writes fault/coverage state with evidence strings; monitor classifies, raises, and notifies (ADR 0081). The overview and monitoring's alerts render the same record.
  • rescue — the Tier-3 rebuild consumes backups' offsite snapshots + kit-held keys (ADR 0082); recovery drives the ladder — backups' obligation is that every artifact in it exists with the rebuild-from-nothing properties.
  • shell — the Backups tab mounts in the dashboard frame; the overview's coverage feeds shell's Overview coverage headline; the audit drill-in terminates in shell's logs viewer (ADR 0027).
  • device-add — the single-node floor's "Add a device" cross-link lands in device-add's flow (DDR 0085).
  • founding — the crown-jewel secret store seeded at founding (ADR 0044) is where backup keys live; the recovery kit's value now includes "reads your offsite backups" (ADR 0082).

Carried needs_human_decision:

  • Partner-community offsite pairing — the mechanism and trust model for a partner community holding another's ciphertext offsite (the sovereignty stance makes it safe; the pairing/handshake is undecided).
  • Whether Matou brokers an offsite target — a Matou-run offsite endpoint as a first-class recommended target (vs. operators bringing their own S3-compatible storage or partner site).
  • Deferred refinements: member self-service restore, snapshot pinning, window-aware scheduling, and run/replication throttling — decide at or before the slice-map.

Labelled no-triage (the #17/#18/#19 precedent): the live swarm must not pick this up before the Phase-2 slice-map orders the DAG.

## Parent Wayfinder map: #7 (OurCloud v1 program scope — Phase 0). Backups' definition and boundary rulings were locked on #9 (2026-07-21); this child spec consumes the backups grill and wireframe set (2026-07-24, run in auto-accept mode at Ben's instruction — the P4b/monitoring precedent — with **both gates signed off by Ben on 2026-07-24**): **ADRs 0079–0082** (engineering) + **DDRs 0083–0085** (design), the rebuilt `docs/ux/flows/p7-backups.mermaid` (11 screens), and the confirmed wireframe set in `docs/ux/wireframes/p7-backups/` (approved in-browser 2026-07-24). ## Problem Statement A community's data — its files, chats, photos, git, and the people-and-access truth in kanidm — must survive a dead disk, a lost node, a fat-fingered deletion, or the whole site burning down, and it must survive it *without* anyone running "backup administration." The operator (low-skill, low-time, the P1 persona) needs to see what is protected and where the gaps are, get real coverage without designing a backup plan from scratch, trust that a "backup" is actually restorable rather than a green light over an unverified copy, bring data back when something goes wrong, and — in the worst hour — rebuild from nothing without any surviving infrastructure to consult. The most dangerous backup system is one that quietly stops running and stays green; today none of this exists, and the moment founding ends the **Identity dataset already exists and is unprotected** (ADR 0078). ## Solution The Backups tab (in shell's dashboard frame). Coverage exists before the operator does anything (DDR 0085): every dataset appears by itself — Identity from founding, each service's datasets as provisioning deploys them (ADR 0080) — each honestly *not backed up yet*, with a **drafted recommended policy** (nightly 02:00, 30-day retention, targets recommended from fleet topology with zone spread) the operator reviews and confirms. Snapshots are **always encrypted** — stated as a fact, never a toggle (DDR 0085). A backup is not *good* until its **sampled restore test** passes; coverage counts **verified copies only** (CONTEXT: *Coverage*). A backup that didn't run is a **failure, not an absence** — a stale dataset is as loud as a failed run (DDR 0083). Backups own the substance and publish faults and coverage as state; **monitoring** classifies and notifies — backups never grow their own alert channel (ADR 0081). Restore is deliberate: in-place restore promotes to a **REPLACES** destructive confirm and takes a **pre-restore snapshot** to fall back to (DDR 0084). Export is the sovereignty valve — the community can take its data and go, dataset by dataset (DDR 0084). And every artifact is shaped so that after a total loss, the recovery kit's keys decrypt ciphertext-only offsite snapshots the config repo names — **no step consults infrastructure that burned down** (ADR 0082). ## User Stories **The overview and first run** 1. As an Operator, I want the Backups overview to show a coverage map of every dataset, so that I can see at a glance what is protected and where the gaps are. *(P7-S1)* - **Given** datasets exist with backup policies, **When** I open Backups, **Then** each row shows the dataset, its **verified copies** count, whether it has an **offsite** copy, and its **last good** moment — counting verified snapshot copies only, never live replicas and never a copy on a gone target. 2. As an Operator, I want the overview to name gaps proactively rather than making me hunt for them, so that degraded redundancy is loud, not buried in small print. *(P7-S1, CONTEXT: Coverage)* - **Given** a dataset with a single copy, or no offsite anywhere, or a stale run, **When** I view the coverage map, **Then** the gap is named as a state on the row (single copy / no offsite / stale), never a dated "last good: 9 days ago" timestamp standing in for a fault. 3. As an Operator, I want the first visit to Backups to show every dataset that exists rather than an empty screen, so that the surface is never a dead end and my unprotected data is visible from day one. *(P7-S1x, DDR 0085)* - **Given** a freshly founded community that has confirmed no policy yet, **When** I open Backups, **Then** every dataset that exists is listed — Identity present from founding, each service's datasets as provisioned — each shown honestly **not backed up yet**, with the drafted recommended policy offered to review and confirm. 4. As an Operator, I want datasets to appear by themselves as services deploy, so that I never create or register a dataset by hand. *(P7-S1/S1x, ADR 0080)* - **Given** a catalogue service is provisioned, **When** I next view Backups, **Then** its declared dataset(s) appear as rows automatically from the port's dataset contract, with no operator action to add them. 5. As an Operator on a just-founded single-node fleet, I want the honest single-node floor stated plainly, so that I am never shown fake green from a same-node copy. *(P7-S1x, DDR 0085)* - **Given** the fleet is one gateway with no second node, **When** I view first-run Backups, **Then** it states that **no on-fleet target can give real coverage until a second device joins — an offsite target is the only real coverage**, offered right there beside an "Add a device" cross-link, and no same-node copy is ever counted as coverage. **Policy** 6. As an Operator, I want to confirm the drafted recommended policy in one act, so that I get real coverage without designing a backup plan from scratch. *(P7-S1x → S2, DDR 0085)* - **Given** the drafted policy (nightly 02:00, 30-day retention, recommended targets), **When** I review and confirm it, **Then** it becomes the dataset's confirmed backup policy and scheduled runs begin; confirming is my act (the system recommends, the operator confirms — advice never veto). 7. As an Operator, I want target recommendations to come with their reasons and spread across zones, so that I understand why each target was picked and my copies aren't all in one place. *(P7-S2, ADR 0079/DDR 0085)* - **Given** I open the policy screen, **When** the system recommends targets, **Then** it draws them from fleet topology with **zone spread**, shows each target's reason, and recommends both a cross-device and an offsite target where the fleet allows. 8. As an Operator, I want encryption stated as an always-on fact rather than offered as a choice, so that I can never accidentally hand a partner community or S3 provider readable member data. *(P7-S2, DDR 0085/ADR 0082)* - **Given** the policy screen, **Then** it shows **"Encrypted — always"** as a fact with no toggle; snapshots are encrypted with keys held in the community's crown-jewel secret store, so offsite holders ever only hold ciphertext. 9. As an Operator, I want an intermittent node never used as a dataset's only copy, so that a backup is never asleep when the disaster comes. *(P7-S2, DDR 0085)* - **Given** target recommendation includes an *intermittent*-tagged helper, **Then** it is offered only as an *additional* copy with its candid status shown, never as a dataset's sole target. 10. As an Operator, I want to edit a dataset's frequency, retention, and targets, so that the defaults are a starting point, not a cage. *(P7-S2, DDR 0085)* - **Given** a confirmed policy, **When** I change frequency, retention window, or targets, **Then** the change is saved to the policy (homed in the config repo) and takes effect on the next scheduled run. **Runs & verification** 11. As an Operator, I want scheduled runs to snapshot, replicate, and verify without me, so that recoverability doesn't depend on my laptop being awake. *(P7-S2 → S3, ADR 0079)* - **Given** a confirmed policy, **When** a scheduled run fires, **Then** it snapshots the dataset, replicates to each target, and **verifies by sampled restore test**, running fleet-side with every browser closed and the operator app off. 12. As an Operator, I want verification to promote a snapshot to "last good" and refresh coverage, so that the overview only ever counts copies that are genuinely restorable. *(P7-S3 → S1, CONTEXT: Sampled restore test)* - **Given** a run's snapshot, **When** its sampled restore test passes, **Then** it is promoted to the dataset's **last good** and counted in coverage; **When** it fails verification, **Then** it counts nowhere and the failure publishes a fault. 13. As an Operator, I want a run's outcome to be per target — keep what verified, name what didn't, so that one failed target never voids a run's good copies. *(P7-S3 → S3x, DDR 0083)* - **Given** a run replicating to several targets where one fails mid-run, **When** the run completes, **Then** the copies that verified are kept and counted, the failed target is named and its outcome retryable (per-target steps and outcome shown), and a copy that has not passed its sampled restore test counts nowhere. 14. As an Operator, I want retention to never prune a dataset's last good snapshot, so that a short window can never leave a dataset with nothing. *(DDR 0083)* - **Given** any retention window however short, **When** retention prunes old snapshots, **Then** the most recent verified snapshot is always kept until a newer one verifies. **Faults, staleness, and gone targets (through monitoring)** 15. As an Operator, I want a failed run or failed verification to alert me through monitoring, so that I never rely on spotting a silent red row myself. *(P7-S3x → P5-S2, ADR 0081)* - **Given** a run fails to write to a target, or a snapshot fails its sampled restore test, **When** the fault occurs, **Then** `backup` publishes the fault as control-plane state with plain-language evidence, and **monitoring** classifies it (critical) and notifies — backups never set a severity or touch the notifier. 16. As an Operator, I want a backup that didn't run treated as a failure, so that a stopped scheduler can never stay green. *(P7-S1 → P5-S2, DDR 0083)* - **Given** a dataset's scheduled run has not completed by the time the next is due (nightly: stale by the second 02:00, one missed cycle with no grace), **When** staleness is detected, **Then** the dataset shows **stale** as a loud state on the coverage map and publishes a critical fault through monitoring — computed from policy and clock against the target inventories, not from the scheduler's belief that it ran. 17. As an Operator, I want a target that goes away to drop its copies out of coverage at once, so that coverage I cannot actually reach is never counted. *(P7-S1 → P5-S2, DDR 0083)* - **Given** a target becomes known gone (a node removed in provisioning, an offsite endpoint whose credentials died), **When** the fleet learns it is gone, **Then** every copy it held leaves the coverage map immediately (down to single copy → warning, or no copies → critical when it was the last), and a fault alerts through monitoring. 18. As an Operator, I want acting on a monitoring diagnosis to land me where I can fix it, so that an alert leads straight to the closing action. *(P5-S2 → S2 / S2x, ADR 0081)* - **Given** I act on a backup fault's plain-language diagnosis, **When** the diagnosis is a general gap, **Then** I land on the policy screen to close it or retry; **When** the diagnosis names a gone target, **Then** I land on the policy's **gone-target** state with the dead target named and a replace affordance. 19. As an Operator, I want to replace a gone target and have the next run rebuild the lost copies, so that recovering from a dead target is one choice, not a rebuild-by-hand. *(P7-S2x → S3, DDR 0083)* - **Given** the gone-target state, **When** I pick a replacement target, **Then** the next scheduled run rebuilds the lost copies onto it and coverage recovers. **Restore** 20. As an Operator, I want the restore moment picker to offer verified snapshots only, so that I never gamble current data on an unproven copy. *(P7-S1 → S4, DDR 0084)* - **Given** I open Restore for a dataset, **When** I pick a moment, **Then** only snapshots that passed their sampled restore test are offered. 21. As an Operator, I want an in-place restore to promote to a REPLACES confirm stated in my community's own terms, so that I know exactly what I'm destroying before I do it. *(P7-S4 → S4x, DDR 0084)* - **Given** I choose to restore **in place** (replacing current data), **When** I proceed, **Then** a destructive confirm (trigger word **REPLACES**, beside ERASES and LOSES) names what is destroyed — e.g. "Replaces Files & documents on rimu with the snapshot from yesterday 02:00 — everything members added or changed since then will be gone" — with action `Replace & restore`, and states headroom needs when space is tight. 22. As an Operator, I want an in-place restore to take a pre-restore snapshot first, so that a restore that goes wrong can be undone. *(P7-S4x → S5, DDR 0084)* - **Given** I confirm Replace & restore, **When** the restore begins, **Then** the engine first snapshots the current data (outside the retention schedule, kept until the restore verifies), then quiesces the service on its port's terms (pause → replace → resume → verify) and runs the restore, logged. 23. As an Operator, I want side-by-side restore to an alternate device to stay a plain action, so that a non-destructive "let me look first" doesn't nag me with a confirm. *(P7-S4 → S5, DDR 0084)* - **Given** I choose to restore to an **alternate device**, **When** I proceed, **Then** nothing is overwritten, the restore runs and is logged with the ordinary Restore action (no destructive confirm) — the honest recommendation for "I'm not sure which moment I need." 24. As an Operator, I want a restore verified before it is called done, so that a half-applied restore is never reported as success. *(P7-S5 → S1, DDR 0084)* - **Given** a restore is running, **When** the restored data passes the dataset's own verify-sample, **Then** the restore is called done and the overview refreshes; a restore ends at *verify*, like a run. 25. As an Operator, I want a restore that fails partway to fall back to the pre-restore snapshot, so that the service comes back on the data it had and nothing is left half-applied. *(P7-S5 → S5x, DDR 0084)* - **Given** an in-place restore fails partway, **When** the failure occurs, **Then** the service is restored from the pre-restore snapshot, the failure is named and retryable, and nothing half-applied is called done. 26. As an Operator, I want to retry a failed restore, so that a transient failure doesn't leave me stuck. *(P7-S5x → S4, DDR 0084)* - **Given** a restore that failed partway, **When** I retry, **Then** I can restore from the same snapshot or pick another verified moment. **Export** 27. As an Operator, I want to export a portable copy of a dataset out of OurCloud, so that the community can take its data and go, dataset by dataset, with no one's permission. *(P7-S1 → S6, DDR 0084)* - **Given** I choose Export for a dataset, **When** I run it, **Then** a **fresh snapshot** is taken, packaged, and downloaded from the dashboard as an archive — the sovereignty valve. 28. As an Operator, I want export to change nothing on the fleet but still be logged, so that taking data out is safe yet visible. *(P7-S6 → S1, DDR 0084/ADR 0027)* - **Given** an export runs, **Then** it touches no service data and no service is confirmed or changed, but the export is logged and audit-visible like every operation (a copy of community data leaving the fleet). **Recoverability and audit (the whole point)** 29. As an Operator, I want offsite copies to be ciphertext-only and readable in a rebuild-from-nothing, so that a total loss is genuinely recoverable and my offsite host can never read my data. *(ADR 0082)* - **Given** a total loss, **When** recovery runs (rescue drives the ladder), **Then** the recovery kit / combined shares yield the crown jewels → the config repo comes back → the restored policy names the offsite target → the target's self-describing inventory lists the snapshots → the crown-jewel keys decrypt them → every dataset restores, **with no step consulting infrastructure that burned down**. 30. As an Operator, I want run history and coverage to be re-derivable rather than durable, so that losing the gateway never means losing my backups' truth. *(ADR 0082)* - **Given** the gateway is lost, **When** it is rebuilt, **Then** the run ledger and coverage map are recomputed from policy (config repo) + target inventories (targets) + per-service health — "last good" and verification results travel in the self-describing target inventory, not a gateway-local table. 31. As an Operator, I want a failed service to contribute no backup coverage anywhere, so that a broken service can never look protected. *(ADR 0079/0061)* - **Given** a service that failed its health check, **Then** its dataset's target contributes no coverage, consistent with provisioning's "a failed service claims no coverage" invariant. 32. As an Operator, I want every backups operation audit-logged with drill-in, so that runs, restores, exports, and policy changes are all accountable. *(ADR 0027)* - **Given** any backups action (policy confirm/edit, scheduled run, restore incl. REPLACES, export, target replace), **Then** a structured entry lands in the standing logging pipeline attributed to the acting operator (or to the scheduler for automatic runs), drillable from the overview. ## Implementation Decisions - **One orchestrator, control-plane-hosted (ADR 0079).** The `backup` Go package lives in the control plane on the gateway, and only there — it schedules and executes runs (snapshot → replicate → verify), computes coverage and staleness, publishes backup faults for monitoring, and drives restores and exports. The Vue dashboard's Backups tab is thin UI over it; the operator app runs none of this logic. Placement decided on backups' own merits: runs are a standing scheduled duty of the fleet that must fire with every browser closed (ADR 0011); everything backups touches is fleet-side; a restore runs server-side so a closed browser interrupts nothing (the ADR 0058 property). Restore-as-disaster-tooling stays *rescue's* territory — while the control plane is up, backups belong to it; when it is down, a Tier-3 rebuild consumes backups' **artifacts** (ADR 0082), never its running engine. - **Datasets are port-declared; the backup contract is part of a port (ADR 0080).** The engine knows nothing about chat, files, photos, or people. Each catalogue port declares its dataset(s) and ships a four-part backup contract: the **dataset** (name, which service instance, where it lives), a **snapshot verb** (consistent point-in-time copy; consistency is the port's promise), a **restore verb** (including the **quiesce** behaviour an in-place restore needs), and a **verify-sample verb** (what a sampled restore test checks for this dataset). These ride the reconciler contract `AttachService` already admits (the ADR 0062 parts pattern) — **no `clan` seam amendment**. **Identity is the one dataset with no catalogue port**: kanidm is control-plane infrastructure, so the control plane itself ships Identity's backup contract (same shape, built in), present from the moment founding ends. - **Backups publish faults as state; monitoring classifies and notifies (ADR 0081).** `backup` writes fault conditions (run failed, verification failed, stale, coverage gap) and coverage as control-plane state with plain-language evidence strings; `monitor` reads that state exactly as it reads per-service health (ADR 0070 already lists coverage/HA gaps among the classifier's inputs). `backup` never touches the `Notifier`, never sets a severity, never decides what the operator is told. The overview and monitoring's alerts render the same underlying record — they cannot disagree. - **State homes by the sovereignty test, plus one test only backups faces — the artifacts must survive the disaster they exist for (ADR 0082).** Backup **policy** → the config repo (versioned; the operator app's replica means Tier-1 rescue already holds the arrangements). **Snapshots** → the targets, and the snapshots ARE the truth: each target holds a **self-describing inventory** (datasets, moments, verification results) so no database is required to read a target. **Run history and coverage** → runtime projections, re-derivable from policy + target inventories + per-service health. **Backup encryption keys** → the crown-jewel secret store (ADR 0044), deliberately not derivable from anything on a target — offsite holds ciphertext it can never read. - **A backup that didn't run is a failure, not an absence — and run outcomes are per target (DDR 0083).** Stale = one missed cycle, **no grace** (the staleness rule is an agent-invented number Ben kept at sign-off). Per-target outcomes keep what verified and name what didn't (ADR 0061's discipline applied to runs); a copy that hasn't passed its sampled restore test counts nowhere. A gone target's copies leave coverage at once. Retention never prunes the last good snapshot. - **Restore is deliberate (DDR 0084).** In-place restore promotes to a **REPLACES** destructive confirm (the third word beside ERASES and LOSES — ADR 0060 family), offering **verified snapshots only**, taking a **pre-restore snapshot** to fall back to on partial failure. Side-by-side (alternate device) stays a plain action. **Export** is plain but logged — a fresh snapshot packaged and downloaded (homed in backups per ticket #9); the sovereignty valve. (The REPLACES trigger and pre-restore snapshot are agent-invented machinery Ben kept at sign-off.) - **Coverage exists before the operator does anything (DDR 0085).** Datasets appear by themselves from the port contracts; the recommended policy is **drafted, not applied** (nightly 02:00, 30-day retention, zone-spread targets — the numbers are system defaults, editable, agent calls Ben kept at sign-off); **encryption is always on**, stated never offered; the **single-node floor** is stated honestly (offsite is the only real coverage until a second device joins); an **intermittent node is never the only copy**. - **No new seam amendment.** Policy commits ride the existing `Config` hatch; port verbs ride the reconciler contracts `AttachService` already admits (ADR 0080); faults/coverage are control-plane-internal state `monitor` reads (ADR 0081). After monitoring, backups is the second Phase-1 feature to leave all three confirmed seams untouched. The repo skeleton (ADR 0040) gains a `backup` package built into the control plane only. - **Wire/API contract.** Shared Go types are the schema (ADR 0037); the dashboard consumes `backup` through the OpenAPI-specced control-plane API. Architecture diagram 02 gains the `backup` box; diagram 12 gains the Tier-3 rebuild-from-offsite note (ADR 0042, done at grill time). ## Testing Decisions - **What makes a good test here:** drive the `backup` orchestrator through its public interface and assert externally visible outcomes — coverage and staleness computations, per-target run outcomes, the fault/coverage state published for monitoring (what fault, with what evidence — never how it is notified), restore-ladder state transitions, and the calls made to the fake port verbs — never internals. A per-target partial failure is a successful run with a named failed target, not an error. A stale dataset is a computed state, not a missing record. A restore ends at *verify*. - **The single seam (re-confirmed by Ben — the seam gate sign-off of 2026-07-24 stands as the seam confirmation; no fresh live confirmation is claimed):** the `backup` orchestrator driven headlessly in-process against fakes — a **fake clock** (schedules, one-missed-cycle staleness, retention windows, "last good three days ago"); **fake port backup contracts** (per-dataset snapshot / restore / verify-sample verbs that succeed, fail, or hang, including the quiesce an in-place restore relies on); **fake targets** (node and offsite) that accept, refuse, or vanish (per-target partial outcomes and the target-gone state); a **fake fleet-state provider** (topology and zones for zone-spread recommendation, the *intermittent* tag, and per-service health so a failed service contributes no coverage); an **in-memory fault/coverage state** read the way `monitor` will read it; and the config-repo commit path faked as an in-memory policy store. Above the seam nothing (Vue renders, does not decide); below, one thin HTTP round-trip test against the real control-plane binary, mirroring provisioning's and monitoring's. - **Prior art to copy:** - Provisioning's and monitoring's control-plane orchestrator-as-seam and fake harness (ADRs 0058/0069), including the **fake-clock scheduling discipline** from `monitor` → schedules, staleness, retention, and "last good N days ago". - Provisioning's **per-service partial-failure test family** (ADR 0061) → the shape of per-target partial runs (keep what verified, name what didn't, failed target retryable, others unaffected). - Monitoring's **classifier-input family** (ADR 0070) → `backup`'s harness asserts *what fault was published with what evidence*; the reciprocal `monitor` test replays published backup faults as classifier input. - Members' **ledger / audit family** (ADR 0078) → the run ledger and audit entries (attribution, re-derivability, idempotent re-runs never duplicating a snapshot). - The S13 prototype's Garage clanService reconciler driving (`spikes/S13-clan-orchestration/`) — the substrate backup verbs ride on. - **Non-gating real-lab backups smoke (fake-drift insurance, explicitly not an acceptance gate):** on the clan-lab fleet with a real dataset — confirm a policy → a real scheduled run replicates to a second node and **verifies** → force a target failure and observe the **coverage drop raised via monitoring** → run a **real restore** end to end. Mirrors the founding/device-add/provisioning/monitoring/members smokes; catches fake-vs-real drift in the port verbs and target inventory without gating acceptance. ## Out of Scope - **Member self-service restore** — restore is an operator act in v1; members cannot restore their own data. - **Snapshot pinning** — keeping a chosen snapshot beyond the retention window on purpose is deferred; retention is uniform per policy (last good always kept, DDR 0083, is the only exception). - **Window-aware / maintenance-window scheduling** — the drafted schedule is fixed defaults (nightly 02:00), not derived from any measured community rhythm; a maintenance-window-aware schedule is a later refinement (DDR 0085). - **Throttling / bandwidth shaping** of runs and replication. - **Backups-side notification** — no second alert channel; monitoring owns classification and delivery (ADR 0081). - **Archive deletion / retention of departed-member data by backups** — an archived member's data stays inside its service's dataset and stays covered (ADR 0075); backups add no special case. - **Filesystem-level generic backup** of service directories (rejected — produces inconsistent copies, no meaningful verify-sample, no quiesce; ADR 0080). - **A run/coverage database as durable state** (rejected — a circular dependency in the worst hour; ADR 0082). ## Further Notes **Cross-feature edges for the slice-map (Phase 2):** - **provisioning** — a service that failed its health check contributes **no coverage** anywhere (ADR 0061/0079); service datasets appear on the overview as provisioning deploys them; provisioning's removal path already warns when a removal drops a dataset's last copy (ADR 0060 LOSES) — this feature covers every *other* way a target disappears. - **every catalogue port** — the contract grows a **dataset declaration + four-part backup contract** (snapshot / restore-with-quiesce / verify-sample), joining the ADR 0062 parts (daemon, reconciler, health check, ingress, disable-credentials, offboard fates, role mappings). Growing the catalogue never edits `backup` code. - **members** — the **Identity dataset** (kanidm store) must be in the recommended default policy from day one (ADR 0078); an archived member's data stays inside its service's dataset and stays covered (ADR 0075). - **monitoring** — bidirectionally specified: `backup` writes fault/coverage state with evidence strings; `monitor` classifies, raises, and notifies (ADR 0081). The overview and monitoring's alerts render the same record. - **rescue** — the **Tier-3 rebuild** consumes backups' offsite snapshots + kit-held keys (ADR 0082); recovery drives the ladder — backups' obligation is that every artifact in it exists with the rebuild-from-nothing properties. - **shell** — the Backups tab mounts in the dashboard frame; the overview's coverage feeds shell's Overview coverage headline; the audit drill-in terminates in shell's logs viewer (ADR 0027). - **device-add** — the single-node floor's **"Add a device"** cross-link lands in device-add's flow (DDR 0085). - **founding** — the crown-jewel secret store seeded at founding (ADR 0044) is where backup keys live; the recovery kit's value now includes "reads your offsite backups" (ADR 0082). **Carried `needs_human_decision`:** - **Partner-community offsite pairing** — the mechanism and trust model for a partner community holding another's ciphertext offsite (the sovereignty stance makes it *safe*; the pairing/handshake is undecided). - **Whether Matou brokers an offsite target** — a Matou-run offsite endpoint as a first-class recommended target (vs. operators bringing their own S3-compatible storage or partner site). - **Deferred refinements:** member self-service restore, snapshot pinning, window-aware scheduling, and run/replication throttling — decide at or before the slice-map. **Labelled `no-triage`** (the #17/#18/#19 precedent): the live swarm must not pick this up before the Phase-2 slice-map orders the DAG.
Author
Owner

Ruled by Ben 2026-08-27: all slices of this spec are done for v1; the remaining scope (#310/#353 for backups; #306/#307 for rescue) is a FUTURE DRIVE. Spec stays open, labelled deferred, as the seed of that drive.

Ruled by Ben 2026-08-27: all slices of this spec are done for v1; the remaining scope (#310/#353 for backups; #306/#307 for rescue) is a FUTURE DRIVE. Spec stays open, labelled `deferred`, as the seed of that drive.
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#20
No description provided.