lightcraft/crates/catalog
Nathaniel Ledford bb50127de4
LRC-LIB-SMARTCOLL: report saved smart albums whose rules no longer check
Rules are checked when they are made, but a saved smart album can go
bad later. The usual case is a rule testing an album that is then
deleted; it silently matches nothing.

Catalog::smart_album_problems(id) checks a saved album's rules as they
are now (RuleSet::upgrade, then RuleSet::check). It is empty for a sound
smart album, a plain album or no album. albums.list reports `problems`
for every smart album, e.g. ["rule 1: no album 8"].

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 10:54:57 -04:00
..
examples Local: forget untouched browse records of folders not browsed for 30 days 2026-10-05 02:26:49 -04:00
proptest-regressions Issue #37: Catalog: compact the log on a background thread with ordered journal boundaries 2026-10-04 16:01:28 -04:00
src LRC-LIB-SMARTCOLL: report saved smart albums whose rules no longer check 2026-10-09 10:54:57 -04:00
Cargo.toml LRC-LIB-SMARTCOLL: file, size, location, description and develop rules 2026-10-09 10:54:56 -04:00