monitoring: fix-didnt-hold — honest re-raise, never a false success #89
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.
Depends on
Reference
Matou/idss#89
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 spec: #18 (monitoring).
What to build
Honest degradation (P5-S4x, DDR 0072). A fix that was applied but did not hold
is reported as a re-raise, never a success: P5-S4x states the re-raise plainly
("Chat restarted — but went down again 2 min later. The advised fix didn't
hold") and never shows a success confirmation. It carries the failed-fix
evidence — what was tried, when, and the outcome — attached to the
re-diagnosis. The re-diagnosis grows more specific, naming the pattern ("crashed
on start 7× this week; restart failed to hold twice today"), and presents
escalate to rescue as the advised next rung, so a fix that keeps failing leads
somewhere instead of looping. When the operator escalates, monitoring hands off
to rescue (edge P5-S4x → P8-S1) with the failed-fix evidence attached, and
monitoring's job ends there.
This is a raised variant on the monitoring-owned alert state machine — a
fix-didn't-hold re-raise that records the attempted fix and the
escalating-specificity re-diagnosis — driven by the
monitororchestrator andverified at its seam with a fake clock (the "twice today / 7× this week"
specificity is time-dependent).
Acceptance criteria
Blocked by
Task manifest
Done in
858adf0(on main).Seam (
internal/monitor/reraise.go+ wiring inmonitor.go/respond.go): an applied fix whose alert resolved is watched for the system-definedFixHoldWindow; a recurrence inside it records the failedFixAttempt(what was tried, when, and the honest outcome — "healthy 14:06 → down 14:08") and flips the standing alert into the fix-didn't-hold state.RespondView.Reraisestates the re-raise plainly and never a success confirmation; no one-click fix is re-advised (Apply("")refuses) — escalate is the advised next rung and the ladder's rungs stay appliable (advice never veto, ADR 0015). The re-diagnosis carries escalating specificity on the fake-clock windows ("This keeps happening on rimu. Chat has gone down 7× this week, and a restart has failed to hold twice today…"). Escalating from S4x rides the sameRescueIntakehand-off (P5-S4x → P8-S1) withFailedFixes+Rediagnosisattached to theEscalation(additive; rescue's intake unchanged) — monitoring's job ends there. A recurrence past the hold window is honestly a fresh fault, and the S4x state clears with its condition.Dashboard:
FixDidntHoldScreen.vuerenders P5-S4x to the wireframe'sdata-field/data-actioncontract (reraise,fix-attempted,attempt-action,attempt-outcome,escalating-specificity;escalateadvised,reapply-config+open-logsreachable), mounted byServicesSurfacein S4's place whenever the seam's view carries the re-raise; a stale ✓-resolved banner is dropped on re-read.Evidence: 5 new seam tests in
internal/monitor/reraise_test.go(fake clan applies-then-recurs, fake clock drives the hold window and the 7×-this-week / twice-today counts, fake Notifier + rescue intake) and 8 Vue tests indashboard/tests/unit/monitoringFixDidntHold.test.ts. Fullgo build/vet/test ./...and dashboard vitest (325) + vue-tsc + eslint green. STATUS.md updated in the same commit.