Use this file to discover all available pages before exploring further.
Dispatch provides robust error handling and recovery mechanisms. Workers can ask questions, mark blockers, and recover from failures — all without losing context.
Worker encounters a blocker and writes a question:
# Worker writes atomicallyecho "Found both JWT and session-based auth. Which should I focus on?" > \ .dispatch/tasks/security-review/ipc/001.question.tmpmv .dispatch/tasks/security-review/ipc/001.question.tmp \ .dispatch/tasks/security-review/ipc/001.question
The worker then polls for .dispatch/tasks/security-review/ipc/001.answer.
If no answer arrives within ~3 minutes, the worker falls back to the legacy behavior:
Dumps context to .dispatch/tasks/<task-id>/context.md
Marks the item [?] with the question
Exits cleanly
Example plan file after timeout:
# Security Review- [x] Scan for hardcoded secrets — found 2 instances- [?] Review authentication logic> **Blocker:** Found both JWT and session-based auth. Which should I focus on?
You can answer and re-dispatch:
/dispatch continue security-review from the blocked item.Answer: Focus on JWT — session-based auth is deprecated.
The new worker:
Reads the plan file
Reads context.md (preserves the previous worker’s state)
Uses your answer to continue from the blocked item
/dispatch use gpt-5.3-codex to review the auth module
Worker fails:
Error: codex: command not found
Dispatcher’s proactive recovery:
The Codex CLI is no longer available. Alternatives from your config:1. opus (Claude)2. sonnet (Claude) 3. gemini-3.1-pro (Cursor)Want me to switch your default and retry with one of these?
You choose:
Use opus
Dispatcher updates config and retries:
# ~/.dispatch/config.yamldefault: opus # Updated from gpt-5.3-codexmodels: opus: { backend: claude } sonnet: { backend: claude } # Removed: gpt-5.3-codex (CLI unavailable)
Updated default to opus. Retrying security-review...Dispatched security-review using opus.
/dispatch use claude-opus-4.5 to do a security review
Worker fails:
Error: Authentication failed. Claude Opus 4.5 requires upgraded subscription.
Dispatcher’s proactive recovery:
Claude Opus 4.5 returned an auth error. Alternatives:1. sonnet (Claude) — works on your plan2. gemini-3.1-pro (Cursor)Switch to one of these and retry?
You choose:
Sonnet
Dispatcher updates config and retries:
# Removes the broken model to prevent future failuresmodels: sonnet: { backend: claude } haiku: { backend: claude } # Removed: claude-opus-4.5 (auth failed)
When multiple parallel workers fail, Dispatch handles each independently:
Error report:● security-review (opus) — FAILED Worker exited with error on item 2: [!] Review authentication logic > Error: auth/ directory not found● api-tests (gpt-5.3-codex) — FAILED Worker failed to start: codex: command not found● update-readme (gemini) — COMPLETE ✓ All items checked
Dispatcher’s recovery:
1. security-review failed due to missing directory. Fix it and I can retry.2. api-tests failed because Codex CLI is unavailable. Switch to opus or sonnet?3. update-readme completed successfully.
You respond:
Retry api-tests with sonnet
Dispatcher updates and retries:
Updated api-tests to use sonnet. Dispatching...Dispatched api-tests using sonnet.