spec: item 2 clarify ErrNoSession gap vs store.Away routing

The dispatcher already routes sev4-away → telegram. The gap is purely
the runtime ErrNoSession fallthrough in voicesink.go. Points agent at
the existing TODO, tells it to converge not duplicate.
This commit is contained in:
kami
2026-07-03 13:07:53 +02:00
parent 8331be18ab
commit 877136aa61
+7
View File
@@ -188,6 +188,13 @@ sev3 nudge lands on ntfy, sev4 on telegram-repeat-til-ack, sev12 drops
silently. Existing delivery test patterns in `internal/delivery/` show the
shape.
Note: the `store.Away` routing path is already built and tested
(`TestDispatchNudgeOpsHardAwayTelegramRepeatUntilAck` passes). The gap is
the **runtime** `ErrNoSession` path — when the dispatcher chose voice
(severity table said voice was available) but no session is live at push
time. `voicesink.go:62` has a TODO for this. Wire the fallthrough onto the
same routing table the Away path uses; converge, don't duplicate.
---
### 3. CalDAV poller (`cmd/mavcaldav`)