Files
yellowjacket/.planning/STATE.md
T

76 lines
3.0 KiB
Markdown

---
gsd_state_version: 1.0
milestone: v1.0
milestone_name: Consolidation
status: shipped
last_updated: "2026-03-05"
progress:
total_phases: 8
completed_phases: 8
total_plans: 17
completed_plans: 17
---
# YellowJacket — Project State
## Project Reference
See: .planning/PROJECT.md (updated 2026-03-05)
**Core value:** The music player works reliably and feels solid — every interaction is correct, responsive, and trustworthy.
**Current focus:** v1.0 Consolidation shipped. Planning next milestone.
## Current Position
**Milestone:** v1.0 Consolidation — SHIPPED 2026-03-05
**Next:** Run `/gsd-new-milestone` to define next milestone
## Accumulated Context
### Key Decisions
Decisions from v1.0 are archived in PROJECT.md Key Decisions table. Key patterns to carry forward:
- Mutex-protected setter pattern (lock → write → release → callbacks)
- SAFETY comment convention for hand-crafted SQL
- AST-based codegen for cross-language constant sync
- Design tokens via `:host` scoped CSS custom properties
- queueMicrotask coalescing for store notifications
- `.renderItem` + `.keyFunction` (not `repeat()` children) for lit-virtualizer
### Warnings (carry forward)
- Player lock ordering (`p.mu` before `speaker.Lock()`, goroutine dispatch in beep callback) — do NOT refactor lock-sensitive paths; extract pure logic only
- modernc.org/libc version must match exactly when updating modernc.org/sqlite
- `@lit-labs/signals` is experimental (v0.2.0) — not blocking but noted
### Quick Tasks Completed (v1.0)
| # | Description | Date | Commit |
|---|-------------|------|--------|
| 001 | Multi-playlist import support | 2026-02-28 | 50c8a33 |
| 002 | Auto-rename duplicate playlists on import | 2026-02-28 | 8ba8bbe |
| 003 | Multi-select playlist view + context menu delete | 2026-02-28 | c92ced2 |
| 004 | Set as default playlist context menu | 2026-02-28 | 9971b63 |
| 005 | Sort dropdown for playlist view | 2026-03-01 | 5c07485 |
| 006 | Remove list icon, add favorites icon | 2026-03-01 | 3c19766 |
| 007 | Pin default playlist to top | 2026-03-01 | e6378e1 |
| 008 | Duplicate tracks dialog | 2026-03-01 | 917a79a |
| 009 | Fix queue panel scroll bar not following mouse | 2026-03-05 | ebde5e5 |
| 010 | Fix duplicate album merging bug (composite unique constraint) | 2026-03-05 | d43ba7b |
| 010b | Fix contentless FTS5 DELETE error blocking rescan | 2026-03-05 | 8e9a616 |
## Session Continuity
### Last Session
**Date:** 2026-03-05
**What happened:** Quick task 10b — fixed FTS5 search_index clear failure during FullRescan. The search_index is a contentless FTS5 table (content='') which does not support DELETE. Changed ClearSearchIndex to drop+recreate the virtual table, and made single-row DeleteSearchIndex a no-op (stale entries filtered by JOIN).
**Where we stopped:** FTS5 fix committed. User should retry full library rescan.
**Next action:** Retry library rescan, then `/gsd-new-milestone`
---
*State initialized: 2026-02-27*
Last activity: 2026-03-05 - Fix contentless FTS5 DELETE error blocking rescan
*Last updated: 2026-03-05*