Sub-Agentic Architecture
hatch3r includes a proven sub-agentic delegation system for orchestrating complex work.
Components
Implementer Agent
The hatch3r-implementer agent is a focused implementation agent for a single sub-issue. It:
- Receives issue context from a parent orchestrator
- Delivers code and tests
- Reports structured results
- Does not handle git or board operations (the orchestrator manages those)
Issue Workflow Skill
The hatch3r-issue-workflow skill provides an 8-step structured workflow:
- Parse the issue
- Load the appropriate skill
- Read project specs
- Plan the implementation
- Implement
- Test
- Create a PR
- Address review feedback
For epics, it delegates to parallel sub-agents for independent sub-issues.
Board Pickup
The board-pickup command orchestrates the full cycle:
- Dependency-aware auto-pick with collision detection
- Branch creation and issue status updates
- Sub-agent orchestration for epics
- Quality checks and PR creation
Tooling Hierarchy
When agents need information, they follow this priority order:
- Project docs --
docs/specs/,docs/adr/,docs/process/ - Codebase search -- grep, read files, understand existing code
- Library docs -- Context7 MCP for up-to-date documentation
- Web research -- Brave Search MCP as a last resort
Delegation Patterns
Sequential Pipeline
For dependent work (implement, then test, then review):
- Spawn
hatch3r-implementerwith file scope - Collect results, spawn
hatch3r-test-writerwith implementation summary - Collect results, spawn
hatch3r-reviewerwith full diff
Parallel Fan-Out
For independent work across areas:
- Spawn
hatch3r-implementerforsrc/api/changes - Spawn
hatch3r-implementerforsrc/ui/changes (different files) - Spawn
hatch3r-docs-writerfor documentation updates
Planning Fan-Out
Planning commands use parallel researcher sub-agents:
project-spec-- stack, features, architecture, pitfalls, UX, business, productionfeature-plan-- codebase impact, feature design, architecture, riskbug-plan-- symptom tracer, root cause investigator, impact assessor, regression researcherrefactor-plan-- current state analyzer, strategy designer, impact assessor, migration planner