Commit bc0a2d8
committed
refactor: make QRSPI instructions principle-driven with sharp phase separation
Rewrote all phase instructions from verbose STEP-by-STEP checklists to concise principle statements.
Each phase now has a single **Principle** line + goals + explicit 'Do not' constraints.
- questions: 'Clarify intent before exploring solutions' — do not research/design/plan/code
- research: 'Gather facts before forming opinions' — do not propose solutions/design/code
- design: 'Align on WHAT and WHY before detailed HOW' — do not plan implementation/code
- structure: 'Decompose into end-to-end testable units' — do not plan tasks/code
- plan: 'Define detailed HOW per slice' — do not change design/code
- implement: 'Execute plan one slice at a time' — adapt tactics, loop back only if fundamentally flawed
- commit: 'Leave codebase cleaner than found' — do not add features
File: 373 → 245 lines (-34%). All 7 states, 3 review gates, 19 transitions preserved.1 parent bf00645 commit bc0a2d8
2 files changed
Lines changed: 90 additions & 209 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
| |||
139 | 148 | | |
140 | 149 | | |
141 | 150 | | |
142 | | - | |
| 151 | + | |
143 | 152 | | |
144 | 153 | | |
145 | 154 | | |
| |||
0 commit comments