| name | implement-feature |
| description | Multi-step pipeline that takes a ticket from research to PR — research → spec → code → review + test → PR. Use for any ticket in agent-hub/tickets/. |
implement-feature
Run the stages in order. Do not skip; do not merge stages.
1. Research
- Read the ticket. Restate the goal in two sentences; list open questions.
- Query
agent-hub/flow-registry/ to find the implementing code and impacted flows.
- Check
agent-hub/knowledge-base/ for proven patterns touching the same area.
2. Spec
- Write a short plan: files to change, new/changed endpoints, test list.
- Human checkpoint: present the plan and wait for approval before coding.
3. Code
- Branch
feature/<ticket-id>-<slug>. Follow the project AGENTS.md conventions.
- Small commits, message format
<ticket-id>: <imperative summary>.
4. Review + test
- Self-review the diff against the acceptance criteria, one by one.
- Run the full test suite. Functional checks go against the simulator.
- Any AC not verifiably met → back to stage 3, say so explicitly.
5. PR
- Summarize: what changed, how each AC is met, what was NOT done.
- Human checkpoint: a person merges. The agent never merges.