backups × monitoring: fault-wiring — backup faults reach the classifier and route back (ADR 0081) #117
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#117
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?
Parent
Feature specs: #20 (backups) + #18 (monitoring). Follow-up filed by the 2026-07-26 review sweep (code-review Standards/Spec + design-verify Design axes over
6596977..9e946b7). Blocker: a cross-feature edge fell between twoout_of_scopeclauses — backups publishesFault{…}with evidence (internal/backup/run.go:210, stale + gone-target tested) but nothing consumesbackup.Faults();internal/monitor/monitor.go:134-136andstatus.go:298explicitly defer the edge to "backups' side", while #90 defers it to monitoring. The return path is also dead: RespondScreen emits noopen-gone-target-*/open-policy-*intents even though backups'onRoutehandler is built and tested.What to build
Monitor consumes
backup.Faults(), classifies (stale/gone-target = the severities the flow assigns), and notifies through the standing notifier; RespondScreen's diagnosis emits the routing intents backups already handles. Add this edge explicitly todocs/slices/(.mermaid+.yaml) so it never falls between clauses again — same commit.Acceptance criteria
Blocked by
None — both seams are closed; this is the wiring between them.
Task manifest
Done in
72a9e48(onorigin/main).The backups→monitoring fault edge is now live both directions (ADR 0081), the edge that had fallen between two
out_of_scopeclauses.Go — monitor consumes, classifies, notifies:
monitor.BackupsReadgainedFaults(); theTickaggregation loop classifies each published fault by rule — stale / verification / snapshot / run-failed = critical, gone target = warning (critical when it is the last copy,LastCopy) — and notifies through the standingNotifier. Backups set no severity and never deliver.originBackup; the notification builds the diagnosis from backups own evidence.RespondViewgainedRoute(RouteIntent);Respond()computes the backups drill-in —open-gone-target-<id>for a gone target,open-policy-<id>otherwise.TestBackupFaults_ClassifiedNotifiedAndRoutedBack(internal/monitor/monitor_test.go).Dashboard — the diagnosis routes back into backups:
RespondScreen.vuerenders afollow-diagnosisaffordance fromview.routeand emits it;ServicesSurface.vueforwards it up as a chromeDrillInIntent, and a serviceless backup fault deep-links to its respond ladder via a newdrillInAlertprop.dashboard/tests/unit/monitoringBackupFaultRouting.test.ts(5 tests) drives it end-to-end intoBackupsSurface.onRoute(gone-target → P7-S2x, open-policy → P7-S2) — backupsonRoutealready answered these intents (#90).Slice map — edge named explicitly:
docs/slices/monitoring.yamlslicebackups-fault-wiring;monitoring.mermaid+backups.mermaidboth draw the edge and itsopen-policy-*/open-gone-target-*return.Acceptance:
onRoutelands the owning screen.Verified: full Go suite +
go vetclean; 403 dashboard tests +vue-tsc+ eslint clean.