Your bulletproof guide to executing implementation phases! Handles commits, detects when phases are too big, and knows when to bail cleanly. Load this whenever you're implementing a phase - it provides clean commit protocol and signals the orchestrator when things go sideways.
Execute a single phase from an implementation plan with disciplined commit protocol and automatic detection of phases that are too large.
The orchestrator provides:
| Input | Description | Example |
|-------|-------------|---------|
| Plan path | Location of the implementation plan | thoughts/shared/plans/2026-01-03_core-graph.md |
| Phase number | Which phase to execute | Phase 2 |
| Worktree path | Working directory (if using worktrees) | .trees/plan-1-core-graph |
| Branch name | Git branch for commits | implement/plan-1-core-graph |
For each change in the phase:
Trigger conditions (any of these):
Escape hatch protocol:
1. STOP immediately
2. Discard uncommitted changes: git checkout .
3. Return to orchestrator with signal: "NEEDS_DECOMPOSITION"
4. Include: what was completed, what remains, estimated sub-phases
When phase is complete:
git add -APhase N: [Phase Title]
- [Key change 1]
- [Key change 2]
Plan: thoughts/shared/plans/[plan-file].md
git push origin [branch-name]Before returning to orchestrator:
On successful completion:
PHASE_COMPLETE
Commit: [SHA]
Checks:
- tests: ✓
- types: ✓
- lint: ✓
Manual verification needed:
- [item 1]
- [item 2]
On escape hatch trigger:
NEEDS_DECOMPOSITION
Completed:
- [what was done]
Remaining:
- [what remains]
- [what remains]
Suggested sub-phases:
- [sub-phase 1 description]
- [sub-phase 2 description]
git push after committing; the orchestrator and validator need your commits on the remoteSearch for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer