Library: reconcile Source rescans with stable entry identity
Merged
TE
2mo ago+947+947+012345678901234567890123456789-136-136-012345678901234567890123456789
Closes #34.
Implements the accepted Source reconciliation semantics end to end:
- stable
Entry.idthrough unique catalog-ID, exact-path and unique bounded-digest matches; - review-only probable moves, with conflicting catalog IDs treated as replacements;
- persisted present/missing availability and retained tombstones preserving favorites, recents and ordered collection membership;
- pure diff + stale-review detection + one validated atomic catalog commit;
- cancellation/review cancel leaves current catalog untouched;
- explicit Rescan workflow kept separate from Relink;
- bounded scan observations and targeted hashing only (32 files / 8 MiB each / 64 MiB total defaults);
- 4 MiB bounded JSON bridge while retaining the 4,096 source-entry limit;
- coverage for additions, missing entries, moves, replacements, ambiguity, reviewed probable moves, cancellation, relink separation and digest budgets;
- Library docs updated.
Current branch started on 15662e4; main advanced to 86729f8 in the controller while this was being implemented. I am carrying those #60 filter/sort persistence changes through before marking this ready.
🧱 Quarry