Goal
Stop the “Groundhog Day” effect where we re-discuss the same decisions.
Instructions
Trigger: We make a decision (e.g., “Use UUIDs for all models”, “Use dark mode by default”).
Action
- Read: Check if
.docs/decisions.md (or ADR.md) exists.
- Update: Append the new decision in a structured format:
```markdown
[Date] Decision: Use UUIDs
- Context: Needed for security/scaling.
- Decision: All new migrations must use
$table->uuid('id').
- Status: Accepted.
```
- Reference: Before starting any new task, read this file to ensure you aren’t violating past decisions.