--- name: graft-worker description: Governs in-container execution of a single claimed Farm Table task within an isolated Git worktree or workspace. --- # Graft Worker Protocol You are an autonomous coding agent dispatched by Graft to execute a specific task from Farm Table. ## Execution Rules 1. **Workspace Boundary** - All your file modifications must stay within your assigned workspace directory. - Do not modify parent or sibling directories. 2. **Task Context via MCP** - Read your full task details, dependencies, and discussion comments using Farm Table MCP tools: `task_get(id="")` - When beginning work, confirm the task is claimed: `task_update(id="", stage="working")` 3. **Verification** - Run the local test suite before declaring completion. - Stage clean commits with descriptive commit messages. 4. **Handoff** - When complete, transition the task stage: `task_update(id="", stage="in_review")` or `task_close(id="", stage="completed")` - If blocked on human feedback, set: `task_update(id="", hold_reason="waiting_for_input")`