FolioSort 5, under the hood: what actually gets written to your files
As promised, here's the technical side of v5. The question I get most often is some version of "what is this thing doing to my files?", so this post is organised around that.
1. The Library writes nothing to your photos. It's a local index: file path, capture date, camera, GPS, plus the on-device search and face embeddings. Each folder you add is remembered by its path. If that path isn't there (drive unplugged, NAS asleep), its photos stay in the timeline greyed out as "not connected" rather than being dropped from the index, and they come back when the drive is mounted at the same place again. Delete the index and your files are exactly as they were.
2. Cull decisions go into standard XMP, not a proprietary database. "Write for Lightroom" writes stars and colour labels as plain XMP:Rating and XMP:Label, and a reject as Adobe's -1 rating, which Lightroom, Capture One, Bridge and Photo Mechanic all read. Where it goes follows what those apps actually read.
Proprietary RAW (CR3, NEF, ARW…) is never touched: it gets a .xmp sidecar beside it. JPEG, HEIC, TIFF, PNG and DNG get it inside the file, because Lightroom ignores sidecars for those (DNG included). The file's modification date is preserved. If a sidecar already exists (say Lightroom or Photo Mechanic wrote it), only those two fields are changed and everything else in it is left alone. Undo puts back exactly what was in those two fields before, or removes the sidecar if FolioSort created it. That last one was a bug in 4.x, and it's fixed in 5. The screenshot is the confirmation sheet, which tells you what goes where before anything is written.
3. "Near-identical" stacking and Best Shot use the same on-device image embeddings as the natural-language search (the MobileCLIP-class model I described back in July), plus a sharpness measure. The pick for each stack is a suggestion with a ring around it and nothing more. Nothing moves until you confirm.
4. Backup Copy is verify-after-write. Each file is copied, then read back
from the destination and compared before it's counted. On a NAS without a Recycle Bin (most SMB shares), a changed photo that replaces an older version keeps the old one in a hidden folder on the backup instead of overwriting it. Nothing is ever deleted from the backup side. If you point it at a folder that already holds your photos (copied earlier with Finder or Explorer), it recognises and verifies what's there instead of copying it all again.
5. Writes are batched and undoable. Dates, places, keywords and metadata edits are previewed first and written as one batch, and Undo reverses the batch. Copy is still the default over Move everywhere.
6. On the local-LLM question @DenonMate raised in June: v5 has an experimental MCP server (Labs → Ask Your AI, off by default). It's
read-only: an assistant can search the library by description, by text inside the photo and by date, look up a photo's details, get library stats, and find a named person, for example "photos of Ana from summer 2019" or "the receipt with 'IKEA' on it from 2023". It can't move, rename or write anything. I've tested it with Claude Desktop, and to be clear,
that client talks to the cloud. Any MCP client should be able to connect, local ones included, but I haven't tested those. FolioSort itself sends nothing anywhere, and the core search and face grouping need nothing external.
Platform notes: the AI runs on Apple's Vision/Core ML on the Mac and on ONNX on Windows. Mac needs macOS 14+ (Apple Silicon and Intel). The first AI index on a Mac includes a one-time compile of the model for the Neural Engine, which is why it can sit at 0 for a minute; v5 now does that in the background at launch.
Happy to go deeper on any of it. And if anyone has a library that breaks it, I'd genuinely rather hear about it here.