fix(copies): close the ninth verification round of owner review 6

- A merge leaves each second version out of Main as it files it (Copy
  stage keep-both and SameUnhashed versions, Verify stage versions), so a
  merge abandoned before its Details stage (details changed meanwhile, a
  stale stage, a cancel) no longer leaves both versions in Main for good,
  which a new plan could not undo (owner Q3).
- A merge plan whose kept sequence has tombstones hashes the other's
  unhashed frames matched by size and time, so content the kept sequence
  deleted is listed as a last copy; a verify that still finds such content
  drops the journal and fails as a stale plan instead of failing on every
  retry.
- Download originals uses a key of the job only when the holder of the
  server sequence's key is kept apart from it or linked elsewhere: a link
  a 404 forgot (pair Candidate) refills and re-links the local copy
  instead of duplicating every photo into a new sequence.
- A 404 for a server sequence no local copy is linked to deletes its
  Candidate and Kept apart pairs, so Upload all local sends the local
  sequence again instead of skipping the only copy as a suspected one
  (owner Q8).

Refs #73

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-18 12:21:57 +01:00
1 parent aad8ae46dd
commit c1c02d8ef7
10 files changed
+286 -16

No files matched your search

+8
View File
@@ -223,6 +223,14 @@ match. A 1.1 server works as before, without Integrate; a 1.2 server adds the ph
- Download originals of a server sequence unlinked or kept apart from its earlier download makes a new local
sequence instead of filling the old one again, re-linking it and overwriting its details.
- An upload retried after its pair was kept apart makes a new server sequence instead of linking the old one again.
- A second version a Union merge copies in is left out of Main at once, so a merge that stops before its details
(an edit meanwhile, a cancel) no longer leaves both versions in Main for good.
- A merge whose other sequence is not hashed lists as a last copy a photo matched by size and time whose content the
kept sequence deleted, instead of failing its verify on every retry.
- Download originals of a server sequence whose link a 404 forgot fills and links its own local copy again instead
of duplicating every photo into a new local sequence.
- A match whose server sequence was deleted, with no local copy linked to it, goes: *Upload all local* sends the
local sequence again and the Library stops reading it as a copy found.
## [1.1.1] — 2026-11-16