Work on scoping out what has already been done on backups in the IDSS repo — covering services, machines and the gateway #1386
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#1386
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Work on scoping out what has already been done on backups in the IDSS repo — covering services, machines and the gateway
Committed by Ben in meeting
meeting-20260909-121038at 00:00:25 (2026-09-09).Transcript:
/home/ian/Recordings/meeting-20260909-121038/transcript.md— private, not synced.Opened by
meeting-applyonly because the box was ticked by hand in the session'sreview.md.Ruled by agent under ADR 0174 — veto anytime.
Ruling: this ticket becomes ticket 1 of the two Ben described — the research/scoping document surveying what already exists for backups (services, machines, gateway). Labelled
ready-for-agent+enhancement. The human-design half Ben named ("review the scoping document, which requires human design, then a wayfinder + grilling session to identify the implementation steps") is split out as a follow-onready-for-humanticket, blocked on this one.Why this is a two-way door: the deliverable is a single Markdown survey doc under
docs/research/. It is fully revertible (edit or delete one file — no code, config, or infra changes) and provable (Ben reads it against the sources it cites; the accuracy of a "what exists today" survey is checkable against the tree). It is not on the one-way-door list — no credentials, no security widening, no member-facing trust surface, no data destruction, no spend. The genuine human-design step (deciding what to build next) is preserved on the follow-on ticket, so the irreversible judgement still stops on Ben; only the read-and-write-a-doc legwork moves at agent speed.What proves it: the survey is already reproducible read-only work — a triage sweep of the tree turned up the full inventory below in one pass without touching anything.
Agent brief — backups scoping/survey document
Goal. Produce one consolidated Markdown document that scopes what has already been done on backups in this repo, across the three targets the issue names: services, machines, and the gateway. Descriptive only — this doc surveys the current state; it does not design new work (that is the follow-on human-design ticket).
Deliverable. A new file
docs/research/backups-current-state.md(dated, in thedocs/research/house style). Structure it around: (1) the model — how backups are framed in this codebase; (2) per-target coverage — services, machines/nodes, gateway; (3) what is built vs. resting vs. absent; (4) the design record (ADRs/DDRs) behind it; (5) open threads / gaps a reader would want to know before planning implementation. Cite exact paths and ADR/spec numbers throughout so Ben can verify each claim.Reading anchors (start here).
docs/architecture/13-backup-data-flow.md(the full pipeline + "Decisions encoded" index) anddocs/architecture/12-tiered-recovery.md(recovery, distinct from restore — relevant to the machines/gateway angle).backupseam);docs/slices/backups.yaml(child slices #82–#94, #130 — alldone);docs/slices/engine-adapters.yaml(#168, #170);docs/slices/rescue.yaml;docs/slices/idip.yaml(#767 story 32, restore #787).internal/backup/backup.go(orchestrator),internal/backupengine/backupengine.go(engine),internal/controlapi/backups.go(HTTP seam),internal/keria/backup.go(identity dataset),control-plane/cmd/control-plane/backup_wiring.go(composition root),control-plane/cmd/smoke-backups/main.go(clan-lab smoke #177). Dashboard:dashboard/src/lib/backups.ts+dashboard/src/components/backups/(11 screens). App:app/src/lib/noBackupReissue.ts(no-backup rung).docs/ux/flows/p7-backups.mermaid+docs/ux/wireframes/p7-backups/(11 screens).Key framing to get right (verify, don't just repeat). The model is deliberately per-dataset, not per-machine: services are the backed-up units (each ships snapshot/verify/restore/quiesce verbs via its port, ADR 0080); machines/nodes appear only as targets — whole-machine loss is handled by recovery (ADR 0006/0091), a distinct pipeline, not by P7 backups; the gateway is where the orchestrator + engine + Identity (kanidm) dataset live, and hosts the offsite-target contract and the config repo where policy state homes (ADR 0082). Make the services/machines/gateway boundary — and the backup-vs-recovery vs. Garage-redundancy distinction — explicit, since that is exactly what a reader scoping "backups for machines and the gateway" will otherwise get wrong.
Scope guard. No implementation, no new ADRs/DDRs, no code changes — a survey document only. Recommendations belong as a short "open threads / gaps" section framed as questions for the follow-on design session, not decisions. When the doc lands, it unblocks the follow-on human-design ticket.
Done when:
docs/research/backups-current-state.mdexists, every claim cites a path or ADR/spec number, and the three targets (services / machines / gateway) are each covered with what exists vs. what does not.swarm-claim host=matou-dev-server-01 run=21600
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #1386 — status
success✅ close-report gates passed — every claim verified against main; issue closed.
envelope