monitoring: tune-expected-pattern — alert-free pattern tune from S1x (#83 ruling) #144
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#144
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). Filed by the 2026-07-26 wireframe-vs-built rulings (origin ticket #83). Ruling: add the flow verb and build it — the flow now carries
S1x → S1 "tunes an intermittent device's expected pattern in place"(amended 2026-07-26,docs/ux/flows/p5-monitoring.mermaid).The p5-s1x wireframe offers "Tune kauri's expected pattern" on the expected-silence device — which by design raises no alert. The seam's only tune verb is
acknowledge(alertId, tune)(DDR 0071), so the built button routes throughopenAlertwiths.alertId!— a non-null assertion on an alert that doesn't exist for expected silence. The affordance is currently design-orphaned.What to build
An alert-free tune verb on the monitoring seam: Go side (
internal/monitor) accepts a pattern tune for a device with no raised alert; the classifier re-judges the device's silence against the new pattern (DDR 0071). Dashboard client gains the matching verb;DeviceGoneSilentScreen.vue's tune-pattern for expected-silence rows uses it (noalertId!assertion). The S4-acknowledge tune path for raised alerts is unchanged.Acceptance criteria
alertIdremains in the tune path.Blocked by
None.
Task manifest
Done in
da8615b(pushed tomain).Added an alert-free tune verb
Orchestrator.TunePattern(deviceID, tune)on themonitorseam (internal/monitor/respond.go): same DDR 0071 write-back as acknowledge but with no alert involved, refusing an unknown device withErrUnknownDevice. The silence classifier re-judges the device against the new pattern on the next read — a tune whose window does not cover the silence stays classified unexpected, never a silent green (SilenceView.CanTunenow set on the intermittent expected-silence/info branch).DeviceGoneSilentScreen.vuerenders the in-place tune (a quiet-window editor →tune-confirm-<device>) for expected-silence rows keyed by device, neveralertId— thes.alertId!assertion is gone from the tune path. A raised silence keeps see-the-alert → the unchanged S4 acknowledge-with-tune path.MonitoringClientgainstunePattern(deviceId, tune);ServicesSurfacewires it (no respond ladder for the alert-free tune).Acceptance:
TestSilence_TuneExpectedPattern_AlertFree+ surface test.nikaucase in the seam test.Acknowledgeuntouched; still reachable behind see-the-alert).alertIdassertion left in the tune path.Evidence: 439-test dashboard suite +
vue-tsc+eslintgreen locally. Go suites run undernix developon CI (Go toolchain absent in the swarm sandbox), so the new seam test is verified by CI.