← Reddit

Dispatch bug

Reddit · nrcoleman · July 4, 2026
A bug in Anthropic's dispatch system was identified where an automated guard that prevents tool-only responses checks the raw response body rather than whether a SendUserMessage has already successfully delivered. This caused the guard to fire even after the initial message was sent, triggering a re-prompt loop that created 5-6 duplicate responses despite the first delivery being correct and complete.

Detailed Analysis

A user running an automated Claude workflow through Anthropic's Dispatch feature encountered a duplication bug tied to how the system verifies that a response produced visible output. According to the user's self-diagnosis, Dispatch includes a guard mechanism designed to catch cases where a model's turn consists entirely of tool calls with no accompanying text—a scenario that could otherwise leave a user without any readable response. When this guard detects an empty-looking response body, it automatically injects a corrective message ("[Your previous response had no visible output]") to prompt the model to generate visible content. The bug arises because this check only inspects the raw response body's text field, not whether a tool call like SendUserMessage had already successfully delivered content through a separate channel. In the reported case, the user's custom setup—built around Karpathy's "LLM wiki" pattern, orchestrated through a skill, and connected to a locally hosted dashboard with its own CLI—triggered a workflow where SendUserMessage fired correctly and delivered the first, accurate summary. But because the model's final response turn contained only that tool call and no raw text, the guard misfired, assumed no output had been produced, and re-prompted the model. This produced a loop of five or six duplicate messages, even though the underlying task had completed successfully and all deliverables were intact.

This bug matters because it illustrates a subtle but important class of failure in agentic AI systems: the gap between what an orchestration layer can observe and what actually happened during execution. As Claude and similar models increasingly operate through multi-step, tool-calling workflows—chaining together function calls, file operations, and message deliveries rather than simply returning text—the infrastructure responsible for supervising those workflows must correctly track state across asynchronous or side-channel actions. Here, the "no visible output" safeguard, meant to catch a legitimate failure mode (an agent silently doing nothing useful), instead misfired against a false positive: a turn that did produce useful output, just not in the specific field the guard was checking. This is a classic orchestration bug rather than a model reasoning failure, and it underscores that reliability in agentic AI is as much about the scaffolding around the model as about the model's own outputs.

The broader significance lies in what this reveals about the current frontier of AI product development: increasingly, users are building sophisticated personal infrastructure—custom dashboards, CLIs, skill-based automations—on top of foundation models, effectively turning Claude into a component in larger software systems. Dispatch, as an orchestrator managing long-running or multi-step sessions, sits at the boundary between the model and these external systems, and bugs at that boundary can produce confusing, high-friction user experiences (duplicate notifications, redundant messages) even when the model itself performed correctly. The user's detailed, technically precise diagnosis—correctly identifying the guard's blind spot regarding SendUserMessage success—also reflects a growing trend among power users of AI systems: sophisticated debugging of agentic infrastructure by end users themselves, who increasingly possess the technical literacy to trace failures back to specific orchestration logic rather than simply attributing them to "the AI being wrong."

Finally, the episode highlights an emerging feedback loop between users and AI labs around agentic reliability. The suggestion to flag the issue via a thumbs-down mechanism so it can be logged reflects how companies like Anthropic depend on real-world, edge-case usage patterns—especially from technically sophisticated users running non-standard, tool-heavy workflows—to surface bugs that wouldn't necessarily appear in more conventional chat-based testing. As multi-step, tool-integrated agent use becomes more common, this kind of "long multi-step session ending in a tool-only turn" scenario is likely to recur across many users' workflows until the underlying detection logic is patched to account for successful side-channel deliveries, making this a useful case study in the ongoing maturation of agentic AI orchestration systems.

Read original article →