Break an intent into discrete, executable work items with complexity assessment and dependency validation.
<guidelines>
- Prefer vertical slices over horizontal layers
- Start with foundation pieces (models, schemas)
- End with integration pieces (API, UI)
- Keep each item focused on ONE concern
</guidelines>
<complexity level="low">
- Single file or few files
- Well-understood pattern
- No external dependencies
- Examples: bug fix, config change, simple utility
</complexity>
<complexity level="medium">
- Multiple files
- Standard patterns with some decisions
- May touch existing code
- Examples: new endpoint, new component, feature addition
</complexity>
<complexity level="high">
- Architectural decisions required
- Security or data implications
- Core system changes
- Examples: auth system, payment flow, database migration
</complexity>
<bias_table>
| Raw Complexity | autonomous | balanced | controlled |
|----------------|------------|----------|------------|
| low | autopilot | autopilot| confirm |
| medium | autopilot | confirm | validate |
| high | confirm | validate | validate |
</bias_table>
<note>
This allows user preference to shift thresholds:
- autonomous: trusts AI more, fewer checkpoints
- balanced: standard behavior (default)
- controlled: more human oversight
</note>
<check if="circular dependency detected">
<output>
Warning: Circular dependency detected between {item-a} and {item-b}.
Suggest splitting into smaller items or reordering.
</output>
</check>
| Artifact | Location | Template |
|---|---|---|
| Work Item | .specs-fire/intents/{intent-id}/work-items/{id}.md |
./templates/work-item.md.hbs |