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

- A merge verify that finds a hashed photo the plan did not copy (held by
  a third sequence when planned) held by nothing now drops its journal and
  fails as a stale plan, so the retry plans again and lists the photo as a
  last copy instead of failing with "did not match after copying" forever.
- A comparison settles no details of a pair being integrated, and the
  Integrate's Details stage refuses a line decided as the server's whose
  server value is now this PC's own, so a background push or pull no longer
  reverses the user's line-by-line choice (owner Q4).
- A 404 for a server sequence no local copy is linked to deletes only its
  Candidate pairs; a Kept apart answer counts the hit as a linked pair does
  (two 404s GoneRecheck apart), so a moment's 404 neither re-asks nor
  auto-links a pair the user kept separate (owner Q1). Upload all local
  sends the local sequence once the deletion is confirmed.
- Download originals into a local copy the server key names and that is
  paired with the server sequence links it first and fills it as a linked
  copy: its tombstones hold and its details are compared, not overwritten.
- An upload of a sequence with a Candidate pair goes under a key of the
  job, and one that joins a server sequence this PC already knows compares
  its details instead of sending them all over the server's.

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 13:17:23 +01:00
1 parent c1c02d8ef7
commit e002c583d6
12 files changed
+383 -34

No files matched your search

+12
View File
@@ -231,6 +231,18 @@ match. A 1.1 server works as before, without Integrate; a 1.2 server adds the ph
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.
- A merge whose photo held by a third sequence is held nowhere by the time of its verify asks for a new comparison,
which lists it as a last copy, instead of failing with "did not match after copying" on every retry.
- A background sync no longer pushes or pulls the details of a pair being integrated, and the Integrate stops
instead of taking this PC's own value over a line the user decided as the server's.
- A *Keep apart* answer survives a server sequence answering 404 for a moment: it is counted as a linked pair's 404
is, so the pair is neither asked again nor linked by itself; only a confirmed deletion lets *Upload all local*
send the local sequence.
- Download originals into the local copy of a pair asked about again keeps the photos deleted there deleted and
compares its details instead of overwriting them with the server's.
- An upload of a sequence asked about again makes a new server sequence instead of joining, re-linking and
overwriting the one an earlier upload made; one that joins a server sequence this PC already knows compares its
details instead of overwriting them.
## [1.1.1] — 2026-11-16
+5
View File
@@ -1023,3 +1023,8 @@ One line per decision: date · decision · alternative · reason.
| 2026-11-18 | A merge plan whose kept sequence has tombstones also hashes in memory the other's unhashed frames matched by size and time (every frame of that size and instant); a verify that finds unhashed content the kept sequence deleted, held nowhere and not listed, drops the journal and fails as a stale plan (#73) | Hash them always | Only a tombstone makes such a frame a last copy nothing lists; the rest the verify files as a second version, and an adopted folder is not hashed twice for nothing |
| 2026-11-18 | Supersedes the 2026-11-18 download-key row: Download originals goes under a key of the job only when the holder of the server sequence's own key is Kept apart from that server sequence (kept apart or unlinked) or linked to another sequence of that server; a Candidate, Linked or Integrated pair, a pair with another server sequence, or a link a 404 forgot keeps the own key, so the download refills and links its own local copy (#73) | Any pair or link for that server | A link a 404 forgot left a Candidate pair, and the download duplicated every photo into a new local sequence |
| 2026-11-18 | A 404 for a server sequence no local copy is linked to (an observation-only link) deletes the Candidate and Kept apart pairs naming it (`FoundCopyStore.SettleUnlinkedGoneAsync`); Linked, Integrated and Integrating pairs are left to their link's 404 (#73) | Count the hit on those pairs (read as deleted on the server) | Neither is a copy of anything the server still has: Upload all local must send the local sequence, and a server sequence listed again is found anew |
| 2026-11-18 | A merge verify that finds a hashed photo of the other the plan did not copy (held by a third sequence when planned) held by nothing now drops the journal and fails as a stale plan; "did not match after copying" stays, with the journal kept, for a photo the plan copied that the kept sequence does not hold (#73) | Keep the journal and let a retry ask the third sequence again | A third copy gone never comes back: every retry failed the same way, and the new plan lists the photo as a last copy |
| 2026-11-18 | A comparison settles no details (push, pull or conflict) of a pair whose found-copy row reads Integrating; the Integrate's Details stage also refuses (details changed, photos kept) a line the user decided as the server's whose server value is now this PC's planned one, instead of absorbing it (#73) | Count the Integrate's ids in the transfers an event refresh skips | The planner's own Busy check reads that set, and the photos must still be compared; only the settling reversed the user's line-by-line choice (owner Q4) |
| 2026-11-18 | Supersedes the 2026-11-18 unlinked-404 row: a 404 for a server sequence no local copy is linked to deletes only its Candidate pairs; each Kept apart pair naming it counts the hit as a linked pair does (once per refresh, a second only after `GoneRecheck`), a listing clears the count, and Upload all local sends the local sequence only once the pair reads deleted on the server (two hits) (#73) | Count observation links in the sweep test | A single 404 (trash and restore, access withdrawn for a moment) erased the Keep apart answer, and the pair was asked again or linked by itself (owner Q1) |
| 2026-11-18 | Download originals whose server-sequence key names a local copy paired with that server sequence (Candidate, Linked or Integrated, no link) links that copy first and fills it as a linked copy (its tombstones honoured), then compares it as a new link instead of taking the server's details; a holder with no pair (a run that stopped before linking) is joined as before (#73) | Use a key of the job for a Candidate holder too | The round-9 rule refills the local copy a 404 or Ask again left without a link; treated as new it got photos deleted here back and lost its details (owner Q3, Q4, Q6) |
| 2026-11-18 | An upload without a target goes under a key of the job when its local sequence has a Candidate or Kept apart pair with that server, and one whose first original joins a server sequence this PC already knows (listed, linked or paired) compares it as a new link instead of sending all its details (#73) | Keep the own key for a Candidate pair | The own key filed the photos into the sequence an earlier upload made, linked it unasked and overwrote edits made there (owner Q1, Q4) |