docs: update STATE.md for FTS5 contentless fix

This commit is contained in:
2026-03-05 10:42:12 -05:00
parent 8e9a616037
commit fe7cba86b4
+5 -4
View File
@@ -58,17 +58,18 @@ Decisions from v1.0 are archived in PROJECT.md Key Decisions table. Key patterns
| 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 10 — fixed album merging bug where albums with same name but different artists were merged into a single entry. Added composite unique constraint on (name, album_artist_credit_id), migration 5, and fixed entity cache.
**Where we stopped:** Completed quick-10 plan. User should trigger full library rescan to split previously merged albums.
**Next action:** Rescan library to split merged albums, then `/gsd-new-milestone`
**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 - Quick task 10: fix duplicate album merging bug
Last activity: 2026-03-05 - Fix contentless FTS5 DELETE error blocking rescan
*Last updated: 2026-03-05*