control-panel observability: backup replication matrix (sender → destination drill-down) #762
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.
Reference
Matou/idss#762
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?
Context
Filed from the 2026-08-24 comparison of the
matou-distributed-serversadmin dashboard(
roles/admin_dashboard/files/dashboard/, Quasar/Vue read-only observability panel for theansible-deployed fleet) against this repo's control panel. That dashboard is a working
prototype of the observability tier the IDSS control panel lacks: IDSS is strong on verbs
(provisioning, updates, members, rescue, brand kit) and thin on telemetry. Its styling is a
drifted fork of the same Matou visual language, so only the widget vocabulary and
mechanics transfer — all visuals re-encode as
--oc-*tokens per ADR 0122, and everysurface here flows through the design tier (grill → wireframe → DDR →
/to-spec) beforeimplementation.
Siblings: this ticket is one of six filed together under the
"control-panel observability" title prefix: #759, #760, #761, #763, #764.
Gap
The Backups tab (P7) has coverage map, policy, runs & verification, restore, and export —
but no cross-replication matrix: which sender replicates to which destinations, per-pair
last-snapshot recency, repo size, and reachability. P7-S3 shows runs per subject; the
sender→destination fan-out is invisible.
Prototype (matou-distributed-servers)
src/components/backups/BackupMatrix.vue— expandable matrix; parent row per sender(chevron, hostname, health LED
up/stale/down, last-run relative time,dest_ok/dest_reachable (dest_total), summed repo size) toggling a nested destinationstable (receiver peer, last snapshot, repo size, snapshot count); multi-open supported.
Adopt / adapt
this enriches the P7-S1/P7-S3 wireframes rather than minting a surface.
up/stale/down) maps cleanly onto the kit'shealthy/warning posture (the kit deliberately compiles no red;
staleanddownbothwear warning weights per the callout vocabulary).
stale-green cell.
Do not adopt
restic/ansible specifics (
dest_*env-derived topology); snake_case wire fields (IDSS wireis snake_case →
camelize()at thewire.tsboundary already).Route
grill-ux-with-docs(short — likely folds into a P7 wireframe amendment) → DDR →/to-spec.Design tier COMPLETE (commit
2a37ef8, 2026-08-24/25 parallel fan-out + fan-in review): DDRdocs/adr/0205-design-replication-matrix-standing-dataset-target-drilldown.md(accepted, agent-decided under ADR 0174 — async veto), flowdocs/ux/flows/p7-backups.mermaid, wireframes per the DDR; CONTEXT.md vocabulary merged. Open gates for Ben are recorded in the DDR's closing section — the cross-sibling headline is the D1 placement cluster (see DDRs 0204/0206). Relabelling needs-design → ready-for-session: next step is /to-spec for this feature (design-tier session run). Flow: p7-backups (P7-S7 + S1 amendment).CLAIMED by the interactive session (assignee = the claim) for the /to-spec fan-out — four sibling specs running in parallel on the #769 precedent. Runner: please skip; spec lands shortly.
Close report —
/to-specran; child spec is #793Ruled by agent under ADR 0174 — veto anytime.
What landed
control-panel observability child spec: backup replication matrix (P7-S7) — the standing dataset → target drill-down. Labelledno-triage(the standing child-spec label, #769/#791/#792 precedent — a spec is not an implementable slice).docs/ux/flows/p7-backups.mermaid's P7-S7 node and its three edges, and written against thedata-field/data-action/data-statuscontract inp7-s7-replication-matrix.htmland the amendedp7-s1-backups-overview.html. Ten groups: entry & placement · parent rows and grades · expansion mechanics · current pairs · ageing & stale · unreachable + the last-known discipline · gone targets · not-backed-up-yet & drafted targets · attention/failure/empty · the projection discipline.427f05b(STATUS.md updated in the same commit, per repo discipline).The shape of the ruling
This is the smallest delta of the six siblings and the arc's one true root. The Backups tab already owns the domain and is fully built over the
backuporchestrator (ADR 0079), so P7-S7 is a drill-down inside it: no seventh tab, no mount-table entry, no chrome wiring, no indicator tenant, no D1 exposure. It consumes nothing from #769 (DDR 0205 deliberately rejects the LED-dot primitive and mints no thresholds) and blocks none of #791/#792.The spec is written as a projection and enforces that mechanically: every figure derives from state the orchestrator already holds — confirmed policies, verified copies, the snapshot ledger, per-target run outcomes, fleet topology, ADR 0061's default-deny health bit — or from the self-describing target inventories ADR 0082 already builds. The read dials no target, runs no probe, fires no run and mutates nothing. Story group J tests exactly that, including a
Rederiveequivalence: the re-derived orchestrator answers the same per-pair verdicts as the live one, so a new surface cannot quietly break ADR 0082's rebuild-from-nothing promise.The one lever on the surface is inherited, not new —
retry this copyisTargetRetryClient.retryTarget, the same seam verb P7-S3's inline retry and P7-S3x already act over.Two things the design tier described that the tree does not have
Named as veto-open gates, not specced over:
len(cipher.Sealed)to check every target's headroom before it writes, logs it asbytes, and throws it away. The spec threads that same figure back onto the copy. This is the only change in the whole feature that touches a write path. A copy with no recorded size renders—with the reason stated — never0 B, never an estimate (ADR 0100). A veto retires slice 2 and the two size fields render permanently absent; every other story is untouched.DDR 0205's three own gates (G1 entry affordance, G2 the
ON TARGETSsum, G3 stale's pill weight) are specced against their proposed defaults. Every gate touches at most one slice, so the feature is fully sliceable now.Honesty discipline, made testable
An unreachable target's figures are labelled last known and excluded from both the parent's current count and its
ON TARGETSsum — never a stale-green cell. A gone target leaves counted coverage at once and its row routes to P7-S2x. A not-backed-up-yet dataset shows its drafted targets rather than a blank row (DDR 0085). The prototype'sdownsender grade does not exist here: a stopped schedule is stale (a failure, not an absence — DDR 0083 §1), and a device's own down-ness is monitoring's classification (ADR 0070/0081) — linked, never re-decided on a backups screen. The kit compiles no red; stale and unreachable both grade to the warning tone through the builtBackupsOverviewScreenmap, distinguished by copy.One element-contract ruling
The pair's
runs…action is dataset-scoped (open-runs-<id>), reusing the existingopenRunsDatasetIdparser. The wireframe depicts target-suffixed variants (open-runs-git-totara); those would be ambiguous for any dataset id containing a hyphen, and P7-S3 is a per-dataset log whose own per-target outcomes already name the target. A ✎ frame amendment normalises the depiction with the implementing slice (docs/ux/flows/p7-backups.mermaidis untouched — nothing here is a new state).On the 04:55 claim
The interactive session claimed this ticket for the parallel
/to-specfan-out and asked the runner to skip. Three hours later it had landed #769/#791/#792 and closed #759/#760/#761, but no #762 child spec existed and the ticket was stillready-for-session, so the runner launched this session onto it. Verified no duplicate spec existed immediately before filing #793. #763 is the one still owing its spec.Follow-on
#770 (the observability
/slice-mapfan-in) is now blocked by #763 alone.Ruled by agent under ADR 0174 — veto anytime.
Close report — the design-tier route is walked end to end
The ticket's route was
grill-ux-with-docs→/wireframe→ DDR →/to-spec. The first three landed in commit2a37ef8(design tier, DDR + flow + frames); this session ran the last one.Child spec #838 — labelled
enhancement+no-triage(the standing child-spec label, #17–#22 and #769 precedent). 18 stories in 5 groups; NO new seams (the ADR 0079 orchestrator seam grows one read-projection; retry rides the existing per-target client). Deliberately independent of #769's kit slice — can land first. Wrinkles ruled in the spec: canonical open-runs- intent (the frame's suffixed forms would mis-parse), gone-pair row owes a ✎ frame amendment at implementation.Acceptance criteria are Given/When/Then sourced from the flow's nodes/edges against the wireframes'
data-field/data-action/data-statuscontract, sodesign-verifycan check the shipped UI. The spec proceeds on the DDR's shipped defaults (ruled by agent under ADR 0174 — veto anytime); its Further Notes map exactly which stories each open gate's veto retires, so a veto stays a cheap edit.Closed in the spec's favour (the #388→#511 and #759→#769 precedent). Next: the
/slice-mapfan-in #770 unblocks when all four siblings close.Correction to the 16:17Z close report above: it was posted onto an already-closed ticket after an 11h session sleep — the canonical child spec is #793 (published by the session-runner at ~05:38Z after its claim-override note), already consumed by the slice-map (#770) and to-tickets. #838 is withdrawn as a race duplicate; disregard the 16:17Z report's spec reference. Unique findings from the duplicate draft are being transferred to #793.