docs: owner review 6 request, brief amendments and decisions for matches (v1.2.0)

Owner review 6 asks Chronos to recognise the same time-lapse on a server
and on this PC, show the differences and let the user keep the two apart
or integrate and sync them. The request file keeps the owner's words, the
reading R1-R8, the eight answers and the delivery plan; the brief now
describes matches, the Compare dialog, Integrate, the merge of two local
sequences, the automatic photos of integrated pairs, the photo lookup and
uploads into a target, and amends 14.5 so other projects cross only through
Integrate or a merge. DECISIONS records the design choices and those taken
while building it; the changelog, status, architecture and design notes
follow, and the version moves to 1.2.0.

Refs #73

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-17 17:24:53 +01:00
1 parent 9657c1711d
commit 59235e7c25
8 files changed
+443 -18

No files matched your search

+57
View File
@@ -5,6 +5,63 @@ commits follow Conventional Commits (release notes are generated from them by `C
## [Unreleased]
Owner review 6 for v1.2.0 (`docs/requests/2026-11-16-owner-review-6.md`; issue #73). Upgrading from 1.1 keeps the
archive, the database and the settings: migration 0012 runs at start and turns every existing link into a linked
match. A 1.1 server works as before, without Integrate; a 1.2 server adds the photo lookup and uploads into a target.
### Added
- **Matches** (R1, R7):
- Chronos finds the same time-lapse on a server and on this PC under different ids, or twice on this PC (this PC's
archive, an adopted folder, a server's originals archive), by shared photos, unhashed photos of the same size and
capture time, session keys and links. Server matches are looked for after each sync refresh; matches on this PC 30 s
after start and 10 s after a scan, verify, import, download, conversion, merge, integration or emptied trash.
- Server › *Matches* lists them, attention first, with their state (*match found*, *kept apart*, *linked*,
*integrating · x of y*, *merging*, *integrated*, *deleted there · n*, *deleted on server*, *kept here*) and the
actions of each state; *Find matches* looks again. Toasts tell new matches ("{n} matches found" · *Review*) and
matches linked by themselves. The Server rail badge counts matches that need attention.
- *Keep apart* is remembered (asked again only when the match becomes identical or grows a lot); *Link only* links
without moving anything; *Unlink* keeps the two apart. Both toast with *Undo*.
- Library cards and list rows show *Also elsewhere* or *Deleted there*, with *Compare…*.
- A folder of sequences kept elsewhere is added with *Adopt folder…* and compared like any archive.
- **Compare** (R2): an in-window dialog with four parts. *Photos* classes every photo (same, same unverified, only
here, only there, different, converted, deleted here, deleted there, two versions) with counts and sizes per side and
lists each class; *Details* puts each differing title, tag, rating, note and setting side by side to choose line by
line; *Projects* shows each side's projects and where they go; *Plan* is the dry run, with every block and its
reason.
- **Integrate** (R3, R4): a local sequence and its server match each receive the photos they lack (*Union* by default:
a differing photo is kept in both versions; *Choose each*; *This PC wins*; *Server wins*), the chosen details are
written to both as one change, the other projects are copied across, then the two stay linked. Losing versions go to
the trash only after the winner is confirmed by hash, and a plan that replaces photos asks first. The *Integrate* job
resumes after a crash at each stage. *Drop…* trashes one of two versions on both sides.
- **Merge sequences** (R3): two matches on this PC are merged into the kept one; the other goes to its archive's trash
only after every one of its photos is verified in the kept one. The confirmation asks to type its photo count; the
*Merge sequences* job resumes after a crash at each stage and moves renders, projects, session keys and links.
- **Projects across** (R5): an Integrate with *Copy across* (the default) copies each side's projects, with their
histories, to the other home, named "name (PC)" on a clash; with *Leave them* the Edit picker marks the two workspace
copies *Twin*.
- **After integrating** (R6): new photos of an integrated pair move by themselves both ways, paused on metered
connections and never interrupting a running job; three failures in a row read *not sent* and raise a toast. Photos
the other side deleted read *deleted there · n* and go to the trash only through *Review* › *To trash…*. A server
sequence that answers 404 twice reads *deleted on server*, with *Keep here*, *Upload again* and *To trash…*.
- **Settings › Server**: *Link matches* (*Ask always*, *When identical*, *Half shared*), *Integrate photos* and
*Integrate projects*, each option with its tooltip.
- **Server**: `POST /api/v1/photos/lookup` (Read; 200 probes and 20,000 items at most) and `intoTarget` on
`POST /api/v1/uploads`, which files a photo into the target by copying, on the server, a file another sequence of the
served archive holds (`copied` in the answer); `server/info` announces `photo-lookup` and `upload-into`.
- Jobs: *Integrate* (stored as 25) and *Merge sequences* (26), high in the priority queue, with their own detail steps.
### Changed
- A sync refresh no longer links a local sequence to a server one by content by itself: *Link matches* decides, and
*Ask always* is the default (1.1's rule is *Half shared*).
- *Upload all local* skips suspected and kept-apart matches, sequences being integrated or merged, sequences whose
server copy was deleted and sequences of a server's originals archive; each skipped row reads *skipped* with the
reason, and the toast "Queued: {0} · skipped: {1}" · *Show* lists them.
- A linked sequence's photos are uploaded into its server sequence even when the server holds them in another sequence,
so such a pair now reaches *in sync*.
- A job of background priority (automatic transfers) never makes a running job yield.
- Sync rows of a sequence in an unanswered match read *match found* with *Compare…* first; every linked row offers
*Compare…*.
### Fixed
- Found copies, review of owner review 6 (#73):
- A server sequence forgotten on a server known only by its address is found again when it is back.