Opus writes REQUIREMENTS to .claude/plans/<name>.md (and mirrors to .cursor/plans/)
Opus ALSO adds the task to /tmp/maat-workqueue.md with a Priority number (P##)
Sonnet reads /tmp/maat-workqueue.md and creates micro plans from requirements
Haiku reads /tmp/maat-workqueue.md and dispatches workers
CRITICAL: Both Steps Required
Writing to .claude/plans/ = requirements doc (the WHAT)
Adding to /tmp/maat-workqueue.md = putting it in the queue (the WHEN/WHO)
If you only do step 1, Sonnet/Haiku won’t see it
If you only do step 2, there’s no requirements doc for workers to read
ALWAYS do BOTH
Workqueue Format (for appending new tasks)
### Priority XX: <Project> — <Task Name>**Plan:** .claude/plans/<requirements-file>.md**Workspace:** <path or "NEW HERU">**Depends on:** <P## or "None">**Status file:** /tmp/<project>-<phase>-done.md**Sonnet Instructions:**1. Read the plan file2. Create micro plan3. Break into phases/stories**Worker prompt:**\```<detailed task for the worker agent>\```