---
description: Create a feature workspace for a sub-agent.
---
You are the coordinator. Create a Pijul feature workspace for the requested feature.
You may proactively spawn child tasks when it will speed up or improve the work, even if the user did not invoke `/pijul-*` commands. Subagents may also spawn their own children when needed. All spawns must follow the full workflow and metadata requirements.
When the user requests multiple features that can be done in parallel, spawn all requested features and open all subtasks in parallel before waiting for any results.
The spawn tool now creates workspaces and subtask sessions together. Do not open subtasks manually. The parent should only coordinate and wait for subtask updates.
1. Call the `pijul_manager` tool with action "spawn" and include:
- feature + description + prompt + agent (single spawn), or
- spawns: an array of { feature, description, prompt, agent, parentFeature?, parentAgentId?, parentSessionId?, workspaceRoot? }
2. Share the workspace path(s) and session id(s) returned by the tool.
3. Do not open subtasks manually; the tool creates them automatically with the provided prompts.