Dispatch Queue Pattern
The dispatch queue (.studio/dispatch-queue.md) tracks pending tasks for session continuity.
File Format
# Dispatch Queue
## Pending Tasks (Priority Order)
### 1. [Task Name]
- **Agent:** [fully-qualified agent name]
- **Context:** [what needs to be done and why]
- **Blocked by:** [dependencies, or "None"]
- **Added:** [when queued]
## Completed This Session
- [x] [Task] → [result/artifact]
## Notes
[Context for next session]
When to Update
Add tasks:
- After identifying work during implementation
- When completion-auditor finds gaps
- When project-health-monitor identifies issues
- When user requests deferred work
Remove/Complete:
- When task dispatched and completed
- When task becomes irrelevant
- When blocked indefinitely
Priority Ordering
- Blockers first (tasks that block other work)
- Critical path (required for playable game)
- Quick wins (fast, unblock progress)
- Polish (nice-to-have)
Task Format
Agent: Use fully-qualified names: zx-procgen:asset-generator
Context: Include enough to resume: what exists, what's needed, file paths
Blocked by: None, #2, [dependency], or User decision needed
Integration
/ai-game-studio:continuereads and dispatches from queuenext-step-suggesterchecks queue firstrequest-dispatcherupdates queue before stoppingcompletion-auditoradds remediation tasks
Empty Queue
# Dispatch Queue
## Pending Tasks (Priority Order)
No pending tasks.
## Notes
Run project-health-monitor to identify potential work.