Repository navigation
Description
Original-derived Linear description
What happened
Twice in two days (per the maintainer, most recently 2026-09-14 08:49:58Z), a message the maintainer sent to coordinator from Mission Control's chat box pasted into coordinator's composer but never submitted. The text sat there unsubmitted until the maintainer opened tmux by hand and pressed Enter himself (~2-3 minutes later both times). coordinator's pane was genuinely idle at the time, not mid-turn, so this is not the known busy-pane queue/hold behaviour.
Root cause: MC's send path has no post-Enter verification at all
~/agents/bin/inbox-push (the CLI, used for every agent-to-agent DM) sends text and Enter as two separate tmux send-keys calls, then runs a whole "VERIFY (synchronous)" pass afterward: re-capture the pane, check whether a new turn actually started, and if the text is still sitting staged and unsubmitted, retry the Enter (with an identity check so it never presses Enter on someone else's unrelated typed text). This machinery exists because "tmux delivered the keystroke" and "the target app processed it as a submit" are two different claims, and the CLI's own comments document more than one prior incident where they diverged (a Codex paste-collapse, a Codex approval dialog swallowing the Enter as its confirm key).
Mission Control has a SEPARATE, parallel implementation for the maintainer's own sends: sendKeysToWindow in app/lib/tmux.server.ts (called via pushMessageToIdleAgent, which is what fires when the maintainer messages an agent from the MC chat box). It sends text, waits SEND_KEYS_ENTER_DELAY_MS (1000ms), sends Enter, and returns {ok: true} as soon as both tmux send-keys subprocess calls exit cleanly (runTmuxVoid, which only checks that execFileSync("tmux", ...) didn't throw). There is no capture-and-verify step after the Enter at all. runTmuxVoid confirms tmux accepted and delivered the keystroke to the pane's PTY; it has zero visibility into whether the target application (Claude Code) actually registered that Enter as a submit action. If Claude Code's own input handling was momentarily not listening for any reason at that exact ~1s-later moment, the tmux call still succeeds, sendKeysToWindow still returns {ok: true}, pushMessageToIdleAgent still returns {pushed: true}, and nothing anywhere records that the keystroke didn't functionally land. There is no pushed-unverified concept on this path at all, only a boolean.
Practically: I could not answer whether this specific send "reported pushed or pushed-unverified" because the question doesn't apply here, this send never went through inbox-push. It went through MC's own path, which would have reported success regardless.
A plausible trigger, not confirmed
coordinator's lead: every pane was showing a persistent "Update installed - Restart to update" indicator that morning (confirmed in a screenshot, rendered inline on the turn-completion summary line). A client-side re-render triggered by that notification landing in the same narrow window as the delayed Enter keystroke is a plausible way for the app to momentarily not process an incoming key event, which would explain why this clusters around an update rather than happening constantly. Not confirmed live; flagging as the lead worth checking first if this is reproduced.
Fix
Give sendKeysToWindow (or a wrapper around it used specifically by pushMessageToIdleAgent) the same verify-and-retry shape inbox-push already has and has already proven: after the Enter, re-capture the pane; if a new turn started, done; if the text is still sitting staged and it is still recognisably ours, retry the Enter once (bounded, with the same not-someone-else's-text guard the CLI uses); report a real tri-state result (delivered / delivered-unverified / send-failed) instead of a boolean, so a caller (and a human reading a log) can tell "definitely worked" from "keystrokes went out, unknown result" apart from "never sent."
Scope note
This is Mission Control core infrastructure (every Simon-to-agent send in the product goes through this path), so the actual fix is platform surgery and needs the maintainer's go-ahead on timing, not something to land unreviewed. Not blocking today. Surfaced 2026-09-14 while investigating coordinator's report of the second occurrence.
Origin
Migrated from Linear: INK-914. Original detail is retained apart from the disclosed privacy and rendering edits.
Current scope and qualifications
The account above is historical, not a fresh claim that every described defect still exists. Current Linear state: Backlog. Prior source review: partial; remaining checks or work:
- Require caller-visible and logged typed completion on actual persist-first chat send, distinguishing verified, unverified/pending and failed delivery without blind duplicate resend. Retain guarded single Enter retry and the maintainer timing gate.
Publication transfers tracking only. Original implementation/approval/freeze and acceptance gates remain; no live deployment, configuration, external messaging or provider spending is authorised.
Transfer edits
- Historical people/fleet prose is aliased; permitted source links and code/path references remain.
- Linear rich embeds and public punctuation are normalised where present.
Activity