What problem does it solve?
This skill solves the problem of managing concurrent, isolated development environments for automated agents, preventing cross-contamination of git state and ensuring consistent bot identity across multiple tasks.
Core Features & Use Cases
- Ephemeral Worktree Management: Automatically creates and tears down isolated git worktrees for specific agent dispatches.
- Identity Pinning: Enforces consistent bot identity (name and email) within sub-worktrees, preventing accidental commits under the maintainer's identity.
- Use Case: When an agent needs to work on a specific PR, this skill prepares a clean, detached-HEAD environment containing the garden, journal, and project code, ensuring the agent can fetch and rebase without affecting the orchestrator's state.
Quick Start
Invoke the dispatch-prepare script with the target role and purpose slug to initialize a new isolated worktree environment for your agent task.