docs: phase 5a in BRIEF, DECISIONS, CHANGELOG, STATUS and ARCHITECTURE
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6e00c3c996
commit
86185c422a
6 files changed
+359
-30
No files matched your search
+51
-5
@@ -144,7 +144,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-03 | Perf gates (opt-in, weekly `perf.yml`): Library open through a new connection pool with warm OS cache; filters as the median of 5 runs; rebuild at one fifth of §1.1 (400 × 250 real photos, 120 s budget) on SQLite and PostgreSQL. No perf migration was needed. | Drop OS caches / full 500k files | Portable on CI runners while still catching plan and index regressions. |
|
||||
| 2026-10-03 | `fixtures --allow-missing` prints a warning annotation per missing sample and exits 0; without it, 1. `Chronos.Tools.Tests` covers tool behaviour CI relies on. | continue-on-error | CI shows the gap instead of a silent pass. |
|
||||
| 2026-10-03 | Editor: the corrected-frame preview is built in the App layer (RenderPreparation corrections, then geometry, exposure and the knee), measured at 128 px; the preparation is split into a measuring pass and re-solves so slider steps never re-decode; analysis decodes are kept as Half within 1/16 of available memory (64–512 MB). | A Core single-frame entry point | Preview speed without touching the render engine. |
|
||||
| 2026-10-03 | Editor autosave 400 ms after the last change with a three-way JSON merge (the editor wins on members both sides changed); a failed save stays pending and retries from 2 s doubling to 60 s; closing with an unsaved failure asks through a destructive modal. Undo takes adopted outside changes; a drag, click or key press is one step. | A Save button / dropping the change | Data safety; §12.1 allows modals for destructive actions. |
|
||||
| 2026-10-03 | (Partly superseded by the 2026-11-03 workspace editor saves row: a workspace project's save merges photo by photo, and a setting a sync and the editor both changed is asked, not won by the editor.) Editor autosave 400 ms after the last change with a three-way JSON merge (the editor wins on members both sides changed); a failed save stays pending and retries from 2 s doubling to 60 s; closing with an unsaved failure asks through a destructive modal. Undo takes adopted outside changes; a drag, click or key press is one step. | A Save button / dropping the change | Data safety; §12.1 allows modals for destructive actions. |
|
||||
| 2026-10-03 | Editor 1:1 and wheel zoom render at the source's long edge, Fit at the view's size; labelled preview tools (icon + text) with full screen, play and the crop view icon-only; the shot-data pill moves above the tools when they do not fit at 1200 px. | Render only the visible region | Decoders decode whole frames; simplest correct option. |
|
||||
| 2026-10-03 | Export tab: preset grid columns = width / 200 px; Output label column fixed at 96 px with ellipsis and tooltip; Optimise all skips Stack; render follow-ups are a toast with Show in folder plus the history line's show-file link. User presets ("Customise") are not built; the Export "Sync" box is (2026-10-06: ExportSettings.SyncToServer, off by default). | Fixed 4 columns / placeholder controls | The fixed grid clipped at 1200 px; user presets need a preset store and render-path resolution. |
|
||||
| 2026-10-03 | Exposure measuring tool switches Luminance / Flicker (frame-to-frame log-luminance change before and after correction) / Waveform (luma per column band of the corrected preview); the Time tab shows a plan chart beside the remap curve; the Camera free crop is four margin sliders (≤ 45 % each, ≥ 10 % of the frame left). | One chart per tab | §12.3 measuring needs and Editor.html. |
|
||||
@@ -299,7 +299,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | A replaced import result is disposed by the `Result` setter, and a just-queued import job is read back once after its id is recorded. | Dispose only in Finish; rely on job events | New import and a source change replace the result too, and a job that ends before its id is recorded (destination offline) sends its events before the screen listens. |
|
||||
| 2026-10-12 | Offering and completing a render upload (`POST /sequences/{id}/renders`, `/renders/{uploadId}/complete`) needs the Edit permission | Upload or Edit, as for frame uploads | A render output counts against no quota and changes what the sequence shows to everyone. Clients already offer Send exports only with Upload plus Edit, so no flow breaks. |
|
||||
| 2026-10-12 | A client that imports a card into the server reports it through `POST /api/v1/uploads/cards` (Upload permission). The server republishes each report as `cardEvent`, naming the account and client. A server without the endpoint (404) gets no further reports | Server-side detection from upload session keys | The server sees single uploads, not the card, the plan's size or when the import ends. §14.3 names the event but not its source. |
|
||||
| 2026-10-12 | Project frame positions (exclusions, hero, camera keyframes) stay positions in `project.json`. When the index takes a sidecar in which frames were only inserted, they move with their frames, inside the index transaction and under the sequence lease, without a new settings version. `project.json` follows unless it was written since. Any other frame change leaves them as they are | Store exclusions and the hero by frame id; bump `settings_version` on a move | Keeps the project format and old projects. Each copy (server, synced PC) moves its own positions when it receives the same frames, whereas a version bump would make sync push a move the other copy then makes again. The lease makes a local editor's save read the moved positions and merge onto them, and remote editors already go read-only when frames change. |
|
||||
| 2026-10-12 | (Partly superseded by the 2026-11-03 portable form row: project versions store every position parked by photo; `project.json` and a workspace's working state keep positions.) Project frame positions (exclusions, hero, camera keyframes) stay positions in `project.json`. When the index takes a sidecar in which frames were only inserted, they move with their frames, inside the index transaction and under the sequence lease, without a new settings version. `project.json` follows unless it was written since. Any other frame change leaves them as they are | Store exclusions and the hero by frame id; bump `settings_version` on a move | Keeps the project format and old projects. Each copy (server, synced PC) moves its own positions when it receives the same frames, whereas a version bump would make sync push a move the other copy then makes again. The lease makes a local editor's save read the moved positions and merge onto them, and remote editors already go read-only when frames change. |
|
||||
| 2026-10-12 | A damaged or wrong-size original replaced by a verified re-upload is kept beside it as `<name>.damaged-<UTC time>` and is never deleted by Chronos | Delete it after the repair, or move it to the trash | BRIEF §0.2 rule 8 forbids automatic deletion. Scans ignore the name, and the user decides. |
|
||||
| 2026-10-12 | The Uploader deletes a source only after its own verified upload, not when the server answers that it already holds the content, so such watch-folder files stay | Also delete on "already on the server" | That answer comes without the server re-reading the bytes. BRIEF §15 deletes after a verified upload only. |
|
||||
| 2026-10-12 | An upload whose target sequence (the requested one, or the one its session key names) already holds its content is free: a repair adds no used bytes, and the quota checks at start and completion skip it | Charge every committed upload | The archive does not grow. `used_bytes` is never recomputed, so charged repairs drifted it upward and could refuse the repair itself. |
|
||||
@@ -318,7 +318,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | The MakerNote exposure mode (Canon, Olympus, Fujifilm, Panasonic, Sony) fills `ExposureProgram` only when Exif has none | Prefer the vendor value | Exif is the standard field most cameras write; the vendor value covers bodies that leave it out. |
|
||||
| 2026-10-12 | `PRAGMA compile_options` is probed once per process, logged and written to the diagnostics bundle; any failure gives an empty list | Fail opening the index; probe on every open | BRIEF §6.2 makes it informational: Chronos uses no optional SQLite feature (FTS, JSON). |
|
||||
| 2026-10-12 | Frames both analyses find undecodable are one finding over the union of both lists, at the higher severity | Keep the light finding and drop the deep one | The deep pass also lists missing and corrupt frames and those beyond this host's decoders, which are never flagged; dropping its finding hid them and miscounted. |
|
||||
| 2026-10-12 | A `.chronos` project file is versioned UTF-8 JSON (`chronos-project`, formatVersion 1) that names the archive (id, name, path) and the sequence (id, folder, title, frame count) and carries the project.json settings. Opening it finds the sequence by id, otherwise by the same folder in the same archive, and applies the settings as one undo step. | A self-contained bundle (zip with frames or proxies), or a bare copy of project.json | Frames live in the archive and the index already knows them. A small reference plus settings is what BRIEF §18's file association needs, survives an index rebuild (folder fallback) and never duplicates photos. |
|
||||
| 2026-10-12 | (Partly superseded by the 2026-11-03 project file format 2 and `.chronos` files rows: a workspace's working state is format 2 with a `workspace` section; opening a format 1 file gives its settings to the sequence's Main project in the workspace.) A `.chronos` project file is versioned UTF-8 JSON (`chronos-project`, formatVersion 1) that names the archive (id, name, path) and the sequence (id, folder, title, frame count) and carries the project.json settings. Opening it finds the sequence by id, otherwise by the same folder in the same archive, and applies the settings as one undo step. | A self-contained bundle (zip with frames or proxies), or a bare copy of project.json | Frames live in the archive and the index already knows them. A small reference plus settings is what BRIEF §18's file association needs, survives an index rebuild (folder fallback) and never duplicates photos. |
|
||||
| 2026-10-12 | One Chronos per data folder: a named mutex keyed by the data folder's hash. A later launch hands its arguments over a current-user named pipe. The running one listens from the moment it holds the mutex and queues messages until its window exists. It stops listening when its window closes but keeps the mutex until its services have stopped. A launch that gets no answer waits up to 30 s for it to exit and starts in its place. An elevated instance's mutex counts as 'running'. | Several instances on one data folder, one instance per user, or exiting when the hand-over fails | Two processes would share one SQLite index and job engine. Portable copies have their own data folder. Without the queue and the wait, a file double-clicked during start-up or just after closing was silently dropped. |
|
||||
| 2026-10-12 | The Server component installs only for all users in a folder inside Program Files or Program Files (x86), not Program Files itself. Upgrading an installation elsewhere (per-user, or all-users in another folder) cannot add it, and a Server it carried is dropped with its service. | A protected DACL set by setup on a custom folder, or only a warning | A LocalSystem service must not start a program a standard user can replace (CWE-732). Program Files' inherited permissions already guarantee that, while rewriting ACLs on arbitrary drives (FAT, network shares, folders with other files) is unreliable. |
|
||||
| 2026-10-12 | Setup changes only services, sign-in entries and shortcuts that start a program its install log or payload lists, with full paths compared ignoring case. The services are stopped, started, pruned or deleted through the Service Control Manager. An unelevated setup runs `/SERVICES=… /NAMES=… /DIR=…` in an elevated copy that reads each named service again and refuses one that no longer starts such a program. | Everything under the install folder; sc.exe; trusting the caller's list | The folder may be shared (D:\Apps, /DIR="C:\Program Files"). No external processes may run. An elevated step must not act on what an unelevated caller merely names. |
|
||||
@@ -369,7 +369,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-12 | A thumbnail drawn before a verify hashed its photo still counts as that photo's (`ThumbPack.IsFrom`): image passes reuse it and the server serves it. Such a thumbnail carries the fingerprint of the file name and size. One drawn from another hash, file or size does not count. | Clear ThumbsBuilt when a verify hashes frames, and draw them again; serve only exact fingerprints | Hashing changes nothing about the photo. After a verify, the thumbnail of every scan-adopted frame answered 404 while ThumbsBuilt stayed set and no pass was queued, and the next pass drew them all again. |
|
||||
| 2026-10-12 | A deep analysis checks its own report against the frames as they are when it records. It reloads them under the sequence lock and applies `SequenceAnalyser.ReadReport`'s rule. If the run found a frame unreadable and that frame's proxy arrived during the run, the report counts as none for the Auto values, AnalyzedDeep, HasWarnings, the warning count and the stored summary. The advice is applied under the same lock as the status. Refines 2026-10-12 '`analysis.json` lists the frames…'. | Queue another light analysis when the report is stale; keep the deep status until the next light analysis | The light analysis that an arriving proxy queues can finish on another worker (Auto is cores/2) before the deep run records, and nothing runs it again. The stale deep status, warning count and Library badge then stayed, while the report endpoint answered 404. Under one lock, that light analysis either ran before and is not undone, or runs after. |
|
||||
| 2026-10-12 | Before deleting a row that the folders listed at its start do not back, a rebuild checks it again under the row's sequence lease. The row stays when it waits for its first frame, when its current folder holds a sidecar naming it, when that sidecar cannot be read, or when another process holds its lease. | List the folders again at the end; keep rows whose updated_at is later than the rebuild's start | Uploads go on during a rebuild, which can take minutes. A first frame's new folder, or a new session's sequence, is not in the listing taken at the start. Dropping its row gave the Uploader 404, and (with the session mapping cascaded away) split the session into a ' (2)' sequence. A second listing still races, and updated_at moves for many unrelated edits. |
|
||||
| 2026-10-12 | A local editor's save is refused under the sequence lease (`FramesChangedException`, nothing written) when the sequence's frames version has moved since the editor read its frames. The index edit also names that version. The editor then reads the sequence again and moves its project, its basis and every undo and redo step the way the index moved the stored copy (`ProjectSettings.FollowFrames`): by frame id when every frame it read is still there, otherwise unchanged; waiting photos are placed. It then saves the project in the new order, up to 3 times. The editor reads the row and frames as one state: the frames are listed between two reads of the row at the same frames version, 3 attempts, then 'Photos are being added to this sequence; wait a moment and try again.' Reads of the sequence never overlap: each waits for the one under way, and saves wait for it, so each read follows the frames the one before took. The frame on screen stays on its photo. | Translate inside the source and keep the editor's old frame list; refuse with an error and reload, losing the edit; store positions by frame id | Insertions hold the same lease, so the check is exact. Applying the index's own rule moves basis, edit and stored copy alike, so the three-way merge stays meaningful. Undo steps must move too, or Ctrl+Z brings back positions in the old order. Two jobs that end together read the sequence at once, and the later frames must not be followed back to the earlier ones. Positions stay positions (row 'Project frame positions…'). |
|
||||
| 2026-10-12 | (Partly superseded by the 2026-11-03 Edit opens workspace projects row: Edit edits this PC's sequences only as workspace projects, whose media change only through Update media; the rule stays for a capture.) A local editor's save is refused under the sequence lease (`FramesChangedException`, nothing written) when the sequence's frames version has moved since the editor read its frames. The index edit also names that version. The editor then reads the sequence again and moves its project, its basis and every undo and redo step the way the index moved the stored copy (`ProjectSettings.FollowFrames`): by frame id when every frame it read is still there, otherwise unchanged; waiting photos are placed. It then saves the project in the new order, up to 3 times. The editor reads the row and frames as one state: the frames are listed between two reads of the row at the same frames version, 3 attempts, then 'Photos are being added to this sequence; wait a moment and try again.' Reads of the sequence never overlap: each waits for the one under way, and saves wait for it, so each read follows the frames the one before took. The frame on screen stays on its photo. | Translate inside the source and keep the editor's old frame list; refuse with an error and reload, losing the edit; store positions by frame id | Insertions hold the same lease, so the check is exact. Applying the index's own rule moves basis, edit and stored copy alike, so the three-way merge stays meaningful. Undo steps must move too, or Ctrl+Z brings back positions in the old order. Two jobs that end together read the sequence at once, and the later frames must not be followed back to the earlier ones. Positions stay positions (row 'Project frame positions…'). |
|
||||
| 2026-10-12 | Before a render, the editor checks that the frames it read are still the sequence's (`ISequenceSource.FramesCurrentAsync`: the index row's frames version on this PC, the manifest on a server). On this PC it reads the sequence again first, so the project the job embeds names the moved positions. A server sequence whose frames changed turns outdated (read-only, Get proxies) and the render is not queued. A render already waiting in the queue keeps the project it embedded. | Carry the frames version in `RenderJobParameters` and fail the job in the local, managed and render-node handlers; check inside `SubmitAsync` | The editor learns of an insertion only at its next save or after its own job, while Render embeds the project at once. One row read (one manifest read on a server) per render keeps the check in the editor, and the job format, the render handlers and the render nodes stay as they are. A render left waiting in the queue while earlier photos arrive is the one window left; closing it needs the job format to change. |
|
||||
| 2026-10-12 | The desktop editor of a server sequence sends `expectedFramesVersion` in its PATCH: the frames version of the proxies it holds. On any 409 it reads the manifest. Other frames make it outdated (read-only, Get proxies; the edit stays pending). The same frames at a new frames version retry at that version. After a lost event socket, and before a render, it compares the frames again. Servers that predate the field ignore it. | Read the new frames and translate the edit (needs the new frames' proxies); show `Server.Error.FramesConflict` and drop the edit | Server scans publish no sequenceChanged event, and events missed during a reconnect were never checked, so a save or a render could use positions the server had moved. The outdated state (row 'Server sequences whose cached frames…') already says why and offers the fix in the editor's own sentence. |
|
||||
| 2026-10-12 | Positions crossing copies by photo tell copies of one photo apart by their order (`FramePhotos.Occurrence`). A position on the n-th frame holding a photo goes to the n-th frame holding it on the other copy. When that copy holds fewer, it waits as a pending frame with `occurrence` n; occurrence 0 is not written. A hashed photo is the frames holding its hash; size and capture time count only when no frame holds the hash. | Map to every matching frame; keep the first copy; keep the receiving copy's own positions for duplicates; count unhashed frames of the same size and time as copies of a hashed photo | A PC keeps one copy where an adopted server folder holds two ('IMG_0001.JPG', 'IMG_0001 (1).JPG'). The server's exclusion of the duplicate, which the deep analysis flags, must not exclude the PC's only copy, and a push must give the server back exactly what it had. Keyframes then never pile on one frame, and older projects read the same. A frame not hashed yet may be another photo of the same size taken in the same second (an uncompressed RAW in a burst): parking a position until hashing is safe, while moving it to that photo is not. |
|
||||
@@ -416,7 +416,7 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-16 | The Sequence section is renamed Edit ("Modifica"): `SectionKey.Edit`, `Shell.Nav.Edit` and `Tooltips.Nav.Edit`; the classes keep their names (`SequenceView`, `SequenceViewModel`, `ShellViewModel.Sequence`, `Icon.Sequence`) and so do the editor's resource keys (`Editor.*`). Screenshots are `edit-*` (`edit-picker`, `edit-<step>`, `edit-change`, `edit-busy`). (Owner review 1, R7.) | Rename the classes and keys too | The owner's word is the section's name; renaming twenty files and two hundred keys would change nothing the user sees and would bury the real change in churn. |
|
||||
| 2026-10-16 | The editor's tabs become the steps of a guided path, freely navigable (the owner's choice): a step bar of equal cells under the header (the tab strip under the filmstrip is gone), a new first step **Analysis** (every finding with the step that deals with it, five measurements, the other steps with their states, Analyse), Previous · n / m · Next under the step's column (both buttons measured whole, the counter giving way), Alt+1…8, Ctrl+PgUp/PgDn (read on the way down the tree, since the filmstrip and the curve editors take Page Up/Down whatever the modifiers) and ←/→ in the bar. Each step shows a status by its own glyph (to do, ✓ done, ▲ attention, ◐ running, ○ waiting) worked out by `EditPath.Of` from the content, the advice, the project, the active analysis and render (`SequenceJobs.Active`), the render's blocker and whether a render has the current settings; no status ever blocks a step. The step's tooltip is "name · what it is for · state · Alt+n" (the name first, because a long name ends in an ellipsis in its cell: about 82 px at the 1200 px minimum, which every English and Italian name fits). After a step change the keyboard goes to the new step's cell when it was in the bar, on a control of the replaced step or on Previous turning itself off, and the preview takes it back if it falls to the window; Space on the step shown plays; Ctrl+click or Ctrl+Space never leaves the bar without a current step. The editor opens on the step last shown for that sequence in this run (a deep analysis that ended meanwhile resets its visited marks), else on Analysis while there is no current deep analysis or one waits, runs or is paused (`EditPath.Start`, applied again once the jobs are read unless the user chose a step), else on Frames. Last step's Next is "Next sequence". (Owner review 1, R7.) | Steps that unlock in order; a wizard with its own window; a ninth "Result" step | The owner asked for a path from the deep analysis to completion that stays freely navigable; locking steps would get in the way of photographers who know what they want; the result belongs to phase 5's export and videos library. |
|
||||
| 2026-10-16 | Step rules: Analysis is running while a deep analysis is active; needs attention when the index says AnalyzedDeep but the saved analysis describes another number of frames ("Frames changed") or cannot be read now ("Analysis unavailable": archive offline, file moved or damaged, a server that sends none; `SequenceContent.DeepOfOtherFrames` tells them apart); done with its warning count; else to do. Frames waits for the analysis, then needs attention while frames the analysis flags as black, white, duplicate or unreadable are neither excluded nor skipped by the render anyway. Exposure, Motion, Camera and Time wait while an Auto setting of the section needs the deep analysis and there is none, need attention while an Auto setting that applies lacks other data (timestamps, exposure data, source size: the tooltip is the advisor's reason), which taking the value over by hand settles; a setting whose switch is off (`EditorSettings.Applies`, the same rule as the rows' n/a) is never asked for, and a value the analysis could not measure (no usable region mask) stays at the engine's fallback. Otherwise Auto, or Edited once an Auto setting or a value set by hand differs (crop, offsets, camera moves, fit to a duration, exposure offset). Stack is optional. Export is running with its render, needs attention when the export cannot render or no render, of any age, was made from settings with the project's `EditPath.Signature` (which leaves out hero, frames to place, batch, folder, output name and server copy); the renders count as current when the newest keeps no settings (a server's, or one fetched from it) or none's settings can be read. Findings go to steps through `EditPath.FindingSteps` (all 29 keys, tested by reflection; frames of another size or orientation go to Frames, which excludes them); Frames lists its own under "Frame warnings". | A finding count per step; any missing data as "waiting" | Counts would turn Frames ▲ for timing findings it cannot fix; analysis cannot supply timestamps or exposure data, so those need the user, not a wait; a setting shown n/a cannot be taken over, so asking for it would leave a ▲ nobody can clear. |
|
||||
| 2026-10-16 | The sequence is chosen inside Edit: without an open sequence, or after Change sequence (the title's ▾, Ctrl+O, Next on the last step), a picker covers the editor in place (not a popup): this PC's sequences and the server's sequences the Library knows, newest first, searched after 250 ms (Enter and ↓ in the search box wait for the list to match what was typed), read page by page (more pages are read until the open sequence, else the one edited last, is listed, then it is selected and scrolled into view); Enter or a double-click opens, Esc clears the search then goes back. The open editor stays laid out behind it (hidden, not collapsed, so its preview is not rendered again) and keeps saving each change a moment after it is made (2026-10-03 autosave). Choosing another sequence reads it first; only once it has loaded is the open one's pending change written at once and the editor closed. When the next one cannot open now (its proxies are on their way, or it fails), the open one stays open and is again the sequence asked for (`ShellViewModel.KeepSequence`), so coming back to Edit neither asks again nor retries; Cancel also stops a server sequence chosen meanwhile from opening over it when its proxies arrive. A failed write is either kept (Keep editing) or discarded on the user's word. Asking for the open sequence again (Library, Jobs, a project file) ends a choice of another; coming back to Edit leaves it on screen (`ShellViewModel.SequenceRequests`). Deleting the sequence asked for clears the request. The section remembers each sequence's step and visited steps for the run, and `AppSettings.LastEditedSequence` (saved with `SavePreferences`) is selected first in the picker. (Owner review 1, R7.) | A popup or a separate window; close the editor when the picker opens; close it before the next sequence is read | Captures render the window's visual tree and off-screen test windows make popups fragile; keeping the editor open makes Cancel instant, and closing it only once the next sequence has loaded means a sequence that cannot open never costs the open one (nor its undo history). |
|
||||
| 2026-10-16 | (Partly superseded by the 2026-11-03 Edit picker row: the picker lists the workspace's projects above the library's sequences, and a sequence of this PC opens as a workspace project.) The sequence is chosen inside Edit: without an open sequence, or after Change sequence (the title's ▾, Ctrl+O, Next on the last step), a picker covers the editor in place (not a popup): this PC's sequences and the server's sequences the Library knows, newest first, searched after 250 ms (Enter and ↓ in the search box wait for the list to match what was typed), read page by page (more pages are read until the open sequence, else the one edited last, is listed, then it is selected and scrolled into view); Enter or a double-click opens, Esc clears the search then goes back. The open editor stays laid out behind it (hidden, not collapsed, so its preview is not rendered again) and keeps saving each change a moment after it is made (2026-10-03 autosave). Choosing another sequence reads it first; only once it has loaded is the open one's pending change written at once and the editor closed. When the next one cannot open now (its proxies are on their way, or it fails), the open one stays open and is again the sequence asked for (`ShellViewModel.KeepSequence`), so coming back to Edit neither asks again nor retries; Cancel also stops a server sequence chosen meanwhile from opening over it when its proxies arrive. A failed write is either kept (Keep editing) or discarded on the user's word. Asking for the open sequence again (Library, Jobs, a project file) ends a choice of another; coming back to Edit leaves it on screen (`ShellViewModel.SequenceRequests`). Deleting the sequence asked for clears the request. The section remembers each sequence's step and visited steps for the run, and `AppSettings.LastEditedSequence` (saved with `SavePreferences`) is selected first in the picker. (Owner review 1, R7.) | A popup or a separate window; close the editor when the picker opens; close it before the next sequence is read | Captures render the window's visual tree and off-screen test windows make popups fragile; keeping the editor open makes Cancel instant, and closing it only once the next sequence has loaded means a sequence that cannot open never costs the open one (nor its undo history). |
|
||||
| 2026-10-17 | A double-click on a row is read on the row (`MouseDoubleClick` on its `ListBoxItem`, left button only, not over one of its own buttons) in Edit's picker and in the Library's list and grid, instead of a gesture on the list: a `ListBoxItem` marks every left mouse-down handled to select, so the list's gesture only ever fired on its empty area. While the user is asked whether to discard a change that could not be written, no retry runs (`ProjectSaver.HoldAsync`, `EditorSession.HoldPendingAsync`); Discard drops it unwritten (`DiscardPending`), Keep editing lets the retries go on (`KeepPending`). (Owner review 1, R7 review.) | A double-click binding on the row template; retry during the question and drop only what is still pending | A template binding misses the row's padding; a retry that succeeds while the question is open would write the change the user is about to drop. |
|
||||
| 2026-10-23 | The product is Chronos: a byte-exact rename of every tracked file's contents and path (`Titano`, `titano`, `TITANO` → `Chronos`, `chronos`, `CHRONOS`; 10,394 replacements in 1,744 files, 1,159 moved), so identifiers, namespaces, projects, `CHRONOS_*` variables, `%LOCALAPPDATA%\Chronos`, `.chronos` files and sidecar folders, the error code `CHRONOS001` and the image name change together. No migration of old data folders or settings. Translations were then reviewed per language for forms the old name's final vowel had dictated (Finnish and Estonian cases, Hungarian, Turkish suffixes, Scandinavian genitives, Slavic and Baltic cases): 80 strings changed. Two golden values that contained the old name were recomputed (PostgreSQL MD5 response of `chronos_md5`, verified independently; the payload-tampering test's target). (Chronos on Gitea, R1.) | Keep `Titano` in identifiers and paths; migrate `%LOCALAPPDATA%\Titano` and `.titano` files | No release has shipped, so nobody has data under the old names; one name everywhere is what the owner asked for. |
|
||||
| 2026-10-23 | The repository is `BalboSoft/Chronos` on the owner's Gitea (`https://gitea.encke-hake.ts.net`). Builds embed its web address as `ChronosReleasesUrl` (replacing `ChronosReleasesRepo`, an `owner/name` on GitHub): the update check reads `<server>/api/v1/repos/<owner>/<name>/releases?draft=false&pre-release=false` (a path prefix in front of the owner is kept), the licence opens `<repository>/src/branch/main/EULA.md`, issues `<repository>/issues`, and Add/Remove Programs shows the repository. (R2.) | Two properties (server and repository); keep the GitHub API shape | One address is what the owner sees in the browser; Gitea's release JSON has the fields the update check reads (`tag_name`, `html_url`, `draft`, `prerelease`, `assets[].browser_download_url`). |
|
||||
@@ -565,3 +565,49 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-11-03 | Sidecar walk: a dry run or an emptying walks the archive's sidecars at most once (`SidecarWalk`: sequence id to folders, the first unreadable sidecar kept). An emptying shares one walk between its plan and every erase, so nothing walks the archive under a lease, and walks again once per lookup only when a folder it found no longer holds the sequence; still moving after that, the entry is kept as Busy. A stale walk can only keep an entry, never erase one. (Owner review 2, R7, fix round 3.) | A survey per entry (round 2) | Each erase walked the whole archive again while holding the entry's and the sequence's leases. |
|
||||
| 2026-11-03 | Download follow-ups: `SyncTransfers.QueuePassesAsync` queues every pass a download needs, a frame swap's included, with `CancellationToken.None` through the new `JobContext.EnqueueFollowUpAsync(…, CancellationToken)`, as `FrameTrash.RestoreAsync` does. (Owner review 2, R7, fix round 3.) | The job's own token | A Stop right after a swap dropped the passes it cleared, leaving frames without thumbnails, proxies or analyses. |
|
||||
| 2026-11-03 | Confirmation detail keyboard: the desktop confirmation's detail (`DetailScroll`) is focusable and a Tab stop, through a style trigger, only while its vertical scroll bar shows (a detail longer than its 288 px), with the focus ring, the detail's tooltip and accessible name; the arrow, page and Home/End keys scroll it. (Owner review 2, R7, fix round 3.) | Always a Tab stop; the mouse only | A long list of entries that may hold the last copy of their photos must be readable from the keyboard; a detail that fits needs no stop. |
|
||||
| 2026-11-03 | Projects: a sequence has one Main project and any number of other named ones (1–60 characters, unique among its live projects), each a linear history of immutable versions (`ProjectVersionKind`: commit, merge, restore, imported, external), with no branches. Migration 0009 adds `projects` and `project_versions` (rows derived from the sidecars, a head advanced by compare-and-set, Main's `mirrored_version_id` and `mirrored_settings_version`) and `renders.project_id`/`project_version_id`; `JobKind.WorkspaceCopy` is stored as 20 (wire `workspace-copy`). (Owner review 2, R8.) | Branches; one project per sequence | The owner's answer: several projects, each pushed and pulled like git, no branches. |
|
||||
| 2026-11-03 | Project sidecars: `<sequence>/.chronos/projects/<id>/project.json` (`chronos-project-record` v1: id, sequence id, name, is Main, head, `mirrored` for Main, created, created by, updated, deleted) and `versions/<number:000000>-<id>.json` (`chronos-project-version` v1, immutable, the settings as a JSON string checked against `contentHash`) are the truth. A version file is written first, then the record, then the index in one transaction, under the sequence's lease; a version file past its record that follows the head is adopted, any other moved to `versions/.stray`. Full scans, rebuilds and every `ProjectService` call take them back into the index. A record of another sequence (a hand-copied folder) is ignored. (Owner review 2, R8.) | Index rows only; a journal | The archive is the source of truth and the index is rebuilt from it; the immutable version file is its own journal; nothing is ever deleted. |
|
||||
| 2026-11-03 | Portable form: a stored version holds its settings with every frame position parked by photo (`ProjectSettings.TranslateFramePositions`), in canonical text (pending frames sorted by photo, wall-clock capture times, keyframe frame values zeroed), its content hash the SHA-256 of the UTF-8 text (`ProjectContent`). A photo not hashed yet is parked by size and capture time. (Owner review 2, R8.) | Positional settings with a frames version | The same text means the same choices on every copy; photos added, another copy's frame order, merges and splits never move a position or change a hash. |
|
||||
| 2026-11-03 | Placing by photo: `ProjectContent.Rebind` gives a renamed entry the occurrence its frame has among the frames that hold its new name, and folds the entries of one photo (excluded and hero kept if either has them, keyframes joined once each, unknown members joined; `ProjectMerge.Keyed` too). Two texts hold the same choices on a copy's frames when they are equal once each pending entry is named as the frame it lands on, hashed or not (`SameChoices`); Rebind still never drops a SHA-256. (Owner review 2, R8, fix rounds 1–2.) | Exact text comparison; the last entry wins | Burst photos keep their positions once hashed; a version the home made after a Verify and a working state saved on media copied before it read alike, so no false Changed and no version that only re-keys photos. |
|
||||
| 2026-11-03 | Unknown settings members are kept: a settable `Dictionary<string, JsonElement> Extra` with `[JsonExtensionData]` on `ProjectSettings`, its sections, `PendingFrame`, `Auto<T>`, `CameraKey` and `CurvePoint`; a placed pending entry with unknown members stays, its flags cleared, so the next portable form parks into it again. Settings without unknown members keep their canonical text. (Owner review 2, R8.) | `JsonObject` or init-only extension data | Older clients must not erase filters a newer Chronos adds; the source generator cannot bind init-only extension data and wrote `JsonObject` as invalid JSON. |
|
||||
| 2026-11-03 | Newer settings format: settings of a newer format open read-only (`FromJson(json, allowNewer: true)`, `IsNewerFormat`); a format 1 project file still refuses them. They are never merged with this format's (`NewerSettingsException` when both sides changed): a newer Main head is listed and pulled but never mirrored, merged or built on (`MirrorAsync` reads leniently and skips it), pushes must parse strictly, and the editor drops its undo steps rather than rebase them onto newer settings. (Owner review 2, R8, fix rounds 1–2.) | Refuse such settings everywhere; merge member by member | A workspace must show what a newer Chronos pushed without misreading or overwriting it, and undo must never bring this Chronos's values back over the newer ones. |
|
||||
| 2026-11-03 | Project file format 2: `ProjectBundle` is written as format 2 only with a `workspace` section (project id, name, Main, home, base version id, number and hash, media kind and frames version); a file without it is still written as format 1. `IsReadOnly` marks a project of a newer settings format. (Owner review 2, R8.) | Always format 2 | Earlier Chronos versions keep opening the project files users save. |
|
||||
| 2026-11-03 | Size limits: `ProjectBundle.MaxBytes` and `ProjectSidecars.MaxVersionBytes` are both 64 MiB, one limit for writing and reading, refused before anything is written (`ProjectTooLargeException`, `Errors.Project.TooLarge`; `ProjectVersionTooLargeException`; `PushOutcome.TooLarge`, appended last, shown as `Errors.Workspace.VersionTooLarge`). A 100,000-frame sequence with every frame parked takes about 26 MB. (Owner review 2, R8, fix rounds 1–2.) | 4 MiB for project files and 8 MiB for versions (the first version) | Large projects could not be checked out, and a version written that no read takes back was lost silently. |
|
||||
| 2026-11-03 | Main mirroring: Main is made lazily (`MainAsync`) from the sequence's settings (`project.json` first) as version 1, Imported; its head is mirrored into `project.json` and the index's settings with the settings version check; the record's `mirrored` names the version `project.json` was last known to hold. Settings any other path writes (an older Chronos, the editor's old path, an analysis, the API, sync) become an External version of Main at the next project call; a mirror a crash cut short is completed. (Owner review 2, R8.) | Migrate every sequence; an API version bump | Older clients and the server's settings sync keep working unchanged, and no migration pass runs over large archives. |
|
||||
| 2026-11-03 | Main catch-up merge: a push whose mirror a crash or a race cut short, met by settings written meanwhile by another path, becomes ONE Merge version on the head, in which the settings written meanwhile win where both changed; the push's values stay in its own version. A merge that holds nothing the head lacks makes no version and the head is mirrored, so a merge cut before its mirror is finished next time by the same index or a rebuilt one. (Owner review 2, R8, fix round 3; supersedes rounds 1–2's External and Merge pair.) | An External version, then a Merge, resumed by their shape; the push wins | The settings written meanwhile are the newer write, in force, and what older clients wrote and read; the pair's resume misfired on ordinary histories and reverted the latest edit. |
|
||||
| 2026-11-03 | An index meeting Main with no mirror known decides from `project.json`, never from its own settings column: the record's `mirrored` is a lower bound, `project.json` matching any version from the head down to it completes the mirror, a record naming the head or no version gives an External, and one naming an older mirror that `project.json` matches nowhere merges (`project.json` wins where both changed). When the catch-up records a version as mirrored and `project.json` holds it, the record names it too. (Owner review 2, R8, fix rounds 1–3.) | Compare with the index's settings column | That column can be stale on a second PC or after a backup, and taking it as an outside change reverted pushed heads. |
|
||||
| 2026-11-03 | A mirror never writes `project.json` over settings written there since this index last knew what it held (the version mirrored, the settings just taken in, the index's or the record's mirrored version): it takes them in first (External, or a merge where they win), then mirrors; if `project.json` moves again meanwhile, nothing is written and the next call catches up. A `project.json` that cannot be read is written over as before. (Owner review 2, R8, fix round 4.) | Write the mirror unconditionally | An edit another PC or an older client made only in `project.json` would be lost, its values in no version. |
|
||||
| 2026-11-03 | Catch-up: every `ProjectService` call first catches up under the sequence's lease (sidecars into the index, Main made, outside settings appended, write-back and heal); reads wait at most 3 s for the lease, then answer from the index. Unique and foreign-key errors are contained per project, other database errors per sequence in the scan and in reads. A read-only archive is read without writing: a sequence with no Main gets an index-only Main, whose sidecars are written once the archive takes writes (ours becomes `Main (2)` if another index's Main appeared meanwhile). (Owner review 2, R8, fix rounds 1–2.) | Catch up at scans only | One place keeps the index, the sidecars and Main's mirror in step; a busy sequence never blocks a screen; one damaged project never stops a scan of the archive. |
|
||||
| 2026-11-03 | Project deletion: only a record that says deleted, or a folder in `projects/.trash`, deletes; a missing folder or a record that cannot be read never does. The trash is read before the live folders, so a reconcile never undoes a deletion. A record that cannot be read holds its project back (listed as the index has it, nothing written, writes refused with `ProjectsUnreadableException`, a `HomeUnavailableException` to workspaces). Delete refuses Main, moves the folder into the projects' trash first, then writes the deleted record there. (Owner review 2, R8, fix rounds 1 and 4.) | Mark deleted when the folder is missing; write the record first | One failed read deleted every project of a sequence and made a second Main; a half-synced deletion was undone by an index that still had the project. |
|
||||
| 2026-11-03 | When a deletion wins over a live folder, the live folder's version files that the trash folder lacks and that name this project are moved into `<trash folder>/versions`: never deleted, never over an existing name, a Warning logged, a failed move retried at the next reconcile. They are not indexed (nothing restores from the projects' trash). (Owner review 2, R8, fix round 5.) | Leave them in the ignored live folder | A push another PC made before the deletion reached it stays beside the deleted record. |
|
||||
| 2026-11-03 | Lost records: a project the index holds but the archive has no folder for is written back from the index (versions, then record), never over an existing folder nor into a sequence folder without its manifest. A live folder whose record is lost gets it written again from the index only after the folder looked the same (a SHA-256 of every file's path, size and mtime) on two reconciles `RecordSettle` (2 minutes, in process) apart and while no projects' trash folder holds the project back; meanwhile it is held back, and a record that arrives wins. Settling state is kept per sequence and forgotten when the folder goes or has a record again. A folder with versions and no record whose id no index row names is a creation cut short: it holds nothing back and is left as it is. (Owner review 2, R8, fix rounds 1–5.) | Adopt or move such folders; measure the settle time from file mtimes | Sync tools bring files one by one and often keep the source's mtimes; moving files could spread a delete. |
|
||||
| 2026-11-03 | Trash record settle time: a projects' trash folder holds back the rebuild of a lost record only if its record names this sequence, or its record cannot be read, or it has no record, its newest write is under `ProjectIndexer.TrashRecordGrace` (1 day) old and no readable version in it names another project. (Owner review 2, R8, fix round 5.) | Any trash folder of the id holds it back for good | A deletion's record still on its way must win, but a trash folder of another sequence (a hand-copied folder) or one that never gets a record must not hold a project back for ever. |
|
||||
| 2026-11-03 | Records behind the index: a record whose head is a version the index holds below its own head, or that names none (`ProjectIndexer.BehindAsync`, one rule for the index and the heal), is made whole at every writable catch-up and before any append, rename or delete: the missing version files first, then the index's head. A record whose `updated` is older than the index's gives no name, and the heal writes the index's name back. `updated` never goes back: each write stamps `UpdatedAfter` (now, or 1 ms past the record replaced), the heal past both the record and the index. Only a record ahead of the index, or naming another version at its number, is refused. (Owner review 2, R8, fix rounds 2–5.) | Refuse pushes while a record lags; take the record's name | A projects folder put back from a backup must not block pushes nor revert a rename, and a rename from a PC whose clock is behind is still the newer one. |
|
||||
| 2026-11-03 | One Main per sequence, decided from the records: of the live records in step that say Main and have a version, the oldest by `created`, then id, is Main in every index; the others become ordinary projects with every version kept, their records rewritten when the archive takes writes, under the index's name (`Main (2)`…). Main passes in one transaction, the demoted project going through the temporary name `~<id>` so `ux_projects_name` and `ux_projects_main` never fail. Nothing moves while the index's Main is held back or its record behind. (Owner review 2, R8, fix rounds 2–3.) | Each index keeps its own Main | Two indexes, or a Main made while another's record was not there yet, would each mirror a different Main into the same `project.json`. |
|
||||
| 2026-11-03 | Push rules: a version is stored only when it names the head as its parent, is portable, of a known settings format, parses strictly, matches its content hash and fits 64 MiB; the home numbers it head + 1, and a repeat of a stored id answers AlreadyStored (`PushOutcome`: Stored, AlreadyStored, Diverged, HashMismatch, NewerFormat, Invalid, TooLarge). A push to Main is mirrored (its I/O failure after storing is completed by the next catch-up). (Owner review 2, R8.) | Trust the client | Hash checks and idempotent retries make pushes safe over bad links. |
|
||||
| 2026-11-03 | `IProjectHome`, the home a workspace pushes to and pulls from: `ArchiveProjectHome` in 5a, the server's in 5b. `HeadAsync` answers NotFound for a deleted project (the workspace reads Gone). `HoldsAsync` reads the version file back and checks its id, project and hash, and guards pruning and Remove local copy. `FramesStampAsync` (`frames_version:hashed:checksum:removals`, the checksum a weighted sum over the first 5 hex digits of each SHA-256) lets a workspace read the home's frames again only when they changed. An offline archive or a busy lease is `HomeUnavailableException`. (Owner review 2, R8, fix rounds 1–4.) | Read back from the index; read the frames at every status | The read-back that allows deleting a local version must come from the durable copy; a hash replaced in place must move the stamp. |
|
||||
| 2026-11-03 | `ProjectMerge` moved from the App to `Chronos.Data/Projects`: three-way merge member by member, pending frames merged per photo and flag, two heroes one conflict at path `hero`; `Replay` re-applies the home's change to each unpushed commit against the common base (named Replay: `Rebase` is the nested class). (Owner review 2, R8.) | A whole-array merge; a git-style sequential rebase | Excluding different photos on two PCs never conflicts, the last replayed commit equals the net three-way merge, and the Linux-tested Data layer can use it. |
|
||||
| 2026-11-03 | Workspace folder: no index; `WorkspaceStore` reads `<root>/*/project.chronos` and `workspace.json` (`chronos-workspace` v1, written to a temp file and moved into place without overwrite). Each project folder has `project.chronos`, `media/` (`media.json`, `proxies/`, `analysis.json`), `versions/` (with `.replaced` and `.replaced.since`), `sync.json`, `exports/` and its lease `.lock.lease`. Default `%LOCALAPPDATA%\Chronos\workspace` (or `.\data\workspace`); a folder inside a library is refused before anything is written. A GUID-named folder without `project.chronos` holding only lease files older than 2 minutes, not held, is removed by the next listing. (Owner review 2, R8, fix rounds 1 and 5.) | An SQLite table | The folder describes itself and can be moved or inspected by hand; a cancelled copy's clean-up leaves no folder that is not a project. |
|
||||
| 2026-11-03 | Workspace write order: the base in `project.chronos` is the commit point of every write sequence. A push writes the base, then marks the local file stored; a replay journals itself in `sync.json` (`WorkspaceReplay`: onto base, replaced, replayed, adopted, settles), writes the replayed versions, then the base with the merged working state, then sets the old versions aside and clears the journal. `SettleAsync`, at the start of every push, pull and resolve, finishes or undoes a cut operation; a settling replay past its commit point counts as applied. Checkout writes `project.chronos` before the base version file. (Owner review 2, R8, fix rounds 1 and 3.) | Write in place | A cut at any step loses no version and makes no false conflict. |
|
||||
| 2026-11-03 | Set-aside place: rebased local commits get new ids and the old files go to `versions/.replaced`, as does the working state Take library's replaces and an edit kept aside; nothing there is in the chain or sent. A local version that changes nothing once replayed is not sent and stays aside; Merge marks the last rebased version whose own settings meet a listed conflict path. `.replaced` is pruned after a sync that ends well: files set aside more than 30 days ago or past the newest 20 go, except any a journal, conflict or restore names; each is dated at the later of its mtime and `versions/.replaced.since`, when this build first knew the folder. (Owner review 2, R8, fix rounds 1–4.) | Rewrite versions in place; never prune | Never lose a version or an edit, and never grow without bound; files an earlier build set aside last a month after the upgrade. |
|
||||
| 2026-11-03 | Conflicts: a pull or push stops at settings both sides changed (recorded in `sync.json`) until Keep mine, Take library's, Save both or Later. A choice settles only the conflict shown; if the head or the differences moved, the new conflict is recorded and asked. The listed value is the working state's (against the last local version and the base); a path where the working state already holds the library's value is no conflict and takes it silently. Take library's commits nothing first: the working state it replaces goes to `versions/.replaced`, and the editor takes the result as one undo step. Restore saves unsaved changes as a version first, also during a conflict. (Owner review 2, R8, fix rounds 1–3.) | Auto-pick; commit before taking | Only real conflicts ask, the answer applies to what was shown, and nothing is lost or sent empty. |
|
||||
| 2026-11-03 | Save both naming: the sibling is `<name> (<PC name>)` within 60 characters, else the engine's `<name> (2)`…; your versions go to it, made from the base, and this project takes the library's head. It is journaled in `sync.json` (`WorkspaceSaveBoth`: first the intent, name, from version and hash, time asked; then the copy's id and each version's id there) before the home is asked; a retry reuses the copy found by name (created at most 5 minutes before, still version 1 with that hash) or by id while its head is ours, otherwise makes one new copy. Its commit point is the base moving onto the library's head; Keep mine or Take library's after a cut Save both finish the copy first. (Owner review 2, R8, fix rounds 1–3.) | No journal; delete a partial copy | The owner's naming; a cut never makes two copies nor leaves versions only half sent. |
|
||||
| 2026-11-03 | The workspace's media learn the home's photo names: whenever the home is asked (every sync under the lease, a status when the lease can be taken at once or after one 500 ms retry, a checkout of a project already here), a frame copied unhashed takes the home's SHA-256 when its id, size and capture millisecond match, and the home's conversion aliases are added; frames, files and the frames version stay as copied. `MediaOutdated` (the Update media banner) means the home's frames version moved, or it names photos otherwise and the media could not learn it yet. (Owner review 2, R8, fix rounds 1–3.) | Treat any hash as a change; learn only at a replay | A Verify or a conversion at the home after the copy must not undo frame edits at the next pull. |
|
||||
| 2026-11-03 | The frames stamp: a workspace status reads the home's frames again only when `IProjectHome.FramesStampAsync` changes (the archive's: frames version, hashed-frame count, a checksum of the hashes, removal count); a home without a stamp is read every time, and a sync's replay always reads them. (Owner review 2, R8, fix rounds 3–4.) | Read every frame at every status | The picker reads a state per project; a large sequence must not be loaded each time, yet a hash replaced in place must be seen. |
|
||||
| 2026-11-03 | Workspace states: In sync, Changed, Not sent, Library newer, Conflict, Offline, No media, Not in library (`Gone`: the home has no such project or sequence; push, pull and resolve return it without replaying anything, it is logged once, it carries no conflict, and the copy goes only by Discard) and Damaged (a version file after the base cannot be read or breaks the chain: commit, push, pull, resolve and Save both are blocked, the file is repaired from the home's verified copy when it has one, and it is reported only once a re-read under the lease confirms it). A read-only library is named so (`Errors.Workspace.ReadOnlyHome`), not offline. (Owner review 2, R8, fix rounds 1–4.) | Offline for every failure | The user sees why nothing is sent and what settles it. |
|
||||
| 2026-11-03 | Damaged and newer copies: a copy whose `project.chronos` a newer Chronos wrote (a format above 2) is listed as *Newer Chronos* and is never opened, checked out over or removed from here; one that cannot be read is *Damaged* and goes only by Discard. Both are named by what is still known (the file read loosely, else the index's project name or sequence title); discarding a damaged one asks for that name, else its number of files. Open in workspace with such a Main lists it disabled with its reason (`Tooltips.Editor.Workspace.State.NewerCopy` or `DamagedCopy`) and selects the first readable project; it refuses at once only when Main was asked for or the home has no other project, a damaged Main then offering Remove local copy. (Owner review 2, R8, fix rounds 2–5.) | Hide them; refuse the whole open | A newer format is never fatal for the rest of the workspace, nothing in such a copy is changed, and the other projects of the sequence still open. |
|
||||
| 2026-11-03 | Edit opens workspace projects: a sequence of this PC's archive opens in Edit only as a workspace project, the one opened last for it on this PC (`AppSettings.WorkspaceRecent`), else *Open in workspace* (Project: existing or new; Media: Proxies, Originals disabled until 5c; copy size and free space, warned below size + 0.5 GB). Edit waits for the Workspace copy job as for a server sequence's proxies. A capture keeps `LocalSequenceSource`; server sequences keep `RemoteSequenceSource` until 5b. (Owner review 2, R8.) | Ask at every open; edit the library | One project is worked on at a time; the library is never edited in place; a capture has no engine to copy media. |
|
||||
| 2026-11-03 | Workspace editor saves: the working state is saved atomically under the project's lease shortly after an edit, merged in the portable form, photo by photo, whenever positions conflict; a setting the editor and a sync both changed throws `ProjectConflictException` and is asked (keep mine, take the library's). A read-only project raises `ReadOnlyChanged`: a toast, disabled controls, no save. An edit not stored yet that meets a newer Chronos's settings is written to `versions/.replaced` (*Edit kept aside*) and the pending save dropped. The chip is read 600 ms after the last edit. (Owner review 2, R8, fix rounds 1–3.) | Positional merge, the editor winning | Exclusions, keyframes and values a sync just pulled are never dropped silently. |
|
||||
| 2026-11-03 | Sync: Sync is pull, then push, then prune. With *Sync automatically* (on by default) it also runs after Save version and after an analysis while the project is behind, so Main takes the analysis' Auto values. Ctrl+S opens Save version with the note focused; Enter saves. A home out of reach leaves the version waiting. (Owner review 2, R8.) | Push only; a silent Ctrl+S | The local home is always at hand, and the editor keeps showing analysis results as before the workspace. |
|
||||
| 2026-11-03 | Kept versions: pruning keeps the base and the newest N−1 other versions taken from the home, and deletes a version file only after `HoldsAsync` finds the home's copy with the same hash; versions not sent and `versions/.replaced` are never touched. It runs after each sync; N is Settings › Workspace › Kept versions (5–200, default 20). (Owner review 2, R8.) | Prune in 5c; prune without asking the home | The setting is part of 5a, and pruning without the read-back could lose a version. |
|
||||
| 2026-11-03 | Remove local copy: a plan first (files, size, versions not sent, unsaved changes, conflict, damaged versions counted as unsent). Remove only when everything is at the home, whose head and the base are read back and hash-checked; Send first sends, then removes; Discard changes asks for the project's name typed. Every entry of the copy but `media/` and the lease files moves to `<workspace>/.trash/<id>-<ticks>`, the media are deleted, and a move that fails puts everything back in reverse order. A copy whose project the home deleted goes only by Discard (`Errors.Workspace.DeletedAtHome`). A copy job still running for the project is cancelled first. `<workspace>/.trash` is emptied in 5c. (Owner review 2, R8, fix rounds 1–4.) | Delete the whole folder | Never lose a version, an edit or a file this Chronos does not know. |
|
||||
| 2026-11-03 | Delete project commits and sends everything first, refuses while anything stays unsent or in conflict, then deletes at the home (the projects' trash) and removes the local copy; Main cannot be deleted; at Gone it says the project was deleted in the library. (Owner review 2, R8.) | Delete at once | Every version survives in the library's project trash. |
|
||||
| 2026-11-03 | Workspace copy: the job (desktop only, `WorkspaceJobs.CreateHandlers`) runs the archive's proxy pass, copies current proxies, makes the rest in the workspace at 1920 px when the archive makes none, and reads each file back. It writes `media.json` last and moves the working positions by photo under the project's lease for that step only; it starts again when the frames change (3 passes). Its checkpoint is `copy:<frame>:<frames version>:<folder>`; changed bytes go under `proxies/<id>-<sha16>.jpg` until the commit, and no file `media.json` names is deleted before it. Free space: an estimate per frame (0 when held, the archive proxy's size, else 1.5 MB × (edge/1920)²) plus 512 MiB, checked before each pass and every 5 s (`Errors.Workspace.DiskFull`). Default level High. Originals are refused until 5c. (Owner review 2, R8, fix rounds 1–4.) | Copy originals; hold the lease throughout; trust a resumed file | Fast editing on proxies while the editor keeps saving; a resume after a move or a conversion checks every file; the system drive never fills. |
|
||||
| 2026-11-03 | The copy job's cancel clean-up: a cancelled first copy clears `media/` only under the project's lease, taken without creating a folder, after checking again that the job is still Cancelled, that no other WorkspaceCopy of the same root (full path, case-insensitive) and project is Queued, Running or Paused (one whose parameters cannot be read counts), that `media.json` is absent and that no copy in this process is writing; otherwise the media stay, with an Info line. It runs from the handler once it has stopped writing, or through the new `ICancelledJobHandler` for a paused or failed job no handler runs; `JobEngine.CancelAsync` of a paused job whose run has not ended waits for that run first. Paused, yielded and shut-down copies keep their files. (Owner review 2, R8, fix rounds 2–5.) | The section's view model deletes the media when the job reads Cancelled | The view model raced the stopping copy and missed a copy nobody watched; a second copy of the same project must keep its files. |
|
||||
| 2026-11-03 | Workspace renders: a render from Edit of a workspace project runs on this PC's engine at the home, with the originals and the portable settings embedded (`RenderJobParameters.SettingsJson`, the handler placing pending frames first), one job per preset. The desktop names a version only while none waits to be sent; `RenderJobHandler.ProvenanceAsync` records the project only if it is one of the sequence, and the version only if the index holds it for that project with the embedded settings' content hash. (Owner review 2, R8, fix round 1.) | Commit before rendering; record any version id | A render never invents a version nor names one whose settings it did not use, or that a later replay renames. |
|
||||
| 2026-11-03 | `.chronos` files: format 2 opens its workspace project (a copy of one gives that project its settings as one undo step; a project the home lacks falls back to Main); format 1 gives its settings to the sequence's Main, opened in the workspace. *Save project file* still writes format 1. (Owner review 2, R8.) | Refuse format 1 | Older files and the file association keep working. |
|
||||
| 2026-11-03 | Edit picker: the workspace's projects (saved last first) above the library's sequences; each state is read from its home after the list shows; the search filters both; Enter opens a library match first, a project only when no sequence matches. A row's context menu and Delete offer Remove local copy, also for a copy that cannot open. (Owner review 2, R8.) | One merged list | The picker's keyboard behaviour and paging stay as they were. |
|
||||
| 2026-11-03 | Settings › Workspace (after Storage): *Folder* with *Open* and *Change…* (a plan, projects left and found; it closes an open workspace project and moves nothing; the default is stored as no setting), *Sync* (After each version, on) and *Kept versions*. Reset all and Import keep `WorkspaceFolder` and `WorkspaceRecent`; Export leaves them out. Moving the folder with its projects, the size limit and the plan's other settings are 5c. (Owner review 2, R8, fix round 2.) | An editable path that moves the projects now | The folder holds this PC's unsent work: moving it needs its own plan and confirmation. |
|
||||
| 2026-11-03 | Workspace texts: the workspace's strings live in the existing Editor, Tooltips, Settings and Errors areas; the home is called "the library" (the server home will name its server), Main is shown in the UI language (it: Principale), and versions carry the bare PC name (`Environment.MachineName`; History strips `chronos@`, `server@`, `workspace@` and `Chronos on`). (Owner review 2, R8.) | A new Workspace area | No new resource files to translate; the wording matches the rest of the desktop. |
|
||||
| 2026-11-03 | `ProjectMenuViewModel` reaches the window only through `IWorkspaceUi` (dialogs, `ShowDialogWhenFree`, confirmations, toasts, opening and closing a project). A conflict found by an automatic sync waits for the open dialog and is asked once. (Owner review 2, R8.) | Depend on the shell; replace the open dialog | Its logic is tested without a window, and a background prompt never hides what the user is doing. |
|
||||
| 2026-11-03 | Leases: `LeaseFile.TryAcquire` and `AcquireAsync` take `createDirectory` (default true); the copy's clean-up passes false. `WorkspaceSync.OpenAsync` reads the working state and the media under the project's lease; a lease still busy after the wait is `Errors.Workspace.Busy`. (Owner review 2, R8, fix rounds 1, 2 and 5.) | Always create the folder; read without the lease | A clean-up must never make a removed project folder again, and the editor never reads a half-written working state. |
|
||||
Reference in new issue
Block a user