docs: bring the owner review 6 documentation in step with the fixes

The docs commit 59235e7c predates the third to sixth verification rounds.
The brief now says how Integrate decides who may trash a server photo (per
sequence, owner or admin with Delete; otherwise the server's version stays
out of its Main), that the Details stage stops on a server change, how a
merge re-plans, keeps its links undoable and names its classes, the
Two versions... list of owner Q3, the three-button rows and twins with a
sibling only, with an amendment row per round. DESIGN, ARCHITECTURE,
DECISIONS, CHANGELOG, STATUS 8.7 and the request doc follow; the Windows
captures are no longer listed as open.

The glossaries gain the match terms in every language, read from the
shipped strings. Hindi merging reads मर्ज, apart from मिलान (match);
Croatian names the matching sequence podudarna sekvenca; Finnish no
longer puts kohteen right after a count.

Refs #73

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-17 22:10:58 +01:00
1 parent 38764972ad
commit 7c9d91c59f
51 files changed
+437 -70

No files matched your search

+4 -4
View File
@@ -62,13 +62,13 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
| `Jobs` | `JobEngine` (one job at a time; reviews the priority queue and makes a lower running job yield, requeued with its checkpoint; no history purge, the housekeeping schedule's clean-up does it), `JobPriorityQueue` (a level per job kind, the claim order, settings round trip), `IJobHandler`, `IJobHandlerProvider`, `JobContext` (progress, checkpoints, follow-up jobs that never interrupt their parent), `JobThroughput`/`JobEta` (rate and bounded time left), `ICancelledJobHandler` (a handler's clean-up after a cancel: `JobEngine.CancelAsync` calls it for a paused or failed job no handler runs, and waits first for a paused job's run that has not ended). Owner review 5, #65: `JobContext.ReportAsync(done, total, JobDetail)`, `CheckpointAsync(…, detail)` and `ReportItemAsync` (item counts of the current detail with no allocation); publishing throttled to one report per `JobEngineOptions.ProgressInterval` (500 ms) per job with bypass for the first report, a step change and a completed count; `JobWire` maps the detail (`DetailJson`, `ParseDetailJson` never throws); `jobs.progress_detail` (migration 0011). Owner review 6, #73: a `JobPriority.Background` job never makes a running job yield; kinds `Integrate` (25) and `MergeSequences` (26), high by default; steps `Details`, `Projects` and `Trash` |
| `Scheduling` | `Scheduler` (one per host: seeds the host's system schedules, claims due runs by compare-and-set, catch-up, clock changes, create/edit/reset/delete/run now as API v1 DTOs), `ScheduleRecurrence` (the in-house `every:`/`daily:`/`weekly:`/`monthly:` form, wall-clock times across DST), `ScheduleActions` (action names, parameters, availability, the archive jobs a run queues), `IScheduleHost` and `SystemSchedule` (what the server and the desktop supply), `ScheduleOutcome`, `ScheduleMapping` (model ↔ DTO) |
| `Housekeeping` | `BackupJobHandler`, `CleanupJobHandler`, `ICleanupStep` with the shared steps (`CleanupSteps`: job history, audit log, trash report that never deletes); hosts add their own steps through `ArchiveServiceOptions.CleanupSteps` |
| `Archiving` | `ArchiveService` (create/adopt/open, archive settings written to `archive.json` then the index, `ArchiveSettings.CheckTemplates` and `TemplateRuleException` holding a template given anew to the template rules; `UnderLeaseAsync`: a write under a sequence's lease with its row read under it; `EditSettingsAsync`: settings an index edit writes, written to `project.json` under the lease first and put back when the index does not take them), `ArchiveIndexer` (scan, rebuild; a sequence found in another folder takes its exports' paths along; a full scan or a rebuild takes the projects' sidecars back too), `ArchiveIngest` (uploads and imports, named through `FrameNaming`; content a conversion replaced is a duplicate of the frame holding its conversion; a restore or a replacement not settled yet refuses the batch), `ImportService`, `ArchiveVerifier`, `ArchiveImages` (thumbnail and proxy passes, several photos at once through `OrderedWork`, which hands results back in frame order), `FrameTiers` (decode tier, `PreviewOnly`/`Undecodable` flags and preview size of frames, written to sidecar and index by the light analysis, deep analysis, renders and image passes), `GprCompanions` (the JPEG of each GoPro GPR, found in the index when an import kept it in another sequence), `ArchiveMaintenance` (also a conversion job's staging and journals, by the job's state; those of a job this index does not know go together, by age), `MassRenamer` (mass rename and Reorganize: the dry run reads each sidecar for a file template; each step checked under its leases before anything of it moves (where its sequences are, what is inside and at its new folder, a sidecar of a newer format, the title it was planned from when it changes it or names the folder or files after it), then the folder, with the sequences of the plan an earlier step left as they were inside it (taken along, their title and file names kept), every index row (the frame paths and render paths of the exports inside it, a file or an image-sequence folder, its own unless the export is still at the old place and another sequence's when it moved with it, follow it in one transaction; a sidecar that cannot be read or written then still has its row follow, and fails the step), then the files under the plan's journal in `journal/` (a sequence whose photos changed since, such as one still receiving them, or whose files are found changed or in use or have their new names taken keeps its file names, the renames being pinned by digest, and the step and the plan go on); the journal keeps the tally of the whole plan, and a plan its job held (paused, cancelled or failed) is left to that job, only its half-done file renames completed at an archive open, which completes any other plan an interruption left and tells each sequence changed; the file renames of a step: sidecar, a sequence whose sidecar cannot be read staying as it is with every folder around it, index (`FrameRepository.RenameFilesAsync`) and the sequence's journal), `SequenceFolders` (`Holds`: the folder the index has for a sequence is there and its sidecar names no other sequence; every writer into a sequence's folder asks it), `SequenceTrash` (delete into the archive's hidden trash with a dry run, restore; the folder moves back when the index step fails; lists sequence and photo entries; `SequenceTrash.Empty`: the emptying's dry run, fingerprint and erase, each entry checked against its fingerprint again under its lease, `TrashKept` with its `TrashKeptReason` for each entry kept; `SequenceTrash.Replaced`: where a replaced entry's conversions are, read from the archive's sidecars (in the index's or the entry's folder, in the trash, else by one `SidecarWalk` of the archive per dry run or emptying) through their replaced tombstones, a conversion deleted only on the archive's word (a tombstone, the trash, or an `ErasureRecord` in `trash/.erased/`, written when an emptying erases a deleted sequence a replaced entry still needs), `TrashEntry.ConversionDeleted` in the dry run and its fingerprint, the erase weighed under the entry's and the sequence's leases once the sequence is settled; `BusyAsync`: what running and paused jobs hold, but the job asking, from `JobRepository.ListHoldsAsync`), `FrameTrash` (photos of a sequence into `trash/photos` with a dry run, a journal that undoes an interrupted deletion whose entry stays unlisted until its sidecar is written, tombstones (a photo never hashed is hashed as it goes; one whose original is missing goes without a file or tombstone; a frame that stays and may be a twin is hashed, its hash kept), positions parked and placed back, proxies and thumbnails moved to follow their frames; `FrameTrash.Restore`: restore re-hashes each file and says why each kept photo stayed (`KeptReason`), under a journal of its own into the sequence that another writer settles only under the entry's lease, into a new sequence through the ingest when theirs is gone, each original staged inside its oLine truncated
| `Archiving` | `ArchiveService` (create/adopt/open, archive settings written to `archive.json` then the index, `ArchiveSettings.CheckTemplates` and `TemplateRuleException` holding a template given anew to the template rules; `UnderLeaseAsync`: a write under a sequence's lease with its row read under it; `EditSettingsAsync`: settings an index edit writes, written to `project.json` under the lease first and put back when the index does not take them), `ArchiveIndexer` (scan, rebuild; a sequence found in another folder takes its exports' paths along; a full scan or a rebuild takes the projects' sidecars back too), `ArchiveIngest` (uploads and imports, named through `FrameNaming`; content a conversion replaced is a duplicate of the frame holding its conversion; a restore or a replacement not settled yet refuses the batch), `ImportService`, `ArchiveVerifier`, `ArchiveImages` (thumbnail and proxy passes, several photos at once through `OrderedWork`, which hands results back in frame order), `FrameTiers` (decode tier, `PreviewOnly`/`Undecodable` flags and preview size of frames, written to sidecar and index by the light analysis, deep analysis, renders and image passes), `GprCompanions` (the JPEG of each GoPro GPR, found in the index when an import kept it in another sequence), `ArchiveMaintenance` (also a conversion job's staging and journals, by the job's state; those of a job this index does not know go together, by age), `MassRenamer` (mass rename and Reorganize: the dry run reads each sidecar for a file template; each step checked under its leases before anything of it moves (where its sequences are, what is inside and at its new folder, a sidecar of a newer format, the title it was planned from when it changes it or names the folder or files after it), then the folder, with the sequences of the plan an earlier step left as they were inside it (taken along, their title and file names kept), every index row (the frame paths and render paths of the exports inside it, a file or an image-sequence folder, its own unless the export is still at the old place and another sequence's when it moved with it, follow it in one transaction; a sidecar that cannot be read or written then still has its row follow, and fails the step), then the files under the plan's journal in `journal/` (a sequence whose photos changed since, such as one still receiving them, or whose files are found changed or in use or have their new names taken keeps its file names, the renames being pinned by digest, and the step and the plan go on); the journal keeps the tally of the whole plan, and a plan its job held (paused, cancelled or failed) is left to that job, only its half-done file renames completed at an archive open, which completes any other plan an interruption left and tells each sequence changed; the file renames of a step: sidecar, a sequence whose sidecar cannot be read staying as it is with every folder around it, index (`FrameRepository.RenameFilesAsync`) and the sequence's journal), `SequenceFolders` (`Holds`: the folder the index has for a sequence is there and its sidecar names no other sequence; every writer into a sequence's folder asks it), `SequenceTrash` (delete into the archive's hidden trash with a dry run, restore; the folder moves back when the index step fails; lists sequence and photo entries; `SequenceTrash.Empty`: the emptying's dry run, fingerprint and erase, each entry checked against its fingerprint again under its lease, `TrashKept` with its `TrashKeptReason` for each entry kept; `SequenceTrash.Replaced`: where a replaced entry's conversions are, read from the archive's sidecars (in the index's or the entry's folder, in the trash, else by one `SidecarWalk` of the archive per dry run or emptying) through their replaced tombstones, a conversion deleted only on the archive's word (a tombstone, the trash, or an `ErasureRecord` in `trash/.erased/`, written when an emptying erases a deleted sequence a replaced entry still needs), `TrashEntry.ConversionDeleted` in the dry run and its fingerprint, the erase weighed under the entry's and the sequence's leases once the sequence is settled; `BusyAsync`: what running and paused jobs hold, but the job asking, from `JobRepository.ListHoldsAsync`), `FrameTrash` (photos of a sequence into `trash/photos` with a dry run, a journal that undoes an interrupted deletion whose entry stays unlisted until its sidecar is written, tombstones (a photo never hashed is hashed as it goes; one whose original is missing goes without a file or tombstone; a frame that stays and may be a twin is hashed, its hash kept), positions parked and placed back, proxies and thumbnails moved to follow their frames; `FrameTrash.Restore`: restore re-hashes each file and says why each kept photo stayed (`KeptReason`), under a journal of its own into the sequence that another writer settles only under the entry's lease, into a new sequence through the ingest when theirs is gone, each original staged inside its oLine truncated
| `Processing` | `ProcessingService`, `SequenceAnalyser`, `DeepReports` (a saved deep report while it still describes the frames), `SequenceRender`, `ProjectStore` (a newer format refused as `Errors.Render.NewerSettings`), `ProjectBundles` (a `.chronos` file for a sequence, and the sequence a file names), `ProcessingJobs` (`Routed`: a render job sized from its resolved preset box through `RenderSize` and given its `RequiredSettingsFormat`, read from the job's own export and never below the stored settings' format; `RequiredFormat` over a batch's presets, used by the desktop's gates; `BatchExport` carrying the playback; `Still`: a still job, `StillFrame` and `StillPhoto`, format 3), `RenderNodeClient` (registers the node's settings format), job handlers (`RenderJobHandler` hashes each single-file output and records its kind, stills included) |
| `Videos` | Owner review 1, R9: `IVideoLibrary` (`ArchiveService.Videos`; the server's and the desktop's one library: list and get as `VideoItem` with state and copies, `PlanDeleteAsync` and `DeleteAsync` by fingerprint, `RestoreAsync` by trash entry, `CopiesAsync`, `CopyJob`, `FolderProblem`; `VideoQuery`, `VideoErrors` and `VideoLibraryException`, `VideoTrashNames`), `VideoLibrary` (`ProtectedFolders`: the host's folders a videos folder may not be in, the workspace on the desktop, the data folder on the server; `RecoverAsync` at open), `VideoTrash` (`.chronos/trash/videos/`: delete under the sequence's lease with a `.pending` record journal, a rename or a verified cross-volume copy, the row removed and `rendered_count` recounted, `.leftover` markers for a source a copy could not remove; restore after a re-hash under a free name, same render id; entries listed through `SequenceTrash` as `TrashKind.Videos`, titled by their sequence), `VideoCopyJobHandler` (`video-copy`, 24: free space for every render first, `.incoming-<id>.part`, hash, rename without overwrite, `render_copies`; a server's render downloaded on the desktop; checkpoint `done:<n>`), `VideosFolder` (validation, free space, " (2)" collision names, part-file names) |
| `Projects` | `ProjectService` (`ArchiveService.Projects`: the projects of this PC's sequences as a home, under the sequence's lease and only in a folder that holds the sequence (`SequenceFolders.Holds`; otherwise `SequenceFolderMovedException`: reads answer from the index, writes are refused); reads wait 3 s for the lease, then answer from the index; a read-only archive is read without writing (an index-only Main written back once it takes writes): list, create, rename, delete (the folder into `projects/.trash` first, then the deleted record; never Main), history, head (NotFound once deleted), `StoredAsync` (a version file read back and checked), push with fast-forward / idempotent repeat / divergence / hash, portability, strict format and 64 MiB checks; each call first catches up: the sidecars into the index, Main made from the sequence's settings, settings another path wrote appended to Main as an `external` version or, with a push whose mirror was cut short, merged into one `merge` version where they win, a mirror never written over `project.json` settings it has not taken in (`MovedSharedAsync`), records behind the index healed (`HealAsync`, `UpdatedAfter`), projects the archive lost written back (`WriteBackAsync`); a push to Main mirrored into `project.json` and the settings with the settings version check), `ProjectIndexer` (the reconcile, also run by full scans and rebuilds: the projects' trash read before the live folders, so a deletion wins and the live folder's late version files move beside it; a record that cannot be read held back, never taken for a deletion; a lost record written again from the index only once its folder settled (`RecordSettle`, 2 minutes) and no trash folder holds it back (`TrashRecordGrace`, 1 day); a creation cut before its record left as it is; a version file a push left past its record adopted, a stray one moved to `versions/.stray`; `BehindAsync`, one rule for a record behind the index; `SettleMainAsync` and `SwapMainAsync`, one Main from the records, passed in one transaction), `ProjectSidecars` (record and immutable version files, the settings as a JSON string checked against their hash, `MaxVersionBytes` 64 MiB refused before writing), `ProjectMerge` (three-way merge member by member, pending frames merged photo by photo, conflicts, `Replay` of local commits on a moved head; `NewerSettingsException` rather than merge a newer format; `OneFraming`: a turn or mirror on one side and a framing edit on the other are one conflict at the orientation member), `IProjectHome` and `ArchiveProjectHome` (the home a workspace pushes to and pulls from: `HoldsAsync` reads a version back, `FramesStampAsync` says when the frames changed, an offline archive or busy lease is `HomeUnavailableException`), `ServerProjectHome` (phase 5b: a server sequence's `/projects` over `ChronosClient`; a server out of reach, an expired sign-in, a 503 lease, offline archive or `projects_unreadable`, a 409 `folder_in_use` and a server without the projects are `HomeUnavailableException`, a 404 `sequence`/`project`/`version` and a refused name `ProjectException` (a deleted project's head is 404 `project`), a 422 `too_large` the `TooLarge` outcome, other refusals keep their `ChronosApiException`; `HoldsAsync` reads the version back (`?stored=true`), `FramesStampAsync` from `…/frames/stamp`, version pages read on past a page the server ended early, a 413 the `TooLarge` outcome; its sequences name an archive id made from the server's key), `HomePhotos` (a sequence's photos as positions name them, with the encodings its Replaced tombstones join; the server's frames endpoint and render nodes build the same), what each call changed (`ProjectChangeSet` to `ArchiveServiceOptions.ProjectsChanged`, once the lease is let go: projects made, renamed, deleted or with a new head, compared before and after under the lease, and whether Main's head was written into the sequence's settings), `CatchUpAsync` (the catch-up alone, saying why it cannot run), `ProjectWire` (projects, versions, push outcomes and a home's frames to and from API v1 DTOs, for the server and a client of it). Owner review 6, #73: `ProjectTransplant` (`IProjectCopier`: a project and its history copied to another home for an Integrate or a merge, an intent journaled before the copy is made, each pushed version verified against its content hash, a copy someone else changed left alone; `FreeName` "name (PC)", "(2)"… within the name limit; `TransplantFormatException` for a newer settings format) |
| `Workspaces` | `WorkspaceStore` (a folder outside the library: `workspace.json` written atomically, one folder per project, no index; a leftover folder holding only stale lease files removed on listing), `WorkspaceProject` (`project.chronos` working state, `media/` with `media.json`, `proxies/<frame id>.jpg` (and `<frame id>-<sha16>.jpg` while a copy replaces one) and `analysis.json`, `versions/` with `.replaced` (versions set aside, pruned by age and count) and `.replaced.since`, `sync.json` for a conflict, a restore or the journal of a replay or a Save both, `exports/`, the lease `.lock.lease`; `UnreadableVersions`), `WorkspaceMedia` (`NamedAsAt`: the media learn the home's hashes and aliases), `WorkspaceSync` (checkout, open under the lease, save, commit, push, pull with replay and merge, the base in `project.chronos` as every write's commit point, `SettleAsync` finishing or undoing a cut push, replay or Save both, conflicts settled by keep mine, take server or save both only as shown, restore, status with Gone, Damaged and `MediaOutdated`, the home's frames read again only when their stamp moved; `FollowNameAsync`: the home's name and Main written into the copy at every pull and at a server's `renamed`), `WorkspaceCopyJobHandler` (`WorkspaceJobs.Copy` and `CopyFactsAsync`, registered by the desktop only: the archive only read, from a folder that holds the sequence; a workspace inside a library refused; the archive's current proxies copied, the others made in the workspace, each hash-verified, resumable from a checkpoint of its frames version and folder, free space checked against its estimate plus 512 MiB; the encodings conversions joined kept in `media.json`; the working state's positions moved by frame where frames stay, by photo where they came or went; a cancelled first copy's media cleared under the project's lease only when no other copy of the project waits or runs, through `ICancelledJobHandler` too; a project whose home is a server, `WorkspaceJobs.CopyFromServer`, phase 5b: downloaded through the desktop's session (`ISyncConnector`), never through this PC's archive, the frames of one frames version with the aliases of the server's conversions, each proxy (else the thumbnail standing in, `WorkspaceFrame.FileKind`) hashed as it arrives and checked on the disk, four at a time, the editor's current file never overwritten, resumable from the same checkpoint, a `<file>.thumb` marker beside a thumbnail standing in until the commit, free space checked against the server's proxy sizes); phase 5c: `WorkspaceProject` gains `media/originals/<frame id>-<sha8><ext>` (`OriginalName`), the ledger `exports/renders.json` (`WorkspaceRenders`, `WorkspaceRenderEntry`; `ContainedExportFile` keeps every ledger path inside `exports/`), `media.json` format 2 while it holds originals or was cleaned (`WorkspaceMedia.Cleaned`) and the project file format 3 while its media are Originals; `WorkspaceOriginals` (Proxies only's plan and apply, and `ClearOriginals`: every file of `media/originals` hashed and deleted only when the home's frames hold its SHA-256, the rest moved to the trash), `WorkspaceTrash` and `WorkspaceTrashBuilder` (`<workspace>/.trash`: entries `<project id>-<ticks>` filled under `.incoming-<id>-<ticks>` and renamed when whole, listed with a fingerprint of every file's path, size and time, emptied only by a plan that still matches), `WorkspaceCleaner` (the clean-up of media of projects in step with their home: Clean after, Size limit, the reasons a project is kept in `WorkspaceKeep`, `UnsentRenders`), `WorkspaceMover` (survey, plan fingerprint, the journal `<from>/.move.json` with stages Moving and Switched, rename on one volume or copy and hash-verify across volumes, resume, abandon, clear after the switch), `WorkspaceJobRoots` (internal, in `WorkspaceJobs.cs`: the folder a copy, render or send works in, the one that holds its project now, refused while a move has not switched) and the job parameters `WorkspaceRenderParameters`, `WorkspaceSendParameters`, `WorkspaceMoveParameters` in `WorkspaceJson`. Owner review 5, #66: `WorkspaceHomes` (the parent `workspace.json` format 2, layout "homes": `local` and `servers/<folder>`, each an ordinary store with `server.json`, `ServerHomeRecord`; `StoreFor(home)`, `All()`), `WorkspaceStore` refusing the homes layout and a read-only legacy view, `WorkspaceJobRoots` searching every home, `WorkspaceJobOptions.SameServer`/`IsSameServer` (aliases, used by the copy and send handlers' home checks), `WorkspaceMover` and `WorkspaceCleaner` over every home |
| `Sync` | `SyncService` (sync table of one server: compare, link by content through the aliases, settle conflicts, enqueue transfers), `SyncRules` (status, settings merge and differences, the proxies this PC can send, aliases followed; no I/O), `SyncTombstones` (photos either side removed are not offered back; the replaced tombstones of both sides join the encodings of one photo, union-find, each compared as the smallest SHA-256 among them, a deletion covering them all; immutable once made), `SyncPositions` (the settings' frame positions translated by photo to the frames of the copy they go to), `SyncLinkStore` (`sync_links`, `sync_state`), `SyncTransfers` and `SyncJobHandler` (resumable, hash-verified uploads and downloads as jobs; downloads commit through the archive ingest, and a frame missing here whose photo the server holds in another encoding takes that file through `FrameTrash.ReplaceMissingAsync`; job log lines from the catalog), `SyncAgent` (background comparison, server events, backoff, offline proxies; a server's `projectChanged` passed on as `ProjectChanged`, and null after a lost event stream once the stream is open again and a comparison made after that reached the server: `ISyncRemote.EventsAsync(connected, ct)`), `ProxyCache` and `RemoteSequence` (server sequences opened with proxies), `ISyncRemote` (the server calls; `ChronosSyncRemote` over `ChronosClient`). Owner review 5, #66: `ServerIdentity` (`KnownServerKey`; `Key`, `Canonical`, `Same`, `KeysOf`, `FolderName`, `With`), `SyncOptions.ServersDirectory` and `Identity`, `ProxyCache` per server with alias and 1.0 fallback reads, `SyncService.RekeyAsync`/`SyncLinkStore.RekeyAsync`. Owner review 6, #73: `CopyComparer` (`CopyComparison.cs`, pure, O(n log n): every photo of two copies classed Same, Converted, SameUnhashed, DeletedHere/There, Differs, Versions, OnlyHere/There, and the score; records in `CopyComparisonModel.cs`); `SyncService` no longer links by content (`MatchByContentAsync` removed): `RefreshAsync` runs `Finder.FindServerAsync` after releasing its gate and raises `CopiesFound`; `UnlinkAsync`, the 404 marks, `ApplyAgreedAsync` (agreed details, server first), `EnqueueUploadAsync` with a priority; `SyncTransfers.SendPhotosAsync`/`FetchPhotosAsync` (only the photos asked for, never creating or retargeting a server sequence, `RemoteGoneException`) and linked uploads with `intoTarget`; `SyncAgent` queues an integrated pair's automatic photos (Background) and counts `PhotoFailures`, `PhotosNotSent` after `NotSentAfter` (3); `ISyncRemote` gains `LookupPhotosAsync`, `UploadFileIntoAsync`, `DeleteFramesAsync` and a capabilities read cached per remote |
| `Copies` | Owner review 6, #73 (namespace `Chronos.Data.Copies`; matches: the same time-lapse on a server and on this PC, or twice on this PC). Contracts: `CopyModel` (`FoundCopy`, `CopyKind`, `CopyState`, `CopyEvidence`, `CopyScore`, `CopyLinking`, `CopyPhotoPolicy`, `CopyProjects`), `CopyReviewModel` (what the Compare dialog shows), `CopyPlans` (`IntegratePlan`, `MergePlan`, `CopyBlock`, `CopyPlanContext`, the trash plans), `CopyJobParameters`, `ICopyEngine` (the App's one entry). `FoundCopyStore` (`found_copies` and `copy_probes`, migration 0012: upserts that never touch the answer, state by compare-and-set, an Integrating row whose job failed or is gone read as its previous state, `EnsureLinkedAsync`, the 404 marks, `ReleaseAsync`, the merge's links stage `MoveToKeptAsync`, the local overlap queries, the probes; re-keyed with the links by `SyncLinkStore.RekeyAsync`). `CopyRules` (pure: `IsCopy`, `Decide` by the *Link matches* setting, `SameOriginals` (1.1's rule), `AsksAgain`, fingerprints, hints, the probe sample). `CopyPayload` (pure: details as portable lines, `Merge` of the chosen sides into one payload, `ExcludeVersions`). `CopySides` (both sides from the index and a server; `HeldElsewhereAsync`, the last-copy check across every archive; `VersionsAsync`, second versions). `CopyFinder` (`FindServerAsync` after each refresh: probes, `POST /photos/lookup` in batches, manifest comparison, at most 50 a refresh (20 on an older server), `Decide`; `FindLocalAsync`; `ResetProbesAsync`). `CopyReviewBuilder` (facts, full comparison, detail lines, projects, renders, capabilities with their blocks). `IntegratePlanner` (the Integrate dry run and fingerprint), `IntegrateJobHandler` and `IntegrateJournal` (`integrate`, 25: journal `.chronos/journal/integrate-<job>.json`; link, photos both ways, trash after the winner's hash, details through `SyncService.ApplyAgreedAsync`, projects through `ProjectTransplant`), `CopyJobs` (handler and queuing, pair to Integrating by compare-and-set). `CopyEngine` (`ICopyEngine` composed: list, find, compare, plan and queue Integrate and merges, keep apart, ask again, link, unlink, keep here, trash here and there with a re-read of the other side, twins; optional dependencies keep App types out). `UploadAllRule` (pure: what *Upload all local* skips and why). Owned by the copies code; `Sync`, `Archiving` and `Projects` call into it only through `FoundCopyStore` and `CopyFinder` |
| `Copies` | Owner review 6, #73 (namespace `Chronos.Data.Copies`; matches: the same time-lapse on a server and on this PC, or twice on this PC). Contracts: `CopyModel` (`FoundCopy`, `CopyKind`, `CopyState`, `CopyEvidence`, `CopyScore`, `CopyLinking`, `CopyPhotoPolicy`, `CopyProjects`), `CopyReviewModel` (what the Compare dialog shows), `CopyPlans` (`IntegratePlan` with `ServerUsesOurs` and `StaysForDelete`, `MergePlan`, `CopyBlock`, `CopyPlanContext`: `OwnsOrAdmin` is the admin role only, ownership is per server sequence by `UserId` against its `OwnerUserId`; the trash plans, `DropVersionPlan`), `CopyJobParameters`, `ICopyEngine` (the App's one entry). `FoundCopyStore` (`found_copies` and `copy_probes`, migration 0012: upserts that never touch the answer, state by compare-and-set, an Integrating row whose job failed or is gone read as its previous state, `EnsureLinkedAsync`, the 404 marks, `ReleaseAsync`, the merge's links stage `MoveToKeptAsync` with its undo (`UndoOfMoveAsync`, `MoveBackAsync`, `MoveUndo`), `DeleteCandidateAsync` (detection removes only an unanswered pair), the local overlap queries, the probes; re-keyed with the links by `SyncLinkStore.RekeyAsync`). `CopyRules` (pure: `IsCopy`, `Decide` by the *Link matches* setting, `SameOriginals` (1.1's rule), `AsksAgain`, fingerprints, hints, the probe sample). `CopyPayload` (pure: details as portable lines, `Merge` of the chosen sides into one payload, `ExcludeVersions`, `ExcludedKeys`, `KeepVersion`: Main takes the version that stays when the one it used is dropped). `CopySides` (both sides from the index and a server; `HeldElsewhereAsync`, the last-copy check across every archive; `VersionsAsync`, second versions). `CopyFinder` (`FindServerAsync` after each refresh: probes, `POST /photos/lookup` in batches, manifest comparison, at most 50 a refresh (20 on an older server), `Decide`; `FindLocalAsync`; `ResetProbesAsync`). `CopyReviewBuilder` (facts, full comparison, detail lines, projects, renders, capabilities with their blocks). `IntegratePlanner` (the Integrate dry run and fingerprint), `IntegrateJobHandler` and `IntegrateJournal` (`integrate`, 25: journal `.chronos/journal/integrate-<job>.json`; link, photos both ways, trash after the winner's hash, details through `SyncService.ApplyAgreedAsync`, projects through `ProjectTransplant`), `CopyJobs` (handler and queuing, pair to Integrating by compare-and-set; `IntegrateJobContext.UserId`, the planning account). `CopyLog` (why a losing version was kept, in the UI language, for the Integrate and merge logs). `CopyEngine` (`ICopyEngine` composed: list, find, compare, plan and queue Integrate and merges, keep apart, ask again, link, unlink, keep here, trash here (from the sequence named, a merge's kept one) and there with a re-read of the other side and of the last copies, `VersionsAsync` and the drop of one of two versions, unlink by the local side, twins only with a sibling at the other home; optional dependencies keep App types out). `UploadAllRule` (pure: what *Upload all local* skips and why). Owned by the copies code; `Sync`, `Archiving` and `Projects` call into it only through `FoundCopyStore` and `CopyFinder` |
| `Homes` | Owner review 5, #66: `HomeLayoutMigration` (`PlanAsync`, `ApplyAsync`: the 1.0 workspace and cache sorted into homes by same-folder renames checked by inventory, deferrals for leased projects, an offline workspace and an unfinished move; `RekeyAsync`: an address home renamed to the server id at sign-in), `HomeLayoutJournal` (the journal in the data folder that resumes after a crash) |
### 2.3 Chronos.App areas
@@ -77,13 +77,13 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|---|---|
| `Shell` | `MainWindow` (rail and its shortcuts, taskbar progress), `ShellViewModel` (rail, sections, first run), `OsNotifications` (toasts as Windows notifications while the window is minimised or in the background), dialogs, `ErrorText` (the sentence of an error toast), `ScreenCapture` (`--capture` scenes), `SectionTemplates.xaml` (view model → view) |
| `Sections` | One `XxxView.xaml` + `XxxViewModel` per screen: Welcome, Library, Sequence (the Edit section: the editor, `SequencePickerView` choosing in place a project of the workspace or a sequence of the library, the in-window dialogs of the workspace, and the opening of this PC's sequences as workspace projects: the project opened last, else "Open in workspace", the checkout and the copy job followed until it opens), Import, Videos (owner review 1, R9: `VideosView` and `VideosViewModel`, the rail section on Ctrl+4 that implements `IVideosSection`: filters, order, cards or list, the selection's actions with their reasons, Delete… dry runs per home, the player pane), Archive, Jobs (two tabs, Queue and Scheduled: `SchedulesView` shows `Jobs/SchedulesViewModel`), Server, Settings (its last page is About; Archive's *Videos folder* row) |
| `Library` | Filter, facets, pager, timeline, saved views, quick and mass actions (`MassActions`: Reorganize and Convert for the sequences of one archive), remote cards and thumbnails, thumbnail cache, list export |
| `Library` | Filter, facets, pager, timeline, saved views, quick and mass actions (`MassActions`: Reorganize and Convert for the sequences of one archive), remote cards and thumbnails, thumbnail cache, list export. Owner review 6, #73: `VersionsDialogViewModel` (*Two versions…*: a local sequence's photos kept in two versions, each with *Drop…*; `Menu.Card`, `Menu.CardMatch`, `Menu.CardMatchRemote`) |
| `Editor` | `EditorSession` (project, undo/redo, saving, merges through `Data/Projects/ProjectMerge`), `ISequenceSource` (`LocalSequenceSource`, `RemoteSequenceSource`, `WorkspaceSequenceSource`: a workspace project over its media, the working state saved in `project.chronos` under the project's lease and merged photo by photo in the portable form (`Merge`, a setting both sides changed asked through `ProjectConflictException`), `ReadOnlyChanged` for a project of a newer Chronos, an unstored edit kept aside in `versions/.replaced` (`SetAsideAsync`), renders at the home with the portable settings through `IProjectRenders`, naming a version only while none waits to be sent; a server home's analyses and renders are the server's jobs over `WorkspaceServerHome(connect, session)`, which connects again when the sign-in changes, a render naming the version the server holds when the project is in step with it), `ServerJobs` (a server sequence's analyses and renders followed through its events, shared by `RemoteSequenceSource` and a server home's `WorkspaceSequenceSource`), the steps of the Edit path (`EditPath`: their order, each step's state, the step of each finding, the memory of the step shown; tabs Analysis, Frames, Exposure, Motion, Camera, Time, Stack, Export), the step rows (`CameraTab`: Aspect, Rotation, Mirror, Flip, Straighten, Crop size/X/Y and Reset framing through `EditorSession.Orient` and `ResetFraming`, the crop kept locked by `EditorSession.KeepCropLocked`; `ExposureTab`'s Look group; `ExportTab`'s Output size, Resolution, the Encoding and Playback rows and the footer (owner review 1, R3/R8); `ExportGroups` (`SettingGroup`: a collapsible group with its summary, open state in `EditorSettings.Groups`, which `AppSettings.EditorGroups` keeps; `ExportRules`: what rate control, keyframes, B-frames and profile offer per codec and depth, keyframes in seconds, the standard resolutions); `PresetTable` (the preset rows and their groups); `RenderMenu` (the header's Render ▾ entries, built on each opening: recommended, batch, recent, Other presets by group, Render batch, Add to queue, Save frame, Videos); `VideosLink` (the editor's way to the Videos section on a sequence); `EditorSession.StillRequests` (Save frame through the source's routing, `IProjectStills` for workspace projects); `SettingRows`: `SwitchRow`, `IconActionsRow`, `GroupRow`; `SliderActivity`, the Straighten slider showing the grid), `CropCommit` (a finished crop drag on the preview to `EditorViewModel.CommitCropCommand`, one undo step), `PreviewRenderer` (Source framing in the view frame through `RenderGeometry.ViewFor`, the mask from `EditableCrop` or `FootprintInView`, `FrameFinish` on the corrected picture only, motion vectors without it), `ExportPlanner`, `ExportSync`, `SavedCopies`, `SequenceJobs`, `ProjectFiles` (save and open `.chronos` project files: format 2 opens its workspace project, format 1 gives its settings to Main) |
| `Videos` | Owner review 1, R9: `VideoSources` (WPF-free: `VideoEntry` rows of this PC's library, the signed-in server's `/videos` and the workspace's unsent renders merged by render id, `VideoFilter` and its order, `VideoServerState` for a server not signed in, without `videos` or out of reach, `WithLocalCopies` for server renders downloaded here; `VideosFolders`: the default `Videos\Chronos` and the folder's refusals), `VideoRows` (cards and list rows with their chips), `VideoPlayerPane` and `VideoPlayerViewModel` (in-process playback: `MediaElement` for videos, an image for stills and a GIF's or APNG's first frame, *Cannot play here*); the trash dialog restores video entries through `IVideoLibrary` |
| `Workspace` | Owner review 2, R8: `WorkspaceHost` (the desktop's `WorkspaceStore` and `WorkspaceSync` over Settings › Workspace's folder, this PC's archive or, through `SyncHost.ProjectHome`, the signed-in server as the home (a server it is not signed in to reads as offline; `HomeChanged` from the server's `projectChanged`, texts worded for it by `WorkspaceText.ForHome`); checkout and copy with its size and free space, status, Save version with the sync after it, sync, resolve, restore, history, open, new, rename, delete, the plan and removal of a local copy whose files but the media go to `<workspace>/.trash` (put back whole when a move fails), pruning past Kept versions after `HoldsAsync`, copies a newer Chronos wrote or that cannot be read listed as such and never changed, a folder inside a library refused, `PlanFolderAsync` and `UseFolderAsync`; phase 5c partials: `WorkspaceHost.Media` (Copy originals, Proxies only), `.Render` (local renders, Send again), `.Cleanup` (usage, the clean-up after each copy and by schedule, the trash's plan and Empty, the removal's unsent renders and originals) and `.Move` (move plan and job, `IsMoving` gate, `MoveEnded`, the unfinished move)), `WorkspaceFolderChange` (Settings › Workspace › Change…, Move… and Resume, and the refused folder's Choose folder), `ProjectMenuViewModel` (the title's ▾: state chip read again after edits, the menu, Update media; `IWorkspaceUi` is what it asks of the section, `ShowDialogWhenFree` holding a background conflict until the open dialog closes), `WorkspaceDialogs` (Open in workspace with unreadable projects listed disabled, project name, Save version, History, conflict, a format conflict offering only Save both, Remove local copy with its typed confirmations; `WorkspaceDialogs.xaml`), `WorkspaceProjectItem` (a picker row), `WorkspaceText` (states, versions, authors, failures). Owner review 5, #66: `WorkspaceHost.Homes`, `Find`, `SyncOf`/`SyncFor` (one sync per store), `SameServer`, `Identity`, `Reopen` (the `Store` and `Sync` properties are gone) |
| `Import` | `CardPool` (inserted cards, remembered cards, folders), camera profiles, plans and choices, destinations (archive, folder, server through `ServerImportSink`), card actions (verified delete, format, eject) |
| `Archive` | `CurrentArchive`, `ArchiveTree`, figures for the charts, maintenance reports, Reorganize (`ReorganizeDialogViewModel`: folder, file and title templates each with its switch, the dry run, Apply queues the `move` job of that plan; `ReorganizePlans`: each template's check, the plan as rows and a summary; `ReorganizeOffer`: per archive, the templates Settings › Archive's toast offers, joined while that archive's toast is up), Convert (`ConvertDialogViewModel`: format, JPEG quality and a mode chosen at every run, the dry run made once per format and quality, Apply behind the mode's confirmation queues the `convert` job of that plan through `MassConverter.QueueAsync`; `ConvertPlans`: the plan as rows in the mode's words, a summary, the space line, the Replace confirmation that types the number of photos and the New sequence one that counts the photos not copied; `ConvertUndo`: the Undo the Jobs screen's toast offers when Replace conversions end, which restores the `Replaced` trash entries their jobs made, by the job's id), retag, delete and trash dialogs (`SequenceDeletion`, `DeletePlans`, `TrashEmptyPlans`: Empty… behind a dry run and a typed confirmation, every entry whose conversion was deleted named first), `ArchiveFailures` |
| `Server` | `ServerSession`, `ConnectFlow` (trust on first use), `SyncHost` (sync engine, agent, metered hold (`UploadHold`: uploads, downloads and the workspace's server copies and sends), editor connections, Export Sync; `HasProjects`, `ProjectHome` and `ProjectChanged`, also told with null at each session start and stop: the server as a project home), sync table, `RemoteSequenceApi`. Owner review 5: `SyncHost.Identity`, `KeyOf`, `LastServer`, `KnownServersChanged`, `IdentityClash`, `OriginalsArchiveAsync`/`OriginalsForDownloadAsync`/`OriginalsArchivesAsync` and the re-key in `SwitchAsync` (#66); `ServerJobsApi` (`IServerJobsApi`) and `ServerJobsViewModel`/`ServerJobsView`, the connected server's running and paused jobs (#65); `LibraryShare` (`ShareState`, `ShareClient`, `ShareUploadsStep`: this PC's library shared on the LAN through `Chronos.Server`'s `HostedServer`, #67) and `ConnectFlow` refusing the own share (`ConnectError.OwnLibrary`). Owner review 6, #73: `Server/Copies` (`CopyListViewModel` and `CopyRow`: Server › Matches, its chip, actions, toasts and the Library statuses; `CopyText`: the pure words, glyphs and actions of a pair; `CopyDialogViewModel` with `CopyPhotoRow`, `CopyDetailRow`, `CopyProjectRow`, `CopyPlanLine` and `CopyDialogs.xaml`: the in-window Compare/Integrate and merge dialog hosted by `ServerView`; `CopyScenes`: the capture and test scenes), `CopyWatch` (local detection after the index opens and after jobs that change photos), `WorkspaceCopyGuard` (`IWorkspaceGuard` over `WorkspaceHost.HasUnsentWorkAsync`), `SyncHost.Copies` (the `CopyEngine`), `UploadHold` holding `Integrate`, `SyncTableViewModel` applying `UploadAllRule` |
| `Server` | `ServerSession`, `ConnectFlow` (trust on first use), `SyncHost` (sync engine, agent, metered hold (`UploadHold`: uploads, downloads and the workspace's server copies and sends), editor connections, Export Sync; `HasProjects`, `ProjectHome` and `ProjectChanged`, also told with null at each session start and stop: the server as a project home), sync table, `RemoteSequenceApi`. Owner review 5: `SyncHost.Identity`, `KeyOf`, `LastServer`, `KnownServersChanged`, `IdentityClash`, `OriginalsArchiveAsync`/`OriginalsForDownloadAsync`/`OriginalsArchivesAsync` and the re-key in `SwitchAsync` (#66); `ServerJobsApi` (`IServerJobsApi`) and `ServerJobsViewModel`/`ServerJobsView`, the connected server's running and paused jobs (#65); `LibraryShare` (`ShareState`, `ShareClient`, `ShareUploadsStep`: this PC's library shared on the LAN through `Chronos.Server`'s `HostedServer`, #67) and `ConnectFlow` refusing the own share (`ConnectError.OwnLibrary`). Owner review 6, #73: `Server/Copies` (`CopyListViewModel` and `CopyRow`: Server › Matches, its chip, actions, toasts and the Library statuses; `CopyText`: the pure words, glyphs and actions of a pair, three row buttons at most, `MiddleTrim` for long names, the merge's classes by role; `CopyDialogViewModel` with `CopyPhotoRow`, `CopyDetailRow`, `CopyProjectRow`, `CopyPlanLine` and `CopyDialogs.xaml`: the in-window Compare/Integrate and merge dialog hosted by `ServerView`; `CopyScenes`: the capture and test scenes), `CopyWatch` (local detection after the index opens and after jobs that change photos), `WorkspaceCopyGuard` (`IWorkspaceGuard` over `WorkspaceHost.HasUnsentWorkAsync`), `SyncHost.Copies` (the `CopyEngine`), `UploadHold` holding `Integrate` and resuming only the jobs it paused (their ids in the app setting `sync.meteredHeld`; `Forget` from Jobs, the sync table and Matches), `SyncTableViewModel` applying `UploadAllRule` |
| `Jobs`, `Settings`, `About` | Job list and buffering, `JobNotices` (which job endings raise a toast, conversions among them; `JobEndings` lets a batch speak once); the schedules of Jobs › Scheduled (`DesktopScheduleHost`: the desktop's `IScheduleHost` and its system schedules `archive-scan`, `index-backup`, `housekeeping`, `workspace-cleanup`; `CacheTrimStep`, `WorkspaceCleanStep` and `WorkspaceTrashStep`, the host's clean-up steps; `SchedulesViewModel`, `ScheduleRowViewModel`, `ScheduleEditorViewModel` and `ScheduleDialogs.xaml`, the in-window editor; `ScheduleText`); settings rows (`LogSettingsRows`: Advanced's log rows; `WorkspaceSettingsRows`: Settings › Workspace), encoder and format inventories, `ProcessingTuning` (Settings › Rendering and Analysis applied to each job: parallelism, memory budget, quality), `InterfacePriority`, language catalog, naming preview; `AboutViewModel` (owned by the shell, not a section: Settings › About, the update notice of Settings › Updates and the update check on start), update check and download. Owner review 5: `JobText.Status`/`RowStatus`/`RowStatusToolTip` (the status line of a job's detail, `BarStatusLength` 60) and `JobEntry.Detail` (#65); `Settings/HomeRows` (`HomeFolderRow`, `KnownServerRow`, #66) and `Settings/ShareSettingsRows` (#67). Owner review 6, #73: `Settings/CopySettingsRows` (Link matches, Integrate photos, Integrate projects; `SettingsOption.ToolTip` per option); Jobs opens Server › Matches for an Integrate and the kept sequence for a merge |
| `Infrastructure` | `AppServices` (composition root; `SequenceReorganized`, raised after each Reorganize step and each sequence a conversion replaced or made, reloads an editor open on that sequence; the archive engine's free space from `VolumeInfo.FreeBytesAt`), `AppSettings`, `AppLogging` (Settings › Advanced › Logs applied to the log files from their first line, a launch that only hands over included, and at every save), `AppEnvironment` (installed or portable), `AppClock` (today's date, frozen by `--capture`), `StartWithWindows` (this copy's sign-in entry), `UiLanguage`, `LiveRegion`, `RenderNodeHost`, `DiagnosticsBundle`, `ShellActions` (BRIEF §8.6), `SingleInstance` (one Chronos per data folder; a later launch hands its file over a named pipe, or waits for a closing one to exit and starts in its place), device monitor. Owner review 5: `AppSettings.KnownServers` and `Share`, `AppServices.SortHomesAsync` with `HomeLayout`/`HomeLayoutError`, `CacheStore.ServersFolder`/`ServerFolder`, `AppServices.Share` |
| `DesignTime` | `SampleData`: the archive, jobs and server the screenshots and smoke tests run on, dated from the fixed `SampleData.Now`; `SampleJobDetails.Apply` (the sample jobs' details), `SampleServerJobs` (the server jobs capture); `SampleCopies` (`SampleCopyEngine`, the sample matches in every state; owner review 6, #73) |
+66 -23
View File
@@ -1328,7 +1328,16 @@ player smoke test on Windows CI.
share of photos shared, or the other archive) or *Deleted there* (the match deleted photos
this one still holds), on its card and in the list. *Compare…* in the card's context menu and
the list row opens Server › Matches searched by the sequence's title. The statuses survive a
refresh of the Library.
refresh of the Library. Amended 2026-11-17 (owner Q3 "default unione": a differing photo
kept in both versions stays listed so the user can drop one): a local sequence's card and
row menu offer *Two versions…*, the photos it keeps in two versions (two usable hashed
frames of one capture instant with different SHA-256, e.g. left by a Union merge whose pair
is gone; an empty list says so), each version with *Drop…*: a dry run that says why it
cannot go (archive offline or read-only, a job on the sequence, the frames changed) instead
of asking, a confirmation naming the version that goes and the one that stays, then the
archive trash, only while the other version is still there, usable and verified by
content. A merge job's *Open* shows the list when the kept sequence has any. A server
sequence's card in a match offers *Compare…* alone.
### 12.3 Edit (amended 2026-10-16, R7; formerly "Sequence editor"; amended 2026-10-26, R8; amended 2026-11-04, owner review 1 R5/R6)
@@ -1363,7 +1372,9 @@ player smoke test on Windows CI.
that cannot open. Amended 2026-11-16, owner review 6 R5: a Workspace row whose time-lapse
(a linked or integrated match) also has a workspace project at the other home shows a muted
*Twin* chip right after the project name, its tooltip naming the other home (the server by
name) and project.
name, its Main in the UI language) and project. Only a sibling makes a twin (amended
2026-11-17): the other home holds a project of the same name, or of the name *Copy across*
gave it (`<name> (<PC>)`, `<name> (<server>)`), either way round, ignoring case.
- The steps form a guided path, freely navigable: **Analysis** (every finding of the
analyses with the step that deals with it; light, flicker, exposure steps received,
shake and flagged frames; Analyse), **Frames** (virtualized table: index, time,
@@ -1737,12 +1748,21 @@ workspace work not sent home, has a detail or a differing photo not chosen, hold
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
projects, moves keys and links, and moves the other into its archive's trash only at the
frames version it verified. Its journal resumes each stage after a crash; a retry whose pair
was answered meanwhile, or whose other sequence changed, plans again instead.
count (digits without separators, the prompt naming the number), 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 projects (one the kept sequence
already holds a copy of, by name and history content, is not copied again and its renders
name that copy), runs its trash checks, moves keys and links, and moves the other into its
archive's trash only at the frames version it verified. Its journal resumes each stage after
a crash; a retry whose pair was answered meanwhile, or whose other sequence changed (work
sent to it since the plan, photos a third sequence no longer holds), drops the journal and
plans again instead; a resumed merge verifies a photo flagged damaged since its first verify
before anything goes to the trash. A merge abandoned after the
links moved gives the other sequence back its links, session keys and pairs (amended
2026-11-17). The dialog's photos read *Kept* and *Other* from its first plan; once a
sequence is kept, its one-sided classes are named by role (*Only in kept*, *Deleted in
other*), and *To trash…* on *Deleted in other* trashes from the kept sequence.
Maintenance › *Trash…* (amended 2026-10-26, R6) lists the archive's trash (§7), newest
first: deleted sequences and photos deleted from sequences, each with its kind, photos,
@@ -2023,7 +2043,8 @@ lets the user choose what to do with each:
index opens and 10 s after a Scan, Rebuild, Verify, Import, Download, Convert, merge,
Integrate or Empty trash ends. A folder of sequences kept elsewhere is added with *Adopt
folder…* and compared like any archive; there are no watched folders. *Find matches*
probes everything again.
probes everything again. Detection removes only unanswered pairs: an answer given while it
runs stays.
- *Link matches* (Settings › Server, §12.8) decides what a server match becomes: *Ask
always* (default) lists it; *When identical* links it when both sides hold exactly the same
photos by SHA-256; *Half shared* keeps 1.1's rule (the same first second and camera, half
@@ -2035,7 +2056,12 @@ lets the user choose what to do with each:
*integrated*, *deleted there · n*, *deleted on server*, *kept here*) and the actions of the
state: *Compare…*, *Integrate…* (*Merge…* for a local pair), *Keep apart*, *Ask again*,
*Unlink*, *Review*, *Keep here*, *Upload again*, *To trash…*. A disabled action says why.
*Keep apart* and *Unlink* toast with *Undo*; *Keep apart* is remembered and asked again
A row shows three buttons at most (a linked pair with photos deleted there: *Compare…*,
*Unlink*, *Review*); a long archive or server name is cut in its middle, whole in the
tooltip (amended 2026-11-17). *Unlink* and *Keep apart* act on the local sequence the row
names and leave alone a link that joins another sequence since; *Link only* waits while an
integration of either side runs, and an integration never undoes a link given to another
sequence since. *Keep apart* and *Unlink* toast with *Undo*; *Keep apart* is remembered and asked again
only when the match becomes identical or its shared photos grow by the larger of 10 and a
quarter of those shared when it was answered. The rail badge counts conflicts and matches that need attention. In the sync table
a sequence in an unanswered match reads *match found* with *Compare…* first, and a linked
@@ -2050,23 +2076,34 @@ lets the user choose what to do with each:
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*:
PC | Server* with nothing preselected (each segment's tooltip says which value it takes),
*All this PC* / *All server* above. *Projects*:
*Copy across | Leave them* and each side's projects with where each goes. *Plan*: what each
side receives, sends, keeps in two versions, sends to the trash (last copies first), the
details changed, projects copied, free space and quota left, whether new photos will move
by themselves, and each block with its reason and, where one exists, the action that
clears it; *Link only* (a server match not linked yet) links without moving anything.
*Apply* plans again first when the shown plan is pending or was made for other choices.
- *Integrate* (local and server; R3, owner Q2 "Completa entrambe") is blocked while a detail
has no choice (the dialog then opens on Details), either side is busy or gone, the server
lacks `upload-into` or the account may not add to or delete from its sequence as the plan
needs, or space is short. A plan that replaces photos asks first (*Replace photos?*, the
losing versions listed under the side that loses them). The `integrate` job links the two,
moves the photos each side lacks both ways (never creating or retargeting a server
sequence), sends a losing version to the trash only after the winner is confirmed by hash
on that side (on the server through a dry run, then at the frames version it read; the
server allows it to the sequence's owner or an admin), writes the agreed details to both
sides as one change, and copies the projects (§14.5). Its journal resumes each stage; a
retry after the user answered the pair otherwise refuses.
lacks `upload-into` or the account may not add photos to its sequence (it neither owns it
nor may edit), or space is short. A plan that replaces photos asks first (*Replace
photos?*, the losing versions listed under the side that loses them). The `integrate` job
links the two, moves the photos each side lacks both ways (never creating or retargeting a
server sequence), sends a losing version to the trash only after the winner is confirmed by
hash on that side (on the server through a dry run, then at the frames version it read),
writes the agreed details to both sides as one change, and copies the projects (§14.5). Its
journal resumes each stage; a retry after the user answered the pair otherwise refuses.
Amended 2026-11-17: who may trash a server sequence's photos is decided per sequence, as
the server's `frames/delete` allows it: the account that owns that sequence or an admin,
each with Delete (the job carries the planning account, so it plans as the dialog did).
For anyone else the server's losing version stays and is kept out of the server's Main,
which uses this PC's version; the plan lists it as needing the Delete right instead of
blocking. A server title, tags, rating or notes change made while the job runs stops its
Details stage on a line where the user kept this PC's value (nothing is overwritten on
either side); a change on a line the plan did not have, or where the user took the
server's value, is taken in. The job checks at its Link, Trash and Details stages that the
link still joins its two sides.
- After an Integrate that left nothing out, the pair is *integrated*: its new photos move by
themselves both ways (§14.5); three failures in a row raise "{title}: photos not sent" ·
*Show* and the row reads *not sent* with the reason. An Integrate that left photos out
@@ -2074,13 +2111,16 @@ lets the user choose what to do with each:
- Deleted there: photos the other side deleted that this side still holds read *deleted
there · n* with *Review* (the dialog on that class) and go to this PC's trash only through
*To trash…*, after a dry run and a confirmation naming last copies, and only while the other
side still has them deleted.
side still has them deleted; a photo that became a last copy since the plan stops it as
stale (amended 2026-11-17).
- Deleted on server: a linked server sequence that answers 404 is marked once per refresh
(only on a server known by its id, at most once every 10 minutes, never in a sweep where 5
or more links answer 404 and none answers); a second 404 at least 10 minutes later makes
the row read *deleted on server*, with *Keep here* (then *kept here*, *Upload again*
only), *Upload again* (a new server sequence) and *To trash…* (the Library's delete, last
copies named). A sequence that comes back is linked or asked again.
copies named). A sequence that comes back is linked or asked again. The sync table's row
of that sequence offers the same three actions; a single pair's 404 is confirmed with the
server, a sweep of many is not asked again pair by pair (amended 2026-11-17).
- *Upload all local* (R7, owner Q8 "Saltale e segnalale") skips sequences in an unanswered or
kept-apart match, in an integrating pair or a job's hands, whose server copy was deleted,
or in any server's originals archive; each skipped row reads *skipped* with the reason
@@ -3817,7 +3857,10 @@ 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). |
| 2026-11-17 | Owner review 6, verification round 3 (#73) | §12.7 | Integrate trashes a server photo only for the server sequence's owner or an admin, with Delete (decided per sequence, as `frames/delete` allows); for anyone else the server's losing version stays, out of the server's Main, listed as needing the Delete right; a server detail change made while the job runs stops its Details stage where the user kept this PC's value; detection keeps pairs answered while it ran; a sync row whose match the server deleted offers *Keep here*, *Upload again* and *To trash…*. |
| 2026-11-17 | Owner review 6, verification round 4 (#73) | §12.2, §12.5, §12.7 | *Two versions…* on a local sequence's Library menu lists the photos it keeps in two versions, each with *Drop…* (owner Q3), and a merge job's *Open* shows it; a merge skips only a project the kept sequence holds a real copy of, runs its trash checks before the links move and gives the other back its links if abandoned; the merge confirmation types the count without separators; *Apply* plans again when the plan is stale; Matches rows cut long names in their middle. |
| 2026-11-17 | Owner review 6, verification round 5 (#73) | §12.2, §12.5, §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…* says why it cannot go before asking, and *Drop…* of the version Main uses lets Main use the one that stays (*In Main* marks it); a server card in a match offers *Compare…* alone. |
| 2026-11-17 | Owner review 6, verification round 6 (#73) | §12.3, §12.5, §12.7 | A merge that finds the other changed drops its journal and plans again; *Unlink* and *Keep apart* act on the local side they name; *Link only* waits while either side integrates, and an integration keeps a link given to another sequence since; a sweep of 404s is not confirmed pair by pair; *To trash…* trashes from the kept sequence of a merge and stops when a photo became a last copy since the plan; a row shows three buttons at most; a Details segment says which value it takes; a twin needs its sibling at the other home. |
## Appendix A — `CLAUDE.md` content (create verbatim in Phase 0, keep updated)
+10
View File
@@ -36,6 +36,11 @@ match. A 1.1 server works as before, without Integrate; a 1.2 server adds the ph
- **Merge sequences** (R3): two matches on this PC are merged into the kept one; the other goes to its archive's trash
only after every one of its photos is verified in the kept one. The confirmation asks to type its photo count; the
*Merge sequences* job resumes after a crash at each stage and moves renders, projects, session keys and links.
- **Two versions…** (owner Q3): a local sequence's Library menu lists the photos it keeps in two versions (a Union
merge leaves them), each version with *Drop…*: a dry run, a confirmation naming the version that stays, then the
archive trash; a merge job's *Open* shows the list.
- Integrate trashes a server photo only for the server sequence's owner or an admin, with Delete; for anyone else the
server's losing version stays, out of the server's Main.
- **Projects across** (R5): an Integrate with *Copy across* (the default) copies each side's projects, with their
histories, to the other home, named "name (PC)" on a clash; with *Leave them* the Edit picker marks the two workspace
copies *Twin*.
@@ -192,6 +197,11 @@ match. A 1.1 server works as before, without Integrate; a 1.2 server adds the ph
- The Edit picker marks a project as a twin only when the other home holds its sibling (the same name, or the name
Copy across gave it).
- Italian: *Solo in quella tenuta*, *Eliminate in quella tenuta*; the replace tooltips name the kept sequence.
- Hindi: merging sequences reads मर्ज, no longer close to मिलान (match); Croatian: the matching sequence reads
*podudarna sekvenca* in the Compare and skip tooltips; Finnish: the replaced-photos line of a merge confirmation
no longer reads as a count of items.
- The translation glossaries list the match terms (Match, Integrate, Merge sequences, Keep apart, Twin, Link only
and Unlink, Union, Kept and Other) for every language.
## [1.1.1] — 2026-11-16
+7 -1
View File
@@ -940,7 +940,7 @@ One line per decision: date · decision · alternative · reason.
| 2026-11-17 | A reconcile that finds a linked or integrated pair with no score yet (a plain upload or download link) computes its full detection score once (#73) | Leave it at zero | Ask again after an Unlink must compare against real counts |
| 2026-11-17 | `SyncService.ApplyAgreedAsync` writes the server first, by content, absorbing one-sided server changes and retrying a 409 up to three times, then this PC under the strict version check; a side that already holds the final payload is not written again (#73) | This PC first; write both always | A server change made meanwhile must not be lost silently; a resumed job must not write twice |
| 2026-11-17 | The plan context (rights, names) travels with an Integrate job (`IntegrateJobParameters.Context`, a JSON copy without the id sets); a job queued without one plans with `IntegrateJobContext.Permissive` (#73) | Plan the job without the context | Rights and names change the fingerprint: the job must plan as the user's plan did |
| 2026-11-17 | Until a server tells ownership per sequence, the desktop's plan context reads `OwnsOrAdmin` as the Delete right or an admin right (ManageArchive, ManageUsers); the server still enforces ownership on `frames/delete` (#73) | Ask the server for each sequence's owner | The client does not know who owns each server sequence; a wrong guess fails at the dry run, before anything moves |
| 2026-11-17 | (Superseded by the 2026-11-17 row deciding ownership per sequence, below.) Until a server tells ownership per sequence, the desktop's plan context reads `OwnsOrAdmin` as the Delete right or an admin right (ManageArchive, ManageUsers); the server still enforces ownership on `frames/delete` (#73) | Ask the server for each sequence's owner | The client does not know who owns each server sequence; a wrong guess fails at the dry run, before anything moves |
| 2026-11-17 | An Integrate's journal is kept after a failure (the job resumes) and deleted on a cancel and when the job finishes; a job that ends with steps or projects kept leaves the pair Linked, not Integrated, and fails with `Errors.Copies.Kept` or `ProjectsKept`; a server sequence gone during it raises `RemoteGoneException` (#73) | Keep the journal on cancel; call the pair integrated | A cancel drops the plan; a pair that kept something apart must not move photos by itself |
| 2026-11-17 | Busy, for both planners, is a running transfer of the pair plus the pending and running jobs on the local id, its archive and the remote id, the job itself excepted; the quota left is a warning in the Integrate plan, not a block; a merge keeps 512 MiB free (#73) | `ListHoldsAsync` and `ListPendingTargetsAsync`; block on quota | One query covers transfers and jobs; the server refuses an upload over quota itself |
| 2026-11-17 | A merge's fingerprint uses its own per-sequence frames stamp (count, bytes, hashed count, flag counts, tombstones) and a hash of each side's details, not the archive's convert stamp; Busy and Offline found by the trash dry run are reported as the merge's Busy and ArchiveOffline blocks (#73) | `GetConvertStampAsync`; list them as TrashBlocked | The convert stamp moves with any import in the archive and misses a title edit; one cause, one line |
@@ -1002,3 +1002,9 @@ One line per decision: date · decision · alternative · reason.
| 2026-11-17 | A Details segment's tooltip says which value it takes (*Take the value of Studio NAS: 33*; a merge: the kept or the other sequence's); a raw value tooltip wraps at 480 px (#73) | One tooltip for the row | The two segments did not say which side was which |
| 2026-11-17 | A workspace project is a twin only when the other home holds its sibling: the same name, or the name Copy across gave it ("name (PC)", "name (server)"), either way round, ignoring case (#73) | Any project of a linked sequence | Every project read as a twin, one with no counterpart too |
| 2026-11-17 | Italian: *Solo in quella tenuta* and *Eliminate in quella tenuta* (four words, over the three-word label rule, as the finding proposed: *quella* says it is a sequence, not a place) (#73) | Solo nella tenuta | "Nella tenuta" read as a place |
| 2026-11-17 | The Integrate and merge logs give the reason a losing version was kept in the UI language (`CopyLog`: one `Archive.Log.KeptReason.*` phrase per dry-run block, the stale-plan and server-refusal phrases, else the system's message), and name the files and projects they replaced or copied; an unreachable server's projects are named by the server's name (#73) | Log the block enum names | The job log is read by the user; an enum name says nothing |
| 2026-11-17 | *Upload again* on a Matches row and its sync row is enabled only for an account that may send sequences (`SyncHost.CanSendSync`: Upload and Edit), as the sync table's uploads are (#73) | Upload alone | A new server sequence takes the settings too, which needs Edit; the server would refuse it after the click |
| 2026-11-17 | The owner review 6 terms get a row in `i18n/GLOSSARY.md` and in each culture's `glossary.tsv` (Match/Matches, Integrate, Merge sequences, Keep apart, Twin, Link only/Unlink, Union, Kept/Other), each culture's term read from its own resx, so the glossary describes what ships (#73) | Write the glossary before the strings | The 36 cultures were translated at the release step; the glossary now fixes those choices for the next strings |
| 2026-11-17 | Hindi: merging two sequences reads मर्ज (*सीक्वेंस मर्ज करें*, *मर्ज जारी*), as project merges already did, instead of मिलाएँ/मिलाना; *मिलान* stays the match term; merging import sessions keeps मिलाएँ (#73) | Keep मिलाएँ for both merges | *मिलाना · 40 %* (merging) and *मिलान · 3* (matches) sat side by side in one State column and read as one word |
| 2026-11-17 | Croatian keeps *podudaranje* for a match (the Windows term of Find › Match), but the matching sequence itself is *podudarna sekvenca*: "s njoj podudarnom sekvencom", "odvojeno od podudarne sekvence" (#73) | *podudarnost*; *par* | "Njezino podudaranje" reads as "its matching", an act, where the tooltip means the other sequence |
| 2026-11-17 | Finnish keeps *kohteen {0}* for a name in a placeholder (the usual way to avoid inflecting it), but never right after a count: "{0:N0} kuvaa kohteesta {1}" instead of "{0:N0} kohteen {1} kuvaa" (#73) | Inflect the placeholder | After a number *kohteen* reads as "of n items" |
+1 -1
View File
@@ -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 six 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 six verification rounds; the strings in all 38 languages, the match terms in every language's glossary; the Windows captures of the new screens are committed as screenshot baselines (`server-copies-*`, `library-copies-*`, `server-sync-copyfound-*`, `edit-picker-twins-*`); the photos a sequence keeps in two versions are listed with Drop… from the Library (Two versions…) and a merge job's Open. Still to do: the PostgreSQL tests in CI, the release. Follow-ups: a field-level merge of an integrated pair's settings (to ask the owner), the Import › Folder… warning, the same two-versions list in Edit, a capture scene of the Two versions… dialog. |
| 9 Monetization | Not started: requires explicit approval (§22); the proposal is recorded in issue #24 (owner review 4, R5). |
## Verification (2026-10-12)
+1 -1
View File
@@ -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 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 |
| 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 six 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 and their glossaries; the Windows captures committed as baselines; the PostgreSQL tests in CI still to run | `283d04d9` … `38764972`, then the documentation pass |
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
+32 -15
View File
@@ -96,28 +96,45 @@ Label column left of controls: 116 px in panels, 180 px in Settings.
attention); while selected it replaces the sync table with the same row style: Sequence, This side, Other side
(counts first, "{archive} · {n} photos"), State as glyph and word (*match found* ▲ Warning, *kept apart* ○ faint,
*linked* ● Accent, *integrating · x of y* and *merging* ● Accent with the job's share, *integrated* ● green,
*deleted there · n*, *deleted on server* ▲, *kept here* ○), then the state's 26 px row actions. Attention first.
*deleted there · n*, *deleted on server* ▲, *kept here* ○), then the state's 26 px row actions, three at most
(a linked pair with photos deleted there: *Compare…*, *Unlink*, *Review*). Columns: Sequence `*`, the two sides
`1.4*` (180 px at least), State 160 px, Actions `1.4*` (280 px at least); an archive or server name longer than 24 characters is cut
in its middle ("ChronosArch…Studio NAS"), the whole text in the tooltip. Attention first.
Toolbar *Find matches*; empty state "No matches found." with *Find matches*.
- *Compare dialog*: an in-window dialog over the section's scrim, 920 px wide, at most 600 px high, its parts
scrolling inside. Header: each side's place, photos, size and time span; a SegmentedControl *Photos · Details ·
Projects · Plan*. Photos: the policy ComboBox, a class table of 28 px rows (glyph and class, count here, count
there, size, a tooltip per class that follows the policy) and the selected class's virtualised photo list with
column headings (*Bring* check box, the *Keep both / This PC's / Server's / Leave* ComboBox, *Drop…*, *To trash…*).
Details: one row per setting, both values ellipsed (full in the tooltip) and a *This PC | Server* SegmentedControl,
nothing preselected; *All this PC* / *All server* links above. Projects: *Copy across | Leave them* and two lists
with the target name ("→ Vertical (STUDIO-PC)"). Plan: two columns of lines in Text, last copies first with the
Warning glyph, *Link only* as a secondary row button, each block as a `Status.DialogError` line with at most one
action. Two buttons: *Cancel* (safe, Esc) and *Integrate* (primary).
- *Merge dialog*: the same dialog titled *Merge sequences*, *Kept* and *Other* in place of this PC and the server,
the kept-sequence radio rows first in the Plan, the projects choice fixed to *Copy across* (disabled, with its
tooltip), primary *Merge*.
column headings (*Bring* check box, the *Keep both / This PC's / Server's / Leave* ComboBox, *Drop…*, *To trash…*);
the last column's heading reads *Version* while the rows offer a choice, the version Main uses reads *In Main* in
Text.Secondary, and a choice not made is read *Not chosen* by a screen reader. The policy ComboBox (here and in
Settings › Server) is 240 px and the version ComboBox 185 px, sized by a test over every shipped language; a longer
label trims with an ellipsis. The photo and Details lists always show their vertical scroll bar and their headings
keep its width, so the headings stay over their columns.
Details: one row per setting, both values ellipsed (full in the tooltip, wrapping at 480 px) and a *This PC |
Server* SegmentedControl, nothing preselected, each segment's tooltip naming the value it takes ("Take the value of
Studio NAS: 33"); *All this PC* / *All server* links above. Projects: *Copy across | Leave them* and two lists with
the target name ("→ Vertical (STUDIO-PC)"), rows trimmed with the whole row in the tooltip, the headings over their
lists, both lists scrolling together when they do not fit. Plan: two columns of lines in Text, last copies first
with the Warning glyph, *Link only* as a secondary row button, each block as a `Status.DialogError` line with at
most one action. Two buttons: *Cancel* (safe, Esc) and *Integrate* (primary).
- *Merge dialog*: the same dialog titled *Merge sequences*, *Kept* and *Other* in place of this PC and the server
(from the first plan, made on opening), the kept-sequence radio rows first in the Plan, the projects choice fixed
to *Copy across* (disabled, with its tooltip), primary *Merge*. Its one-sided classes are named by role (*Only in
kept*, *Deleted in other*); under *Choose each* a differing photo offers *Keep both / Kept / Other* (no *Leave*).
- *Confirmations*: *Replace photos?* (the losing versions under the side that loses them, last copies first) and
*Merge sequences?* (typed photo count) as destructive `ConfirmDialog`s; Unlink and Keep apart use a toast with
*Undo* instead.
*Merge sequences?* (the photo count typed without separators; the prompt names the number) as destructive
`ConfirmDialog`s; every line of a trash or replace confirmation carries its prefix (*Only copy:*, *Replaced:*,
*Held elsewhere:*). Unlink and Keep apart use a toast with *Undo* instead.
- *Library card status*: *Also elsewhere* or *Deleted there* as a Warning status glyph with its word, second on the
card, in the list too; *Compare…* in the context menu and the row actions.
card, in the list too; *Compare…* in the context menu and the row actions. A server card in a match offers
*Compare…* alone.
- *Two versions…* (a local card's and row's context menu; a merge job's *Open*): an in-window dialog 640 px wide, at
most 520 px high, titled with the sequence; a list of 48 px rows, one per version (file name in SemiBold, its
detail in Text.Secondary with tabular figures, *In Main* where Main uses it, *Drop…* as the row button); an empty
list reads a muted line; *Close* (default and Esc) with the dialog's `Status.DialogError` line beside it.
- *Edit picker twin*: a muted *Twin* chip right after the project name of a Workspace row; its tooltip names the
other home and project.
other home and project. Only a project whose sibling is at the other home carries it.
- **Crop overlay** (preview, Camera step; owner review 1, R5): the box is drawn over the whole view frame (oriented,
straightened) and is always locked to the output aspect. States (tiles under the Camera screen in `Editor.html`):
- *Shown*: Crop mask on, any step: Scrim (#99000000 dark, #66000000 light) outside, 1 px TextMuted outline.
@@ -202,7 +219,7 @@ from the SVG geometry (no raster assets checked in as sources). Badges only at
| Mockup | Brief | Notes |
|---|---|---|
| `Main.html` | §12.2 Library | grid/list, year·camera·status filters, selection panel |
| `Main.html` | §12.2 Library | grid/list, year·camera·status filters, selection panel; the match statuses and *Two versions…* (owner review 6) have no mockup: built from §4 *Matches*; the statuses are checked against the `library-copies-*` captures, the *Two versions…* dialog has no capture scene yet |
| `Editor.html` | §12.3 Edit | three parts, one below the other. Exposure step: step bar, title ▾ (Change sequence), wipe compare (the corrected side carries the look), curves, advisor Auto pills, the Look group (Filter, Strength) at the end of the panel, Previous · n / m · Next. Camera step (`#camera`): the whole view frame with a 9:16 crop being edited (handles), the zoom-keyframe curve under the filmstrip, rows Aspect · Rotation (Rotate left/right and the value) · Mirror · Flip · Straighten · Crop size · Crop X · Crop Y, the keyframes line, then Reset framing on its own line (three buttons do not fit the 292 px panel) above Optimise section · Reset (Reset framing disabled, with `ResetFramingNone`, when nothing is set). Crop overlay states: Shown, Editable, Dragging, Straightening, Locked |
| `Export.html` | §12.3 / §11.4 | the Export step (owner review 1, R3, phase 5): step bar with Export current, the header's fixed-width *Render ▾*, the grouped preset table (28 px rows, Recommended chip, batch ticks, a folded group), the Output panel's four collapsible groups (Output open, Encoding and Playback folded with their summaries, File open) and its fixed footer (result line, Render now, Add to queue · Batch (2), Videos (3) · Reveal), Previous · 8 / 8 · Next sequence; under it the Render menu open with *Other presets ›* expanded. Resolution offers the standard boxes and Custom shows the preset's box; the **Output size** row under it shows what is rendered: the chosen proportions fitted in the box (4K at 9:16 = 2160 × 3840; "source" keeps the preset), the preset name unchanged; when the encoder caps it, the value reads "1296 × 2304 (capped)" with `Tooltips.Editor.Export.OutputCapped`. The preview mask is the output's footprint in the view frame |
| `Videos.html` | §12.10 | the Videos section (owner review 1, R9): toolbar (search, Kind, Codec, Year, Source, Order, cards/list, Refresh), the sequence chip, the selection bar (Play, Show in folder, Copy to folder, Copy on server, Open in Edit, Delete…), cards with state chips, the player pane open on the right; under it the list view and the Delete… confirmation |