+New cross-project mailbox tools shipped in agent-harness (commit 3cb7ff8e8, fork/local): `project_mailbox_peek` (read-only, lists unread inbound notes without consuming them) and `project_mailbox_drain` (synchronously drains unread notes without waiting for session.idle). This fixes a deadlock where sessions holding open todos never go idle, so the automatic idle-drain hook never fired and notes sat unread. Also folded in a previously-verified fix in packages/utils/src/prompt-async-gate/pending-tool-turn.ts bounding session.messages() queries to limit:10 to avoid full-history timeouts on large sessions. Use project_mailbox_peek/project_mailbox_drain manually if you ever notice a note isn't being picked up automatically. (Sent while you're offline; will queue.)
0 commit comments