docs: BRIEF, DECISIONS, CHANGELOG and STATUS for owner review 2 phase 4a

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 8b91c70cd697786d88592f83cf6bb580dda299d2)
This commit is contained in:
Alby96 committed 2026-10-27 19:47:12 +01:00
1 parent 964b996af2
commit 074d09839a
6 files changed
+351 -38

No files matched your search

+9 -8
View File
@@ -41,7 +41,7 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
| `Export` | Preset resolution, encoder selection with fallbacks, output naming |
| `Video` (+ `Mp4`, `Avi`, `Bitstream`, `Yuv`, `Managed`) | `IVideoEncoderProvider`, MP4 muxer and inspector, AVI-MJPEG, NV12/P010, managed encoders (MJPEG-AVI, GIF, APNG, image sequences) |
| `Archiving` | Archive layout and paths, sidecars (`sequence.json`, `project.json`), scanner, index snapshot, leases, thumbnail packs, verify, adopt, rename plans (`RenamePlanner`: folder, title and file templates, `RenameTemplates`, the plan's fingerprint, which pins every file rename by its digest and not the frames version; `FileRenames`: a sequence's new file names; `FileRenameJournal`: two-phase renames through temporary names, `.chronos/rename-files.json`, a recovery safe to run again from wherever it stopped, a new name taken meanwhile sending that photo and its companions back together to their old names or a free `_2`, those that took their new names already with them; `FrameCompanions`: the XMP files that follow a photo, one rule for the trash and Reorganize, matched whatever their case and each folder listed once by `FrameCompanions.Index`) |
| `Import` | Card scan, session detection, import plan, hash-verified copy, card eraser (re-hash before delete) |
| `Import` | Card scan, session detection, import plan (photos named through `FrameNaming` with the camera and lens of their session's first photo), hash-verified copy, card eraser (re-hash before delete) |
| `Naming` | Folder/file templates and tokens (folder levels scans skip escaped with `_`; `ExpandText` for titles; `ExpandFile` shortens a long file name before its `.{ext}`); `FrameNaming` (the naming context and unique file name of a frame, shared by import, upload and Reorganize: the sequence's camera and lens, the first frame for folders; `UniqueNames`: `_2`, `_3`… in linear time); `TemplateRules` (what every place a template is typed or sent refuses, the archive engine's new or changed templates included: a folder scans skip, a lost extension, names that repeat) |
| `Model` | Domain entities and enums (§5) shared by Data, Server and clients |
| `Packaging` | TPK1 installer payload writer/reader, staged install transaction |
@@ -54,11 +54,11 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|---|---|
| `Sqlite`, `Postgres` | SQLite P/Invoke binding (winsqlite3 / libsqlite3), in-house PostgreSQL wire protocol v3 client with pool and LISTEN |
| `Migrations/{sqlite,postgres}/NNNN_name.sql` | Embedded, applied in one transaction at open (`MigrationRunner`) |
| `Repositories` | `ChronosDatabase` facade: archives, sequences, frames, tags, renders, jobs, cards, users, tokens, uploads, render nodes, settings, audit, schedules (`ScheduleRepository`: system rows seeded without overwriting edits and never deleted, the compare-and-set claim of a run), tombstones of removed photos (`FrameRemovalRepository`, `frame_removals`, written from the sidecar's `removed` list); `DatabaseBackups` (`VACUUM INTO` copies of an SQLite index into `backups` next to it, every copy keeping as many as the backup schedules keep (`KeptAsync`), the newest copy that seeds the `index-backup` schedule (`Newest`, `SystemSchedule.LastDone`), restore staged for the next start and carried out before the index opens, so it also recovers one that no longer opens) |
| `Repositories` | `ChronosDatabase` facade: archives, sequences, frames, tags, renders, jobs, cards, users, tokens, uploads, render nodes, settings, audit, schedules (`ScheduleRepository`: system rows seeded without overwriting edits and never deleted, the compare-and-set claim of a run), tombstones of removed photos (`FrameRemovalRepository`, `frame_removals`, written from the sidecar's `removed` list), `SequenceRepository.GetStampAsync` (a digest of what a Reorganize plans from in the index), `RenderRepository.RebaseFolderAsync` (the export paths that follow a moved folder); `DatabaseBackups` (`VACUUM INTO` copies of an SQLite index into `backups` next to it, every copy keeping as many as the backup schedules keep (`KeptAsync`), the newest copy that seeds the `index-backup` schedule (`Newest`, `SystemSchedule.LastDone`), restore staged for the next start and carried out before the index opens, so it also recovers one that no longer opens) |
| `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) |
| `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), `ArchiveIndexer` (scan, rebuild; a sequence found in another folder takes its exports' paths along), `ArchiveIngest` (uploads and imports), `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`, `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, every index row (the frame paths and render paths of the exports inside it, its own unless its file is still at the old place and another sequence's when its file 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), `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), `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 own entry and the record rewritten after each photo filed), job handlers |
| `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), `ArchiveIndexer` (scan, rebuild; a sequence found in another folder takes its exports' paths along), `ArchiveIngest` (uploads and imports, named through `FrameNaming`), `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`, `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, every index row (the frame paths and render paths of the exports inside it, its own unless its file is still at the old place and another sequence's when its file 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), `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), `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 own entry and the record rewritten after each photo filed), job handlers |
| `Processing` | `ProcessingService`, `SequenceAnalyser`, `DeepReports` (a saved deep report while it still describes the frames), `SequenceRender`, `ProjectStore`, `ProjectBundles` (a `.chronos` file for a sequence, and the sequence a file names), `RenderNodeClient`, job handlers |
| `Sync` | `SyncService` (sync table of one server: compare, link by content, settle conflicts, enqueue transfers), `SyncRules` (status, settings merge and differences, no I/O), `SyncTombstones` (photos either side removed are not offered back, a replaced photo counts as its replacement), `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), `SyncAgent` (background comparison, server events, backoff, offline proxies), `ProxyCache` and `RemoteSequence` (server sequences opened with proxies), `ISyncRemote` (the server calls; `ChronosSyncRemote` over `ChronosClient`) |
@@ -74,7 +74,7 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
| `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), retag, delete and trash dialogs (`SequenceDeletion`, `DeletePlans`, `TrashEmptyPlans`: Empty… behind a dry run and a typed confirmation), `ArchiveFailures` |
| `Server` | `ServerSession`, `ConnectFlow` (trust on first use), `SyncHost` (sync engine, agent, metered hold, editor connections, Export Sync), sync table, `RemoteSequenceApi` |
| `Jobs`, `Settings`, `About` | Job list and buffering, `JobNotices` (which job endings raise a toast; `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`; `CacheTrimStep`, the host's clean-up step; `SchedulesViewModel`, `ScheduleRowViewModel`, `ScheduleEditorViewModel` and `ScheduleDialogs.xaml`, the in-window editor; `ScheduleText`); settings rows (`LogSettingsRows`: Advanced's log rows), 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 |
| `Infrastructure` | `AppServices` (composition root), `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 |
| `Infrastructure` | `AppServices` (composition root; `SequenceReorganized`, raised after each Reorganize step, reloads an editor open on that sequence), `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 |
| `DesignTime` | `SampleData`: the archive, jobs and server the screenshots and smoke tests run on, dated from the fixed `SampleData.Now` |
### 2.4 Chronos.Ui and Chronos.Server
@@ -87,7 +87,7 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
| `Ui/Visuals` | `DrawingElement` (hover readout, item keyboard and activation) and its charts (`BarChart`, `SeriesChart`, `StackedBar`, `HeatmapStrip`, `TimelineBands`), `Filmstrip`, `PreviewViewport`, `CurveEditor`, `SequenceCard`, `VirtualizingWrapPanel`, `SegmentedControl`, `SplitButton` |
| `Server/Api`, `Server/Events` | Endpoint groups (`XxxEndpoints.Map`; `ScheduleEndpoints`: `/api/v1/schedules`; `LibraryEndpoints`: the Library filters' facets, sequence thumbnail, photo delete, bulk delete/retag/jobs; `TrashEndpoints`: list, restore, empty; `ArchiveEndpoints`: settings, statistics, scan jobs, Reorganize's dry run and `move` job, with `ReorganizePlanCache`: a dry run's plan, made apart from its request, kept a few minutes while what it reads from the index stays, for the same dry run and its confirmation), API errors, the WebSocket `EventHub` |
| `Server/Security` | Accounts, password hashing, tokens, session cookies, login guard, access rules, audit log |
| `Server/Storage`, `Server/Jobs` | Archive and processing modules, uploads (`UploadMaintenance`: recovery at start, and the sweep that is the `uploads` clean-up step), render store; `JobEngineHost`, `SchedulerHost` (the `Scheduler` on the engine, started after it; archive.json read every 10 minutes whatever the scan schedule does; every schedule change and run published as a `scheduleChanged` event) and `ServerScheduleHost` (time zone, archive refreshed from archive.json, system schedules), render node service, monitor and availability |
| `Server/Storage`, `Server/Jobs` | Archive and processing modules (the archive module's `SequenceChanged` publishes `sequenceChanged` `reorganized`), uploads (`UploadMaintenance`: recovery at start, and the sweep that is the `uploads` clean-up step; `UploadService.ReceiveAgainAsync`: a verified upload whose filing was refused for now goes back to receiving, 503), render store (files a render under the sequence's lease, where the index has the folder then); `JobEngineHost`, `SchedulerHost` (the `Scheduler` on the engine, started after it; archive.json read every 10 minutes whatever the scan schedule does; every schedule change and run published as a `scheduleChanged` event) and `ServerScheduleHost` (time zone, archive refreshed from archive.json, system schedules), render node service, monitor and availability |
| `Server/Hosting`, `Server/Admin/web` | `ServerHost`, `ServerLogging` (console and file levels the logging filters read at every line, the file sink's limits, the engine's level; applied again when Settings › Logs is saved), certificates, discovery beacon, embedded static files (`EmbeddedStaticFiles`: `no-cache` and a content ETag, so an upgrade never mixes old and new modules), Windows service (start and stop failures in the Application event log); the admin panel (ES modules, one per page; `schedules.js` is the Jobs page's Scheduled tab; the Library's views in `pages/library/`: `sequence.js` a sequence and its photo viewer, `trash.js` the archive's trash, `shared.js` cards, selection, grid keyboard and the retry of thumbnails a finished job may have built; `upload.js` the upload dialog the Library opens on demand, hashing in the module worker `hash-worker.js` with the in-house incremental SHA-256 of `sha256.js`, self-tested before its first use, and sending the capture time `capture-time.js` reads: the Exif DateTimeOriginal of a JPEG or TIFF-based file, else the file's time; `reorganize.js` the Reorganize dialog of the Library's selection and of the Archive page's save toast: template switches and fields, a live dry run of `POST /archive/reorganize` one request at a time, Apply that sends the shown plan's fingerprint back) |
### 2.5 Hosts
@@ -115,7 +115,7 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
| `Backup` | `Housekeeping/BackupJobHandler` (via `ArchiveService.CreateJobHandlers`; an SQLite index file only) | yes | SQLite only |
| `Cleanup` | `Housekeeping/CleanupJobHandler` (shared steps, plus the host's from `ArchiveServiceOptions.CleanupSteps`) | yes | yes |
| `EmptyTrash` | `Archiving/Jobs/EmptyTrashJobHandler` (erases exactly a confirmed plan's trash entries; refuses a stale fingerprint) | yes | yes |
| `Move` | `Archiving/Jobs/MoveJobHandler` (Reorganize: plans again from the templates, applies the plan only while it is the one confirmed, holds it when paused, cancelled or failed, tells each sequence changed as its step completes) | yes | yes |
| `Move` | `Archiving/Jobs/MoveJobHandler` (Reorganize, `MoveJobParameters`: the templates, the sequences and the confirmed fingerprint; plans again from the templates, applies the plan only while it is the one confirmed, holds it when paused, cancelled or failed, tells each sequence changed as its step completes) | yes | yes |
| `Adopt` | none: done synchronously (`ArchiveService` actions) | — | — |
A job engine claims only kinds it has handlers for. Light analysis is queued by the engine (`JobContext` follow-up)
@@ -155,8 +155,9 @@ sequence is. The image passes hold the thumbnail lease, which a Reorganize takes
the proxy pass a batch at a time (a quarter of the lease wait), reading the folder and sidecar again for each batch. A
folder another index moved is found by this index's next scan, which moves the row, its frames and its exports' paths
(`ArchiveIndexer.RebaseRendersAsync`; an export, a file or an image-sequence folder, still at the old place keeps its
path, unless the old folder is another sequence's now); until then these
writers, a render job as it starts and a proxy pass at each batch refuse when they find the folder gone, and a deep
path, unless the old folder is another sequence's now); until then these writers, a render job as it starts and a
proxy pass at each batch refuse when they find the folder gone (the server's render filing with a 503 that keeps the
upload), and a deep
analysis that loses it records nothing. A render whose folder another index moves while it runs is not stopped: its
output can land in a folder created again at the old place, where its row keeps finding it.
+212 -11
View File
@@ -308,9 +308,12 @@ Primary entities (identical concepts in SQLite and PostgreSQL; ids are UUIDv7 st
thumbs, render, import, upload-commit, maintenance; backup, cleanup, and the read-only
duplicates and orphans reports; empty-trash, stored as 18, which erases exactly the trash
entries of a confirmed plan, erases nothing when the trash changed since, and is never
scheduled: amended 2026-10-26, R6), target ids, state (queued, running, paused, done, failed,
cancelled), progress (done/total, fps, eta), log tail, created by, node id, attempts,
error, schedule id (the schedule that queued it; amended 2026-10-26, R10).
scheduled: amended 2026-10-26, R6; move, stored as 14, a Reorganize that applies exactly a
confirmed plan of new folders, titles and file names to sequences of the archive, its target,
and holds the rest of it when paused, cancelled or failed: amended 2026-10-26, R7), target
ids, state (queued, running, paused, done, failed, cancelled), progress (done/total, fps,
eta), log tail, created by, node id, attempts, error, schedule id (the schedule that queued
it; amended 2026-10-26, R10).
- **Schedule** (amended 2026-10-26, R10) — id, system key (set, and unique, on a host's
system schedules, §14.6), name, action (scan, verify, thumbnails, proxies, analysis,
maintenance, backup, cleanup, duplicates, orphans), target (`current`: the host's
@@ -421,6 +424,7 @@ The archive is the source of truth; the database is an index that can be rebuilt
│ ├── archive.json { id, name, schemaVersion, created, layoutTemplates, proxyPolicy }
│ ├── index-snapshot.bin optional accelerator for rebuild (all sidecars concatenated + hash); ignored if stale
│ ├── locks/ lease files for concurrent writers (server + client on same share)
│ ├── journal/ rename-<plan>.json: a mass rename or Reorganize being applied (below; amended 2026-10-26, R7)
│ └── trash/ deleted sequences and photos, kept until Empty (below; amended 2026-10-26, R6)
├── 2026/
│ └── 2026-09-28 Canon EOS R5 - Harbour sunset/ folder = expanded FolderTemplate
@@ -432,6 +436,7 @@ The archive is the source of truth; the database is an index that can be rebuilt
│ ├── analysis.json full deep-analysis report
│ ├── project.json render settings (the "project")
│ ├── thumbs.pack packed thumbnails (one file per sequence, indexed; avoids 100k tiny files on SMB)
│ ├── rename-files.json the file renames of a Reorganize a crash interrupted (below; amended 2026-10-26, R7)
│ └── *.pending.json journals of an ingest, a photo deletion or a restore a crash interrupted (below)
```
@@ -474,10 +479,41 @@ is re-keyed so the frames that stay keep theirs (while a thumbnail pass holds th
pass draws them again). Filing a photo into the sequence again (an import, a restore, an
explicit upload again, §14.4) drops its tombstone; emptying the trash does not.
Reorganize (amended 2026-10-26, R7; §12.5, §14.8) applies a confirmed plan step by step, a
step being one sequence and the sequences nested in a folder that moves with it:
- `journal/rename-<plan>.json` holds the plan (its steps, templates and the sequences it was
made for), the steps completed and what they did; it is written before the first step and
deleted after the last. A plan whose job was paused, cancelled or failed is marked held and
waits for that job; any other is completed at the next archive open.
- Each step takes the leases of its sequences, then their thumbnail leases, and checks under
them, before anything of it moves, that the plan still fits: the sequences where the index
had them, nothing indexed since inside a folder that moves or at its new place, no sidecar of
a newer format to rewrite, the title the plan started from where it changes the title or
names the folder or files after it, the folder and title the templates give from the first
photo as it is now, and the file renames planned again from the sidecar (compared by digest).
What no longer fits refuses the rest of the plan, except photos changed since, whose
sequence keeps its names (§12.5).
- Then the folder moves (a change of case only through a temporary name, never onto another
folder of that exact name), and in one transaction the index follows: the sequence's folder
and title, its frames' paths and the paths of the exports that moved with the folder. Only
then are files renamed; once its folder moved, a step always goes to its end.
- File renames run under `rename-files.json` in the sequence's `.chronos/`: every file first to
a hidden temporary name beside it (`.chronos-rename-<token>-<n>.tmp`), then every file to its
new name, so chains and swaps of names never meet a name another file holds and no file is
ever written over; then the sidecar names the new files (frame order and ids unchanged,
frames version + 1), then the index, then the journal goes. A failure while files move puts
every file back. After a crash the next writer of the sequence (any `ReadLocked`, the plan's
resume) completes the renames, safely run again from wherever it stopped: a new name taken
meanwhile sends that photo and its companions back together to their old names, or to the
first free `_2`, `_3`…, and the journal stays while a temporary file is left.
- Proxies (named by frame index), thumbnails (by index and content hash), tombstones and trash
records need nothing; a photo restored from the trash comes back under the name it had.
Rules: originals are immutable (never rewritten; edits are settings); every write of a
sidecar goes to a temp file, `fsync`, rename; the folder name is derived from templates at
import time and never auto-renamed afterwards (renaming is a user mass-operation that
updates sidecars and DB together). Network drives: UNC or mapped paths; long-path aware
import time and never auto-renamed afterwards: only Reorganize, an explicit user action
behind a dry run, moves and renames what is filed, updating sidecars and DB together
(amended 2026-10-26, R7). Network drives: UNC or mapped paths; long-path aware
(`\\?\` prefix); no `FileSystemWatcher` reliance — periodic polling by mtime/size (the
*Archive scan* system schedule of each host, §14.6; amended 2026-10-26, R10) plus manual
rescan; offline detection with graceful read-only state.
@@ -491,6 +527,31 @@ name, ext, title`. `{token:format}` passes the format to the .NET formatter. Ill
characters are replaced, never passed through; templates are validated live in the UI with a
preview of the first three names.
One naming rule for import, upload and Reorganize (amended 2026-10-26, R7):
- A photo is named in its sequence with the sequence's camera and lens (its first photo's, or
the camera hint its creator gave): a second body in a whole-folder import, or a lens changed
during a session, does not show in the names. `{n}` is its place in the sequence, `{name}`
its name on the card, `{ext}` its file's extension (the card name's when the file lost the
extension of a photo), and a frame recorded without a capture time takes the sequence's
start (its first frame's time, else when it was made; never today's date). A name already
given, or held by a file that stays, gets `_2`, `_3`… before the extension. Folder and title
templates see the sequence's first photo as filing saw it.
- So a Reorganize with the archive's own templates changes nothing filing named. It gives
other names, which its dry run lists, where filing could not know the sequence as it is now:
`{session}` of a card's second session on (an import numbers its sessions, a sequence is
one), `{n}` after photos skipped mid-session as duplicates or filed out of capture order, and
a folder or title from a photo that is no longer first.
- Rules every template meets wherever it is typed or sent (Settings › Archive, Import,
Reorganize, the admin panel's Archive): a folder template may not write a level scans never
enter (starting with `.`, or `originals`, `proxies`, `exports`, `.chronos`); a file template
must keep the photo's extension (appended, or after `.{ext}`: `{n}{ext}` is refused), tell
the photos of a session apart (three sample photos two seconds apart must get three names)
and hold no slash. A level a value such as a title would hide that way is written with a
leading `_`. A file name longer than 200 characters is shortened before its `.{ext}`, never
through it. A title template gives text, not a file name (`Paris: night` stays), at most 200
characters. A template `archive.json` already holds, saved before these rules, is kept
through edits of other settings; changing it holds it to them, and a new archive meets them all.
---
## 8. Image pipeline
@@ -795,8 +856,10 @@ player smoke test on Windows CI.
- Card: hero thumbnail, title (user title or `{date} {camera}`), count · camera · span,
status chips: `✓` analysed, `▣` proxies, `▶n` renders, `☁` synced/origin, `!` warnings.
Hover reveals quick actions: Open, Analyse, Render preset, Sync.
- Multi-select → mass actions bar (Analyse, Build proxies, Verify, Tag, Rate, Move,
Upload, Download, Delete, Export list as CSV).
- Multi-select → mass actions bar (Analyse, Build proxies, Verify, Tag, Rate,
Reorganize…, Upload, Download, Delete, Export list as CSV). Reorganize… (amended
2026-10-26, R7; formerly Move) takes the selected sequences of one archive, never a
server-only one, into the dialog of §12.5.
- Filters are chips; saved views (e.g. "Night, 4K, not rendered"); search is instant
(indexed columns); everything virtualized (in-house `VirtualizingWrapPanel`).
- Photos deleted from a sequence (amended 2026-10-26, R6; on the admin panel, §14.8, or by
@@ -907,7 +970,7 @@ player smoke test on Windows CI.
│ Index health: ✓ sidecars 412/412 · ⚠ 3 sequences without proxies · ⚠ 1 unverified since 90 days │
│ Recent maintenance: 2026-09-20 verify ✓ · 2026-09-01 vacuum ✓ │
├──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Mass operations on filtered set (412): [Analyse] [Proxies] [Thumbnails] [Verify] [Move] [Retag] [Export CSV] [Delete] │
│ Mass operations on filtered set (412): [Analyse] [Proxies] [Thumbnails] [Verify] [Reorganize…] [Retag] [Export CSV] [Delete] │
```
Operations: **Scan** (incremental, mtime/size), **Rebuild index** (from sidecars; falls
@@ -938,6 +1001,47 @@ those entries and nothing when the trash changed since; an entry that changes wh
is kept, and the job then fails after erasing the others. It is the only way the product
erases trash entries; no schedule runs it (§14.6).
*Reorganize…* (amended 2026-10-26, R7; it replaces Rename… and Move…) applies new templates
to sequences already filed: the set (online), the Library's selection (§12.2), or every
sequence of the archive from the toast of Settings › Archive (§12.8). The admin panel offers
the same (§14.8), through the same engine and job.
- An in-window dialog: Folders (`{title}` is the new title), File names (as filing names
them, §7.1) and Titles (`{title}` is the current title), each with its switch and field,
checked as it is typed against the rules of §7.1; a template switched off never blocks the
others. Folders and File names start on with the archive's templates, read again when the
dialog opens; Titles starts off, with `{title}`.
- The dry run (nothing touched) follows the typing (400 ms; Enter, or leaving a field, at
once) and lists, in the order the changes apply, each sequence with its folder, title and
first three file names before → after, *Follows its folder* for a sequence nested in a folder
that moves, how many files get a new name, and the photos that keep their names with why:
kept in place outside `originals/` (a tree someone else keeps), never verified (verify the
sequence first), missing; or that the sequence stays as it is, with every folder around it,
because its sequence file cannot be read (damaged, another sequence's, or from a newer
Chronos). The summary reads "12 of 36 change · 3,600 files renamed · 20 names kept".
- *Apply* (enabled only for the dry run of the templates on screen, when something changes)
queues the *Reorganize* job of exactly that plan at user priority; the dialog closes and a
toast links to Jobs. Cancel is the default button.
- The job (desktop and server) plans again and applies the plan only while it is the one
confirmed (its fingerprint, §14.3); otherwise it fails and nothing changes, a sequence
deleted since named in its log. It changes one step at a time. Pause or cancel stops
between two steps and holds the rest for the job's resume or retry; a failed job holds it too
(also when the archive's volume went away), and its retry completes it while it still fits.
An archive open completes a plan an interruption left (a crash, a yield to another job, the
program closing), not one its job holds.
- What changed after the dry run: a sequence moved or gone, one indexed inside a folder that
moves, a new folder taken, a title edited that the plan changes or names a folder or files
after, a sidecar of a newer Chronos it would rewrite: the rest of the plan is refused, the
steps done stay, and a new dry run is needed. Photos changed since (a sequence still
receiving them) refuse nothing: that sequence keeps its file names, and its folder and title
change while the templates still give them from its first photo as it is now, otherwise it
stays as it was, with any folder around it that was to move with it. A photo in use or a new
name taken keeps that sequence's file names (every file back). These sequences are listed in
the job's log, and the job fails at the end, after the others changed, saying how many; its
retry plans again.
- Deleting sequences of the archive is refused while a Reorganize job runs or is paused. The
Archive and Library screens read the archive again when it ends; an editor open on a
sequence it changed reloads where the sequence is now after that sequence's step.
### 12.6 Jobs
Two tabs, a *Queue | Scheduled* segmented control first in the toolbar (amended 2026-10-26,
@@ -998,7 +1102,11 @@ mine / take server / save both).
Sections (list on the left, controls on the right, no descriptions — tooltips only):
General (language, theme, startup, notifications), Archive (root, templates, proxy policy,
thumbnail size; the rescans are the Archive scan schedule of Jobs › Scheduled, §12.6, so
*Rescan every* is gone; amended 2026-10-26, R10), Import (defaults, session rules, verify,
*Rescan every* is gone; amended 2026-10-26, R10; a new folder or file template names only what
is filed next, so once the archive took it, and holds sequences, a toast offers *Reorganize…*
for every sequence with the changed templates switched on, a change made while that archive's
toast is up joining it; on the Archive screen it never replaces an open dialog, and opens once
that one closes: amended 2026-10-26, R7), Import (defaults, session rules, verify,
post-actions), Analysis (widths, thresholds, deep analysis auto-run), Rendering (quality
profile, memory budget, spill folder, parallelism = photos the running job processes at once, priority queue
with a level per job kind, encoders detected, hardware preference; amended 2026-10-16, R2),
@@ -1048,7 +1156,8 @@ update check on start (§18) runs whatever screen is open.
"already imported" state remembered per card + file (path, size, mtime) for fast
re-inserts.
- Rename during import: templates (§7.1) with live preview; original name kept in the
sidecar.
sidecar. Every photo of a session is named with its first photo's camera and lens, the ones
its sequence carries, as Reorganize names it (amended 2026-10-26, R7).
- Post-actions: keep / delete imported files (only those verified) / format card (OS
dialog) / eject; run deep analysis automatically (default on, background, low priority).
- Failure handling: card removed mid-copy → partial files deleted, plan resumable on
@@ -1135,6 +1244,7 @@ WS /api/v1/events {type: jobProgress|jobState|sequenceCh
POST /api/v1/nodes/register · POST /nodes/{id}/heartbeat · POST /nodes/{id}/claim → job · POST /nodes/{id}/jobs/{jobId}/result (chunked upload of output)
GET/PUT /api/v1/archive/settings · POST /archive/scan · /rebuild · /verify · GET /archive/stats · POST /archive/maintenance (admin)
POST /api/v1/archive/reorganize {sequenceIds|all, folderTemplate?, fileTemplate?, titleTemplate?, dryRun, fingerprint?} → plan | 202 move job (admin)
GET /api/v1/archive/trash · POST /archive/trash/{name}/restore · POST /archive/trash/empty {names?, dryRun, fingerprint} (admin)
GET /api/v1/i18n/{culture} strings for the web admin
```
@@ -1188,6 +1298,55 @@ Library and trash (amended 2026-10-26, R6):
- The manifest gains `removed: [{sha256, replacement, reason: deleted|replaced, at}]` (null
when there are none; covered by its ETag, since a deletion moves the frames version).
Reorganize (amended 2026-10-26, R7; ManageArchive; §7, §12.5, §14.8):
- The request names exactly one of `sequenceIds` (1–1,000) and `all`; a null template keeps
that part, at least one is given, each usable and within the rules of §7.1. A dry run
answers `{steps, sequences, files, kept, fingerprint}` and changes nothing: a step for each
sequence that changes, is carried or keeps photo names, in the order they apply,
`{sequenceId, fromFolder, toFolder, fromTitle, toTitle, carried, framesVersion, fileChanges,
fileSamples: [{from, to}] (at most 3, relative to the sequence folder), blocked: [{reason:
in_place|unhashed|missing|unreadable, photos, message}]}` (`unreadable`: the whole sequence
stays, 0 photos; the message in the request's language). The change sends the dry run's
fingerprint back and answers 202 with the `move` job. Errors: 400 `bad_request`
(`sequenceIds`, `templates`, `fingerprint`), `invalid_template` (below); 404 `not_found`
(`sequence`); 409 `nested_target` (details: the folder that would lie inside a sequence's
folder), `plan_changed` (details: the fingerprint now), `job_unavailable`; 503
`archive_offline`, `plan_dropped`. Audited `archive_reorganized` (sequences, files renamed,
templates). The job publishes `sequenceChanged` with the change `reorganized` for each
sequence once its step is journaled (at once for a step that failed after its folder moved
and its index rows followed); a plan the server completes as it starts tells no one, as no
client is connected yet.
- The fingerprint is a SHA-256 of the steps as the dry run shows them (folders, titles,
carried, file counts, samples, what stays and why), every file rename by its digest, and the
file template; not the frames version, so photos a sequence receives under the names the
plan leaves them keep it.
- The server keeps a dry run's plan, and a refusal (`nested_target`, `not_found`), for 5
minutes, keyed by the archive, the selection (all, or the ids in their order, which decides
which folder gets " (2)"), the templates, and a stamp of what the plan reads from the index:
every sequence's id and folder; the planned sequences' title, first capture, camera, lens,
photo count, frames version and how many of their photos are hashed; the title of the others
inside their folders. The same dry run again, and its confirmation, take the kept plan. A
plan is made apart from its request (one a proxy cuts off leaves it to be made, and asking
again waits for it), at most 2 at once and 8 kept or being made; one still being made 15
minutes after it was asked, let go for newer ones, or when the server stops is stopped, and
its requests answer 503 `plan_dropped`. A change made on disk alone is not in the stamp: the
confirmation then answers 202, and the job, which plans again, fails without changing anything.
- `invalid_template`, here and from `PUT /archive/settings`: the details name the field and,
after a colon, the rule a template that parses breaks (`folderTemplate:reserved_folder`,
`fileTemplate:file_separator`, `fileTemplate:extension`, `fileTemplate:not_unique`), the
message saying why in the request's language (`Errors.Template.<Rule>`); a blank, invalid or
unusable template keeps the bare field and the generic message. `PUT /archive/settings` holds
a template to the rules only when the save changes it; every template must still parse and
expand.
- Writers that file into a sequence's folder take it from the index row read under the
sequence's lease, so they write where a Reorganize put it. Completing a render upload or a
render node's result that cannot be filed for now (the sequence held past the lease wait, the
archive offline or read-only, or the sequence's folder not where the index has it after
another program moved it) answers 503 and keeps the upload receiving, to be completed again
(`sequence_busy` and `archive_offline` for the first two); the node keeps its job. A proxy
upload answers 503 `sequence_busy` while the sequence is held, 404 `frame` when the sequence
or its folder is gone.
Uploads (amended 2026-10-26, R3, R6): `server/info` lists `extensions`, the photo file
extensions the archive files (lower case, no dot), which the admin panel's dialog keeps to. A
frame upload whose file name starts with `.` is 400 `invalid_file_name`. A start whose
@@ -1297,6 +1456,18 @@ missing here and *Download* fetches and drops it each time; a photo never hashed
original was already missing when it was deleted leaves no tombstone, so a copy elsewhere
(another PC, a card) is not known to be deleted and can come back.
Folders moved by another program (amended 2026-10-26, R7). When a desktop and a server share
an archive, a Reorganize by one index (or a folder moved by hand) is found by the other's next
scan, which moves the sequence's row, its frames and the paths of the exports that moved with
the folder (a file or, for an image sequence, a folder; an export written at the old place
after the move keeps its path there, and another sequence's export saved inside follows only
when it moved with the folder). Until that scan nothing writes into the old place, which would
create it again: *Save both* and *Take server* answer that the folder is not where the index
has it (try again after the next scan), and so do the editor's saves, a render job as it
starts, exports fetched by sync and a proxy pass at each batch; a deep analysis that loses its
folder records nothing. A render of the other program whose folder moves while it runs is not
stopped.
### 14.6 Job engine
Persistent queue in the DB; jobs run one at a time, and the parallelism (configurable,
@@ -1414,7 +1585,8 @@ available and says so in the job log.
Pages: Login · Dashboard · Library (amended 2026-10-26, R6; below) · Users (table;
create/edit/disable/reset/roles/quota) · Archive (path, templates, proxy policy,
scan/rebuild/verify, stats, and *Trash*, which opens the Library's trash view; R6) · Jobs
scan/rebuild/verify, stats, and *Trash*, which opens the Library's trash view; R6; a save
that changes a template offers Reorganize, R7) · Jobs
(two tabs in the header, amended 2026-10-26, R10: *Queue*, the queue/history/nodes with
cancel/retry, where
`#/jobs?job=<id>` opens a job's log and a job a schedule queued carries a *Scheduled* pill
@@ -1488,6 +1660,33 @@ operations; it queues no deep analysis (the API's `bulk/jobs` takes `deep`).
- The audit log and the Dashboard name photo deletions, trash restores and emptyings asked
for.
Reorganize (amended 2026-10-26, R7), the panel's way to the Reorganize of §12.5 through
`POST /archive/reorganize` (§14.3):
- The Library's selection bar has *Reorganize…*: the selected sequences, up to 1,000 (one
plan, one job); above that, every sequence of the archive, only while the selection is
exactly *Select all* without a filter and the archive still holds as many; any other larger
selection is refused with a message, never split.
- On Archive, a save that changes the folder or file template, when the archive has
sequences, shows *Saved* with *Reorganize…*: the dialog for every sequence, with the saved
templates and only the changed parts switched on. Saving alone never renames anything.
- The dialog: Folders (`{title}` the new title), Files (named as filing names them) and Titles
(`{title}` the current title), each with its switch and field, from the archive's settings;
Titles starts off and empty. Each change asks the server for a dry run 400 ms after typing
stops (Enter at once), one at a time, a change made meanwhile planned right after. The
table shows each sequence in the order the changes apply, 200 at a time: title, folder and
renamed files before and after (up to three samples), *Carried* for a sequence that moves
only with a folder it is inside, and the photos that keep their names with why, or why the
sequence stays as it is; totals of sequences changed, files renamed and names kept. A refused
template is marked on its field with the server's reason; a nested target on Folders.
- *Apply…* (enabled only while the table is the plan of the fields and changes something)
asks for a confirmation that counts the sequences, folders and photos (nothing is deleted,
so nothing is typed), then sends that plan's fingerprint; the toast offers *Open job*. When
the archive changed meanwhile (`plan_changed`), or a new plan answered during the
confirmation, the dialog shows the new plan and Apply waits.
- A toast with an action stays 15 s and pauses under the pointer or the keyboard focus. The
audit log and the Dashboard read "… reorganized the archive · N sequences · M files renamed
· templates".
Upload (amended 2026-10-26, R3): Library › *Upload* (no sequence) and a sequence's *Add
photos* open the upload dialog (§14.4), a module the pages import only on demand.
- Target: the given sequence, or a choice between an existing sequence (a search box, then a
@@ -1990,6 +2189,8 @@ questions asked and the answers; DECISIONS rows give the reasons.
| 2026-10-26 | Owner review 2, R11 | §12.8, §14.1, §14.3, §14.8, §14.9, §19.6 | Log settings: file and console levels apart on the server (`CHRONOS_LOG_LEVEL` locks both, `CHRONOS_LOG_CONSOLE_LEVEL` the console), retention, a file size limit with numbered parts, a total size limit, daily or hourly rotation, audit retention and the diagnostics share, in the admin panel's Settings › Logs (applied at once, `lockedBy` naming the variable) and the desktop's Settings › Advanced (from the first log line); the server's files take Debug and Trace when asked; logging never fails a job. |
| 2026-10-26 | Owner review 2, R6 | §5, §7, §12.2, §12.5, §14.3, §14.4, §14.5, §14.8 | The admin panel manages, never edits: a Library page (filters from facets, cards or list, keyboard selection, mass Analyse, Proxies, Thumbnails, Verify, Tags, Export CSV and Delete), a sequence's page with a photo viewer, cover, downloads and photo deletion, and the trash view with Restore and Empty; photos deleted into `trash/photos` under journals, a photo never hashed hashed as it goes, tombstones in the sidecar (`removed`) and the index (`frame_removals`, migration 0008) that keep sync and uploads from bringing a deleted photo back unless the user restores it or uploads it again on purpose; trash kinds, restore reasons, and Empty as the `empty-trash` job behind a dry run, a typed confirmation and a fingerprint, never scheduled; the library, trash and bulk endpoints; the panel's files revalidated (`no-cache`, ETag). |
| 2026-10-26 | Owner review 2, R3 | §14.3, §14.4, §14.8 | Upload from the admin panel into an existing or a new sequence (file picker, drag and drop, no folders), hashed in the browser by a self-tested in-house SHA-256 in a module worker, the capture time read from Exif, sent in resumable chunks through the upload API and verified by the server; `server/info` lists the photo extensions; hidden dot files are refused for every client. |
| 2026-10-26 | Owner review 2, R7 (Reorganize) | §5, §7, §12.2, §12.5, §12.8, §14.3, §14.5, §14.8 | Reorganize on the desktop (Archive manager, Library, the toast of Settings › Archive) and the admin panel (Library, the toast of Archive): folder, file and title templates applied to sequences already filed, behind a dry run that lists each sequence's changes, the photos that keep their names and why (in place outside `originals/`, never hashed, missing) and the sequences that stay whole (unreadable sidecar); applied by the `move` job of exactly the confirmed plan (fingerprint), which holds the rest when paused, cancelled or failed and lets a sequence still receiving photos keep its file names; crash-safe plan and file journals (two-phase renames through hidden temporary names, recovery by the next writer); the index, frames and exports follow a moved folder in one transaction, on this index and at another index's next scan; writers take the folder under the lease and never create a left one again; `POST /api/v1/archive/reorganize` with a kept, bounded plan cache and `sequenceChanged` `reorganized`; Rename… and Move… replaced. |
| 2026-10-26 | Owner review 2, R7 (naming) | §7.1, §13, §14.3 | One naming rule for import, upload and Reorganize: the sequence's camera and lens, `{n}` its place, a frame without a time at the sequence's start; template rules everywhere a template is typed or sent (no folder level scans skip, one a value such as a title gives escaped with `_`; a file template keeps the extension, tells photos apart, holds no slash; long names shortened before `.{ext}`; titles as text), held to a template only when it is given anew; `invalid_template` names the rule. |
## Appendix A — `CLAUDE.md` content (create verbatim in Phase 0, keep updated)
+88
View File
@@ -5,6 +5,94 @@ commits follow Conventional Commits (release notes are generated from them by `C
## [Unreleased]
## [0.1.0-rc.6] — 2026-10-27
### Added
- **Reorganize** on the desktop and the admin panel (owner review 2, R7): apply new folder, file and title templates to
sequences already in the archive. Each template has its switch. A dry run lists, in the order the changes apply,
each sequence's folder and title before and after, how many photos get a new name with the first three, the
sequences that only follow a folder they are in, and the photos that keep their names with why (kept in place
outside `originals`, never verified, missing), or why a whole sequence stays as it is (its sequence file cannot be
read). Nothing changes until you apply: a *Reorganize* job then makes exactly the changes shown, and you can pause,
resume and retry it in Jobs.
- Desktop: *Reorganize…* in the Archive manager's set bar and in the Library's mass bar (the sequences of one archive)
replaces *Rename…* and *Move…*. Folders and file names start from the archive's templates, titles off with
`{title}`; the dry run follows your typing.
- Desktop: after a folder or file template is changed in Settings › Archive, a toast offers *Reorganize…* for every
sequence of the archive with the changed templates switched on. A dialog already open on the Archive screen is never
replaced: Reorganize opens when it closes.
- Admin panel: *Reorganize…* in the Library's selection bar (up to 1,000 selected sequences, or every sequence after
*Select all* without a filter), and in the *Saved* toast after new folder or file templates on the Archive page. A
live dry run as you type, a confirmation that counts the sequences, folders and photos, then a toast with *Open job*.
- Reorganize is crash-safe: files move in two phases through hidden temporary names under a journal in the sequence
(`.chronos/rename-files.json`), so chains and swaps of names work and no file is ever written over; a failure puts
every file back, and a crash is completed by the next program that writes the sequence. XMP files follow their
photo. The plan's journal lets an interrupted Reorganize finish at the next archive open; one whose job was paused,
cancelled or failed waits for that job to be resumed or retried (a job that failed because the archive's drive went
away completes the plan once the drive is back).
- A folder that moves takes along the sequences nested in it and the exports inside it; an editor open on a
reorganized sequence reloads where it is now (desktop).
- A sequence still receiving photos does not stop a Reorganize: it keeps its file names while its folder and title
change, the others go on, and the job then says how many sequences were not reorganized as planned. A new
Reorganize completes them.
- API v1: `POST /api/v1/archive/reorganize` (archive administrators): a dry run with the plan and its fingerprint, then
the change as a `move` job (202) for exactly that plan, 409 `plan_changed` when the archive changed since, 503
`plan_dropped` when the server stopped making a plan; the server keeps a dry run a few minutes for its confirmation.
`sequenceChanged` with the change `reorganized`; the audit log and the Dashboard name reorganizations.
- Known limitations: while one sequence's files are renamed, a program that reads them without the sequence's lease
(an editor open on it, a render node or a download fetching originals) can miss a file for a moment; a change made
on disk alone after a server dry run (a folder made by hand, a desktop writing to a shared archive before the
server's scan) is found by the job, which then fails and changes nothing; a photo restored from the trash after a
Reorganize comes back under its old name; a Reorganize job cancelled and never retried leaves its held plan in
`.chronos/journal` (only the file renames a step left half-way are completed at an archive open); deleting
sequences is refused while a Reorganize job runs or is paused; a render of another program whose folder moves while
it runs is not stopped, and its output can land in a folder created again at the old place; a plan journal damaged
by hand (not valid JSON) stops the archive from opening until it is removed.
### Changed
- Import, upload and Reorganize name photos by one rule: every photo of a sequence is named with the sequence's camera
and lens (its first photo's, or the camera its creator named), so a whole-folder import of two bodies, or a lens
changed during a session, no longer shows in the file names; a sequence's folder comes from its first photo. A
Reorganize with the archive's own templates changes nothing filing named; where filing could not know the sequence
as it is now (`{session}` of a card's second session, numbers after a photo skipped as a duplicate), its dry run
lists the renames.
- Templates are checked alike everywhere (Settings › Archive, Import, Reorganize, the admin panel's Archive page): a
folder template may not write a folder scans skip (one starting with `.`, or named `originals`, `proxies`,
`exports`); a file template must keep the photo's extension (`{n}{ext}` is refused, `{n}.{ext}` is fine), tell a
session's photos apart and hold no slash. A folder a title would hide that way gets a leading `_`, and a file name
over 200 characters is shortened before its extension, never through it.
- **Upgrade:** a template saved before these rules stays as it is through edits of other settings, on the desktop and
the server; changing it holds it to the rules. Creating an archive (Welcome › Create, adopting a new folder) with
this PC's templates that break a rule is refused, and the message names the rule: fix it in Settings › Archive.
There is no migration.
- Server: `invalid_template` from `PUT /api/v1/archive/settings` and `POST /api/v1/archive/reorganize` names the broken
rule after a colon (`fileTemplate:extension`, `fileTemplate:not_unique`, `fileTemplate:file_separator`,
`folderTemplate:reserved_folder`) with its sentence in the request's language; the admin panel shows it on the
field.
- Renaming a sequence's files raises its frames version: an editor or client holding the old one reloads once.
- Proxy passes hold the thumbnail lease one batch (about 30 s) at a time, so another program's Reorganize, sequence
deletion or pack compaction waits for one batch rather than the whole pass.
- Server: a render upload or a render node's result that cannot be filed for now (the sequence busy past the lease
wait, the archive offline, or its folder moved by another program sharing the archive) answers 503 and keeps the
upload, to be completed again; the node keeps its job. A proxy upload answers 503 `sequence_busy` while the sequence
is busy.
- The job kind *Move* is now *Reorganize*.
### Fixed
- Renaming titles with a template (former *Rename…*) turned characters a file name cannot hold into `_` (`Paris:
night` became `Paris_ night`); titles now keep them.
- Moving folders with a template (former *Move…*) could flip a sequence between "… (2)" and "… (3)" at every run,
could give two sequences folders that differ only in case, named a folder after today's date when a sequence had no
capture time in the index, and failed on sequences created without photos; folders now come from the sequence's
first photo, and such sequences are left out.
- Exports stay reachable when another program sharing the archive moves their sequence's folder (its Reorganize, or a
folder moved by hand): the next scan moves their paths with the folder, image-sequence exports included. Before,
they answered 404 there.
- A writer that read a sequence before its folder moved (an upload, a proxy, an export, an editor save, a sync, a deep
analysis) writes where the sequence is now, or, when another program moved it, refuses until the next scan instead
of creating the old folder again. Desktop: *Save both* and *Take server* on such a sequence say that its folder is
not where the index has it, and a render job of it does not start.
## [0.1.0-rc.5] — 2026-10-27
### Added
+23 -3
View File
@@ -151,7 +151,7 @@ One line per decision: date · decision · alternative · reason.
| 2026-10-03 | Import omits the Convert row and the profile "New" button: card profiles are born on first insertion and shared through camera profiles (settings row followed by the cards of that camera; a card without settings joins automatically). | Conversion at import / card-less profiles | A converted file breaks the hash-verified erase/format gate and immutable originals; a profile needs a card identity (§13 "rules shared by all cards of that camera"). |
| 2026-10-03 | Import sessions merge in the session table and split per photo in Show plan (merges only into the earlier session of the same body and format). Folder and Server destinations run in the screen with a partial result on failure; a server 4xx (not 401/403) fails only that file. Automatic import always goes to this PC's archive. | New job kinds / abort on any error | No job handlers exist for those destinations; §13 lists errors per file; the archive is the gated destination for erase/format. |
| 2026-10-03 | Format gate: every photo on the card must be verified by the job's own import records; non-photo files are listed in the typed confirmation, not blocking; the card is re-listed right before SHFormatDrive, behind a typed confirmation of the card name; a card that leaves needs a new check. | Count only DCIM photos / block on any file | Sony and Canon cards always carry camera files; §8.6 and DESIGN §4. |
| 2026-10-03 | Archive manager: Overview (tree, tiles, charts, mass operations on the tree selection narrowed by a Camera/Status/Tag filter) and Maintenance (health with one fix per line, recent runs, duplicates, orphans); duplicates/orphans searches and retag run in-screen, cancellable and logged; rename apply is journaled and completed at the next open; Maintenance adds a database backup. No Merge/split yet (Delete… and Trash… exist since 2026-10-06, through the engine's trash). | Engine jobs for every action / Archive.html's single page | No result store for read-only reports; deleting or moving frames needs engine operations (the trash lives in the server). |
| 2026-10-03 | (Partly superseded by the 2026-10-26 Reorganize job row: a plan its job paused, cancelled or failed is left to that job, not completed at the next open.) Archive manager: Overview (tree, tiles, charts, mass operations on the tree selection narrowed by a Camera/Status/Tag filter) and Maintenance (health with one fix per line, recent runs, duplicates, orphans); duplicates/orphans searches and retag run in-screen, cancellable and logged; rename apply is journaled and completed at the next open; Maintenance adds a database backup. No Merge/split yet (Delete… and Trash… exist since 2026-10-06, through the engine's trash). | Engine jobs for every action / Archive.html's single page | No result store for read-only reports; deleting or moving frames needs engine operations (the trash lives in the server). |
| 2026-10-06 | Radio buttons that bind TwoWay are grouped by their shared panel, never by GroupName (kept only for chips in item templates, which bind OneWay). | GroupName on every group | WPF shares a GroupName across every window not yet connected to the screen, so the installer capture (one window per stage, each with its own view model) cross-wired Just me / All users into an endless loop; the same applies to views built in tests and captures. |
| 2026-10-06 | Reading direction is set by ChronosWindow (constructor plus Loc.CultureChanged while shown, applied through the Dispatcher). UiLanguage keeps only a Window.Loaded class handler for plain windows such as FullScreenPreview. The Uploader's WindowDirection and Setup's own code are removed. | Keep three mechanisms (UiLanguage loop plus class handler, Uploader WindowDirection, SetupWindow code) | One place covers the client, Uploader and Setup windows created before or after a language switch. The class handler is still needed for the one non-ChronosWindow window. |
| 2026-10-06 | Toasts are announced with a UIA notification event on the host: errors use ImportantAll (assertive), other notices use All (polite). | LiveSetting on each toast container plus LiveRegionChanged | A toast is a new element, not a text that changes, and the host's peer is always in the UIA tree, whereas an item container's peer may not be. |
@@ -168,7 +168,7 @@ One line per decision: date · decision · alternative · reason.
| 2026-10-06 | Index health duplicates line: after a duplicates search it shows the groups found (warning with a Mark copies fix); before any search it shows the flagged-copy count ('No copies flagged' / 'n duplicate frames' with Show) | Only reword the line to flagged copies, or hide it until a search has run | The line can never be a green tick while the Duplicates card lists groups, and it keeps the flagged-copy information that already existed. |
| 2026-10-06 | All orphan kinds use the Warning glyph (▲ amber) | Add a neutral/info StatusKind in the shared kit | Every orphan line is an actionable issue with a fix button, and Warning is readable in both themes without a kit change. |
| 2026-10-06 | Archive failures become a toast with the action's title, one localized cause sentence from ArchiveFailures.Cause and a Retry action that re-runs the same command; relink Retry re-opens the folder picker | Open logs as in Shell.ReportError, or retry with the same folder | BRIEF 0.2 rule 6 asks for one sentence plus one action. Retry fits these I/O failures. Re-picking the folder covers both 'drive is back' and 'wrong folder'. |
| 2026-10-06 | Dialog failures appear as an error line (✕ Error StatusGlyph, raw text in its tooltip) with no separate Retry button; Apply stays the retry, and a failed apply re-runs the dry run | Add a Retry button to the Rename and Retag dialogs | DESIGN allows two dialog buttons at most. Re-planning shows what is left after a partial or stale apply. |
| 2026-10-06 | (Partly superseded by the 2026-10-26 desktop Reorganize row: Rename is now Reorganize, whose Apply queues a job; the rule stays for the other dialogs.) Dialog failures appear as an error line (✕ Error StatusGlyph, raw text in its tooltip) with no separate Retry button; Apply stays the retry, and a failed apply re-runs the dry run | Add a Retry button to the Rename and Retag dialogs | DESIGN allows two dialog buttons at most. Re-planning shows what is left after a partial or stale apply. |
| 2026-10-06 | Cancel is the default (Enter) button in the Rebuild, Rename and Retag dialogs | No default button, or Apply as default | DESIGN: the safe action is left and default. Enter in the text fields is already handled by EditBehavior. |
| 2026-10-06 | Rebuild counts show '—' with the reason (offline sentence or failure cause) in the tooltip when they cannot be counted | Remove the two count rows when they cannot be counted | The dialog keeps the same shape, and the reason sits next to the value it explains. |
| 2026-10-06 | Rename the Overview/Maintenance segment to 'Health' (new key Archive.View.Health; it: 'Stato') and keep the toolbar's 'Maintenance ▾' | Rename the toolbar menu to 'Tools ▾', or change the English value of Archive.View.Maintenance | BRIEF 12.5 names the toolbar menu Maintenance. A new key makes the missing translations visible in i18n check instead of leaving stale ones. |
@@ -195,7 +195,7 @@ One line per decision: date · decision · alternative · reason.
| 2026-10-06 | Trash layout: <archive>/.chronos/trash/<id>[-stamp] plus a <name>.json record (index row and renders). Restore re-indexes from the sidecar with the same ids, into the old folder or 'folder (n)'. A folder without its sidecar is adopted under the same id with the record's title, tags, rating and notes; a missing hero frame is dropped. | A trash in the database only, or erasing the files. | BRIEF §0.2 rule 8: nothing is erased, and sidecars stay authoritative. |
| 2026-10-06 | Delete is refused per sequence for an offline archive, the archive root, folders holding other sequences, busy sequences, a foreign sidecar or a missing folder. Busy covers running or paused jobs on the sequence, plus archive-wide Scan, Rebuild, Import, Maintenance and Verify-all on its archive. Sequences with no folder and no frames lose only their rows. | Block only on jobs that name the sequence. | Archive-wide jobs name the archive, not the sequences, and an import's target folders are known only to its plan. |
| 2026-10-06 | Server DELETE maps refusals to codes: 503 archive_offline, 409 sequence_busy (busy, stale plan or lease), 409 archive_root / contains_sequences / sidecar_mismatch / folder_missing / folder_in_use, 404 when the sequence vanished. | A single 409 sequence_busy for every refusal. | Clients show the right sentence, and an offline archive is a retryable service state. |
| 2026-10-06 | Move works on the sequences of one archive at a time, as a new folder layout through MassRenamer with a dry run. | Cross-archive move (copy, verify, then trash the source). | The task names the engine's existing move and rename facilities, and there is no engine operation for a cross-archive move. |
| 2026-10-06 | (Superseded by the 2026-10-26 desktop Reorganize row: Move… is Reorganize…, still for the sequences of one archive, applied by a job.) Move works on the sequences of one archive at a time, as a new folder layout through MassRenamer with a dry run. | Cross-archive move (copy, verify, then trash the source). | The task names the engine's existing move and rename facilities, and there is no engine operation for a cross-archive move. |
| 2026-10-06 | Saved views are app-scope settings rows (library.view.<id>) listed in a menu next to the layout switch (show, save, rename, delete with Undo). They are not a chip row. | Chips under the toolbar. | Width at 1200 px: the filters already wrap. |
| 2026-10-06 | The timeline is year bands with photos per month above the virtualised card grid, which stays visible. A month (click, or Enter from the keyboard) narrows to its year and scrolls to its first card once. | Replace the grid with a separate timeline list. | It reuses the virtualised grid and keeps the cards in sight (BRIEF §12.2 'timeline (year/month bands with density)'). |
| 2026-10-06 | Origin filter: All origins / On this PC / Only on server. 'Only on server' means server sequences without a copy here; local copies that came from the server count as 'On this PC'. Remote cards count in the Year and Camera choices and in the timeline. | Filter by Sequence.Origin, which would mix local copies into 'Only on server'. | A remote card is what the user cannot open without proxies (BRIEF §4.4 mixed mode). |
@@ -497,3 +497,23 @@ One line per decision: date · decision · alternative · reason.
| 2026-10-26 | No folder upload on the web panel: the dialog has no `webkitdirectory` or directory picker (a test checks), and folders dropped on it are detected with `webkitGetAsEntry`, counted as *Folders skipped* and left out. Only files whose extension `server/info` lists (the new optional `extensions`, from `ImageFormatInfo.Known`, the scanner's list), not empty and within `limits.maxUploadBytes`, are taken. (Owner review 2, R3, R9.) | Upload folders; a list of extensions in JavaScript | The owner's request: importing a whole folder stays on the desktop. A copy of the list would drift, and the archive would ignore files that are not photos. |
| 2026-10-26 | Web upload pacing: two photos and two chunks per photo at once (four of the server's eight chunks per account); a call with no answer, 429 or 503 retried after 1, 2 and 4 s; 401, 403, 507, an unknown target (404 `sequence`) and a failed self-test stop the remaining photos (*Not sent*) with the server's message; a completion refused with 409 `upload_state` is read again after 1, 2, 4 and then every 8 s, about a minute; two copies of one photo in a run go one after the other. A new target is created by one `POST /sequences`, never retried, and stays the dialog's target. Each start carries the capture time: the Exif DateTimeOriginal of a JPEG or TIFF-based file (from its first 256 KiB, every offset checked), else the file's modification time as local wall time, which the ingest uses only for a photo with no time of its own. (Owner review 2, R3.) | Send everything at once; `capturedAt` null | Room for the user's other clients; a refusal that would refuse every photo stops at once; a lost answer must not create two sequences; photos without Exif keep their order instead of taking their arrival time. |
| 2026-10-26 | Cancel deletes, Close keeps: Cancel aborts the requests, stops the worker and deletes the uploads the run started and did not complete; an upload that failed otherwise (507 at completion, say) stays receiving and the next run resumes it (same user, hash, size and sequence), abandoned ones expiring after the upload retention. During a run Esc is held by a capture-phase listener on the document and leaving the page asks first, so only Cancel stops it. (Owner review 2, R3.) | Delete every unfinished upload on Close; let Esc close the dialog | Cancel frees the space at once; a failure the user can fix is resumed without sending the photo again; a stray Esc must not discard uploads. |
| 2026-10-26 | Import, upload and Reorganize name photos through one rule, `FrameNaming`: a frame in its sequence, `{n}` = index + 1, the sequence as one session from its first frame, the sequence's camera and lens (its first photo's, or its creator's camera hint) for every photo, `{name}` the name on the card, `{ext}` the file's extension (the card name's when the file lost a photo extension), a frame without a capture time at the sequence's start (its first frame's time, else when it was made; never `DateTime.Now` or today). Uploads, card and folder imports (each session with its first photo's camera and lens) and the folder of a new sequence (from its first frame) use it, so a whole-folder import of two bodies, or a lens changed during a session, no longer shows in the names. Where filing could not know the sequence as it is now (`{session}` of a card's second session on, `{n}` after duplicates skipped mid-session or photos filed out of capture order, a first photo that changed), Reorganize gives other names, which its dry run lists. (Owner review 2, R7.) | Each photo's own Make, Model and LensModel; a naming of Reorganize's own | A Reorganize with the archive's own templates must plan nothing for what filing named; the sidecar keeps no camera or lens per frame; a dry run and its apply must agree on frames without a time. |
| 2026-10-26 | Reorganize renames only photos under `originals/` whose SHA-256 is known and whose file is there, each within its own folder; photos adopted in place (outside `originals/`), never hashed or missing keep their names and are listed with the reason (`in_place`, `unhashed`, `missing`). A sequence whose sidecar cannot be read, is another sequence's or is of a newer format stays whole (`unreadable`, 0 photos), and so does every folder around it, which then claims no new folder. The folder and title templates see the sidecar's first frame, the index row only without a sidecar, and a sequence with no time known keeps its folder and title. Sequences created without photos (no folder yet) are left out of rename plans. (Owner review 2, R7.) | Rename adopted trees too; hash the photos first; move a folder without the sequence inside it | An adopted tree belongs to a layout someone else keeps; an unhashed photo can be neither checked against the plan nor followed by sync and the trash; a folder that cannot take a sequence along would leave its index row behind; today's date would move the folder again another day, and a title rename of an empty sequence failed at apply. |
| 2026-10-26 | New file names are given in index order; a name already given, or held by a file that stays (a frame left alone, a file no frame lists, a companion that stays), gets `_2`, `_3`… before the extension, as filing does, so the same frames, template and folder always give the same names and a second Reorganize renames nothing. XMP companions (`stem.xmp`, `name.xmp`, any case) follow their photo with the same tail, a stem two frames share going with the first; `FrameCompanions` serves the trash and Reorganize alike. `UniqueNames` remembers, per name, the first number not yet taken, giving the same names in linear time (a `{title}` plan over 20,000 photos in well under a second, about 28 s before); import, ingest and Reorganize use it. (Owner review 2, R7.) | Refuse a plan with colliding names; search from `_2` for every photo | Deterministic and idempotent; companions keep describing their photo; a quadratic search made a large dry run outlast an HTTP timeout. |
| 2026-10-26 | A step's file renames run under `.chronos/rename-files.json` (the frames version, the phase, every file's old, temporary and new name): every file first to a hidden temporary name beside it (`.chronos-rename-<token>-<n>.tmp`), the journal then at phase 2, then every file to its new name, never with overwrite; then the sidecar (frames version + 1, frame order and ids unchanged, so an editor holding the old version reloads once), the index (`FrameRepository.RenameFilesAsync`, only from the version the renames started at), and the journal goes. A failure while files move puts every file back; when one cannot go back, the journal completes the renames at once. After a crash the next writer of the sequence (`SequenceWriter.ReadLocked`; the plan's resume; an archive open for a held plan's unfinished steps) rolls forward, safe to run again from any point: phase 1 becomes phase 2 once every file is at its temporary name, a new name taken meanwhile sends the photo and its companions together back to their old names or the first free `_n` (journaled before they move), and the journal stays while a temporary file is left; the index follows at the plan's resume or the next scan. (Owner review 2, R7.) | Rename one file at a time in place; roll a crash back | Chains (A→B, B→C) and swaps never meet a name another file holds and nothing is ever written over; once files reached their new names, rolling forward is the shorter way to a sidecar that matches the disk. |
| 2026-10-26 | Each step (a sequence and those nested in a folder that moves with it) takes the sequence leases, then the thumbnail leases, by id, and checks under them, before anything of it moves: the sequences where the plan has them, no sequence indexed since inside a folder that moves, nothing at its new folder (`TargetTaken`: a folder on disk, or an index row there, around or inside it), no sidecar of a newer format to rewrite, the title it was planned from where it changes the title or names the folder or files after it (`NamedByTitle`), the folder and title the templates give from the settled sidecar, and the file renames planned again (by digest). Those that refuse (all but the names and the file renames) also run up front, without the leases, before a fresh or a held plan starts. Then the folder moves, every index row of the step follows (folder and title, frame paths, export paths, one transaction), and only then are files renamed; once its folder moved, a step goes to its end whatever is cancelled. A sidecar that cannot be read or written after the move still has its row follow (title kept, no scan stamps), every sequence of the step is told, and the step fails so the job holds the plan. (Owner review 2, R7.) | Rename the files first; check only when the plan starts | Nothing of a step is half-applied when the plan no longer fits, the index never names a folder the sequence left, and no writer works in a folder while it moves or its files are renamed. |
| 2026-10-26 | A Reorganize is confirmed by its plan's fingerprint: the SHA-256 of the file template and of the steps as the dry run shows them (ids, folders, titles, carried, file count, samples, what stays and why) with each step's file renames as one digest (`RenameStep.FileDigest`), not the frames version. The `move` job's parameters (`MoveJobParameters`) carry the templates, the sequences that have a step in the order the plan was made for (which decides the folder that gets " (2)") and the fingerprint, no file list; the job plans again and applies only a plan of the same fingerprint, else fails with "The archive changed after this plan was made" and nothing changes, naming in its log a sequence deleted since. The server answers a confirmation whose plan differs 409 `plan_changed` with the fingerprint now. (Owner review 2, R7.) | Store the plan or its file list in the job; include the frames version | The change made is exactly the one shown (destructive operations rule); the parameters stay small for 100,000 photos; photos uploaded under the names the plan leaves them (the archive's file template is the Reorganize's, the usual case after saving templates) must not refuse it. |
| 2026-10-26 | Photos changed after the plan (received, removed, hashed or copied in, so that the renames planned again differ) refuse nothing: under its leases that sequence keeps its file names (`FilesKept`), and its folder and title change as planned while the templates still give them from its first photo as it is now (the plan journals its folder and title templates; `RenamePlanner.Names`, `Gives`: the expansion or its " (n)"); otherwise it stays as it was (`Dropped`; `TitlesKept` when an interrupted run moved its folder already), and so do the sequences its folder was to carry (`CarriedKept`). A selected sequence that so stays inside a folder that was to move keeps that folder in place, with what it carries, instead of failing every retry. The other steps go on, and the job fails at the end saying how many sequences were not reorganized as planned. A title edited since, a folder taken, a sequence moved or indexed inside a moving folder, or a sidecar of a newer format refuse the rest of the plan instead (a plan an interruption left drops that step, or keeps what no longer fits). A plan journaled before its templates were kept is applied as planned. (Owner review 2, R7.) | Refuse the step, or the whole plan, as soon as a photo arrives | A time-lapse camera uploading every few seconds would make a file Reorganize impossible; a folder or title must never be named after a photo that is no longer first; a user's title edit is never written over. |
| 2026-10-26 | Reorganize is a job on both hosts: `JobKind.Move` (stored 14, wire `move`, now labelled *Reorganize*), user priority, target the archive, handled by `MoveJobHandler` through `ArchiveService.CreateJobHandlers`; the desktop dialog keeps its dry run in-window and Apply queues the job. Progress counts the steps that change; the checkpoint is `plan:<id>` once the plan's journal exists. Paused or cancelled by the user, or failed, the job stops between two steps and holds the plan (`RenameJournal.Held`): an archive open leaves it to the job (completing only file renames a step left half-way), and the job's resume or retry completes it while it still fits, else gives it up (journal deleted). A yield to another job or a host that stops leaves it unheld, completed at the next open. A failed job whose plan is over (completed with sequences kept, or given up) checkpoints `applied`, so its retry plans again; one that failed because the archive's volume went away keeps its plan, and its retry completes it once the volume is back. Deleting sequences of the archive is refused while the job runs or is paused. (Owner review 2, R7.) | Apply inside the dialog, as the 2026-10-03 and 2026-10-06 rename dialog did; complete held plans at the next open | A Reorganize can rename every photo of an archive: as a job it is paused, resumed after a restart, followed and retried in Jobs, on the same path as the panel; an archive open must not finish behind the user's back what they paused. |
| 2026-10-26 | The plan's journal keeps a tally of the whole plan (`RenameJournal.Done`: changed, files, dropped, files kept, titles kept, files busy, newer, carried kept), so the job log covers every run: "Sequences changed: N, files renamed: M", then one line per sequence not changed as planned, with why. The job then fails with one error: kept first ("changed after the plan"), then newer (a sequence file from a newer Chronos, met only when resuming), then busy (a photo in use or its new name taken); sequences kept because the folder around them stayed follow their carrier's reason. (Owner review 2, R7.) | Report only the last run; one generic error | A plan applied over several runs reports what it did as a whole, and each sentence must be true. |
| 2026-10-26 | Each sequence a Reorganize changed is told through `ArchiveServiceOptions.SequenceChanged` (change `reorganized`) once its step is journaled, by its job or by an archive open that completed an interrupted plan, and at once for a step that failed after its folder moved; a failure to tell is logged, never passed on. The server publishes `sequenceChanged` `reorganized` with the row's versions (its open at start has no hook: no client is connected yet); the desktop raises `AppServices.SequenceReorganized`, and an editor open on that local sequence reloads where it is now while the job goes on (`LocalSequenceSource` reads the frames again when the folder changed while it listed them). (Owner review 2, R7.) | One event when the job ends | Steps done before a pause or a failure are told; an open editor would otherwise decode from paths that moved. |
| 2026-10-26 | A folder move rebases the archive-relative paths of the exports inside it in the same transaction as the sequence row and its frames (`RenderRepository.RebaseFolderAsync`, `ArchiveIndexer.RebaseRendersAsync`). An export is a file, or a folder for an image sequence. The sequence's own exports follow unless one was written at the old place after the move (there and not at the new place, the old folder not another sequence's now), and so does one whose old path another sequence's export now names; another sequence's export saved inside (the Export folder picker) follows only when it moved with the folder; absolute paths and other folders stay. A scan that finds a sequence in another folder (another index's Reorganize, a folder moved by hand) applies the same rule. (Owner review 2, R7.) | Leave render rows to be recorded again; rebase by sequence only | Exports must stay downloadable and syncable on every host after a move, and a row must keep naming where its file is. |
| 2026-10-26 | A writer takes a sequence's folder from the index row read under the sequence's lease (`SequenceWriter.FolderAsync`; renders a client or a node sends through `ArchiveService.UnderLeaseAsync`), so it writes where a Reorganize put the sequence and never creates the folder it left. A folder another index moved is not where this index has it until its next scan: the editor's saves, *Take server* and *Save both*, exports fetched by sync, proxies received or made, the server's render filing and a render job as it starts refuse it (on the desktop with "The folder of this sequence is not where the index has it; try again after the next scan"), and a deep analysis records nothing. Render filing that meets a sequence held past the lease wait, an offline archive or such a moved folder answers 503 and puts the upload back to receiving, the node keeping its job while its client retries; a proxy upload answers 503 `sequence_busy`, or 404 `frame` once its sequence or folder is gone. (Owner review 2, R7.) | Let writers create the old folder again; answer 409, or 500 as before | A folder created again holds files no index row names; `ChronosClient` retries only 503s and a render node fails its job on any other error, which would discard a finished render (a 500 left the upload stuck in Committing until a restart). |
| 2026-10-26 | The proxy pass holds the thumbnail lease one batch at a time: a quarter of the lease wait (30 s by default), at least one photo, then lets it go for 750 ms (1.5 × `LeaseFile.LongestPoll`, 500 ms) and reads the folder, sidecar and companions again; a folder gone stops the job with the folder-moved error (resumed from its checkpoint after the scan), and photos changed between batches leave `ProxiesBuilt` unset. File renames take the thumbnail leases too; the thumbnail pass still holds its lease for its whole run. Cost: up to about 2.5 % on long passes. Another process's thumbnail pass may take the lease in a gap, and one longer than the lease wait then fails the running proxy pass, which resumes from its checkpoint. (Owner review 2, R7.) | Hold the lease for the whole pass; no lease | Another program's Reorganize, sequence deletion or pack compaction waits for one batch instead of failing after two minutes behind an hours-long pass, and no pass writes proxies into a folder that moved. |
| 2026-10-26 | A sequence keeps its folder when it already is what the template gives, or that name with the " (n)" filing or an earlier Reorganize gave it, in the template's case; a change of case only is planned while no other folder holds that exact name (another sequence's, or on a case-sensitive file system a folder on disk beside the sequence's own: `RenamePlanner.ExistsExactly` compares every level exactly) and moves through a temporary name. No two sequences of a plan get folders that differ only in case. Under the step's leases a case-only target that now exists beside the sequence's own folder refuses the step (dropped when resuming), as `MoveFolder` would; a change of case in an outer level moves on every file system. (Owner review 2, R7.) | Compare folder names without case; make every target unique again | A second Reorganize must plan nothing (a folder flipped between " (2)" and " (3)" before); NTFS ignores case and Linux does not; a plan that fails at every archive open must never be journaled. |
| 2026-10-26 | Template rules (`TemplateRules`, checked on three sample photos two seconds apart): a folder template may not write a level scans never enter (`ReservedFolder`: starting with `.`, or `originals`, `proxies`, `exports`, `.chronos`); a file template may hold no slash (`FileSeparator`), must keep the photo's extension (`Extension`: `PathTemplate.KeepsExtension`, the extension appended or after `.{ext}`) and must give a session's photos different names (`NotUnique`). What a template does not write itself is made safe instead: a folder level a title gives that scans skip gets a leading `_` (`ExpandFolder`, for import, upload and Reorganize alike), a file name over 200 characters is shortened before its `.{ext}` without splitting a surrogate pair, and a title template expands as text (`ExpandText`: control characters as spaces, at most 200 characters, no file-name sanitizing). Each rule has its sentence (`Errors.Template.<Rule>`). (Owner review 2, R7.) | Check only that a template parses | `{n}{ext}` drops the dot, and with it the extension every decoder goes by; a folder scans skip vanishes from a rebuilt index; repeating names fill a session with `_2`, `_3`; titles became `Paris_ night`. |
| 2026-10-26 | The rules hold wherever a template is typed or sent: the desktop's Settings › Archive, Import and Reorganize fields (`NamingPreview`), the server's Reorganize and `PUT /archive/settings`, and the archive engine (`ArchiveSettings.Problem`, `CheckTemplates`). A template `archive.json` already holds (saved by 0.1.0-rc.5 or earlier) is held to them only when an edit changes it: the engine's `UpdateSettingsAsync` and the server's PUT check the rules only for templates that differ from the stored ones, every template still having to be non-blank, valid and expandable; `CreateAsync`, and so adopting a new folder, holds both to every rule (this PC's templates saved by an older version then refuse Welcome › Create, the toast naming the rule, fixed in Settings › Archive). A broken rule is a `TemplateRuleException` (an `ArgumentException` naming the field, with the rule), whose sentence the desktop's toasts show; the API's `invalid_template` details are `<field>:<rule>` (`fileTemplate:extension`) with that sentence in the request's language, a blank or invalid template keeping the bare field and the generic message. (Owner review 2, R7.) | Refuse every save while a stored template breaks a rule; check the rules in the user interfaces only | A pre-rules template must not block an edit of the name, the proxy size or the other template, on the desktop or the panel; neither the engine nor the server accepts from another client what the fields refuse. |
| 2026-10-26 | The server keeps Reorganize dry runs (`ReorganizePlanCache`), keyed by the archive, the selection (all, or the ids in their order), the templates and `SequenceRepository.GetStampAsync`: a SHA-256 of what the planner reads from the index (every row's id and folder; for the planned rows their title, first capture, camera make and model, lens, photo count, frames version and how many of their photos are hashed; for others inside a planned folder their title). Uploads into other sequences, ingest status writes, verifies of other sequences and tag or note edits keep a plan; a verify that hashed planned photos plans again. A plan, or a refusal (`nested_target`, `not_found`), is kept 5 minutes from when it was made (a timer per plan, checked again on access); failures and stopped plans are not. Plans are made apart from the request (a request cut off only stops waiting), once per key, at most 2 at once (`Concurrency`) and 8 kept or being made (`Capacity`: a new one lets go the kept plan asked for first, else the one being made asked for first, which stops); one still being made 15 minutes after it was asked (`PlanTimeout`, the wait for a turn included), let go, or running when the server stops is cancelled and answered 503 `plan_dropped`. The confirmation forgets its key once the job is queued. (Owner review 2, R7.) | Plan again at every request; plan in a background job with progress | An `all` dry run reads every sidecar and photo folder, minutes over SMB, and behind a proxy's timeout it was never shown; the job plans again and compares fingerprints, so a kept plan that is stale can only fail, never change what the dry run did not show (a change made on disk alone answers 202, then the job fails changing nothing). |
| 2026-10-26 | `POST /api/v1/archive/reorganize` (ManageArchive): exactly one of `sequenceIds` (1–1,000) and `all`, a null template kept, at least one given; a dry run answers the plan (`ReorganizePlanDto`: steps with folders, titles, carried, frames version, file count, up to 3 samples and what stays, its reason in snake case with a sentence in the request's language; totals; fingerprint); the change answers 202 with the `move` job. 400 `bad_request` (`sequenceIds`, `templates`, `fingerprint`), `invalid_template`; 404 `not_found` (`sequence`); 409 `nested_target` (details: the folder), `plan_changed` (details: the fingerprint now), `job_unavailable`; 503 `archive_offline`, `plan_dropped`. Audited `archive_reorganized` ("sequences · files · folder, file and title templates"), which the panel's audit log and Dashboard show as a sentence. (Owner review 2, R7.) | Separate rename and move endpoints; every planned name in the answer | One request carries the three templates as both programs do; a dry run of 100,000 photos answers counts and samples, not every name. |
| 2026-10-26 | Panel: the Library's *Reorganize…* sends the selected ids, up to 1,000, and `all: true` only above that while the selection is exactly *Select all* without a filter and the total has not changed; any other larger selection is refused with a toast, never split into several plans or jobs. The dialog's switches start on for the parts with a template (Titles off and empty, the archive having no title template; from the Archive page's toast only the changed parts), templates are sent trimmed, a dry run runs 400 ms after typing (Enter at once) with one request in flight and a change meanwhile planned right after, an older request's refusal is not shown, and Apply runs only while the shown plan is the fields' and changes a sequence. The confirmation has two buttons and asks for nothing typed (nothing is deleted); a different plan answered during it is shown, not applied. `toast(message, isError, action)` takes an optional link or button; such toasts stay 15 s and pause under the pointer or the keyboard focus. (Owner review 2, R7.) | Split a large selection into several jobs; a typed confirmation | One dialog is one plan and one job, and separate plans could give two sequences one destination; a typed word is for what cannot be undone. |
| 2026-10-26 | Desktop: one *Reorganize…* dialog replaces Rename… and Move… of the Archive manager and Move… of the Library, for the sequences of one archive as Move was: Folders and File names on with the archive's templates (read again from the index when it opens), Titles off with `{title}`; the dry run follows the typing (400 ms; Enter or leaving a field plans at once unless that dry run is on screen or under way, so a click on Apply is never turned off under it), and only the latest dry run publishes its result. After Settings › Archive saves a new folder or file template into an archive with sequences, a toast offers *Reorganize…* for every sequence with the changed parts on, one offer per archive, a change made while its toast is up (8 s) joining it (`ReorganizeOffer`, `Toast.Closed`); on the Archive screen an open dialog is never replaced: Reorganize waits, says so, and opens when it closes. The old Rename and Move keys were pruned from every language (`i18n prune`); the capture scene is `archive-reorganize-*`. (Owner review 2, R7.) | Keep Rename (titles) beside Reorganize; a modal question or an automatic Reorganize after a template change | One concept and one button for how filed sequences are named, with the same three templates as the panel; templates only name what is filed next, so a toast offers without interrupting and nothing moves without the dry run; a new key shows as untranslated instead of 36 languages keeping "Move". |
+17 -14
View File
@@ -16,7 +16,7 @@ by its `windows` job once a Windows runner is registered (`WINDOWS_RUNNER`), and
| 8 Release readiness | Release pipeline end to end (installers, portable and server zips, SHA256SUMS, release notes, optional signing, server image in the Gitea container registry, optional separate releases repository), update check with verified download, scrubbed diagnostics bundles (desktop and server), performance gates, 38 cultures (`en`, `it` and 36 machine translations with glossaries and independent reviews), RTL pass (`ar`, `he`: mirrored windows, left-to-right islands for media, charts, numbers and paths; any right-to-left culture added later follows), accessibility pass (names, live regions, keyboard paths for charts and the curve editor). The installer test (silent install of the packed installers, run, upgrade in place, uninstall: files, Add/Remove Programs, shortcuts, file type, user data kept, exit codes) runs in CI's `windows` job on a Windows runner. Pending: the interactive install on a real PC, Unraid template validation on a real server. |
| 8.1 Owner review 1 | In progress (request, answers and plan: `docs/requests/2026-10-15-owner-review-1.md`). Phase 1 done: stalled thumbnail and proxy jobs no longer fail and stay Running (frame-counted progress, bounded time left, final state always written); the editor's cancelled decodes stay in their tasks (no debugger stops in `WicDecoderProvider.cs`); WIC decodes RAW only through the Raw Image Extension and never DNG; GoPro DNGs converted by Adobe software are DNGs, developed natively for videos, read through their embedded preview for analyses and previews, and reclassified in existing archives by the next light analysis. Phase 2 done: jobs run one at a time on the desktop and the server; Parallelism is how many photos the running job processes at once (thumbnail and proxy passes, tier probes, deep analysis, render decodes); pausing the running job starts the next; an optional priority queue by job kind (Settings › Rendering, admin panel › Settings › Jobs, `CHRONOS_PRIORITY_QUEUE`) pauses lower jobs and resumes them by themselves; `CHRONOS_PARALLELISM` replaces `CHRONOS_WORKERS`. Phase 3a done: the rail is 200 px and collapses to icons with ≡ or Ctrl+B (tooltips then name the sections, the choice saved at once); the admin panel's sidebar is 256 px and collapses the same way. Phase 3b done: the Sequence section is now Edit, one sequence at a time chosen in a picker inside the section (Change sequence, Ctrl+O; the sequence edited last selected first), and the editor's tabs are the steps of a guided, freely navigable path from a new Analysis step (every finding with the step that deals with it) to Export, each step showing where it stands, with Previous and Next. Next, after owner review 2 (the owner's order): phase 4, the visual crop locked to the output's proportions (R5) and mirroring, 90° rotations, straightening and colour filters (R6). |
| 8.2 Chronos on Gitea | Done (request: `docs/requests/2026-10-23-chronos-gitea.md`): Titano renamed Chronos everywhere, translations' grammar included; repository, update check, links, issue forms and registry moved to the self-hosted Gitea; Gitea Actions CI, release, nightly image and performance workflows for the Linux runner, with the Windows programs cross-compiled and checked (`pe-check`); new `Chronos.Tools` commands `zip`, `gitea-release`, `postgres-ci`, `pe-check`. Pre-releases `v0.1.0-rc.1` and `v0.1.0-rc.2` (the update check builds its links from `ChronosReleasesUrl`, since Gitea's use its LAN ROOT_URL) published; `REGISTRY_TOKEN` is set and the `v0.1.0-rc.2` server image is in the registry. |
| 8.3 Owner review 2 | In progress (request, answers and plan: `docs/requests/2026-10-26-owner-review-2.md`). Phase 1 done and released as `v0.1.0-rc.3` (one adversarial review round, 19 findings fixed; strings in all 38 languages): `:latest` follows the highest stable release, or the highest pre-release while none is stable (`Chronos.Tools release-channels`), `:nightly` stays the nightly build of `main` (R1); `CHRONOS_SPACE_PATH` and the Unraid template's *Array view* (`/mnt/user0/<share>` read-only at `/space`) make the admin panel show the array's free space, the cache apart as *Write volume*, the file system in the tooltip, and completing an upload checks the archive volume first (507, resumable) (R2); the Settings icon is a toothed gear and the admin panel docks Settings at the foot of its sidebar (R4); About is the last page of Settings on the desktop and the last group of Settings on the admin panel (R5); Import › Folder… › *Whole folder* imports a folder as one sequence per format, titled after the folder (R9). Phase 2 done and released as `v0.1.0-rc.4` (one adversarial review round, 35 findings fixed; strings in all 38 languages): scheduled jobs (R10) — schedules (migration 0007) with an in-house recurrence form, one scheduler per host claiming runs by compare-and-set with catch-up, and Jobs › Scheduled on the desktop and the admin panel (`/api/v1/schedules`, `scheduleChanged`); every timer that queued work is a visible system schedule (server: archive scan, upload clean-up every 6 h, index backup at 03:00, job history and audit log clean-ups; desktop: archive scan, daily index backup, housekeeping with cache trim), the archive still scanned at start; new Backup and Clean-up jobs, duplicates and orphans reports as jobs, one backup retention, the trash only reported; log settings (R11) — file and console levels, retention, file and total size limits, daily or hourly rotation, audit retention (the audit clean-up schedule's) and the diagnostics share in the admin panel's Settings › Logs (`CHRONOS_LOG_*`, `lockedBy`) and the desktop's Settings › Advanced; the server's files take Debug and Trace again, and logging never fails a job. Phase 3 done and released as `v0.1.0-rc.5` (one adversarial review round and two fix rounds, 40 findings fixed; strings in all 38 languages; Library, photo delete and restore and the web upload tried by hand): the admin panel manages and never edits (R6) — a Library page (facets filters, cards or list, keyboard selection, mass Analyse, Proxies, Thumbnails, Verify, Tags, Export CSV and Delete, 1,000 sequences a request), a sequence's page (inline title, tags, rating, notes, photo viewer, cover, downloads, photo delete) and the trash view (Restore, Empty… behind a dry run, the typed word and a fingerprint); photos deleted into `trash/photos` under crash-safe journals with tombstones in the sidecar and `frame_removals` (migration 0008), so sync and uploads never bring them back unless restored or uploaded again on purpose; trash kinds, restore reasons and the `EmptyTrash` job on the desktop's Trash… too (typed entry count); the panel's files revalidated (`no-cache`, ETag); upload from the panel (R3) — file picker or drop, no folders, a self-tested in-house SHA-256 in a module worker, Exif capture time, resumable chunks. Known limitations: a never-hashed photo whose file was already missing is deleted without a tombstone; an unhashed server frame of a photo deleted on a PC stays *missing here* until the server verifies it; `jobState` carries no kind, so panel pages refresh after any job. |
| 8.3 Owner review 2 | In progress (request, answers and plan: `docs/requests/2026-10-26-owner-review-2.md`). Phase 1 done and released as `v0.1.0-rc.3` (one adversarial review round, 19 findings fixed; strings in all 38 languages): `:latest` follows the highest stable release, or the highest pre-release while none is stable (`Chronos.Tools release-channels`), `:nightly` stays the nightly build of `main` (R1); `CHRONOS_SPACE_PATH` and the Unraid template's *Array view* (`/mnt/user0/<share>` read-only at `/space`) make the admin panel show the array's free space, the cache apart as *Write volume*, the file system in the tooltip, and completing an upload checks the archive volume first (507, resumable) (R2); the Settings icon is a toothed gear and the admin panel docks Settings at the foot of its sidebar (R4); About is the last page of Settings on the desktop and the last group of Settings on the admin panel (R5); Import › Folder… › *Whole folder* imports a folder as one sequence per format, titled after the folder (R9). Phase 2 done and released as `v0.1.0-rc.4` (one adversarial review round, 35 findings fixed; strings in all 38 languages): scheduled jobs (R10) — schedules (migration 0007) with an in-house recurrence form, one scheduler per host claiming runs by compare-and-set with catch-up, and Jobs › Scheduled on the desktop and the admin panel (`/api/v1/schedules`, `scheduleChanged`); every timer that queued work is a visible system schedule (server: archive scan, upload clean-up every 6 h, index backup at 03:00, job history and audit log clean-ups; desktop: archive scan, daily index backup, housekeeping with cache trim), the archive still scanned at start; new Backup and Clean-up jobs, duplicates and orphans reports as jobs, one backup retention, the trash only reported; log settings (R11) — file and console levels, retention, file and total size limits, daily or hourly rotation, audit retention (the audit clean-up schedule's) and the diagnostics share in the admin panel's Settings › Logs (`CHRONOS_LOG_*`, `lockedBy`) and the desktop's Settings › Advanced; the server's files take Debug and Trace again, and logging never fails a job. Phase 3 done and released as `v0.1.0-rc.5` (one adversarial review round and two fix rounds, 40 findings fixed; strings in all 38 languages; Library, photo delete and restore and the web upload tried by hand): the admin panel manages and never edits (R6) — a Library page (facets filters, cards or list, keyboard selection, mass Analyse, Proxies, Thumbnails, Verify, Tags, Export CSV and Delete, 1,000 sequences a request), a sequence's page (inline title, tags, rating, notes, photo viewer, cover, downloads, photo delete) and the trash view (Restore, Empty… behind a dry run, the typed word and a fingerprint); photos deleted into `trash/photos` under crash-safe journals with tombstones in the sidecar and `frame_removals` (migration 0008), so sync and uploads never bring them back unless restored or uploaded again on purpose; trash kinds, restore reasons and the `EmptyTrash` job on the desktop's Trash… too (typed entry count); the panel's files revalidated (`no-cache`, ETag); upload from the panel (R3) — file picker or drop, no folders, a self-tested in-house SHA-256 in a module worker, Exif capture time, resumable chunks. Known limitations: a never-hashed photo whose file was already missing is deleted without a tombstone; an unhashed server frame of a photo deleted on a PC stays *missing here* until the server verifies it; `jobState` carries no kind, so panel pages refresh after any job. Phase 4a done and released as `v0.1.0-rc.6` (one adversarial review round and four fix rounds; strings in all 38 languages): Reorganize after import (R7) on the desktop (Archive manager, Library, the toast after Settings › Archive templates change; it replaces Rename… and Move…) and the admin panel (Library, the *Saved* toast of Archive) — folder, file and title templates applied to filed sequences behind a dry run that lists every change, the photos that keep their names and why (in place, never verified, missing) and the sequences that stay whole (unreadable sidecar), applied by the `move` job of exactly the confirmed plan (fingerprint, `POST /api/v1/archive/reorganize`, plans kept a few minutes on the server), which holds the rest when paused, cancelled or failed and lets a sequence still receiving photos keep its file names; files renamed in two phases under `.chronos/rename-files.json`, completed after a crash by the next writer; the index, frames and exports follow a moved folder in one transaction, here and at another index's next scan, and writers never create a folder a Reorganize left; import, upload and Reorganize name photos by one rule (the sequence's camera and lens), and templates follow one set of rules everywhere (no folder scans skip, the extension kept, names that tell photos apart), held only to templates given anew. Known limitations: a readeLine truncated
| 9 Monetization | Not started: requires explicit approval (§22). |
## Verification (2026-10-12)
@@ -87,6 +87,10 @@ src/Chronos.App/bin/Release/net10.0-windows/Chronos.exe --capture out/screenshot
before*, whose *Upload again* files it on the next *Upload*. Esc does nothing while photos are sent.
- Desktop trash: Archive › Maintenance › *Trash…* lists photo entries beside deleted sequences; *Restore* says why a
photo stayed; *Empty…* measures the trash and asks for the number of entries before the *Empty trash* job.
- Reorganize: desktop Archive › select a year › *Reorganize…* › Folders `{year}/{date} {title}`: the dry run lists every
change, and *Apply* queues the *Reorganize* job (pause and resume it in Jobs).
Admin panel: Library › select sequences › *Reorganize…* › *Apply…* › *Reorganize* › *Open job*; or Archive › change
the file template › *Save* › *Reorganize…* in the toast.
- Project files: Export › *Save project file* writes a `.chronos` file; opening it (double-click or `Chronos.exe <file>`)
opens the sequence with those settings in the running Chronos.
- Notifications: minimise Chronos and insert a card or finish a job: a Windows notification appears; Ctrl+1…6 and
@@ -100,28 +104,27 @@ src/Chronos.App/bin/Release/net10.0-windows/Chronos.exe --capture out/screenshot
Owner reviews, in the owner's order (owner review 2 first, then the rest of owner review 1); each phase ends with a
release (owner review 2, R12):
1. Owner review 2, phase 4a: R7 Reorganize after import.
2. Owner review 2, phase 4b: R7 mass conversion.
3. Owner review 2, phase 5a: R8 workspace and projects with a local home (migration 0009).
4. Owner review 2, phase 5b: R8 server home.
5. Owner review 2, phase 5c: R8 originals, local render, clean-up, Workspace settings.
6. Owner review 1, phase 4: R5 visual crop locked to the output's proportions, R6 mirroring, 90° rotations,
1. Owner review 2, phase 4b: R7 mass conversion.
2. Owner review 2, phase 5a: R8 workspace and projects with a local home (migration 0009).
3. Owner review 2, phase 5b: R8 server home.
4. Owner review 2, phase 5c: R8 originals, local render, clean-up, Workspace settings.
5. Owner review 1, phase 4: R5 visual crop locked to the output's proportions, R6 mirroring, 90° rotations,
straightening and colour filters (project settings in the workspace).
7. Owner review 1, phase 5: R3 export panel and Render menu, R8 export options, R9 videos library.
8. Owner review 1, phase 6: Docker, Unraid and deploy docs, BRIEF §24 amendments, full verification.
6. Owner review 1, phase 5: R3 export panel and Render menu, R8 export options, R9 videos library.
7. Owner review 1, phase 6: Docker, Unraid and deploy docs, BRIEF §24 amendments, full verification.
Phase 8 gate:
9. Visibility: make the `BalboSoft` organisation (and its packages) public, or publish to a public `RELEASES_REPO`, so
8. Visibility: make the `BalboSoft` organisation (and its packages) public, or publish to a public `RELEASES_REPO`, so
that people without an account can download releases, get update notices and pull the image.
10. Windows runner: register an act_runner in host mode on a Windows PC (.NET SDK, Git for Windows, PowerShell 7) and
9. Windows runner: register an act_runner in host mode on a Windows PC (.NET SDK, Git for Windows, PowerShell 7) and
set the repository variable `WINDOWS_RUNNER` to its label. Then arm the screenshot diff: from the `ci-screenshots`
commit of the first green `windows` job of a pull request, run `dotnet run --project src/Chronos.Tools --
screenshots accept <dir>` and commit the PNGs to `tests/visual/baselines` (its README says how). From then on a
visual change, or a screen without a baseline, fails the `windows` job.
11. On Windows: install the latest pre-release's setup, upgrade over the previous version, uninstall (with and without
10. On Windows: install the latest pre-release's setup, upgrade over the previous version, uninstall (with and without
user data), silent mode.
12. Unraid: install the template as a user template (README › Server image, Compose and Unraid) with the official
11. Unraid: install the template as a user template (README › Server image, Compose and Unraid) with the official
PostgreSQL template, check that its icon (the SVG of `branding/`) shows, reach the WebUI, and that the Dashboard
shows the array's free space through *Array view*.
13. Native-speaker review of the machine translations where users report wording (`i18n export` per language).
12. Native-speaker review of the machine translations where users report wording (`i18n export` per language).
+2 -2
View File
@@ -71,8 +71,8 @@
|---|---|---|---|
| 1 | R1 `:latest`, R2 array space, R4 gear and Settings at the bottom, R5 About inside Settings, R9 whole-folder import | done 2026-10-26, released as `v0.1.0-rc.3`: BRIEF §12.1, §12.4, §12.8, §12.9, §13, §14.4, §14.8, §14.9, §19.3, §19.5, §19.6, §24; 12 DECISIONS rows dated 2026-10-26 (R1 `:latest` and `release-channels`; R2 space path, mountinfo file system, fall-back warning, write volume, 507 at completion, `VolumeSpace`; R4/R5 admin menu and About group; R4 gear icon and `icons.py` generating `icons.js`; R5 desktop About page; R9 whole-folder grouping and its session key); CHANGELOG [Unreleased]; STATUS 8.3. `:latest` appears with the next pre-release: re-publishing `v0.1.0-rc.2` builds the tag's `Chronos.Tools`, which lacks `release-channels` | `1f089888` |
| 2 | R11 log settings, R10 scheduled jobs (migration 0007) | done 2026-10-27, released as `v0.1.0-rc.4` (one adversarial review round, 35 findings fixed; strings in all 38 languages): BRIEF §5, §6.2, §7, §12.5, §12.6, §12.8, §14.1, §14.3, §14.6, §14.8, §14.9, §19.6, §24; 30 DECISIONS rows dated 2026-10-26 (R10 text recurrence form instead of cron, compare-and-set claim, system schedules seeded once, the timers they replace, catch-up, live services that are not schedules, the trash only reported, history and audit purges in clean-ups, one audit retention, scan at start, deep analysis read at run time, 6-hour upload sweep, Scheduled as a Jobs tab, Backup and Cleanup job kinds, 500 sequences per job, index backups and one backup retention, the archive.json timer, schedule API and audit, `scheduleChanged`, time zone, cache trim, desktop toasts, texts and archive reopening; R11 log defaults, rotation and pruning, the Debug/Trace fix, `CHRONOS_LOG_LEVEL` locking both levels, the log settings DTO and desktop rows, logging that never fails a job), six earlier rows marked superseded; CHANGELOG [Unreleased] with the `CHRONOS_LOG_LEVEL` and migration 0007 upgrade notes; STATUS 8.3 | `af9eeaab` |
| 3 | R6 library on the panel, photo delete and trash (migration 0008), R3 web upload | done 2026-10-27, released as `v0.1.0-rc.5` (one adversarial review round and two fix rounds, 40 findings fixed; strings in all 38 languages; tried by hand in a browser) (two adversarial review rounds, findings fixed; new strings in `en` and `it` only so far): BRIEF §5, §7, §12.2, §12.5, §14.3, §14.4, §14.5, §14.8, §24; 24 DECISIONS rows dated 2026-10-26 (R6 photo trash layout, deletion journal and hidden pending record, restore journal and `.restoring` staging under the entry lease, restore rules and kept reasons, tombstones in sidecar and index, never-hashed photos hashed at deletion with the missing ones left without a tombstone as a known limitation, positions and follow-ups, Empty only as an explicit job with a fingerprint and never scheduled, trash API and audit, photo-delete permission and body limit, bulk limits of 1,000 a request and the verify fix, the upload tombstone checks and the explicit restore flag, sync tombstones and aliases, hidden dot files refused, Library navigation and the on-demand upload module, facets and covers, panel confirmations, CSV and grids, live refresh without job kinds, static files `no-cache` with ETag; R3 in-house SHA-256 worker, fail-closed self-test, no folder upload and `server/info` extensions, upload pacing and capture time, Cancel deletes and Close keeps); CHANGELOG [Unreleased] with the migration 0008 upgrade note and the known limitations; STATUS 8.3 | |
| 4a | R7 Reorganize after import | in progress | |
| 3 | R6 library on the panel, photo delete and trash (migration 0008), R3 web upload | done 2026-10-27, released as `v0.1.0-rc.5` (one adversarial review round and two fix rounds, 40 findings fixed; strings in all 38 languages; tried by hand in a browser): BRIEF §5, §7, §12.2, §12.5, §14.3, §14.4, §14.5, §14.8, §24; 24 DECISIONS rows dated 2026-10-26 (R6 photo trash layout, deletion journal and hidden pending record, restore journal and `.restoring` staging under the entry lease, restore rules and kept reasons, tombstones in sidecar and index, never-hashed photos hashed at deletion with the missing ones left without a tombstone as a known limitation, positions and follow-ups, Empty only as an explicit job with a fingerprint and never scheduled, trash API and audit, photo-delete permission and body limit, bulk limits of 1,000 a request and the verify fix, the upload tombstone checks and the explicit restore flag, sync tombstones and aliases, hidden dot files refused, Library navigation and the on-demand upload module, facets and covers, panel confirmations, CSV and grids, live refresh without job kinds, static files `no-cache` with ETag; R3 in-house SHA-256 worker, fail-closed self-test, no folder upload and `server/info` extensions, upload pacing and capture time, Cancel deletes and Close keeps); CHANGELOG [Unreleased] with the migration 0008 upgrade note and the known limitations; STATUS 8.3 | `9aa818ed` |
| 4a | R7 Reorganize after import | done 2026-10-27, released as `v0.1.0-rc.6` (one adversarial review round and four fix rounds; strings in all 38 languages): BRIEF §5, §7, §7.1, §12.2, §12.5, §12.8, §13, §14.3, §14.5, §14.8, §24; 20 DECISIONS rows dated 2026-10-26 (R7 one naming rule `FrameNaming` for import, upload and Reorganize; what Reorganize renames and what stays whole; unique names in index order and XMP companions; the two-phase file journal; step order and checks under the leases; the fingerprint pinning file renames by digest; sequences still receiving photos; Reorganize as the `move` job with held plans; the whole-plan tally and errors; `sequenceChanged` `reorganized` and the editor reload; exports rebased with their folder; writers under the lease and render filing's 503; proxy lease batches; case-only and stable folders; template rules; rules held only to templates given anew; the server's plan cache; the reorganize API; panel selection and dialog; the desktop dialog and the Settings toast), three earlier rows marked superseded; CHANGELOG [0.1.0-rc.6] with the template upgrade note and the known limitations; STATUS 8.3 | |
| 4b | R7 mass conversion | todo | |
| 5a | R8 workspace and projects with a local home (migration 0009) | todo | |
| 5b | R8 server home | todo | |