fix(copies): close the fifth verification round of owner review 6
The metered hold now records the jobs it paused in the index and forgets any job the user pauses, resumes, retries or cancels, so it never resumes a pause of the user's and still resumes its own after a restart. Drop... reports why its dry run is blocked instead of asking first, and dropping the version Main uses lets Main use the version that stays, with its hero and keyframes. That version reads "In Main". Merges: - A re-plan no longer hashes the other's photos again. - A resumed merge verifies photos flagged damaged while it waited. - A merge is blocked while the other's folder holds photos the index has not read; this is checked again under the lease before the trash. - Choose each offers Keep both, Kept and Other, and blocks until every differing photo is chosen. - Classes are named by role. The Compare dialog: - Its headings stay over their columns. - The Projects part scrolls. - Every confirmation line carries its own prefix, and a merge's facts carry none. - A server card in a match offers Compare... alone. The Italian strings follow the glossary. Finding 9 (a local drop counting 0 photos) is not reproduced; a test now keeps the count at 2. Refs #73 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2c06e7ac2b
commit
bf7701d279
159 files changed
+1759
-126
No files matched your search
+15
-6
@@ -1729,10 +1729,14 @@ and lies in a server's originals archive), the photo policy for differing photos
|
||||
wins* or *Other one wins* besides Union and Choose each; photos only in the other always
|
||||
come), each differing detail, and sees the plan: photos into the kept one, versions kept or
|
||||
replaced, last copies first, renders moved, projects copied across (always, under free
|
||||
names), session keys and links moved, the other to the trash. The plan is blocked while
|
||||
names), session keys and links moved, the other to the trash. Under *Choose each* a differing
|
||||
photo is *Keep both*, *Kept* or *Other*, each chosen (no *Leave*: the other goes to the trash;
|
||||
amended 2026-11-17). The plan is blocked while
|
||||
either sequence is busy, offline, moved, linked to the same server as the other, holds
|
||||
workspace work not sent home, has a detail not chosen, holds a damaged photo nothing else
|
||||
holds, or the space is short (512 MiB kept free). *Merge* asks to type the other's photo
|
||||
workspace work not sent home, has a detail or a differing photo not chosen, holds a damaged
|
||||
photo nothing else holds, holds photos in the other's folder the index has not read (copied
|
||||
in by hand, or filed by another index; checked again before the links move and at the trash),
|
||||
or the space is short (512 MiB kept free). *Merge* asks to type the other's photo
|
||||
count, then the `merge-sequences` job copies and files the other's photos (hash-checked,
|
||||
tombstones honoured), moves the renders, re-hashes every original of the other against the
|
||||
kept one, sends the losing versions to the photo trash, writes the details, copies the
|
||||
@@ -1965,7 +1969,9 @@ disabled after the other actions, and its tooltip says the server needs an updat
|
||||
while Windows reports the connection as metered, every transfer with a server pauses after
|
||||
its current chunk or file and resumes by itself afterwards: uploads, the sync's downloads,
|
||||
the workspace's copies from a server and its renders sent to one. Copies from and sends to
|
||||
this PC's archive never wait.
|
||||
this PC's archive never wait. Only the transfers it paused resume, after a restart too (it
|
||||
keeps their ids in the index); a transfer the user pauses or resumes meanwhile is the user's
|
||||
(amended 2026-11-17, owner review 6).
|
||||
|
||||
Server jobs (amended 2026-11-15, owner review 5 R2): while connected, a panel between the
|
||||
connection panel and the sync table lists the server's running and paused jobs (not the
|
||||
@@ -2038,8 +2044,10 @@ lets the user choose what to do with each:
|
||||
choice for this run and a class table (same, same unverified, only here, only there,
|
||||
different, converted, deleted here, deleted there, two versions) with counts and sizes per
|
||||
side; a class lists its photos, with *Bring* for photos on one side under *Choose each*
|
||||
(nothing preselected), *Keep both / This PC's / Server's / Leave* for different ones,
|
||||
*Drop…* for two versions, *To trash…* for photos deleted there and *Delete on server…* for
|
||||
(nothing preselected), *Keep both / This PC's / Server's / Leave* for different ones
|
||||
(a merge: *Keep both / Kept / Other*, its one-sided classes named by role, *Only in kept*),
|
||||
*Drop…* for two versions (the version Main uses reads *In Main*; dropping it lets Main use
|
||||
the one that stays, with its hero and keyframes; amended 2026-11-17), *To trash…* for photos deleted there and *Delete on server…* for
|
||||
photos deleted here (the owner of the server sequence or an admin, with Delete). *Details*:
|
||||
one row per title, tags, rating, notes and setting, each side's value and a choice *This
|
||||
PC | Server* with nothing preselected, *All this PC* / *All server* above. *Projects*:
|
||||
@@ -3809,6 +3817,7 @@ questions asked and the answers; DECISIONS rows give the reasons.
|
||||
| 2026-11-16 | Owner review 6, R2/R3/R4 (compare, integrate, merge, #73) | §5, §12.5, §12.7, §12.8, §14.3, §14.4, §14.6 | The Compare dialog (Photos, Details line by line, Projects, Plan); *Link only* and *Unlink*; *Integrate* (`integrate`, 25) completes a local sequence and its server match both ways under the *Integrate photos* policy (*Union* by default, *Choose each*, one side wins for differing photos), losing versions to the trash only after the winner is hash-confirmed, the details applied as one change; the merge of two local sequences (`merge-sequences`, 26) into the kept one, the other into its archive's trash after every photo is verified, typed by photo count; both journaled and resumable; uploads into a target (`intoTarget`, capability `upload-into`) copied on the server; a background job never interrupts a running one. |
|
||||
| 2026-11-16 | Owner review 6, R5 (projects across, #73) | §12.3, §12.8, §14.5 | Other projects leave their home only through an Integrate with *Copy across* (the default of *Integrate projects*) or a merge, with their histories, `<name> (<PC>)` on a clash; with *Leave them* the two workspace copies are twins in the Edit picker. |
|
||||
| 2026-11-16 | Owner review 6, R6 (sync after integrating, #73) | §12.2, §12.7, §14.5 | New photos of an integrated pair move by themselves both ways at background priority, held on metered connections, told as *not sent* after three failures; settings sync as for any link; *deleted there* goes to the trash only on confirmation; a server sequence that answers 404 twice reads *deleted on server* with *Keep here*, *Upload again* and *To trash…*. |
|
||||
| 2026-11-17 | Owner review 6, verification round 5 (#73) | §12.7 | *Pause metered transfers* resumes only what it paused, a restart included; a merge's *Choose each* has no *Leave* and blocks until each differing photo is chosen; a merge is blocked while the other's folder holds photos the index has not read; *Drop…* of the version Main uses lets Main use the one that stays (*In Main* marks it). |
|
||||
|
||||
## Appendix A — `CLAUDE.md` content (create verbatim in Phase 0, keep updated)
|
||||
|
||||
|
||||
@@ -164,6 +164,20 @@ match. A 1.1 server works as before, without Integrate; a 1.2 server adds the ph
|
||||
names and shows the whole row in its tooltip.
|
||||
- Upload again on a match is enabled only for an account that may send sequences (Upload and Edit), as in the sync
|
||||
table.
|
||||
- *Pause metered transfers* resumes only the transfers it paused, after a restart too; a transfer the user paused
|
||||
stays paused.
|
||||
- Drop… says why it cannot go (archive offline, a job on the sequence) instead of asking first. Dropping the version
|
||||
Main uses lets Main use the one that stays, with its hero and keyframes; the version Main uses reads *In Main*.
|
||||
- A merge plan no longer reads the other's photos again on each choice; a resumed merge checks the photos flagged
|
||||
damaged while it waited; a merge is blocked while the other's folder holds photos the index has not read.
|
||||
- A merge's *Choose each* asks for *Keep both*, *Kept* or *Other* for each differing photo (no *Leave*) and waits
|
||||
until each is chosen; its classes read *Only in kept*, *Only in other* and so on; the last column reads *Version*
|
||||
while a choice is offered, and a screen reader hears *Not chosen* for a choice not made.
|
||||
- Compare dialog: the photo and Details headings stay over their columns when the scroll bar shows; the Projects part
|
||||
scrolls when the projects do not fit; each line of a trash or replace confirmation has its own prefix.
|
||||
- A server sequence's Library card in a match offers Compare… alone.
|
||||
- Italian: *attività* for job and *spazio di lavoro* for workspace in the match strings; *Quella tenuta*; Settings ›
|
||||
Server reads *Integrazione foto* and *Integrazione progetti*.
|
||||
|
||||
## [1.1.1] — 2026-11-16
|
||||
|
||||
|
||||
+13
-1
@@ -976,8 +976,20 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-11-17 | The capture's edit-picker-twins scene lists two sample workspace projects (the integrated pair's Main, a Vertical of a pair still to answer) through `SequencePickerViewModel.ShowSampleWorkspaceAsync`, since a capture has no workspace (`WorkspaceHost.IsEnabled`); the Twin chip is marked by the picker's own twin lookup (#73) | Enable the workspace in a capture | The capture's sample library has no engine to copy media; without it the scene showed no Workspace group and no chip |
|
||||
| 2026-11-17 | A merge runs its trash checks (unsent work, work since the plan, the frames version, the other's archive readable, the verified held photos, the trash dry run) before its Links stage moves the other's session keys, links and pairs; the move records an undo (`MergeLinksUndo` in the journal) that a failure, a stop, a Forget or a stale resume applies before the journal goes, so an abandoned merge leaves the other sequence its links and keys (#73) | Run the checks at the Trash stage only | A merge abandoned at the trash left the surviving other sequence without its link and keys |
|
||||
| 2026-11-17 | An Integrate job carries the planning account's id (`IntegrateJobContext.UserId`), so its re-plan decides ownership as the dialog did (#73) | Re-plan with admin rights only | A non-admin owner's job planned differently from the dialog and was refused as changed |
|
||||
| 2026-11-17 | The metered hold adopts at each pass the automatic transfers it finds paused (a restart forgets what it paused), and resumes them once the connection is not metered; a paused manual transfer stays paused (#73) | Remember the paused ids in settings | A restart while metered left the integrated pairs' new photos paused for good |
|
||||
| 2026-11-17 | The metered hold keeps the ids of the jobs it paused in the index (app setting `sync.meteredHeld`), so a restart resumes them once the connection is not metered, and forgets a job as soon as the user pauses, resumes, retries or cancels it through the job queue (Jobs, the sync table, Matches); it never resumes a job it did not pause (#73; replaces adopting every paused automatic transfer, which resumed transfers the user had paused) | Adopt the automatic transfers found paused at each pass | A restart while metered left the integrated pairs' new photos paused for good, and adopting them undid the user's own pause |
|
||||
| 2026-11-17 | The Compare dialog's Apply re-plans first while a plan is pending or when the shown plan was made for other choices (kept sequence, policy, per-photo, details, projects) (#73) | Disable Apply during the 300 ms debounce | A quick Apply confirmed the previous choices' plan |
|
||||
| 2026-11-17 | Two versions… on the Library's card and row menu of a local sequence lists the photos it keeps in two versions (`ICopyEngine.VersionsAsync`), each version with Drop…: a dry run, a confirmation naming the version that goes and the one that stays, then the archive trash, applied only while the other version is still there, usable and verified by content; a merge job's Open shows it when the kept sequence has any. The item is in the menu of every local card (an empty list says so) (#73) | Show the item only when the count is above zero | Counting needs a frames read per card; owner Q3 wants the versions findable after the pair is gone |
|
||||
| 2026-11-17 | A merge's typed confirmation is the other's photo count without separators (invariant), and the prompt names it ("Type {1}, the number of photos of {0}, to confirm") (#73) | The count in the UI culture | "1.204" in Italian could not be typed as "1204", and the prompt did not say what to type |
|
||||
| 2026-11-17 | A Matches row trims a long archive or server name in its middle (24 characters, `CopyText.MiddleTrim`), the whole text in its tooltip; the columns are Sequence `*`, the sides `1.4*` (180 px at least), State 160, Actions `1.4*` (#73) | An end ellipsis | Archives named alike differ at their end |
|
||||
| 2026-11-17 | Drop… (Two versions… and the Compare dialog) shows why its dry run cannot go (the archive offline or read-only, a job on the sequence, the frames changed) and asks nothing (#73) | Ask, then fail | The confirmation was asked for a drop that could not run |
|
||||
| 2026-11-17 | Dropping the version Main uses lets Main use the one that stays: its pending entry is included and takes the hero and keyframes of the one that went (`CopyPayload.KeepVersion`), written at the settings version the plan read, on this PC's sides and, through the API with three tries on 409, on the server's; a Main changed meanwhile, or a server account without Edit, leaves Main as it is and says so after the version is in the trash (`Errors.Copies.MainChanged`, `Errors.Copies.MainNotEdited`). The version Main uses reads *In Main* (#73) | Leave Main as it is | A Union keep-both excludes the incoming version; dropping the other left the photo out of Main and its renders |
|
||||
| 2026-11-17 | The merge planner keeps the SHA-256 it read of each photo by frame id, size and last write time (at most 200,000, then cleared), so a re-plan on each choice does not read the other's photos again (#73) | Hash on every plan | Every choice in the merge dialog re-read every unhashed photo of the other |
|
||||
| 2026-11-17 | A merge records the flagged photos of the other it verified (`MergeJournal.FlaggedVerified`); a resumed merge verifies a photo flagged damaged since, as the first run would, before anything goes to the trash (#73) | Trust the verify of the first run | A photo flagged damaged while the job waited went to the trash unchecked |
|
||||
| 2026-11-17 | A merge is blocked while the other's folder holds photos this index has not read (`CopyBlock.FolderChanged`): its photo directory's stamp is not the recorded one, or its sidecar's frames version is not the row's; checked at the plan, at the verify and before the links move, and under the sequence lease at the trash (`SequenceTrash` takes a check that throws `StaleDeletePlanException`). The sidecar's own stamp does not count: the merge rewrites it when it moves session keys (#73) | Trust the index | The trash moved photos copied in by hand, never verified in the kept sequence |
|
||||
| 2026-11-17 | A merge's *Choose each* offers *Keep both*, *Kept* and *Other*, without *Leave* (the other goes to the trash, so leaving keeps the kept one's version, which *Kept* says), and the plan is blocked until each differing photo is chosen (`CopyBlock.PhotosUnchosen`, with Choose leading to Photos); its tooltip says so (`.ChooseMerge`); a choice not made reads *Not chosen* to a screen reader (#73) | Keep Leave as in an Integrate | Leave read as keeping both sides, and an unchosen photo merged silently |
|
||||
| 2026-11-17 | Once a merge keeps a sequence, its one-sided classes are named by role from the kept one (*Only in kept*, *Only in other*, *Deleted in kept*, *Deleted in other*), following a swap; before, by place; the photo list's last column reads *Version* while the rows offer a choice (#73) | Only here / Only there | "Only here" named the archive, not the role, and read wrong after a swap |
|
||||
| 2026-11-17 | The photo list and the Details list always show their vertical scroll bar and their headings keep its width, so the columns never shift; the Projects part scrolls both lists together (#73) | Auto scroll bars | The headings drifted from their columns when the bar appeared, and many projects pushed the footer out |
|
||||
| 2026-11-17 | The trash and replace confirmations prefix every line: *Only copy:*, *Replaced:* (Replace), *Held elsewhere:* (To trash…, Delete on server…, Drop…) (#73) | A bare name under an *Only copy:* line | A bare name read as another only copy |
|
||||
| 2026-11-17 | A server sequence's Library card in a match offers *Compare…* alone (`Menu.CardMatchRemote`): Two versions… lists a local sequence's own photos (#73) | The local card's menu | Two versions… on a server card listed nothing it could act on |
|
||||
| 2026-11-17 | Italian: Job is *attività* and workspace *spazio di lavoro* in every new string (`i18n/GLOSSARY.md`); Kept reads *Quella tenuta*; the Settings rows read *Integrazione foto* and *Integrazione progetti* (#73) | Lavoro | The glossary fixes both terms; "lavoro" read as work, not a job |
|
||||
| 2026-11-17 | Finding 9 of the fifth verification round (a pair of this PC's sequences dropping a version listed "0 photos") is not reproduced: `DropVersionPlan.Photos` counts each local side's version, 2 for two local sequences; a test keeps it so (#73) | Change the count | The count was right; the test proves it |
|
||||
+1
-1
@@ -20,7 +20,7 @@ by its `windows` job once a Windows runner is registered (`WINDOWS_RUNNER`), and
|
||||
| 8.4 Owner review 4 | Done (request and plan: `docs/requests/2026-11-06-owner-review-4.md`): released as `v0.1.0-rc.14` with owner review 1 phase 6 (the deploy guide `docs/deploy/`), then as `v1.0.0` (#23), the first stable release: R1 work board of every video made or published, the published apart from workspace work (#29); R2 the anonymous usage counts removed, nothing sent by itself (#30); R3 the archive's whole folder structure created inside the chosen archive path, desktop and server (#31); R4 the repository on Gitea in order (earlier work as closed issues #32–#54 in their milestones, the original documentation in `docs/reference/original`, `fe50b877`); R5 licensing set aside and recorded in #24. |
|
||||
| 8.5 Owner review 5 | Done (request, answers and plan: `docs/requests/2026-11-15-owner-review-5.md`; issues #64–#67, milestone v1.1.0), released as `v1.1.0`: one setup for Chronos Desktop and Chronos Uploader with the Uploader's update check (#64); the detail of mass passes (step, photo x of y, sequence n of m, rate, time left) on the desktop, the admin panel and, for the connected server's jobs, the desktop's Server section (#65); separate homes per server keyed by a stable server id, with the 1.0 workspace and cache sorted at the first start and a separate originals archive per server (#66); Chronos Desktop sharing its library on the LAN in place of Chronos Server for Windows, running on in the tray while it shares (#67). One review round, 15 findings fixed; strings in all 38 languages. Not run on the PC: the Windows-only smoke tests, `installer-test.ps1` and the release dry run (CI runs them). Follow-ups: a firewall status row, Change…/Forget on known servers, the LAN beacon announcing the server id, docs/ui DESIGN and mockups for the new screens. |
|
||||
| 8.6 Windows test of 1.1.0 | Done (#70, milestone v1.1.1), released as `v1.1.1`: the App and Core.Windows suites run whole on the development PC (5 stale screen tests brought up to date); a hands-on test of a portable 1.1.0 (import, Reorganize, sharing, a client, tray, Exit with clients); fixes: job log times in local time, the Jobs Type column, Forget in Bulgarian, the Reorganize capture. Still to do by the owner: the real 1.0 → 1.1 upgrade on this PC (UAC). |
|
||||
| 8.7 Owner review 6 | In progress (request, answers and plan: `docs/requests/2026-11-16-owner-review-6.md`; #73, milestone v1.2.0), implemented on `or6-duplicates`, not released: matches, the same time-lapse on a server and on this PC under different ids or twice on this PC, found after each sync refresh (the server's new photo lookup) and after jobs that change photos (migration 0012, `Chronos.Data.Copies`); Server › Matches with Keep apart, Link only, Unlink and the Compare dialog (Photos, Details line by line, Projects, Plan); Integrate of a local and a server sequence (job 25: photos both ways under Union by default, details as one change, projects copied across, losers to the trash only after a hash check) and the merge of two local sequences (job 26: the other to its archive's trash once every photo is verified); new photos of integrated pairs moved by themselves, *deleted there* and *deleted on server* reviewed by the user; Settings › Server › Link matches (Ask always), Integrate photos (Union), Integrate projects (Copy across); Upload all local skips suspected matches. Eight parcels, one review round (correctness, safety, conformance) with every verified finding fixed, a gap round and four verification rounds; the strings in all 38 languages. Still to do: the PostgreSQL tests in CI, the Windows capture of the new screens against the design, the release. The photos a sequence keeps in two versions are listed with Drop… from the Library (Two versions…) and a merge job's Open. Follow-ups: a field-level merge of an integrated pair's settings (to ask the owner), the Import › Folder… warning, the same list in Edit. |
|
||||
| 8.7 Owner review 6 | In progress (request, answers and plan: `docs/requests/2026-11-16-owner-review-6.md`; #73, milestone v1.2.0), implemented on `or6-duplicates`, not released: matches, the same time-lapse on a server and on this PC under different ids or twice on this PC, found after each sync refresh (the server's new photo lookup) and after jobs that change photos (migration 0012, `Chronos.Data.Copies`); Server › Matches with Keep apart, Link only, Unlink and the Compare dialog (Photos, Details line by line, Projects, Plan); Integrate of a local and a server sequence (job 25: photos both ways under Union by default, details as one change, projects copied across, losers to the trash only after a hash check) and the merge of two local sequences (job 26: the other to its archive's trash once every photo is verified); new photos of integrated pairs moved by themselves, *deleted there* and *deleted on server* reviewed by the user; Settings › Server › Link matches (Ask always), Integrate photos (Union), Integrate projects (Copy across); Upload all local skips suspected matches. Eight parcels, one review round (correctness, safety, conformance) with every verified finding fixed, a gap round and five verification rounds; the strings in all 38 languages. Still to do: the PostgreSQL tests in CI, the Windows capture of the new screens against the design, the release. The photos a sequence keeps in two versions are listed with Drop… from the Library (Two versions…) and a merge job's Open. Follow-ups: a field-level merge of an integrated pair's settings (to ask the owner), the Import › Folder… warning, the same list in Edit. |
|
||||
| 9 Monetization | Not started: requires explicit approval (§22); the proposal is recorded in issue #24 (owner review 4, R5). |
|
||||
|
||||
## Verification (2026-10-12)
|
||||
|
||||
@@ -67,7 +67,7 @@ local folders and *Upload all local*). The owner answered in Italian; quoted wor
|
||||
|
||||
| Phase | Content | State | Commit |
|
||||
|---|---|---|---|
|
||||
| 1 | `v1.2.0`: R1–R7 (#73); R8 tracking. Parcels: P0 foundation (contracts, migration 0012, store, wire, trash and job hooks, keys), P1a pure comparison and rules, P1b detection and sync integration, P2 server photo lookup and uploads into a target, P3 Integrate, P4 merge of two local sequences, P5 engine composition and automatic photos, P6 the desktop surfaces; then one review round (correctness, safety, conformance) with every verified finding fixed, a gap round and four verification rounds. BRIEF §5, §6.2, §12.2, §12.3, §12.5, §12.7, §12.8, §14.3, §14.4, §14.5, §14.6, §24 and Appendix C amended; DESIGN §4 *Matches*; DECISIONS rows dated 2026-11-16 and 2026-11-17 citing #73 | in progress: implemented on `or6-duplicates`, not released; strings in all 38 languages; the PostgreSQL tests and the Windows capture still to run | `283d04d9` … `3c99badc`, then the commit closing the fourth verification round |
|
||||
| 1 | `v1.2.0`: R1–R7 (#73); R8 tracking. Parcels: P0 foundation (contracts, migration 0012, store, wire, trash and job hooks, keys), P1a pure comparison and rules, P1b detection and sync integration, P2 server photo lookup and uploads into a target, P3 Integrate, P4 merge of two local sequences, P5 engine composition and automatic photos, P6 the desktop surfaces; then one review round (correctness, safety, conformance) with every verified finding fixed, a gap round and five verification rounds. BRIEF §5, §6.2, §12.2, §12.3, §12.5, §12.7, §12.8, §14.3, §14.4, §14.5, §14.6, §24 and Appendix C amended; DESIGN §4 *Matches*; DECISIONS rows dated 2026-11-16 and 2026-11-17 citing #73 | in progress: implemented on `or6-duplicates`, not released; strings in all 38 languages; the PostgreSQL tests and the Windows capture still to run | `283d04d9` … `2c06e7ac`, then the commit closing the fifth verification round |
|
||||
|
||||
Follow-ups kept out of 1.2.0: a field-level three-way merge of an integrated pair's settings (settings sync as today,
|
||||
owner Q6; to be asked of the owner), the Import › Folder… warning for photos already on a server, merging two
|
||||
|
||||
Reference in new issue
Block a user