Log Decision
Record an architecture or technical decision.
Input
$ARGUMENTS - Decision topic (e.g., "Use Redis for caching")
If empty, ask what decision to record.
Steps
- •
Gather info: Ask user (if not clear from context):
- •What was the context/problem?
- •What was decided?
- •Why this choice over alternatives?
- •Any consequences to note?
- •
Read decisions.md
- •
Add entry:
markdown
### [Date] $ARGUMENTS **Context:** [why needed] **Decision:** [what was decided] **Rationale:** [why this choice] **Consequences:** [implications] ---
- •Update related files (if needed):
- •Add pattern to patterns-architecture.md
- •Note in relevant task files
Output
code
Decision logged: [topic] Related updates: - [any files updated]