Skip to content

no disposition observability for notifications (queued/surfaced/dropped + reason) #5596

Backlog

Description

@netwarm007

Build: 1.0.115.

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

  1. added
    area:agents
    area:plugins
    and removed on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:agentsarea:plugins

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions