From fe7cba86b4aed00721a194109186013b31e2fb8c Mon Sep 17 00:00:00 2001 From: Caleb Allen Date: Thu, 5 Mar 2026 10:42:12 -0500 Subject: [PATCH] docs: update STATE.md for FTS5 contentless fix --- .planning/STATE.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.planning/STATE.md b/.planning/STATE.md index 5185614..8a42d17 100644 --- a/.planning/STATE.md +++ b/.planning/STATE.md @@ -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*