You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
no disposition observability for notifications (queued/surfaced/dropped + reason) #5596
Repro / observation: long-lived sessions rely on background-task completion notifications to wake idle turns. Across a week of instrumented operation (1070 events journaled on one machine via our own hook, plus cross-machine ledger comparisons), every wake was accounted for — but historical incidents exist where a notification was marked seen by the runtime and never surfaced to the model turn (external symptom identical to a dead consumer; our forensic example involved a 20-minute gap that self-resolved, and a documented 43-minute class). See also #5508 (notification held 60s while another background task runs) and #5370 (agent output withheld until next user turn).
Actual: no API/hook/log exposes per-notification disposition (queued / surfaced-at / dropped-with-reason). External tooling can only infer liveness indirectly (heartbeat ledgers), which cannot distinguish "notification lost", "held by queue", or "turn consumed it without acting".
Expected: expose disposition: (a) include a monotonic notification id in hook payloads so ledgers can join send↔surface, (b) emit a NotificationDiscarded-style event (reason: queue-retention, session-state, etc.), (c) document retention semantics. This turns a class of "silent wedge" bug reports (incl. #5508/#5370/#4755) into measurable, joinable evidence for both users and the team.
Activity