5W1H Decision Framework Tool. Use for: (1) Systematic decision-making before creating todos, (2) Preventing duplicate implementation, (3) Detecting avoidance behavior, (4) Ensuring agile refactor compliance with executor/dispatcher separation
| Principle | Description | Validation |
|---|---|---|
| Systematic Thinking | Every decision requires 5W1H analysis | All 6 questions answered |
| No Duplication | Check existing implementation first | Who analysis complete |
| No Avoidance | Reject escape language | Why validation passed |
| Agile Compliance | Executor/Dispatcher separation | How task type matched |
| TDD Integration | Test-first strategy required | How includes TDD steps |
Who: {Executor Agent} (executor) | rosemary-project-manager (dispatcher)
- Domain: {Responsible class/module}
- Existing: {Search result for duplicates}
Valid Patterns: parsley-flutter-developer (executor) | rosemary-project-manager (dispatcher)
What: {Function Name}
- Description: {One sentence description}
- Input: {Explicit input types}
- Output: {Explicit output types}
- Exception: {Error handling}
When: {Event Name}
- Trigger: {User action / System event}
- Side Effects: {List all side effects}
- Integration: {Event system integration point}
Where: {Layer} / {Component}
- Architecture: {Domain/Application/Infrastructure/Presentation}
- Component: {Specific class or module}
- UseCase: {UseCase call chain}
Why: {Requirement Reference}
- Requirement ID: {UC-XXX}
- Business Value: {User benefit}
- User Scenario: {Specific use case}
Avoidance Language Detection (BLOCKED):
How: [Task Type: {TYPE}] {Strategy Description}
Task Type vs Executor Mapping:
| Task Type | Valid Executor | Invalid Executor |
|---|---|---|
| Implementation | parsley, sage, pepper | rosemary (BLOCKED) |
| Dispatch | rosemary | Any agent (BLOCKED) |
| Review | rosemary | Any agent (BLOCKED) |
| Documentation | thyme, rosemary | - |
| Analysis | lavender, rosemary | - |
| Planning | rosemary, lavender | - |
(executor) | (dispatcher) format[Task Type: XXX] prefixALL items must be checked before creating todo.
Missing any item = BLOCKED
| Reference | Purpose |
|---|---|
| Complete Template | Full template format and token generation |
| Common Violations | Violation patterns and fixes |
| Integration Details | Hook/Output Style/Token validation engine |
| 5W1H Methodology | Complete methodology |
| Agile Refactor Methodology | Executor/Dispatcher separation rules |
5W1H-{TOKEN}
Who: {agent} (executor) | rosemary-project-manager (dispatcher)
What: {Single responsibility function}
When: {Event trigger with side effects}
Where: {Architecture layer / Component}
Why: {Requirement ID + Business value}
How: [Task Type: {TYPE}] {TDD strategy steps}
5W1H format is automatically enforced via: