fix(copies): close the eighth verification round of owner review 6
- A merge's Renders stage never deletes what sits at a journaled render target: a file or folder it did not copy there (a render of the kept sequence made after a failed run), or a path another render of the kept sequence names, makes the copy take a new free name instead. - A merge's Verify stage records the hash it read for each kept frame the index had none for, the Details stage leaves the versions the verify filed out of Main, and Two versions also lists a whole-second instant holding two frames of one size and other content (owner Q3). - The Integrate journal keeps the losers the plan listed as last copies; a loser that became the only copy while the job ran is never trashed: the journal goes and the job fails as a stale plan. - Download originals of a server sequence whose earlier download was unlinked or kept apart makes a new local sequence under a key of the job, instead of filling the old one, re-linking it and overwriting its details. - An upload never links again from its checkpoint a server sequence the user kept apart since the attempt that made it. Refs #73 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
123ceba845
commit
aad8ae46dd
11 files changed
+536
-36
No files matched your search
@@ -215,6 +215,14 @@ match. A 1.1 server works as before, without Integrate; a 1.2 server adds the ph
|
||||
again: Integrate is offered and new photos move again.
|
||||
- Upload of a sequence kept apart from (or unlinked from) a server sequence makes a new server sequence instead of
|
||||
adding the photos to the one kept apart and linking it again.
|
||||
- A merge resumed after a failed copy of a render no longer replaces a render of the kept sequence made meanwhile
|
||||
under the same name: the other's render is copied beside it under a free name.
|
||||
- A photo a merge keeps in two versions because the two only matched by size and time is listed under Two versions,
|
||||
also at a whole second, and Main renders only the kept version.
|
||||
- An Integrate no longer trashes a losing version that became the only copy while it ran: it stops and plans again.
|
||||
- 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.
|
||||
|
||||
## [1.1.1] — 2026-11-16
|
||||
|
||||
|
||||
@@ -1014,3 +1014,8 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-11-17 | The Integrate's Projects stage counts a project as kept for good only for a refusal a retry would meet again (`TransplantFormatException`, `InvalidDataException`, `ProjectException`, a non-transient server refusal, no project home on either side); any other error (a home out of reach, a network error) fails the job with the journal and the copy's step kept, so a retry finishes that copy (#73) | Count every error as a kept project | One transient error deleted the journal, and the next Integrate copied the half-made copy back as a new project on each side |
|
||||
| 2026-11-17 | A pair's "deleted on server" mark is cleared whenever the server lists that sequence again (whatever the hit count) and whenever a link to that very sequence is made (upload, download, Integrate, Link, auto-link) (#73) | Clear only a single hit | A pair at two hits stayed "deleted on server" for good, even linked again, and its new photos never moved |
|
||||
| 2026-11-17 | An upload without a target of a local sequence kept apart from a sequence of that server goes under a session key of the job (`chronos-sync:<local:N>:<job:N>`, the same on a retry) instead of the sequence's own; a link made over a Kept apart pair moves it to Linked (#73) | Refuse the upload | The server files the sequence's own key into the sequence the user kept separate, and re-linked it without asking; the store and the link disagreed |
|
||||
| 2026-11-18 | A merge's Renders stage never deletes or overwrites what sits at a journaled render target: a file it keeps only when it is the render itself (its recorded SHA-256, else the source's content), a folder only when every file in it is the source's file of that name; anything else, or a path another render of the kept sequence names, makes the copy take a new free name, journaled before the copy (#73) | Refuse while a render row names the path | After a failed run the name was free again, and a new render of the kept sequence (same date, title and preset) went for good, bypassing the trash; a free name keeps both |
|
||||
| 2026-11-18 | A merge's Verify stage writes the hash it read for each kept frame the index had none for (sidecar and index, under the lease, only while the file keeps its stamp); the Details stage leaves the versions the verify filed out of Main as the plan leaves its own (on the plan's payload, else on the kept sequence's settings as they are then, at their version); Two versions also lists a whole-second instant holding two hashed frames of one size and other content (#73) | Hash the other's unhashed photos at plan time | The verify reads every file anyway; the plan stays a dry run that writes nothing; at a whole second the size is what the comparison matched them by |
|
||||
| 2026-11-18 | The Integrate journal keeps the losers the plan listed as last copies (`LastHere`, `LastThere`); before each trash step a loser not listed must still be held by another usable copy (the local copy's other frames, another sequence of this index, the server sequence's fresh manifest; for a server loser its other frames or any sequence of this index), else the journal goes and the job fails as a stale plan (#73) | Keep the loser and end Linked | As the merge's Replace stage: nothing goes to a trash as a last copy without being shown |
|
||||
| 2026-11-18 | Download originals of a server sequence without a local copy goes under a key of the job (`chronos-sync:<remote:N>:<job:N>`, the same on a retry) when the sequence holding the server sequence's own key has a pair or a link for that server (kept apart, unlinked, asked again, linked elsewhere): a new local sequence, and its details are taken only by it; a holder with neither (a run that stopped before linking) is joined as before (#73) | Refuse the download and ask for Link or Ask again | The download twin of the round-7 upload rule: the shared key filed the photos back into the sequence the user kept separate, re-linked it and overwrote its details |
|
||||
| 2026-11-18 | An upload never links again from its checkpoint a server sequence whose pair with the local sequence is Kept apart (unlinked or kept apart since the attempt that made it): the upload goes on as one without a target, under the job's key (#73) | Make Unlink and Keep apart cancel a pending upload | The checkpoint branch never reached the session-key rule, and a retry or a restart moved the Kept apart pair back to Linked |
|
||||
Reference in new issue
Block a user