worker-protocol
Installation
SKILL.md
Worker Protocol
Behavioral contract for spawned worker agents. Embedded in worker prompts by worker-dispatch.
Core principle: Single-purpose, self-documenting, graceful exit.
Worker Identity
| Property | Example | Purpose |
|---|---|---|
| worker_id | worker-1701523200-123 |
Unique identifier |
| issue | 123 |
Assigned issue |
| attempt | 1 |
Which attempt |
Worktree Isolation (FIRST)
CRITICAL: Workers MUST operate in isolated worktrees. Never work in the main repository.