docs(06-01): complete track_metadata VIEW consolidation plan

- SUMMARY.md: 2 tasks, 4 files, 2min duration
- STATE.md: advance to Phase 6 plan 1/3
- ROADMAP.md: update progress for phases 3-6
- REQUIREMENTS.md: mark QUAL-01 complete
This commit is contained in:
2026-03-04 19:25:53 -05:00
parent 9159b409dc
commit 48d1416e43
4 changed files with 144 additions and 39 deletions
+4 -4
View File
@@ -21,8 +21,8 @@ Requirements for the consolidation milestone. Each maps to roadmap phases.
### Code Quality
- [ ] **QUAL-01**: Duplicated FTS5 JOIN pattern (5+ copies) is consolidated into a single SQLite VIEW (track_metadata or similar)
- [ ] **QUAL-02**: Event name constants are generated from Go source (backend/events/events.go) to TypeScript (frontend/src/events.ts) via codegen, wired into go generate and pre-commit hook
- [x] **QUAL-01**: Duplicated FTS5 JOIN pattern (5+ copies) is consolidated into a single SQLite VIEW (track_metadata or similar)
- [x] **QUAL-02**: Event name constants are generated from Go source (backend/events/events.go) to TypeScript (frontend/src/events.ts) via codegen, wired into go generate and pre-commit hook
- [ ] **QUAL-03**: Queue batch lookups in persistence.go use sqlc.slice() instead of fmt.Sprintf placeholder construction where feasible
- [ ] **QUAL-04**: Intentional hand-crafted SQL exceptions (batch INSERT, dynamic IN clauses) are documented with // SAFETY: comments explaining why they bypass sqlc
@@ -98,8 +98,8 @@ Which phases cover which requirements. Updated during roadmap creation.
| CORR-07 | Phase 2: Backend Correctness | Complete |
| CORR-08 | Phase 2: Backend Correctness | Complete |
| CORR-09 | Phase 2: Backend Correctness | Complete |
| QUAL-01 | Phase 6: SQL Consolidation & Code Quality | Pending |
| QUAL-02 | Phase 6: SQL Consolidation & Code Quality | Pending |
| QUAL-01 | Phase 6: SQL Consolidation & Code Quality | Complete |
| QUAL-02 | Phase 6: SQL Consolidation & Code Quality | Complete |
| QUAL-03 | Phase 6: SQL Consolidation & Code Quality | Pending |
| QUAL-04 | Phase 6: SQL Consolidation & Code Quality | Pending |
| PERF-01 | Phase 7: Backend Performance | Pending |