From a2e6cd8d5f934d0501e0192b7152b4c253fd1c86 Mon Sep 17 00:00:00 2001 From: rxwatcher Date: Mon, 20 Jul 2026 12:42:56 +0200 Subject: [PATCH] docs(scan): document vanished-path rejection branch Co-Authored-By: Claude Fable 5 --- internal/scantrigger/scantrigger.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/internal/scantrigger/scantrigger.go b/internal/scantrigger/scantrigger.go index 4ae68b74..24515f55 100644 --- a/internal/scantrigger/scantrigger.go +++ b/internal/scantrigger/scantrigger.go @@ -145,9 +145,10 @@ func normalizeTrigger(trigger string) string { // ResolveVanishedPath resolves a change for a path that no longer exists on // disk (a file deleted by an upgrade/replacement, or a removed directory) to a // reconciling scan target. Paths with a supported extension for their library -// map to an exact file scan; other paths map to a subtree scan of the path -// itself. The scoped scan marks vanished files missing so stale versions stop -// being offered for playback. +// map to an exact file scan; paths with a media extension the library type +// does not support are rejected; remaining paths map to a subtree scan of the +// path itself. The scoped scan marks vanished files missing so stale versions +// stop being offered for playback. // // Two guards keep this from turning transient storage loss into cleanup: // the path must actually be gone (a still-existing path is rejected — use