bug(chat): worker reports in orchestrator chat only render after the user sends a new message
What happened?
In an orchestrator session's chat thread, worker report entries (submitted by worker sessions via ao report while the orchestrator works) do not appear in the thread as they arrive. They only render after the user sends a new message — then the whole backlog flushes in at once.
Steps to reproduce
- Open an orchestrator session chat in the desktop app.
- Give it a task that spawns workers; let the workers finish and run
ao reportwhile you are idle. - Keep the chat open and wait: no report rows render.
- Send any new message in the chat: every buffered report row appears at once, grouped after your message.
Observed today: the user's message was sent at 10:47 and worker reports were created between roughly 10:52 and 11:02, but all nine report rows rendered together at 11:04, immediately after the next user message:
Expected
Report rows appear in the thread live as the daemon ingests them, like agent/user messages do — the whole point of the orchestrator chat is watching worker results land.
Actual
Thread stays frozen until the next outbound user message; then the backlog appears in one burst, each row stamped with the flush time rather than its true creation time.
Environment
- Desktop app 0.14.9 (macOS 26.4.1), daemon
v0.14.9-nightlybuild 202611040702 - Session kind: orchestrator (chat mode); reports come from worker sessions in the same project
Notes for triage
- The reports do reach the orchestrator agent itself (injected as "Reports since your previous turn" at its next turn), so delivery into the session works — the gap is between ingestion and thread rendering.
- The uniform flush timestamps (all rows 11:04, workers finished minutes apart) suggest either:
- the daemon materializes report chat rows lazily at orchestrator turn start instead of at
ao reporttime, or - the rows exist immediately but the renderer never invalidates the thread on report-kind inserts (no CDC/SSE event, or the event is dropped/filtered client-side).
- the daemon materializes report chat rows lazily at orchestrator turn start instead of at
- Reproduced across multiple report batches today; every batch flushed only on the next user message.
Worker reports created 10:52-11:02 render only at 11:04, right after the next outbound user message - all rows stamped with the flush time:
Same thing on 0.15.3, and it isn't limited to worker reports: in an orchestrator chat (Claude Code), I always see the agent's answer one message late. A reply only shows up after I send my next message, so I ended up sending "ping" just to make it appear. It happened all afternoon on 19 Nov in one session.
Agent-collected evidence (gathered by the orchestrator agent at my request, read-only)
- Orchestrator 0.15.3 (
ao version: commitdec37bc9941e, built 2026-11-16T15:58Z), desktop app on macOS 26.5.2 (25F84). Daemonreadyon port 3001 (ao status --json), started 2026-11-19T11:47Z. Collected 2026-11-19 18:11 UTC. - Session: one orchestrator session, Claude Code harness, Chat mode, running about 7 hours with many worker sessions and background tasks.
- Hypothesis, not verified: in this session many orchestrator turns were started by background events (worker
ao reportentries, background-command and monitor completions) rather than by a user message. That matches the turns described in this issue; if the thread only refreshes on an outbound user message, those agent replies would also appear only at the next user message.