Skip to content

wake-daemon: tmux busy queues messages that never drain into the agent body (#594 residual) #219

Description

@servathadi

Symptom

Wake daemon logs success-shaped lines — tmux:athena busy (not at prompt) — queuing message for athena — for gate requests that never appear in the Cursor/Athena body. Sender believes delivered; receiver sees silence. Nothing errors.

Evidence (journalctl agent-wake-daemon, 2026-08-05)

All of these were logged as Wake signal + busy-queuing, and none woke the session until a human pasted the project-stream tip:

UTC request / tip
20:06:56 [request_id:5e1c8b32-…] #707 gate (this one eventually got through via soft-wake/other path)
20:18:17 [request_id:9a3f7c15-…] #707 RE-GATE
21:09:09 [request_id:4d8e2a76-…] #710 gate
21:26:34 HEAD MOVED on #710
21:30:25 status ping #710 green
22:00:26 STOP BEFORE YOU GATE #710 (merged/deployed)

Soft-wake log concurrently showed interactive session active (900s grace) — skip through 20:28Z, so neither path drained the queue into the body.

Impact

Diverse-gate requests sat undelivered while production merges proceeded on principal "go" without the second lens. Silent failure class: reported queued ≠ delivered.

Related

#211 (busy-retry), mumega-com#594, sos#193 deploy-path confusion. Athena diagnosis tip to Kasra 2026-08-05T21:59Z.

Suggested direction

Queue must have a drain with observable failure if undelivered past N minutes; "busy" must not be terminal success; Cursor chrome "stuck" must not forever look like a prompt-busy pane.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions