fix(copies): a changed photo no longer wedges a merge's resumed verify

A merge's Verify stage journals a second version before filing it. When
the copy then failed or read other bytes (the file rewritten by an
editor or a sync tool, a drive dropping out before an edit), every retry
read new bytes for that journalled frame and stopped with changed,
keeping the journal, so the merge failed the same way until cancelled.

- When the kept sequence does not hold the journalled bytes, nothing was
  filed: the frame leaves SecondVersions and VersionShas and is verified
  as on a first visit, which files the photo as it is now.
- When it holds them (filed, then the exclusion failed), they are left
  out of Main and the merge stops and drops its journal, so the next run
  plans again instead of a cancel leaving them in Main for good.

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 14:30:27 +01:00
1 parent 6db4c2e80c
commit 65b7cdf91b
5 files changed
+115 -3

No files matched your search

+3
View File
@@ -245,6 +245,9 @@ match. A 1.1 server works as before, without Integrate; a 1.2 server adds the ph
details instead of overwriting them.
- A second version a merge's verify files is left out of Main also when the run stopped right after filing it (a
drive dropping out, project.json held, the app closing): the resumed merge leaves it out then.
- A merge whose verify stopped before filing a second version, and whose photo changed before the retry, files the
photo as it is now instead of failing on every retry; one that had filed it leaves it out of Main and asks for a
new comparison.
- *Upload all local* leaves out again a sequence answered *Keep here* after its server copy was deleted, and the
answer stays; only a *Keep apart* given before the deletion lets it send the sequence.
- An upload that joined a server sequence this PC already knew still compares its details when it is resumed or