docs: phase 4b fix round 3 in BRIEF, DECISIONS and CHANGELOG
The docs now describe mass conversion as the code at 74ccde72 does it, so
nothing in them still states round 2's behaviour as the rule.
- Colour: a conversion never changes what Chronos reads from a photo. JPEG
and TIFF-16 carry the profile (float values get one made for them, gray
codes are kept); a linear DNG takes only values that are sRGB's as read
and refuses Adobe RGB, Display P3/HEIC, ProPhoto and gamma-1.0 sources as
color_profile, which TIFF-16 and JPEG still convert. NaN or infinite
pixels fail as damaged.
- Decoding: a frame another host flagged unreadable is asked again on a PC,
WIC is never used for TIFFs it reads as black or noise, its probe reads
the size, and sizes are weighed without overflow.
- Job: the confirmed photo ids sit beside the journal in
convert-<job>.photos, the space check counts every photo still being
written, a New sequence retry finishes its copy, and a source another
done conversion copied since is Superseded (CopyUnfinished while it is
not done).
- Trash: a conversion is deleted only on the archive's own word (a
tombstone, the trash, or the erasure record in .chronos/trash/.erased/,
never written while the sequence also lives); kept entries say what
settles them, a corrupt frame counting as one no verify can hash.
- CHANGELOG rc.7 folds this into its entries and adds the WIC TIFF and
Edit picker fixes; DECISIONS gains 17 rows dated 2026-11-03 and marks the
five round 2 rows they supersede in part; STATUS and ARCHITECTURE follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e91da1e89d
commit
9de48d56e0
5 files changed
+195
-98
No files matched your search
@@ -31,7 +31,7 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
|---|---|
|
||||
| `Imaging` (+ `Decoders`, `Geometry`, `Thumbnails`) | `ImageBuffer` (planar float, linear light), `IImageDecoderProvider` (`DevelopsRawAt8Bits`: true for WIC's Raw Image Extension, which a conversion's 16-bit targets never read RAWs through), `DecoderFactory` (decode tiers: native → embedded preview; `ImageDecoder.Probe` names a file's tier without decoding it; `DecodeRequest.PreferPreview` takes an adequate RAW preview by choice for analyses and previews, `DecodedImage.ByChoice`), `ManagedDecoderProvider` (`ReadsHeaders`: a conversion's probes read JPEG, PNG and TIFF headers and refuse what the decoders would), `FrameWindow` (read-ahead, memory budget, float32 spill), resampler, thumbnail cache |
|
||||
| `Metadata` (+ `Tiff`, `Jpeg`, `Bmff`, `Raf`, `Riff`, `Png`, `Xmp`, `MakerNotes`) | Signature sniffing, Exif/GPS/XMP/MakerNotes, ISO-BMFF (HEIF, CR3), `MetadataReader`, `MetadataBuilder` (all fallback chains), `ExifWriter` (proxies, exports and converted photos; exposure program, metering mode, flash and white balance when known) |
|
||||
| `Codecs` (`Jpeg`, `Png`, `Tiff`, `Dng`, `Raw`, `Gif`, `Apng`, `Ico`, `Icc`) | Pure managed codecs; native RAW development (DNG, CR2, NEF, ARW, PEF, RAF); header reads that refuse what a decode would (`JpegDecoder.ReadDecodableInfo`, `PngDecoder.MaxPixels`, `TiffImageReader.ReadInfo`; the TIFF reader refuses CMYK, CIELab, palette and other samples it does not render); ICC profiles written into JPEG (APP2) and TIFF (tag 34675); `LinearDngWriter` (exports: clipped linear sRGB; `LinearDngOptions.SceneReferred` for a conversion: linear ProPhoto primaries, up to `MaxHeadroomStops` (4) of headroom in BaselineExposure, matrices that read back as written); `Icc` (`IccProfile`: ICC parser and writer, matrix/TRC and gray curves, sRGB told by the numbers, colorants that convert nothing dropped, the in-house Adobe RGB (1998)-compatible and Display P3 profiles; `SourceColor`: the colour space a photo's headers record and whether its samples are linear) |
|
||||
| `Codecs` (`Jpeg`, `Png`, `Tiff`, `Dng`, `Raw`, `Gif`, `Apng`, `Ico`, `Icc`) | Pure managed codecs; native RAW development (DNG, CR2, NEF, ARW, PEF, RAF); header reads that refuse what a decode would (`JpegDecoder.ReadDecodableInfo`, `PngDecoder.MaxPixels`, `TiffImageReader.ReadInfo`; the TIFF reader refuses CMYK, CIELab, palette and other samples it does not render); ICC profiles written into JPEG (APP2) and TIFF (tag 34675); `LinearDngWriter` (exports: clipped linear sRGB; `LinearDngOptions.SceneReferred` for a conversion: linear ProPhoto primaries, up to `MaxHeadroomStops` (4) of headroom in BaselineExposure, matrices that read back as written); `Icc` (`IccProfile`: ICC parser and writer, matrix/TRC and gray curves, sRGB told by the numbers (by the name only without colorant tags), `IsSrgbFor` (the values a DNG takes), `WithSrgbCurve` and `GrayAsRgb` (the profiles a conversion makes), colorants that convert nothing dropped, the in-house Adobe RGB (1998)-compatible and Display P3 profiles; `SourceColor`: the colour space a photo's headers record and whether its samples are linear) |
|
||||
| `Analysis` (+ `Deep`) | Luminance statistics, deflicker, regions, holy grail, white balance, colour temperature, light analysis, streaming deep analysis with checkpoints |
|
||||
| `Advice` | `Advisor`: recommendations with localisable reasons, apply/optimise, sequence presets |
|
||||
| `Motion` | FFT, phase correlation, pyramids, optical flow, motion blur, stabiliser, virtual camera, interpolation, stacking |
|
||||
@@ -42,7 +42,7 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
| `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 (photos named through `FrameNaming` with the camera and lens of their session's first photo), hash-verified copy, card eraser (re-hash before delete) |
|
||||
| `Conversion` | Mass conversion after import (owner review 2, R7): `ConvertOptions` (target JPEG 4:4:4 / TIFF-16 / linear DNG, the archival one, `ConvertMode` Replace or New sequence, JPEG quality and the quality that counts, the converted name: the archive's file template with the frame's `FrameNaming` context in its sequence, as filing names it, `{ext}` the target's), `FrameConverter` (`Decoders`: the conversion's chain, the managed provider first with its header probes, WIC after it, no RAW at 8 bits for a 16-bit target; native-tier decode only; `Treatment`: what becomes of the colour space, carried, encoded with the profile's curves, converted or refused; in-house encoders, Exif from the sidecar and the original via `ExifWriter`, hashed as made, written atomically, verified: read back, metadata again, decoded by the server's decoders; `ConversionException` and its `ConversionFailure`, `FailureText`: the job log's sentence by cause), `ConvertPlanner` (per sequence the frames converted and skipped with `ConvertSkip`, each file probed with the conversion's decoders whatever tier was recorded, 8 at a time; `TooLarge`: what the target holds and the server's decoders read back; size estimates per pixel; `ConvertSequencePlan.Digest`, the photos converted with their content; `ConvertPlan` with its space and fingerprint) |
|
||||
| `Conversion` | Mass conversion after import (owner review 2, R7): `ConvertOptions` (target JPEG 4:4:4 / TIFF-16 / linear DNG, the archival one, `ConvertMode` Replace or New sequence, JPEG quality and the quality that counts, the converted name: the archive's file template with the frame's `FrameNaming` context in its sequence, as filing names it, `{ext}` the target's), `FrameConverter` (`Decoders`: the conversion's chain, the managed provider first with its header probes, WIC after it, no RAW at 8 bits for a 16-bit target; native-tier decode only; `Treatment`: what Chronos reads never changes, so the colour space is carried (code values), described by a profile made for the values written (`Describe`: float values as sRGB codes, a gray curve as RGB) or refused (a DNG takes sRGB's values only); pixels that are not numbers fail as damaged; in-house encoders, Exif from the sidecar and the original via `ExifWriter`, hashed as made, written atomically, verified: read back, metadata again, decoded by the server's decoders; `ConversionException` and its `ConversionFailure`, `FailureText`: the job log's sentence by cause), `ConvertPlanner` (per sequence the frames converted and skipped with `ConvertSkip`, each file probed with the conversion's decoders whatever tier was recorded, 8 at a time; `TooLarge`: what the target holds and the server's decoders read back, without overflow; a frame another host flagged undecodable asked again where other decoders (WIC) read it; size estimates per pixel; `ConvertSequencePlan.Digest`, the photos converted with their content; `ConvertPlan` with its space and fingerprint) |
|
||||
| `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, Reorganize and conversion: 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 |
|
||||
@@ -59,7 +59,7 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
| `Jobs` | `JobEngine` (one job at a time; reviews the priority queue and makes a lower running job yield, requeued with its checkpoint; no history purge, the housekeeping schedule's clean-up does it), `JobPriorityQueue` (a level per job kind, the claim order, settings round trip), `IJobHandler`, `IJobHandlerProvider`, `JobContext` (progress, checkpoints, follow-up jobs that never interrupt their parent), `JobThroughput`/`JobEta` (rate and bounded time left) |
|
||||
| `Scheduling` | `Scheduler` (one per host: seeds the host's system schedules, claims due runs by compare-and-set, catch-up, clock changes, create/edit/reset/delete/run now as API v1 DTOs), `ScheduleRecurrence` (the in-house `every:`/`daily:`/`weekly:`/`monthly:` form, wall-clock times across DST), `ScheduleActions` (action names, parameters, availability, the archive jobs a run queues), `IScheduleHost` and `SystemSchedule` (what the server and the desktop supply), `ScheduleOutcome`, `ScheduleMapping` (model ↔ DTO) |
|
||||
| `Housekeeping` | `BackupJobHandler`, `CleanupJobHandler`, `ICleanupStep` with the shared steps (`CleanupSteps`: job history, audit log, trash report that never deletes); hosts add their own steps through `ArchiveServiceOptions.CleanupSteps` |
|
||||
| `Archiving` | `ArchiveService` (create/adopt/open, archive settings written to `archive.json` then the index, `ArchiveSettings.CheckTemplates` and `TemplateRuleException` holding a template given anew to the template rules; `UnderLeaseAsync`: a write under a sequence's lease with its row read under it), `ArchiveIndexer` (scan, rebuild; a sequence found in another folder takes its exports' paths along), `ArchiveIngest` (uploads and imports, named through `FrameNaming`; content a conversion replaced is a duplicate of the frame holding its conversion; a restore or a replacement not settled yet refuses the batch), `ImportService`, `ArchiveVerifier`, `ArchiveImages` (thumbnail and proxy passes, several photos at once through `OrderedWork`, which hands results back in frame order), `FrameTiers` (decode tier, `PreviewOnly`/`Undecodable` flags and preview size of frames, written to sidecar and index by the light analysis, deep analysis, renders and image passes), `GprCompanions` (the JPEG of each GoPro GPR, found in the index when an import kept it in another sequence), `ArchiveMaintenance` (also a conversion job's staging and journals, by the job's state; those of a job this index does not know go together, by age), `MassRenamer` (mass rename and Reorganize: the dry run reads each sidecar for a file template; each step checked under its leases before anything of it moves (where its sequences are, what is inside and at its new folder, a sidecar of a newer format, the title it was planned from when it changes it or names the folder or files after it), then the folder, with the sequences of the plan an earlier step left as they were inside it (taken along, their title and file names kept), every index row (the frame paths and render paths of the exports inside it, a file or an image-sequence folder, its own unless the export is still at the old place and another sequence's when it moved with it, follow it in one transaction; a sidecar that cannot be read or written then still has its row follow, and fails the step), then the files under the plan's journal in `journal/` (a sequence whose photos changed since, such as one still receiving them, or whose files are found changed or in use or have their new names taken keeps its file names, the renames being pinned by digest, and the step and the plan go on); the journal keeps the tally of the whole plan, and a plan its job held (paused, cancelled or failed) is left to that job, only its half-done file renames completed at an archive open, which completes any other plan an interruption left and tells each sequence changed; the file renames of a step: sidecar, a sequence whose sidecar cannot be read staying as it is with every folder around it, index (`FrameRepository.RenameFilesAsync`) and the sequence's journal), `SequenceFolders` (`Holds`: the folder the index has for a sequence is there and its sidecar names no other sequence; every writer into a sequence's folder asks it), `SequenceTrash` (delete into the archive's hidden trash with a dry run, restore; the folder moves back when the index step fails; lists sequence and photo entries; `SequenceTrash.Empty`: the emptying's dry run, fingerprint and erase, each entry checked against its fingerprint again under its lease, `TrashKept` with its `TrashKeptReason` for each entry kept; `SequenceTrash.Replaced`: where a replaced entry's conversions are, read from the archive's sidecars (in the index's or the entry's folder, in the trash, else by walking the archive) through their replaced tombstones, `TrashEntry.ConversionDeleted` in the dry run and its fingerprint, the erase weighed under the entry's and the sequence's leases once the sequence is settled; `BusyAsync`: what running and paused jobs hold, but the job asking), `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; a replaced entry swaps back while its converted frames are unchanged (`SwapBackAsync`); `FrameTrash.Replace`: the files of frames swapped in place, same ids and indices, the old files into one `Replaced` entry with their replacements' hashes, a copy of `analysis.json` and the job's id, the incoming files named never onto a file there, tombstones aliasing old content to new, under `.chronos/replace.pending.json` (its phase Line truncated
|
||||
| `Archiving` | `ArchiveService` (create/adopt/open, archive settings written to `archive.json` then the index, `ArchiveSettings.CheckTemplates` and `TemplateRuleException` holding a template given anew to the template rules; `UnderLeaseAsync`: a write under a sequence's lease with its row read under it), `ArchiveIndexer` (scan, rebuild; a sequence found in another folder takes its exports' paths along), `ArchiveIngest` (uploads and imports, named through `FrameNaming`; content a conversion replaced is a duplicate of the frame holding its conversion; a restore or a replacement not settled yet refuses the batch), `ImportService`, `ArchiveVerifier`, `ArchiveImages` (thumbnail and proxy passes, several photos at once through `OrderedWork`, which hands results back in frame order), `FrameTiers` (decode tier, `PreviewOnly`/`Undecodable` flags and preview size of frames, written to sidecar and index by the light analysis, deep analysis, renders and image passes), `GprCompanions` (the JPEG of each GoPro GPR, found in the index when an import kept it in another sequence), `ArchiveMaintenance` (also a conversion job's staging and journals, by the job's state; those of a job this index does not know go together, by age), `MassRenamer` (mass rename and Reorganize: the dry run reads each sidecar for a file template; each step checked under its leases before anything of it moves (where its sequences are, what is inside and at its new folder, a sidecar of a newer format, the title it was planned from when it changes it or names the folder or files after it), then the folder, with the sequences of the plan an earlier step left as they were inside it (taken along, their title and file names kept), every index row (the frame paths and render paths of the exports inside it, a file or an image-sequence folder, its own unless the export is still at the old place and another sequence's when it moved with it, follow it in one transaction; a sidecar that cannot be read or written then still has its row follow, and fails the step), then the files under the plan's journal in `journal/` (a sequence whose photos changed since, such as one still receiving them, or whose files are found changed or in use or have their new names taken keeps its file names, the renames being pinned by digest, and the step and the plan go on); the journal keeps the tally of the whole plan, and a plan its job held (paused, cancelled or failed) is left to that job, only its half-done file renames completed at an archive open, which completes any other plan an interruption left and tells each sequence changed; the file renames of a step: sidecar, a sequence whose sidecar cannot be read staying as it is with every folder around it, index (`FrameRepository.RenameFilesAsync`) and the sequence's journal), `SequenceFolders` (`Holds`: the folder the index has for a sequence is there and its sidecar names no other sequence; every writer into a sequence's folder asks it), `SequenceTrash` (delete into the archive's hidden trash with a dry run, restore; the folder moves back when the index step fails; lists sequence and photo entries; `SequenceTrash.Empty`: the emptying's dry run, fingerprint and erase, each entry checked against its fingerprint again under its lease, `TrashKept` with its `TrashKeptReason` for each entry kept; `SequenceTrash.Replaced`: where a replaced entry's conversions are, read from the archive's sidecars (in the index's or the entry's folder, in the trash, else by one `SidecarWalk` of the archive per dry run or emptying) through their replaced tombstones, a conversion deleted only on the archive's word (a tombstone, the trash, or an `ErasureRecord` in `trash/.erased/`, written when an emptying erases a deleted sequence a replaced entry still needs), `TrashEntry.ConversionDeleted` in the dry run and its fingerprint, the erase weighed under the entry's and the sequence's leases once the sequence is settled; `BusyAsync`: what running and paused jobs hold, but the job asking, from `JobRepository.ListHoldsAsync`), `FrameTrash` (photos of a sequence into `trash/photos` with a dry run, a journal that undoes an interrupted deletion whose entry stays unlisted until its sidecar is written, tombstones (a photo never hashed is hashed as it goes; one whose original is missing goes without a file or tombstone; a frame that stays and may be a twin is hashed, its hash kept), positions parked and placed back, proxies and thumbnails moved to follow their frames; `FrameTrash.Restore`: restore re-hashes each file and says why each kept photo stayed (`KeptReason`), under a journal of its own into the sequence that another writer settles only under the entry's lease, into a new sequence through the ingest when theirs is gone, each original staged inside its own entry and the record rewritten after each photo filed; a replaced entry swaps back while its converted frames are unchanged (`SwapBackAsync`); `FrameTrash.Replace`: the files of frames swapped in place, same iLine truncated
|
||||
| `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 through the aliases, settle conflicts, enqueue transfers), `SyncRules` (status, settings merge and differences, the proxies this PC can send, aliases followed; no I/O), `SyncTombstones` (photos either side removed are not offered back; the replaced tombstones of both sides join the encodings of one photo, union-find, each compared as the smallest SHA-256 among them, a deletion covering them all; immutable once made), `SyncPositions` (the settings' frame positions translated by photo to the frames of the copy they go to), `SyncLinkStore` (`sync_links`, `sync_state`), `SyncTransfers` and `SyncJobHandler` (resumable, hash-verified uploads and downloads as jobs; downloads commit through the archive ingest, and a frame missing here whose photo the server holds in another encoding takes that file through `FrameTrash.ReplaceMissingAsync`; job log lines from the catalog), `SyncAgent` (background comparison, server events, backoff, offline proxies), `ProxyCache` and `RemoteSequence` (server sequences opened with proxies), `ISyncRemote` (the server calls; `ChronosSyncRemote` over `ChronosClient`) |
|
||||
|
||||
@@ -117,7 +117,7 @@ Dependencies point one way: `Core` ← `Core.Windows`, `Data`, `Protocol` ← `S
|
||||
| `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, `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, keeps it while the archive is offline, tells each sequence changed as its step completes) | yes | yes |
|
||||
| `Convert` | `Archiving/Jobs/ConvertJobHandler` (mass conversion through `MassConverter`, `ConvertJobParameters`: the target, quality and mode, the sequences with their frames version, the digest and ids of the photos confirmed, and the fingerprint; targets are the sequences; settles what a crash left, refuses short space, converts each sequence all or nothing, the confirmed photos alone, resumes from its journal, tells each sequence `converted` or `created` and queues the passes it needs as it completes) | yes | yes (formats and files the server cannot decode natively are skipped: convert on a PC) |
|
||||
| `Convert` | `Archiving/Jobs/ConvertJobHandler` (mass conversion through `MassConverter`, `ConvertJobParameters`: the target, quality and mode, the sequences with their frames version and the digest of the photos confirmed, whose ids wait in `journal/convert-<job>.photos`, and the fingerprint; targets are the sequences; settles what a crash left, refuses short space, converts each sequence all or nothing, the confirmed photos alone, resumes from its journal, tells each sequence `converted` or `created` and queues the passes it needs as it completes) | yes | yes (formats and files the server cannot decode natively are skipped: convert on a PC) |
|
||||
| `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)
|
||||
@@ -167,7 +167,7 @@ A conversion (`MassConverter`) adds no writer of its own to a sequence's folder:
|
||||
archive's `staging/convert-<job>/`, then files them through the archive ingest (New sequence) or swaps them in through
|
||||
`FrameTrash.ReplaceAsync` (Replace), each under the sequence's lease, with the folder read from the index under it and
|
||||
its sidecar the sequence's (`SequenceFolders.Holds`, `SequenceWriter.ReadLocked`); the originals a Replace takes out go
|
||||
into the trash, never away. Its journals in `journal/` (`convert-<job>.json`, `.staged`, `.pins`) tell a resume, and
|
||||
into the trash, never away. Its journals in `journal/` (`convert-<job>.json`, `.staged`, `.pins`, `.photos`) tell a resume, and
|
||||
another host's maintenance, what the job did.
|
||||
|
||||
Sync (desktop ↔ server, BRIEF §14.5) reuses the same paths: `SyncService` compares the local index with the server's
|
||||
|
||||
+115
-56
@@ -426,9 +426,9 @@ 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; convert-<job>.json, .staged, .pins: a conversion (below; amended 2026-10-26, R7)
|
||||
│ ├── journal/ rename-<plan>.json: a mass rename or Reorganize being applied; convert-<job>.json, .staged, .pins, .photos: a conversion (below; amended 2026-10-26, R7)
|
||||
│ ├── staging/ copies an import is filing; convert-<job>/<sequence>/: the files a conversion made, until they take their place (below; amended 2026-10-26, R7)
|
||||
│ └── trash/ deleted sequences and photos, and originals a conversion replaced, kept until Empty (below; amended 2026-10-26, R6, R7)
|
||||
│ └── trash/ deleted sequences and photos, and originals a conversion replaced, kept until Empty; .erased/: what Empty erased that a replaced entry needs (below; amended 2026-10-26, R6, R7)
|
||||
├── 2026/
|
||||
│ └── 2026-09-28 Canon EOS R5 - Harbour sunset/ folder = expanded FolderTemplate
|
||||
│ ├── originals/ IMG_0001.CR2 … names = expanded FileTemplate
|
||||
@@ -468,6 +468,11 @@ Trash (amended 2026-10-26, R6). Nothing in it is erased except by *Empty* (§12.
|
||||
alone.
|
||||
- `trash/.erasing/`: entries moved aside by Empty before they are deleted, so a listing never
|
||||
sees half an entry; leftovers are deleted by the next Empty.
|
||||
- `trash/.erased/<sequence id>.json` (amended 2026-10-26, R7): the record that Empty erased a
|
||||
deleted sequence (its id, title, entry, when and by whom), written before the folder goes
|
||||
while a replaced entry of that sequence stays in the trash, and never while the sequence also
|
||||
lives (this index has it, or a folder's sidecar names it). Each Empty deletes the records no
|
||||
listed replaced entry needs. The trash never lists them.
|
||||
- In a sequence's `.chronos/`, `remove.pending.json` is written before a photo deletion's
|
||||
first move and `restore.pending.json` before a restore's; until the sidecar is written the
|
||||
entry's record is `<name>.json.pending`, which the trash never lists, restores or empties.
|
||||
@@ -485,11 +490,14 @@ Trash (amended 2026-10-26, R6). Nothing in it is erased except by *Empty* (§12.
|
||||
originals still hashes to its SHA-256 where the archive shows it now; of a conversion deleted
|
||||
since, every copy the trash still holds must hash to it, and with none left nothing keeps the
|
||||
entry. The archive is asked, never this host's index alone: the sequence's sidecar where the
|
||||
index or the entry says it is, in the trash, or found by walking the archive's folders,
|
||||
followed through its replaced tombstones. A conversion counts as deleted only when the
|
||||
sidecar shows it (a deleted tombstone, or its frame gone while every frame is hashed and no
|
||||
photo of the folder is unlisted), when the sequence is in the trash, or when no sidecar of it
|
||||
exists and the index has no row of it; whatever the archive cannot tell keeps the entry.
|
||||
index or the entry says it is, in the trash, or found by walking the archive's folders (once
|
||||
per dry run or Empty, again only for a sequence no longer where the walk found it), followed
|
||||
through its replaced tombstones. A conversion counts as deleted only on the archive's own
|
||||
word: a deleted tombstone ending its chain in the sequence's sidecar, the sequence in the
|
||||
trash, or the trash's record of erasing the sequence (`.erased/`), which outweighs a stale
|
||||
row of this index but not a live sidecar. Anything else keeps the entry: a sidecar that holds
|
||||
none of the conversion and no tombstone of it (one rebuilt by adoption), a sequence found
|
||||
nowhere with no erasure record (the walk may have skipped its folder), a frame never hashed.
|
||||
|
||||
Deleting photos writes the sidecar without them (frames version + 1) and with a tombstone of
|
||||
each SHA-256 no photo that stays holds, and clears what covered the frames (light and deep
|
||||
@@ -537,6 +545,10 @@ step being one sequence and the sequences nested in a folder that moves with it:
|
||||
|
||||
Conversion (amended 2026-10-26, R7; §8.7, §12.5, §14.8) writes over no original: Replace
|
||||
moves each original into the trash, New sequence leaves it where it is.
|
||||
- The photos a confirmation lists are written whole, before its job is queued, into
|
||||
`journal/convert-<job>.photos` (one line per sequence, each frame id in plan order); the job
|
||||
record keeps each sequence's digest alone, so it grows with the sequences, not the photos.
|
||||
Without that file the job holds each sequence to its whole plan made again (the same digest).
|
||||
- A `convert` job takes one sequence at a time. Under the sequence's lease, its sidecar settled
|
||||
where the index has it then, it plans the sequence again and goes on only while the photos the
|
||||
confirmed plan listed are there with the content confirmed; it pins them in
|
||||
@@ -546,12 +558,20 @@ moves each original into the trash, New sequence leaves it where it is.
|
||||
- Stage A, without the lease: each original is re-hashed against its record, converted and
|
||||
verified (§8.7) into `staging/convert-<job>/<sequence>/`, several at once, and each staged file
|
||||
is appended to `journal/convert-<job>.staged`; `journal/convert-<job>.json` records what each
|
||||
sequence came to and whether the passes it needs were queued. A resumed or retried job keeps
|
||||
the staged files whose SHA-256 still verifies, settles a replacement a crash left half-way,
|
||||
and takes a sequence it had replaced already as converted.
|
||||
sequence came to and whether the passes it needs were queued. Before each photo the free space
|
||||
must hold it and every photo started whose converted file has not landed yet (a file lands
|
||||
whole, by a rename, before it is verified). A resumed or retried job keeps the staged files
|
||||
whose SHA-256 still verifies, settles a replacement a crash left half-way, and takes a
|
||||
sequence it had replaced already as converted.
|
||||
- Stage B, under the lease and while every photo pinned still holds its content, all or
|
||||
nothing: Replace swaps the files of the frames (next point); New sequence files the converted
|
||||
copies into a new sequence through the archive ingest (§12.5).
|
||||
copies into a new sequence through the archive ingest (§12.5), and the journal names that copy
|
||||
as soon as its photos are filed. A retry or resume finishes the copy it named (or finds by its
|
||||
session key) once that copy holds every pinned photo, whatever changed in the source since; it
|
||||
never remakes a copy deleted since (the sequence is then changed: plan again). A source that
|
||||
another conversion copied in the same format after this one was confirmed gets no copy
|
||||
(outcome superseded, in the job's log) once that conversion is done; while it is not, the
|
||||
sequence is left for the retry.
|
||||
- A Replace, and the undo of one, writes `replace.pending.json` in the sequence's `.chronos/`
|
||||
first. Each swapped frame's original and its XMP companions go into one trash entry of kind
|
||||
replaced; each converted file comes in under the name filing gives a photo of the sequence
|
||||
@@ -629,7 +649,7 @@ One naming rule for import, upload and Reorganize (amended 2026-10-26, R7):
|
||||
|---|---|---|---|---|
|
||||
| JPEG | jpg jpeg jpe jfif | APP1 Exif/XMP, MPF | WIC or managed | managed (baseline + progressive) |
|
||||
| PNG | png | eXIf, iTXt XMP | WIC or managed | managed |
|
||||
| TIFF | tif tiff | IFDs | WIC or managed | managed (strips/tiles; none/PackBits/LZW/Deflate/JPEG; gray, RGB and linear RAW samples only: a CMYK, CIELab or palette TIFF is unavailable, never read as gray; amended 2026-10-26, R7) |
|
||||
| TIFF | tif tiff | IFDs | WIC or managed (never WIC for a compression it does not decode, a floating-point predictor or 32-bit integer samples, which it reads as black or noise; amended 2026-10-26, R7) | managed (strips/tiles; none/PackBits/LZW/Deflate/JPEG; gray, RGB and linear RAW samples only: a CMYK, CIELab or palette TIFF is unavailable, never read as gray; amended 2026-10-26, R7) |
|
||||
| DNG (smartphones: Apple ProRAW, Android, Samsung; DJI; Insta360; Leica; Pentax; Ricoh; GoPro files converted by Adobe software) | dng | IFDs, MakerNote | managed full decode (amended 2026-10-16, R4) | managed full decode |
|
||||
| Canon | cr2 cr3 | cr2: TIFF; cr3: ISO-BMFF `CMT1..4` | WIC (Raw ext.) → managed CR2 (P1) → embedded preview | managed CR2 (P1) → embedded full-size JPEG (CR3 track 1) |
|
||||
| Nikon | nef nrw | TIFF | WIC → managed NEF (P1) → preview | managed NEF (P1) → preview |
|
||||
@@ -686,8 +706,10 @@ dims, delta), `WhiteLevel`, `AsShotNeutral`/`AsShotWhiteXY`, `ColorMatrix1/2` +
|
||||
2026-10-26, R7).
|
||||
- `IccProfile` (amended 2026-10-26, R7): ICC profiles read and written (matrix/TRC and gray,
|
||||
`curv`/`para` curves, `desc`/`mluc` text), an in-house Adobe RGB (1998)-compatible and a
|
||||
Display P3 profile, and what a photo's headers say of its colour space (JPEG APP2, PNG
|
||||
iCCP/sRGB, TIFF tag 34675, HEIF/AVIF `colr`, WebP ICCP, Exif ColorSpace and Interop).
|
||||
Display P3 profile, the profiles a conversion makes for the values it writes (a profile's
|
||||
colorants with the sRGB curve, a gray curve as RGB), and what a photo's headers say of its
|
||||
colour space (JPEG APP2, PNG iCCP/sRGB, TIFF tag 34675, HEIF/AVIF `colr`, WebP ICCP, Exif
|
||||
ColorSpace and Interop).
|
||||
- `GifEncoder` (animated; median-cut palette + Floyd–Steinberg; frame differencing).
|
||||
- `ApngEncoder`.
|
||||
- `AviMjpegWriter` (RIFF AVI with `MJPG`, OpenDML index for > 2 GB).
|
||||
@@ -727,28 +749,54 @@ quality 1–100, default 95), a 16-bit TIFF (RGB, Deflate with the predictor) or
|
||||
takes a RAW through a decoder that develops it at 8 bits (WIC's Raw Image Extension): such a
|
||||
RAW converts to JPEG only. The server decodes with the managed decoders alone, so it converts
|
||||
no CR3, HEIC or RAW body its developer does not support, nor a CMYK, CIELab or palette TIFF,
|
||||
an unsupported compression or a file past their size limits: its dry run says to convert
|
||||
those photos on a PC, which reads them through WIC.
|
||||
an unsupported compression or a file past their size limits: its dry run says to convert those
|
||||
photos on a PC, which reads them through WIC. A photo another host flagged unreadable is asked
|
||||
again where the conversion has other decoders (WIC on a PC) and planned when they decode it at
|
||||
full resolution; a corrupt one stays out everywhere. WIC is never used for a TIFF whose
|
||||
compression is not 1–5, 7, 8, 32773 or 32946, whose predictor is other than none or the
|
||||
horizontal one on integer samples, or whose integer samples exceed 16 bits (WIC gives black or
|
||||
noise for them without an error), in conversions and in every other desktop decode: the
|
||||
managed reader takes it, or it is unavailable. A conversion's WIC probe reads the file's headers (the decoder, the
|
||||
first frame's upright size, the pixel format), so the size bounds apply to what only WIC
|
||||
reads; a file it cannot open is missing or held, never unreadable.
|
||||
- A linear DNG keeps what a RAW develops: the values are stored in linear ProPhoto primaries
|
||||
(colours outside sRGB stay positive), divided by the power of two, at most 2^4, that brings
|
||||
their peak under white, which BaselineExposure gives back; ColorMatrix1 and ForwardMatrix1
|
||||
describe that space (illuminant D65, AsShotNeutral 1/1/1). The as-shot white balance is baked
|
||||
in and values below black are clipped. An export's DNG stays clipped linear sRGB (§11.3).
|
||||
- Colour: the colour space the original's values are in is kept. A JPEG or TIFF carries the
|
||||
original's ICC profile with its code values unchanged (a float TIFF's linear values are coded
|
||||
with the profile's own curves); a DNG gets the values converted through a matrix/TRC profile
|
||||
(an sRGB one, told by its numbers, needs nothing); a gray profile converts to sRGB. Exif Adobe
|
||||
RGB (uncalibrated with Interop R03) and a HEIF nclx box with P3 primaries get the in-house
|
||||
profiles. A space none of that keeps (CMYK, Lab, a lookup-table profile into a DNG, Exif
|
||||
uncalibrated without R03, other nclx primaries or an HDR transfer, a profile that does not
|
||||
parse) is not converted. A photo that records none is sRGB.
|
||||
- Colour: what Chronos reads from a photo never changes. Its decoders read no profile: they take
|
||||
code values through the sRGB curve and a float TIFF's values as they are. A converted file
|
||||
holds the values they read from the original, as they read them back, within what the target
|
||||
holds (a JPEG or TIFF-16 holds 0..1 and clips beyond; a DNG up to 4 stops above white), and
|
||||
says truthfully what those values are:
|
||||
- A JPEG or TIFF-16 keeps the codes of an RGB profile's code values and carries that profile.
|
||||
Float values are written as sRGB codes with a profile made for them: the original's
|
||||
colorants and media white with the sRGB curve ("<description> (sRGB curve)"). A lookup-table
|
||||
profile named sRGB is carried; other float values in a lookup-table profile are refused. A
|
||||
gray profile's codes are kept, its curve carried as an RGB profile with sRGB's colorants
|
||||
("<description> (RGB)"); linear gray needs no profile.
|
||||
- A linear DNG, whose matrices Chronos develops it with too, takes only values that are sRGB's
|
||||
as read: no profile, an sRGB profile, float values in sRGB's primaries whatever the curve,
|
||||
linear gray, gray codes on the sRGB curve. Any other profile (Adobe RGB, Display P3,
|
||||
ProPhoto, a gamma-1.0 profile's code values) is refused as `color_profile`; TIFF-16 and JPEG
|
||||
convert those photos with their profile.
|
||||
- A matrix/TRC profile is sRGB by its numbers (its matrix within 2e-3 of sRGB's, its curves
|
||||
within 2e-3 of the sRGB curve), by its name only when it has no colorant tags at all; one
|
||||
whose colorants convert nothing, or that has no curves, is never sRGB.
|
||||
- Exif Adobe RGB (uncalibrated with Interop R03) and a HEIF nclx box with P3 primaries get the
|
||||
in-house profiles. Refused for every target: CMYK, Lab and other non-RGB profiles, Exif
|
||||
uncalibrated without R03, other nclx primaries or an HDR transfer, a profile that does not
|
||||
parse. A photo that records no colour space is sRGB.
|
||||
- Damaged values: a photo whose decoded pixels hold NaN or infinite values fails as damaged
|
||||
data, and nothing is written.
|
||||
- Metadata: capture time (to the tick), offset, exposure, f-number, ISO, focal length, bias and
|
||||
white balance from the sidecar; camera, serial, lens, 35 mm focal length, exposure program,
|
||||
metering mode, flash, GPS, artist and copyright from the original, the sequence's camera and
|
||||
lens where it names none. MakerNote and XMP are not carried; the orientation is 1.
|
||||
- Size: a photo is not converted when the target cannot hold it (a JPEG side above 65535) or
|
||||
the server's decoders could not read it back (a JPEG above 2^28 pixels; a TIFF-16 or DNG
|
||||
above 2^29 samples, about 179 MP).
|
||||
above 2^29 samples, about 179 MP). Sizes are weighed without overflow, so a damaged header's
|
||||
absurd size is too large, never a wrapped number.
|
||||
- Each converted file is hashed as it is made and written atomically, then read back (the same
|
||||
size and SHA-256), its metadata read again (format, capture time and offset) and decoded by
|
||||
the server's decoders at full resolution and size; a file that fails any of these is deleted
|
||||
@@ -1124,10 +1172,14 @@ Originals a conversion replaced (amended 2026-10-26, R7; §7) are listed as *Rep
|
||||
originals*. *Restore* swaps them back into their sequence while its converted frames are
|
||||
unchanged, the conversions going to the trash in turn, and otherwise brings them back as a
|
||||
new sequence. *Empty…*'s list names first, wherever the trash lists them, the entries whose
|
||||
conversion was deleted since (*conversion deleted*: they may hold the last copy of their
|
||||
photos), the others filling its six lines and the rest counted. The job keeps, each logged
|
||||
with why, an entry changed since the plan, one whose sequence is busy, one whose conversion
|
||||
no longer matches, and one whose conversion the archive cannot locate (a scan settles it).
|
||||
conversion the archive itself shows deleted since (§7; *conversion deleted*: they may hold the
|
||||
last copy of their photos), the others filling its six lines and the rest counted. The job
|
||||
keeps, each logged with why and what settles it, an entry changed since the plan, one whose
|
||||
sequence is busy, one whose conversion no longer matches, one with a photo never verified
|
||||
(verify the sequence), one where a sidecar that may hold the sequence is missing or
|
||||
unreadable (scan the archive), one whose sequence the index lists but the archive no longer
|
||||
holds (rebuild the index), and one whose conversion's fate the archive does not show (restore
|
||||
it to keep its photos; a frame missing or corrupt, which no verify hashes, counts here).
|
||||
|
||||
*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
|
||||
@@ -1187,14 +1239,15 @@ admin panel offers the same (§14.8), through the same engine and job.
|
||||
before → after (an estimate), the photos that stay as they are and why (already in that
|
||||
format; a format this computer cannot read at full resolution; read only from an embedded
|
||||
preview; a RAW developed here at 8 bits only, for a 16-bit format; a colour profile the format
|
||||
can neither keep nor convert; larger than the format holds; unreadable; missing; never
|
||||
verified; held open by another program or not openable), or why the whole sequence stays (a
|
||||
job works on it, or a conversion of it waits; the archive offline or read-only; its sequence
|
||||
file unreadable). With New sequence, the photos a copied sequence skips are *not copied* into
|
||||
its new one. A summary ("12 of 36 change · 3,600 photos · 41 GB → 32 GB · 20 skipped") and the
|
||||
space line follow ("Needs 12 GB, free 340 GB": the estimate with a 15 % margin and a 512 MiB
|
||||
reserve, against the free space where the conversion writes); a volume without the space
|
||||
blocks Apply. The mode does not change what converts, so choosing it plans nothing again.
|
||||
cannot keep, for a linear DNG any but sRGB (§8.7); larger than the format holds or Chronos
|
||||
reads back; unreadable; missing; never verified; held open by another program or not
|
||||
openable), or why the whole sequence stays (a job works on it, or a conversion of it waits;
|
||||
the archive offline or read-only; its sequence file unreadable). With New sequence, the photos
|
||||
a copied sequence skips are *not copied* into its new one. A summary ("12 of 36 change · 3,600
|
||||
photos · 41 GB → 32 GB · 20 skipped") and the space line follow ("Needs 12 GB, free 340 GB":
|
||||
the estimate with a 15 % margin and a 512 MiB reserve, against the free space where the
|
||||
conversion writes); a volume without the space blocks Apply. The mode does not change what
|
||||
converts, so choosing it plans nothing again.
|
||||
- *Apply* (enabled for the dry run of the choices on screen when it converts something and the
|
||||
space is there, once a mode is chosen, which is asked last) asks a Replace to type the number
|
||||
of photos it replaces, and confirms a New sequence with how many photos the new sequences
|
||||
@@ -1204,16 +1257,19 @@ admin panel offers the same (§14.8), through the same engine and job.
|
||||
- The job (desktop and server) converts one sequence at a time, all or nothing: the photos the
|
||||
dry run listed alone, each only while it holds the content confirmed; photos received since
|
||||
stay as they are. It checks the free space before it starts, before each sequence and before
|
||||
each photo, and stops before the volume fills. Paused, resumed or retried in Jobs, it keeps
|
||||
what it converted. A sequence whose confirmed photos changed is left as it is, and a retry
|
||||
leaves it too (plan again); one busy, moved away by another program or with a photo held open
|
||||
waits for the retry; one with a photo that cannot be converted is left as it was, what it
|
||||
converted kept for the retry. The job's log says each, and the job fails at the end saying
|
||||
how many.
|
||||
each photo (counting every photo still being written), and stops before the volume fills.
|
||||
Paused, resumed or retried in Jobs, it keeps what it converted. A sequence whose confirmed
|
||||
photos changed is left as it is, and a retry leaves it too (plan again); one busy, moved away
|
||||
by another program or with a photo held open waits for the retry; one with a photo that cannot
|
||||
be converted is left as it was, what it converted kept for the retry. The job's log says each,
|
||||
and the job fails at the end saying how many.
|
||||
- New sequence: titled "title (JPEG|TIFF|DNG)", in a folder from the archive's template, its
|
||||
photos named as filing names them, owned as its source is, with its source's tags, rating,
|
||||
notes and project (the positions on photos it lacks wait as pending frames). It holds the
|
||||
converted copies alone; the job log says how many photos stayed in the source alone.
|
||||
converted copies alone; the job log says how many photos stayed in the source alone. A retry
|
||||
finishes the copy the job made and never makes a second; a source another conversion copied
|
||||
in the same format since this one was confirmed gets no copy (the job log says so), and waits
|
||||
for the retry while that conversion has not finished.
|
||||
- When a Replace job ends, its toast offers *Undo* (once, never from the Windows notification):
|
||||
the replaced entries that job made go back (swapped back, or as a new sequence for one that
|
||||
changed since). Later, *Trash…* › *Restore* does the same, and the admin panel's trash view
|
||||
@@ -1552,13 +1608,14 @@ Convert (amended 2026-10-26, R7; ManageArchive; §7, §8.7, §12.5, §14.8):
|
||||
the estimate × 1.15 plus 512 MiB, counted in both modes, against the free space where the
|
||||
conversion writes (the tighter of the space path's volume and the archive's own, §14.9).
|
||||
- The change sends the dry run's fingerprint back and answers 202 with the `convert` job, whose
|
||||
parameters name each sequence's photos and their digest. Errors: 400 `bad_request`
|
||||
(`sequenceIds`, `target`, `quality`, `mode`, `fingerprint`); 404 `not_found` (`sequence`);
|
||||
409 `plan_changed` (details: the fingerprint now; none when a conversion of these sequences
|
||||
was queued meanwhile), `nothing_to_convert`, `not_enough_space` (details: the bytes needed),
|
||||
`job_unavailable`; 503 `archive_offline`, `plan_dropped`. Audited `archive_converted`
|
||||
(sequences · photos · target · mode). The job publishes `sequenceChanged` `converted` for each
|
||||
sequence whose frames it replaced and `created` for each new sequence, as each one completes.
|
||||
parameters name each sequence's digest (its photos are kept beside the job's journal, §7).
|
||||
Errors: 400 `bad_request` (`sequenceIds`, `target`, `quality`, `mode`, `fingerprint`); 404
|
||||
`not_found` (`sequence`); 409 `plan_changed` (details: the fingerprint now; none when a
|
||||
conversion of these sequences was queued meanwhile), `nothing_to_convert`, `not_enough_space`
|
||||
(details: the bytes needed), `job_unavailable`; 503 `archive_offline`, `plan_dropped`. Audited
|
||||
`archive_converted` (sequences · photos · target · mode). The job publishes `sequenceChanged`
|
||||
`converted` for each sequence whose frames it replaced and `created` for each new sequence, as
|
||||
each one completes.
|
||||
- The fingerprint is a SHA-256 of the options, the mode, and each sequence with its frames
|
||||
version, its photos' count and bytes, their digest (each frame id with the SHA-256 of its
|
||||
content), what it skips and what blocks it.
|
||||
@@ -1703,7 +1760,8 @@ this PC converted makes the proxy of the server's original). A download for a fr
|
||||
missing here whose photo the server holds only in another encoding puts that file in the
|
||||
frame's place (the same id, nothing to the trash, a replaced tombstone linking the two), after
|
||||
the transfers and only in the folder the index has for the sequence, and queues the passes the
|
||||
swap cleared; a frame that changed meanwhile keeps its place and the copy is dropped.
|
||||
swap cleared even when the job is stopped meanwhile; a frame that changed meanwhile keeps its
|
||||
place and the copy is dropped.
|
||||
|
||||
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
|
||||
@@ -1965,9 +2023,10 @@ Convert (amended 2026-10-26, R7), the panel's way to the Convert of §12.5 throu
|
||||
`plan_dropped`, `not_enough_space` and `nothing_to_convert` show the new plan and the button
|
||||
waits; a request that got no answer is not sent again, as its job may be queued (the Jobs
|
||||
page says).
|
||||
- The trash view lists replaced originals as *Replaced*, whose *Restore* swaps the originals back
|
||||
in place of their conversions while those are unchanged, else restores them into a new
|
||||
sequence. *Empty…* lists first the entries whose conversion was deleted, each saying so.
|
||||
- The trash view lists replaced originals as *Replaced*, whose *Restore* swaps the originals
|
||||
back in place of their conversions while those are unchanged, else restores them into a new
|
||||
sequence. *Empty…* lists first the entries whose conversion the archive shows deleted, each
|
||||
saying so.
|
||||
- The audit log and the Dashboard read "… queued a conversion · N sequences · M photos ·
|
||||
format · mode".
|
||||
|
||||
@@ -2476,7 +2535,7 @@ questions asked and the answers; DECISIONS rows give the reasons.
|
||||
| 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); a sequence of the plan left as it was inside a moving folder goes with it; 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, never create a left one again and never write into a folder another sequence took; `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. |
|
||||
| 2026-10-26 | Owner review 2, R7 (conversion) | §5, §7, §8.1, §8.3, §8.7, §9, §12.2, §12.4, §12.5, §13, §14.3, §14.4, §14.5, §14.8, §14.9 | Convert after import on the desktop (the Archive manager's set, the Library's selection) and the admin panel (the Library's selection): JPEG with a quality, TIFF-16 or linear DNG (the archival choice, scene-referred so a RAW's highlights above white and colours outside sRGB survive), Replace or New sequence chosen at every run and never remembered, behind a dry run that lists each sequence's photos, sizes and the photos that stay as they are with why, and the free space where the conversion writes; Replace confirmed by typing; the `convert` job (stored as 19) converts exactly the photos confirmed, one sequence at a time and all or nothing, resumable through its journals and staging, never twice at once; full-resolution decodes only (the managed decoders first, never a 16-bit file from an 8-bit RAW development; the server leaves what it cannot read to a PC), colour profiles kept, Exif carried, every file verified by the server's decoders; Replace swaps the files of the frames in place under a crash-safe journal, the originals going into a replaced trash entry that Undo or Restore swaps back and that Empty erases only while the archive on disk shows each conversion intact, or deleted; import still copies byte for byte and the card keeps a converted photo's copy; sync and the ingest count every encoding of a photo as one; `POST /api/v1/archive/convert` with the plan cache it shares with Reorganize, `sequenceChanged` `converted` and `created`, the audit `archive_converted`. |
|
||||
| 2026-10-26 | Owner review 2, R7 (conversion) | §5, §7, §8.1, §8.3, §8.7, §9, §12.2, §12.4, §12.5, §13, §14.3, §14.4, §14.5, §14.8, §14.9 | Convert after import on the desktop (the Archive manager's set, the Library's selection) and the admin panel (the Library's selection): JPEG with a quality, TIFF-16 or linear DNG (the archival choice, scene-referred so a RAW's highlights above white and colours outside sRGB survive), Replace or New sequence chosen at every run and never remembered, behind a dry run that lists each sequence's photos, sizes and the photos that stay as they are with why, and the free space where the conversion writes; Replace confirmed by typing; the `convert` job (stored as 19) converts exactly the photos confirmed, one sequence at a time and all or nothing, resumable through its journals and staging, never twice at once; full-resolution decodes only (the managed decoders first, never a 16-bit file from an 8-bit RAW development; the server leaves what it cannot read to a PC), what Chronos reads from a photo never changed (profiles carried, a linear DNG of sRGB values only), Exif carried, every file verified by the server's decoders; Replace swaps the files of the frames in place under a crash-safe journal, the originals going into a replaced trash entry that Undo or Restore swaps back and that Empty erases only while the archive on disk shows each conversion intact, or deleted on its own word (a tombstone, the trash, an erasure record); import still copies byte for byte and the card keeps a converted photo's copy; sync and the ingest count every encoding of a photo as one; `POST /api/v1/archive/convert` with the plan cache it shares with Reorganize, `sequenceChanged` `converted` and `created`, the audit `archive_converted`. |
|
||||
|
||||
## Appendix A — `CLAUDE.md` content (create verbatim in Phase 0, keep updated)
|
||||
|
||||
|
||||
+52
-31
@@ -19,19 +19,30 @@ commits follow Conventional Commits (release notes are generated from them by `C
|
||||
resolution, which the server answers with "convert these photos on a PC", read only from a preview, a RAW this
|
||||
computer develops at 8 bits only, a colour profile the format cannot keep, too large, unreadable, missing, never
|
||||
verified, held open by another program), the sequences left as they are (busy, offline, unreadable) and the free
|
||||
space the conversion needs. With New sequence it says which photos each new sequence lacks. Replace asks you to type
|
||||
the number of photos (desktop) or the word "replace" (admin panel); New sequence asks a confirmation that counts the
|
||||
photos not copied.
|
||||
space the conversion needs. A PC asks its own decoders again about a photo the server found unreadable (a CMYK
|
||||
TIFF), so it converts what it reads. With New sequence it says which photos each new sequence lacks. Replace asks
|
||||
you to type the number of photos (desktop) or the word "replace" (admin panel); New sequence asks a confirmation
|
||||
that counts the photos not copied.
|
||||
- A *Convert* job then converts exactly the photos the dry run listed, one sequence at a time and all or nothing:
|
||||
photos uploaded meanwhile stay as they are, and a sequence whose photos changed since is left as it is and named in
|
||||
the job's log. Pause, resume and retry it in Jobs: it keeps what it converted, resumes after a crash, checks the
|
||||
free space as it goes and stops before the volume fills. A second conversion of the same sequences is refused while
|
||||
the first waits or runs.
|
||||
free space as it goes (counting every photo still being written) and stops before the volume fills. A second
|
||||
conversion of the same sequences is refused while the first waits or runs. A retried New sequence conversion
|
||||
finishes the copy it already made and never makes a second one; a source another conversion copied in the same
|
||||
format since this one was confirmed gets no copy (the job's log says so), and while that other conversion has not
|
||||
finished, the source waits for its retry.
|
||||
- Every photo is decoded at full resolution only, never from an embedded preview, by Chronos' own decoders wherever
|
||||
they read it (RAWs developed at full precision, the same on every computer), and keeps its colour profile and its
|
||||
metadata (capture time to the tick, camera, lens, exposure, GPS); every converted file is read back and decoded by
|
||||
the server's decoders before it is kept. A linear DNG keeps a RAW's highlights above white (up to 4 stops, in
|
||||
BaselineExposure) and its colours outside sRGB (ProPhoto primaries).
|
||||
they read it (RAWs developed at full precision, the same on every computer), and keeps its metadata (capture time
|
||||
to the tick, camera, lens, exposure, GPS); every converted file is read back and decoded by the server's decoders
|
||||
before it is kept. A linear DNG keeps a RAW's highlights above white (up to 4 stops, in BaselineExposure) and its
|
||||
colours outside sRGB (ProPhoto primaries).
|
||||
- A conversion never changes what Chronos shows of a photo: the converted file decodes to the values the original
|
||||
decoded to, within what the format holds. A JPEG or TIFF-16 keeps the photo's values and carries its colour profile; a float TIFF's values get a
|
||||
profile made for them, with the original's primaries, and a gray profile's tones are kept. A linear DNG takes only
|
||||
photos whose values are sRGB as Chronos reads them (RAWs, photos without a profile, sRGB): photos in Adobe RGB
|
||||
(camera JPEGs tagged so included), Display P3 (HEIC), ProPhoto or a gamma-1.0 profile stay as they are, with "a
|
||||
colour profile the format cannot keep"; TIFF-16 and JPEG convert them with their profile. A file whose pixels hold
|
||||
values that are not numbers fails as damaged and nothing is written.
|
||||
- Desktop: *Convert…* in the Archive manager's set bar and in the Library's mass bar (the sequences of one archive).
|
||||
When a Replace job ends, its toast offers *Undo*, which brings back the originals that job replaced.
|
||||
- Admin panel: *Convert…* in the Library's selection bar (up to 1,000 sequences, or every sequence after *Select all*
|
||||
@@ -39,9 +50,10 @@ commits follow Conventional Commits (release notes are generated from them by `C
|
||||
asked again until it is ready.
|
||||
- The archive's trash lists the originals a conversion replaced as their own kind: *Restore* puts them back in place
|
||||
of their conversions while those are unchanged (the conversions then go to the trash), otherwise as a new sequence.
|
||||
*Empty…* erases them only while each conversion still matches where the archive holds it now; originals whose
|
||||
conversion was deleted are named first in its confirmation ("conversion deleted"), since they may be the last copy
|
||||
of their photos.
|
||||
*Empty…* erases them only while each conversion still matches where the archive holds it now. A conversion counts
|
||||
as deleted only when the archive says so (a deletion recorded in its sequence's sidecar, the sequence in the trash,
|
||||
or the trash's record of erasing that sequence); such originals are named first in its confirmation ("conversion
|
||||
deleted"), since they may be the last copy of their photos. Whatever the archive cannot tell keeps the entry.
|
||||
- API v1: `POST /api/v1/archive/convert` (archive administrators): a dry run with the plan, its space line and its
|
||||
fingerprint, then the `convert` job (202) of exactly that plan; 409 `plan_changed`, `nothing_to_convert`,
|
||||
`not_enough_space`; 503 `plan_dropped` when the server let the plan go. The server keeps a dry run a few minutes,
|
||||
@@ -51,22 +63,22 @@ commits follow Conventional Commits (release notes are generated from them by `C
|
||||
- Known limitations: a photo that cannot be converted although the dry run listed it (a damaged RAW whose headers read
|
||||
well) leaves its whole sequence as it was, while the other sequences convert, and the job's retry fails the same
|
||||
way; a decode larger than the computer's memory stops the job itself at every retry, before the sequences after it
|
||||
(converted photos are capped at 268 MP for JPEG and about 179 MP for TIFF-16 and DNG, which makes it rare); on a PC,
|
||||
WIC decodes a TIFF whose compression it does not know as a black picture without an error, so such a file converts
|
||||
to black (with Replace, *Undo* or *Restore* brings the original back until the trash is emptied), and a file only
|
||||
WIC reads whose size the index does not know is found too large only when it converts; a damaged file that still
|
||||
decodes (a truncated TIFF strip, a corrupt JPEG scan) converts as the partial picture its decoder gives; a PNG's
|
||||
gamma and primaries without an embedded profile, JPEG XL, JPEG XR, BMP and GIF, and Exif colour spaces other than
|
||||
sRGB, Adobe RGB and uncalibrated are taken as sRGB; a linear DNG keeps the as-shot white balance baked in and
|
||||
clips noise below black; MakerNote and XMP are not carried; the server's kept dry run does not see a change made on
|
||||
disk alone (a photo another program held stays listed as held for up to 5 minutes, unless the index changes), and
|
||||
the job then converts only the photos the dry run listed, each only while it holds the content confirmed; a
|
||||
conversion of every sequence of an archive that keeps receiving uploads may never be confirmed, as each upload
|
||||
changes the plan; of two confirmations of the same sequences at once the second is refused with `plan_changed`;
|
||||
an emptying's dry run lists as erasable an entry the job then keeps (its conversion changed or cannot be located,
|
||||
its sequence busy), and the job says why and fails at the end; erasing replaced originals holds their sequence while
|
||||
every conversion is re-hashed; the desktop's *Undo* lives in the toast of the job's end only: later, after a
|
||||
restart, or for a conversion the server ran, *Restore* in the trash brings the originals back.
|
||||
(converted photos are capped at 268 MP for JPEG and about 179 MP for TIFF-16 and DNG, which makes it rare); a
|
||||
damaged file that still decodes (a truncated TIFF strip, a corrupt JPEG scan) converts as the partial picture its
|
||||
decoder gives; a read error while the dry run reads the headers of a TIFF, a DNG or a TIFF-based RAW lists that
|
||||
photo as needing a PC, preview-only or unreadable rather than held open (it stays as it is); JPEG and TIFF-16 clip a
|
||||
float TIFF's values above white and below black; a PNG's gamma and primaries without an embedded profile, JPEG XL,
|
||||
JPEG XR, BMP and GIF, and Exif colour spaces other than sRGB, Adobe RGB and uncalibrated are taken as sRGB; a linear
|
||||
DNG keeps the as-shot white balance baked in and clips noise below black; MakerNote and XMP are not carried; the
|
||||
server's kept dry run does not see a change made on disk alone (a photo another program held stays listed as held
|
||||
for up to 5 minutes, unless the index changes), and the job then converts only the photos the dry run listed, each
|
||||
only while it holds the content confirmed; a conversion of every sequence of an archive that keeps receiving uploads
|
||||
may never be confirmed, as each upload changes the plan; of two confirmations of the same sequences at once the
|
||||
second is refused with `plan_changed`; an emptying's dry run lists as erasable an entry the job then keeps (its
|
||||
conversion changed, never verified or not located, its sequence busy), and the job says why and fails at the end;
|
||||
erasing replaced originals holds their sequence while every conversion is re-hashed; the desktop's *Undo* lives in
|
||||
the toast of the job's end only: later, after a restart, or for a conversion the server ran, *Restore* in the trash
|
||||
brings the originals back.
|
||||
|
||||
### Changed
|
||||
- Import still copies every photo byte for byte and converts nothing. Deleting imported photos from a card keeps, and
|
||||
@@ -78,9 +90,12 @@ commits follow Conventional Commits (release notes are generated from them by `C
|
||||
- Exif written by Chronos (proxies, exports, converted photos) includes the exposure program, metering mode, flash
|
||||
and white balance when known.
|
||||
- Server: Reorganize's and Convert's dry runs share one plan cache, two made at once and eight kept across both.
|
||||
- Emptying the trash says in its job log why it kept each entry: changed after the plan, its sequence busy, a
|
||||
conversion that no longer matches, or one that cannot be located (scan the archive).
|
||||
- Desktop: a confirmation with a long list scrolls it, so its buttons stay on screen.
|
||||
- Emptying the trash says in its job log why it kept each entry and what settles it: changed after the plan, its
|
||||
sequence busy, a conversion that no longer matches, a photo never verified (verify the sequence), a sidecar missing
|
||||
or unreadable (scan the archive), an index row the archive does not bear out (rebuild the index), or a conversion
|
||||
whose fate the archive does not show (restore the entry to keep its photos).
|
||||
- Desktop: a confirmation with a long list scrolls it, so its buttons stay on screen; Tab reaches the list, which
|
||||
then scrolls with the arrow, page and Home/End keys.
|
||||
- **Upgrade:** there is no migration: the index stays at schema 8, and earlier versions keep the sidecar fields
|
||||
conversions write (`frames[].source`, tombstones of reason `replaced`). Undo conversions before going back to an
|
||||
older version: it cannot swap replaced originals back (its *Restore* keeps them in the trash) nor settle a
|
||||
@@ -93,6 +108,12 @@ commits follow Conventional Commits (release notes are generated from them by `C
|
||||
error.
|
||||
- Sync's job log lines (a photo missing, changed, deleted on this PC or on the server, frames without a proxy or
|
||||
thumbnail on the server) are in your language; they were English in every language.
|
||||
- On a PC, TIFFs that WIC decodes wrongly without an error (a compression it does not know, such as ZSTD or JPEG
|
||||
2000, which came out black; Photoshop's 32-bit files with a floating-point predictor and 32-bit integer samples,
|
||||
which came out as noise) are left to Chronos's own TIFF reader, or are unreadable, in renders, thumbnails and
|
||||
analyses as in conversions.
|
||||
- Edit: the picker no longer spins a processor core and stops responding when the list is loading a page as it
|
||||
looks for the sequence edited last.
|
||||
|
||||
## [0.1.0-rc.6] — 2026-10-27
|
||||
|
||||
|
||||
+22
-5
@@ -527,19 +527,19 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-26 | Targets: JPEG baseline 4:4:4 with optimised Huffman tables, 8-bit, quality 1–100 (default 95); TIFF 16-bit RGB with Deflate and the horizontal predictor; linear DNG (16-bit LinearRaw, lossless JPEG tiles, UniqueCameraModel "Chronos"), the archival default. A conversion's DNG is scene-referred (`LinearDngOptions.SceneReferred`): the pixels are stored in linear ProPhoto (ROMM) primaries, divided by the smallest power of two that brings their peak under 0.998 of white, at most 2^4 (`LinearDngWriter.MaxHeadroomStops`), BaselineExposure giving those stops back; ColorMatrix1 and ForwardMatrix1 describe ProPhoto with illuminant D65 and AsShotNeutral 1/1/1, and the encode matrix is the inverse of the in-house reader's solve of the rationals written, so a file reads back as written to the 16-bit step. The as-shot white balance is baked in and values below 0 are clipped. Exports keep the clipped linear-sRGB DNG. (Owner review 2, R7.) | A float DNG; a fixed 4× headroom; the export's clipped linear sRGB for conversions too | Once the trash is emptied a Replace's file is the photo: the highlights a RAW develops above white (about a stop on a partly clipped sky) and its colours outside sRGB (negative in sRGB primaries) must survive; 16-bit integers are what every raw editor reads, and a power of two keeps the steps exact; an export is a rendered picture whose highlights the render decided, and its files stay as earlier builds made them. |
|
||||
| 2026-10-26 | A conversion decodes at full resolution only (`AllowPreview: false`, upright) through its own chain (`FrameConverter.Decoders`): the managed provider first, so every format it reads natively is developed in-house at float precision, as on the server, and the host's others (WIC) after it for what it cannot read (a CR3, a HEIC, a CMYK TIFF). For TIFF-16 and linear DNG a RAW never goes through a provider that develops at 8 bits (`IImageDecoderProvider.DevelopsRawAt8Bits`, true for WIC's Raw Image Extension): such a RAW is planned out as `eight_bit`, refused at conversion (`ConversionFailure.EightBit`) and converts to JPEG only. The conversion's managed provider reads JPEG, PNG and TIFF headers when it probes (`ManagedDecoderProvider.ReadsHeaders`): what its decoders refuse there (a compression, sample format or photometric they lack, more than `MaxSamples` or `MaxPixels`, arithmetic coding, a JPEG or PNG larger than one array) is asked of WIC on a PC and is `convert_on_pc` on the server. The archive engine's other decodes keep WIC first on the desktop. (Owner review 2, R7.) | The archive engine's order (WIC first); develop RAWs at 8 bits for every target | The Raw Image Extension gives 24bppRGB, too few bits for a 16-bit archival file, and the in-house developer gives the same pixels on every host; the dry run must promise only what the decoders it uses take. |
|
||||
| 2026-10-26 | The managed TIFF reader refuses, before reading pixels, samples it does not render (`TiffImageReader.Renders`): CMYK (5), CIELab (8), palette (3), LogL/LogLuv, RGB of fewer than three samples and float min-is-white, for every managed decode; strip and tile counts are counted in 64 bits and impossible ones refused as data (`InvalidDataException`), and `ReadInfo` refuses what a decode would. On the server such a frame is unavailable instead of the gray of its first plane; a conversion on a PC reads it through WIC. (Owner review 2, R7.) | Decode them as gray, as before | With the managed decoders first, a Replace would have put a gray or black picture in the archive and the original into the trash; an `OverflowException` escaped the decoder chain, which then never asked WIC. |
|
||||
| 2026-10-26 | Colour profiles: `SourceColor` reads what a photo's headers record (JPEG APP2 chunks, PNG iCCP or sRGB, TIFF tag 34675 from the image the decoders read, then IFD0, then Exif, HEIF/AVIF `colr` prof, rICC or nclx, WebP ICCP, Exif ColorSpace with Interop) and whether its samples are linear (a float or LinearRaw TIFF), and `FrameConverter.Treatment` keeps that space. JPEG and TIFF-16 carry the ICC profile (APP2 chunks, tag 34675) with code values unchanged, linear values coded with the profile's own curves; linear DNG takes the values converted to linear Rec.709 through a matrix/TRC profile (linear values through the matrix alone, unclipped); an sRGB profile, told by its numbers for matrix/TRC (matrix within 2e-3 of identity, curves within 2e-3 of the sRGB curve) and by its name only for a lookup-table profile, needs nothing in a DNG; a gray profile converts to sRGB. Exif uncalibrated with Interop R03 (or ColorSpace 2) gets an in-house v2.1 "Compatible with Adobe RGB (1998)" profile, a HEIF nclx box with P3 primaries "Display P3". Refused as `color_profile`: CMYK, Lab and other non-RGB profiles, a lookup-table profile into a DNG or holding linear values, curves that cannot be inverted, uncalibrated without R03, other nclx primaries or an HDR transfer, a profile that does not parse; colorants that convert nothing (no positive Bradford cone response, a non-finite or singular matrix) are dropped when parsed, so such a profile is carried into JPEG or TIFF and refused for DNG. PNG gAMA/cHRM without iCCP, JPEG XL, JPEG XR, BMP, GIF and other Exif ColorSpace values are read as sRGB. (Owner review 2, R7.) | Drop profiles and write the values as sRGB (the first version); convert everything to sRGB; refuse every photo that is not sRGB | A Replace makes the converted file the photo: a Display P3 HEIC or an Adobe RGB JPEG must keep its colours; carrying the profile keeps a JPEG's or TIFF's values exact, and a DNG's colour is its matrices, so it takes converted values. |
|
||||
| 2026-10-26 | (Partly superseded by the 2026-11-03 conversion colour and sRGB by name rows: float values are written as sRGB codes with a profile made for them, a linear DNG takes only values that are sRGB's as read and refuses other profiles, a gray profile's codes are kept with its curve as an RGB profile, and a name decides sRGB only for a profile without colorant tags.) Colour profiles: `SourceColor` reads what a photo's headers record (JPEG APP2 chunks, PNG iCCP or sRGB, TIFF tag 34675 from the image the decoders read, then IFD0, then Exif, HEIF/AVIF `colr` prof, rICC or nclx, WebP ICCP, Exif ColorSpace with Interop) and whether its samples are linear (a float or LinearRaw TIFF), and `FrameConverter.Treatment` keeps that space. JPEG and TIFF-16 carry the ICC profile (APP2 chunks, tag 34675) with code values unchanged, linear values coded with the profile's own curves; linear DNG takes the values converted to linear Rec.709 through a matrix/TRC profile (linear values through the matrix alone, unclipped); an sRGB profile, told by its numbers for matrix/TRC (matrix within 2e-3 of identity, curves within 2e-3 of the sRGB curve) and by its name only for a lookup-table profile, needs nothing in a DNG; a gray profile converts to sRGB. Exif uncalibrated with Interop R03 (or ColorSpace 2) gets an in-house v2.1 "Compatible with Adobe RGB (1998)" profile, a HEIF nclx box with P3 primaries "Display P3". Refused as `color_profile`: CMYK, Lab and other non-RGB profiles, a lookup-table profile into a DNG or holding linear values, curves that cannot be inverted, uncalibrated without R03, other nclx primaries or an HDR transfer, a profile that does not parse; colorants that convert nothing (no positive Bradford cone response, a non-finite or singular matrix) are dropped when parsed, so such a profile is carried into JPEG or TIFF and refused for DNG. PNG gAMA/cHRM without iCCP, JPEG XL, JPEG XR, BMP, GIF and other Exif ColorSpace values are read as sRGB. (Owner review 2, R7.) | Drop profiles and write the values as sRGB (the first version); convert everything to sRGB; refuse every photo that is not sRGB | A Replace makes the converted file the photo: a Display P3 HEIC or an Adobe RGB JPEG must keep its colours; carrying the profile keeps a JPEG's or TIFF's values exact, and a DNG's colour is its matrices, so it takes converted values. |
|
||||
| 2026-10-26 | A converted file's Exif (`FrameConverter.Metadata`, `ExifWriter`): from the sidecar the capture time to the tick, offset, exposure, f-number, ISO, focal length, bias and white balance; from the original the make, model, serial, lens, 35 mm focal length, exposure program, metering mode, flash, GPS, artist and copyright, the sequence's camera and lens where the original names none; a frame without a capture time keeps the original's Exif or XMP time, never one from the file system; orientation 1 (the pixels are upright), Software "Chronos"; no MakerNote or XMP. `ExifWriter` now writes ExposureProgram, MeteringMode, Flash and WhiteBalance, for proxies and exports too. (Owner review 2, R7.) | Copy the original's Exif block whole | The sidecar's times are the archive's, and the verify checks them to the tick; MakerNote offsets do not survive a new layout; an upright picture written with its old orientation would turn twice. |
|
||||
| 2026-10-26 | The dry run promises only what the job does (`ConvertPlanner.Skip`): every frame is asked with the conversion's decoders whatever tier was recorded (unknown before the light analysis, another host's, a preview), headers only, 8 files at a time per sequence, and its colour headers are read. Skip reasons: `SameFormat` (the target's format already: any TIFF for TIFF-16, any DNG for linear DNG), `Missing`, `Unhashed`, `Undecodable` (flagged, or a file shorter than its own headers), `TooLarge`, `NoNativeDecoder` and `PreviewOnly` (both `convert_on_pc` on the server), `EightBit`, `ColorProfile` and `Inaccessible` (an I/O error or denied access other than not found: a file another program holds without sharing). `TooLarge` is a bound, never an estimate: a JPEG side above 65535, more than the server's decoders read back (a JPEG of 2^28 pixels, a TIFF-16 or DNG of 2^29 samples), or an incompressible worst case (51 bits per pixel, plus 1 %, plus 8 MiB for a profile and headers) above one array; a `MemoryStream` overflow while encoding is `TooLarge` too. (Owner review 2, R7.) | Probe only frames recorded below native tier (the first version); count a held file as missing | A conversion the dry run promised that then failed made its whole sequence fail at every retry; a lock released before the job ran let it convert, with Replace, a photo the confirmed plan said stays. |
|
||||
| 2026-10-26 | A `convert` job converts exactly the photos its confirmed plan listed: each `ConvertSequence` of its parameters carries the frames version, the digest of the photos converted (`ConvertSequencePlan.Digest`: a SHA-256 over `{frameId:N}\|{sha256}` per photo, in sidecar order) and their frame ids (`Photos`, 16 bytes each in base64), and the plan's fingerprint covers the digests. Under the sequence's lease, its sidecar settled where the index has it then, the job plans it again and takes the confirmed photos from that plan, going on only while they have the digest confirmed; it then pins them (`journal/convert-<job>.pins`, `PinLog`) and from then on, a retry included, converts those alone, stage B checking under the lease that every pinned photo still holds its content, not the frames version. Photos uploaded or verified after the confirmation stay as they are. A confirmed photo that changed, went or no longer converts leaves the sequence as it is (`Changed`: its retry leaves it too, and the log says to plan again); one another program holds leaves it for the retry (`Blocked`), and a held photo the job does not convert hides no real change. A job an earlier build queued without photos checks the whole plan's digest, or the frames version. (Owner review 2, R7.) | Plan again and convert what the job finds (the first version); hold the frames version; store the whole plan in the job | The change made is the one shown and typed (BRIEF §0.2 rule 8); a time-lapse still receiving uploads must not make its sequence unconvertible at every retry; 16 bytes a photo keep a whole-archive job row small. |
|
||||
| 2026-10-26 | (Partly superseded by the 2026-11-03 flagged frames and size bounds rows: a frame another host flagged undecodable is asked again where the conversion has other decoders, and sizes are weighed without overflow.) The dry run promises only what the job does (`ConvertPlanner.Skip`): every frame is asked with the conversion's decoders whatever tier was recorded (unknown before the light analysis, another host's, a preview), headers only, 8 files at a time per sequence, and its colour headers are read. Skip reasons: `SameFormat` (the target's format already: any TIFF for TIFF-16, any DNG for linear DNG), `Missing`, `Unhashed`, `Undecodable` (flagged, or a file shorter than its own headers), `TooLarge`, `NoNativeDecoder` and `PreviewOnly` (both `convert_on_pc` on the server), `EightBit`, `ColorProfile` and `Inaccessible` (an I/O error or denied access other than not found: a file another program holds without sharing). `TooLarge` is a bound, never an estimate: a JPEG side above 65535, more than the server's decoders read back (a JPEG of 2^28 pixels, a TIFF-16 or DNG of 2^29 samples), or an incompressible worst case (51 bits per pixel, plus 1 %, plus 8 MiB for a profile and headers) above one array; a `MemoryStream` overflow while encoding is `TooLarge` too. (Owner review 2, R7.) | Probe only frames recorded below native tier (the first version); count a held file as missing | A conversion the dry run promised that then failed made its whole sequence fail at every retry; a lock released before the job ran let it convert, with Replace, a photo the confirmed plan said stays. |
|
||||
| 2026-10-26 | (Partly superseded by the 2026-11-03 confirmed photos file and New sequence retries rows: the frame ids live in `journal/convert-<job>.photos`, not in the parameters, and a retry finishes a copy already filed instead of reporting its sequence changed.) A `convert` job converts exactly the photos its confirmed plan listed: each `ConvertSequence` of its parameters carries the frames version, the digest of the photos converted (`ConvertSequencePlan.Digest`: a SHA-256 over `{frameId:N}\|{sha256}` per photo, in sidecar order) and their frame ids (`Photos`, 16 bytes each in base64), and the plan's fingerprint covers the digests. Under the sequence's lease, its sidecar settled where the index has it then, the job plans it again and takes the confirmed photos from that plan, going on only while they have the digest confirmed; it then pins them (`journal/convert-<job>.pins`, `PinLog`) and from then on, a retry included, converts those alone, stage B checking under the lease that every pinned photo still holds its content, not the frames version. Photos uploaded or verified after the confirmation stay as they are. A confirmed photo that changed, went or no longer converts leaves the sequence as it is (`Changed`: its retry leaves it too, and the log says to plan again); one another program holds leaves it for the retry (`Blocked`), and a held photo the job does not convert hides no real change. A job an earlier build queued without photos checks the whole plan's digest, or the frames version. (Owner review 2, R7.) | Plan again and convert what the job finds (the first version); hold the frames version; store the whole plan in the job | The change made is the one shown and typed (BRIEF §0.2 rule 8); a time-lapse still receiving uploads must not make its sequence unconvertible at every retry; 16 bytes a photo keep a whole-archive job row small. |
|
||||
| 2026-10-26 | The job takes one sequence at a time, its stage A then its stage B. Stage A runs without the lease: each original is re-hashed against its record (a mismatch fails the photo: verify the sequence), converted and verified into `.chronos/staging/convert-<job>/<sequence>/`, as many at once as `DecodeBudget` allows for the parallelism and memory, each staged file appended to `journal/convert-<job>.staged` (one JSON line, flushed). Stage B is all or nothing under the sequence's lease. `journal/convert-<job>.json` records each sequence's outcome, the statuses its passes follow from and whether they were queued: the passes are queued as soon as a sequence is journaled, and a resume queues those a pause, a yield or a crash lost. A resumed job first settles the crash journals of the sequences still to do, and takes one its replacement already completed (by the pins, or without them by the frames' `source` against the digest) as converted. A photo that fails fails its sequence, whose staged files stay for the retry, which verifies and takes them; the other sequences go on, and the job fails at the end. A sequence another index moved away (`SequenceFolders.Holds`) is left blocked with `Errors.Archive.FolderMoved`; New sequence reads the source's project under the source's lease and writes the copy's under the copy's, only into a folder that holds it. A sequence's staging goes once it is final or changed, the job's journals and staging once every sequence is final. (Owner review 2, R7.) | All of stage A first, then all of stage B; one JSON journal rewritten per photo; delete the staging of a sequence that failed | Results appear earlier and less is staged at once; appending keeps journaling linear on an 80,000-frame sequence, where a rewritten journal is quadratic; a retry keeps the work done. |
|
||||
| 2026-10-26 | Maintenance (`ArchiveMaintenance.PurgeTemporaryFilesAsync`) keeps a `convert-<job>` staging folder while its job is queued, running or paused, whatever its age, removes it at once when the job is done, and otherwise once its files are a day idle; a conversion's journal files go when its job is done. A job this index does not know (another host's on a shared archive, or one its history forgot) keeps its staging and journal together while any of their files was written within `CleanupSteps.DefaultHistoryDays` (90), then both go; staging without a journal goes after a day idle. (Owner review 2, R7.) | Purge staging by age alone (24 h) | A stage A longer than a day lost its staged files, and another host's paused or failed job would have converted everything again; nothing this purges is an original. |
|
||||
| 2026-10-26 | Free space is measured where a conversion writes: `ArchiveServiceOptions.FreeSpace` for the archive root and for its staging folder, the tighter kept. The server takes `VolumeSpace.WritableFree`, the tighter of the space path's volume (R2) and the folder's own (on Unraid the cache, until the mover runs); the desktop asks Windows (`VolumeInfo.FreeBytesAt`, `GetDiskFreeSpaceEx`), which measures UNC archives too. A conversion needs its estimate × 1.15 plus a 512 MiB reserve, counted in both modes (Replace keeps the originals in the trash), estimated from the Export tab's bits per pixel (JPEG by quality × 1.25 for 4:4:4, TIFF-16 30, linear DNG 26; 24 MP when the size is unknown). The job checks at its start, before each sequence (every estimate not staged yet) and before each photo (that photo and those after it that may convert at once, fewer near the end), its estimates scaled by how far the files staged in this run came out above theirs; short, it stops with `Archive.Error.ConvertSpace` (in GB, or MB below one), its journal and staging kept for the retry. The server measures again at every dry run and confirmation. (Owner review 2, R7.) | The space volume alone, as the panel shows it; one check per job | On Unraid every staged and filed byte lands on the cache; the noise of a 14-bit RAW outgrows the estimate; a job must stop before the volume fills, not after; reserving a whole batch near the end stopped jobs that fitted. |
|
||||
| 2026-10-26 | (Partly superseded by the 2026-11-03 stage A space row: before each photo the job counts that photo and every photo still being written.) Free space is measured where a conversion writes: `ArchiveServiceOptions.FreeSpace` for the archive root and for its staging folder, the tighter kept. The server takes `VolumeSpace.WritableFree`, the tighter of the space path's volume (R2) and the folder's own (on Unraid the cache, until the mover runs); the desktop asks Windows (`VolumeInfo.FreeBytesAt`, `GetDiskFreeSpaceEx`), which measures UNC archives too. A conversion needs its estimate × 1.15 plus a 512 MiB reserve, counted in both modes (Replace keeps the originals in the trash), estimated from the Export tab's bits per pixel (JPEG by quality × 1.25 for 4:4:4, TIFF-16 30, linear DNG 26; 24 MP when the size is unknown). The job checks at its start, before each sequence (every estimate not staged yet) and before each photo (that photo and those after it that may convert at once, fewer near the end), its estimates scaled by how far the files staged in this run came out above theirs; short, it stops with `Archive.Error.ConvertSpace` (in GB, or MB below one), its journal and staging kept for the retry. The server measures again at every dry run and confirmation. (Owner review 2, R7.) | The space volume alone, as the panel shows it; one check per job | On Unraid every staged and filed byte lands on the cache; the noise of a 14-bit RAW outgrows the estimate; a job must stop before the volume fills, not after; reserving a whole batch near the end stopped jobs that fitted. |
|
||||
| 2026-10-26 | No conversion of the same sequences twice: `MassConverter.QueueAsync` checks the queued, running and paused `convert` jobs and queues under one lock of the process, calling the host's enqueue in the caller's context (the desktop's speaks on its UI thread); a sequence another conversion holds refuses the plan (`ConversionQueuedException`, `Archive.Convert.AlreadyQueued`): 409 `plan_changed` without details on the server, and the desktop plans again, showing those sequences busy. A dry run counts every pending conversion's sequences as busy; a job's own re-plan counts only those of conversions created before it (`JobRepository.ListPendingTargetsAsync(kind, createdBefore)`). (Owner review 2, R7.) | Let the second job find the first | Two dialogs or tabs, a lost answer and Apply again, or a dry run made before the first job was queued would make two new sequences or convert twice. |
|
||||
| 2026-10-26 | New sequence: the copies are filed through the archive ingest under the session key `convert:<job>:<source>` (a resume finds the same sequence), titled "<title> (JPEG\|TIFF\|DNG)", in a folder from the archive's template, named as the ingest names every photo (`StagedFrame.NamedAs`: `{name}` the card name, `{ext}` the target's), with the source frames' capture time, offset, time source and intervalometer flag; the source's tags, rating, notes and project (positions translated by photo) follow, and its owner is the source's, else the requesting user's id. It holds the converted copies alone: the photos a sequence it copies skips are not in it (their positions wait as pending frames); the dry run says *not copied* for them (`Archive.Convert.NotCopied.*`, `Server.Convert.OnPcNew`; a sequence that converts nothing gets no copy and keeps "stay as they are"), the panel's totals and confirmation and the desktop's summary and New sequence confirmation count them, and the job log says how many stayed in the source alone (`Archive.Log.ConvertLeftOut`). A copy no longer staged at stage B fails the sequence before anything is filed. (Owner review 2, R7.) | File the photos that do not convert byte for byte into the copy; leave the skipped photos unsaid | A copy of mixed formats would be neither a conversion nor the original and would double the bytes of photos that did not change; saying before the confirmation what a copy lacks keeps it from being found missing later. |
|
||||
| 2026-10-26 | Replace swaps the files of frames in place (`FrameTrash.ReplaceAsync`): the same ids and indices, so the project's positions stay (translated by the sidecar's own photo for every frame still there, also when the index was stale). Each converted file is named as filing names a photo of the sequence (`ConvertOptions.FileName`: the archive's file template, the frame's `FrameNaming` context, `{ext}` the target's in lower case, a long name shortened before its extension), unique among every file present and every name the sidecar held, those leaving included, so nothing is moved onto a file (a stray `Roof_01.dng` keeps its bytes, the conversion becomes `Roof_01_2.dng`); a sequence named by an older template takes the current one's names. Each original and its XMP companions go into one replaced trash entry per sequence and run, whose record holds the old frame records, each replacement's SHA-256, a copy of `analysis.json` and the job's id. The new record keeps the flags the user and the capture set and takes the file's own (missing, corrupt, duplicate, preview-only, undecodable) from the conversion, with a `source` naming the original; the sidecar clears the statuses the frames covered and gains a replaced tombstone per original. The proxies of the swapped frames are deleted and normal passes queued (light analysis, a background deep analysis when it had one, thumbnails, proxies). (Owner review 2, R7.) | Give the converted files the old names; one trash entry per photo; force the proxy pass | Every reference to a frame stays valid and the undo is exact; a crash between two moves is undone without doubt when no incoming file took a leaving one's place; a proxy is reused by capture time, which a conversion keeps, so stale proxies must go, and forcing would remake frames that were not converted. |
|
||||
| 2026-10-26 | A replacement's journal, `.chronos/replace.pending.json`, is written under the sequence's lease before the first move, the new entry's record staying pending until the sidecar is written; it records a phase (`Moving`, `Written`, `Undoing`) and each swapped frame's new name. The next writer (`SequenceWriter.ReadLocked`) completes a replacement that is `Written`, or `Moving` with the sidecar listing a new name (by content, never by the frames version, which any writer moves), and undoes any other, which stays `Undoing`; a failed inline rollback marks `Undoing` and rethrows, and an undo that fails during recovery stops the writer, as a photo deletion's recovery does. Every writer that changes frames settles it first (`FrameTrash.EnsureReplaced`: the ingest, deletions, restores, Reorganize steps, sequence deletion, which wait while it cannot settle yet), and a scan settles it and reconciles nothing in the folder while it stays. A journal without names, from an earlier build, still decides by the frames version. (Owner review 2, R7.) | Decide by the frames version (the first version) | An upload landing after a failed undo could make the recovery complete a swap that never happened; what the sidecar lists tells whether it was written. |
|
||||
| 2026-10-26 | Undo is restoring the replaced entry. While every converted frame still holds its conversion (re-hashed) and names the original as its `source`, the originals swap back through `FrameTrash.ReplaceAsync` (same ids; the converted files into a replaced entry in turn, without a job id; the entry's copy of `analysis.json` back into the sequence); otherwise they come back as a new sequence, and an entry left without photos drops its analysis copy. The desktop's toast of a finished Replace (all its endings Replace conversions, none failed) offers *Undo*, once and never from the Windows notification, which restores exactly the replaced entries that job made (`PhotoTrashRecord.JobId`, `TrashEntry.JobId`), oldest first; a failed Replace keeps its Retry; later, after a restart and on the panel, the trash's *Restore* does the same. (Owner review 2, R7.) | Refuse the restore when frames changed; find the job's entries by time window (the first version); record the entries in the job | Nothing is ever lost and the API stays one call; the job's id is exact where a time window could take the entry of converted files a restore made meanwhile; a failed conversion usually needs its retry. |
|
||||
| 2026-10-26 | Replaced entries emptying: an emptying weighs a replaced entry against the archive on disk, never this host's index alone (`SequenceTrash.Replaced`). Its sequence is found by its sidecar (in the folder the index has, in the one the entry recorded, in its deleted folders in the trash, else by walking the archive's folders; each sidecar indexed once per survey) and followed through its replaced tombstones (up to 8 links), and each conversion must still hash to its SHA-256 where it is. A conversion counts as deleted only when the sidecar shows it (a deleted tombstone at the end of the chain, or the frame gone while every frame is hashed and no photo of the folder is unlisted), when the sequence is in the trash, or when no sidecar of it exists and the index has no row; the dry run then marks the entry `ConversionDeleted` (part of its fingerprint), every copy the trash still holds must hash to the conversion, and with none left the confirmed emptying erases it. The erase holds the entry's lease and the sequence's: it settles the sequence first (an undo waiting for the entry completes), reads, measures and fingerprints the entry again, then surveys and re-hashes. Kept, each with its log line (`TrashKeptReason`): changed after the plan, its sequence busy, a conversion that no longer matches (also a frame whose file changed since), a conversion the archive cannot locate (scan the archive). (Owner review 2, R7.) | Decide from this index (fix round 1); keep such entries for ever (the first version) | A conversion another host made, or one this index had not read yet, would be taken for deleted and its originals erased without re-hashing it; when a conversion really is gone, the originals may be the last copy and must be erasable on purpose, never by mistake. |
|
||||
| 2026-10-26 | (Partly superseded by the 2026-11-03 deleted on the archive's word, erasure record, kept reasons and sidecar walk rows: a conversion is deleted only on a tombstone, the trash or an erasure record, never inferred from absence; more kept reasons, each with its advice; one walk per dry run or emptying.) Replaced entries emptying: an emptying weighs a replaced entry against the archive on disk, never this host's index alone (`SequenceTrash.Replaced`). Its sequence is found by its sidecar (in the folder the index has, in the one the entry recorded, in its deleted folders in the trash, else by walking the archive's folders; each sidecar indexed once per survey) and followed through its replaced tombstones (up to 8 links), and each conversion must still hash to its SHA-256 where it is. A conversion counts as deleted only when the sidecar shows it (a deleted tombstone at the end of the chain, or the frame gone while every frame is hashed and no photo of the folder is unlisted), when the sequence is in the trash, or when no sidecar of it exists and the index has no row; the dry run then marks the entry `ConversionDeleted` (part of its fingerprint), every copy the trash still holds must hash to the conversion, and with none left the confirmed emptying erases it. The erase holds the entry's lease and the sequence's: it settles the sequence first (an undo waiting for the entry completes), reads, measures and fingerprints the entry again, then surveys and re-hashes. Kept, each with its log line (`TrashKeptReason`): changed after the plan, its sequence busy, a conversion that no longer matches (also a frame whose file changed since), a conversion the archive cannot locate (scan the archive). (Owner review 2, R7.) | Decide from this index (fix round 1); keep such entries for ever (the first version) | A conversion another host made, or one this index had not read yet, would be taken for deleted and its originals erased without re-hashing it; when a conversion really is gone, the originals may be the last copy and must be erasable on purpose, never by mistake. |
|
||||
| 2026-10-26 | Every entry that may hold the last copy of its photos is shown with why before the typed confirmation: the desktop's *Empty…* names every `ConversionDeleted` entry first ("conversion deleted"), wherever the newest-first trash lists it, the others filling the six lines and the rest counted, and a confirmation's detail scrolls past 288 px; the panel lists those entries first, each saying so. (Owner review 2, R7.) | The six newest entries, as for every other confirmation | The number typed must follow a look at what may be lost for good, however old the conversion is. |
|
||||
| 2026-10-26 | Sync aliases: `SyncTombstones` takes every replaced tombstone of either side as a link between two encodings of one photo and joins them (union-find); each SHA-256 compares as the ordinal-smallest of its photo's, whatever the order of the links, so a conversion, a conversion of it, its undo and each side converting its own copy stay one photo; a deletion on either side covers every encoding. It is immutable once made, so parallel transfers share it. (Owner review 2, R7.) | One alias per original, followed up to 8 steps (R6) | Converting on both sides made duplicate frames on both. |
|
||||
| 2026-10-26 | Linking by content (`SyncService.SameOriginalsAsync`), the proxies this PC can send (`SyncRules.ProxiesToSend`, `SyncTransfers.SendProxiesAsync`: a frame this PC converted makes the proxy of the server's original) and downloads follow the aliases. A download for a frame flagged missing here whose photo the server holds only in another encoding (neither its own encoding there nor an intact frame of it here) puts the verified copy in that frame's place (`FrameTrash.ReplaceMissingAsync`: the same id, nothing to the trash, the record read from the file with the old one as its `source`, a replaced tombstone), after the transfers and only once the sequence is in the folder the index has, else the copies stay staged and the job fails with the folder-moved error; each swap queues the passes it cleared, those already queued skipped; a frame that changed meanwhile keeps its place, and the copy is dropped and logged. The job log lines of uploads and downloads are resources. (Owner review 2, R7.) | File the other encoding as a frame of its own | No photo is doubled and none stays missing. |
|
||||
@@ -548,3 +548,20 @@ One line per decision: date · decision · alternative · reason.
|
||||
| 2026-10-26 | `POST /api/v1/archive/convert` (ManageArchive): exactly one of `sequenceIds` (1–1,000) and `all`; `target` `jpeg`, `tiff16` or `linear-dng` (any case); `quality` 1–100 (default 95, checked for every target, counted for a JPEG; the panel sends null for the others); `mode` `replace` or `new-sequence`; `dryRun`; and the `fingerprint` that confirms. A dry run answers `ConvertPlanDto` (target, quality and mode; a step per sequence asked with its photos, bytes before and after, skips with their wire reason and sentence, and blocks; the totals; the space with its line; the fingerprint), `NoNativeDecoder` and `PreviewOnly` sharing the wire name `convert_on_pc`. The change answers 202 with the job, labelled with its sequence's title when it converts one, else with the archive's name. 400 `bad_request` (`sequenceIds`, `target`, `quality`, `mode`, `fingerprint`); 404 `not_found` (`sequence`); 409 `plan_changed`, `nothing_to_convert`, `not_enough_space` (details: the bytes needed), `job_unavailable`; 503 `archive_offline`, `plan_dropped`. Audited `archive_converted` ("sequences · photos · target · mode"), which the panel's log and Dashboard show as a sentence. Trash entries of kind `replaced`, and `TrashEntryDto.conversionDeleted` in an emptying's dry run. (Owner review 2, R7.) | One endpoint per mode; every photo of the plan in its answer | One request carries the choices both programs make, as Reorganize's does; a dry run of 100,000 photos answers counts and reasons, not every photo. |
|
||||
| 2026-10-26 | Mass conversion is a job on both hosts: `JobKind.Convert` (stored 19, wire `convert`, labelled *Convert*), user priority, the normal level in the priority queue (listed on both hosts), its targets the sequences (deletions and other writers see them busy while it runs or is paused, and an archive-wide job, a paused Reorganize among them, holds it back), handled by `ConvertJobHandler` through `ArchiveService.CreateJobHandlers`; progress counts photos and the checkpoint only marks a resume (the journal says where). Each sequence is told as it completes, `sequenceChanged` `converted` (frames replaced) or `created` (the new sequence), and a desktop editor open on it reloads; the desktop announces its end (`JobNotices`), and the Library reads the sequences again once it ends done or failed. (Owner review 2, R7.) | Target the archive; reuse the `move` kind | Only the sequences converted wait; a failed conversion converted the others; a job is paused, resumed after a restart and followed in Jobs on both hosts. |
|
||||
| 2026-10-26 | Conversion failures read as one catalog sentence by cause (BRIEF §0.2 rule 6): `ConversionException` carries a `ConversionFailure` (`NoDecoder`, `PreviewOnly`, `EightBit`, `ColorProfile`, `TooLarge`, `NotVerified`, `Changed`), which `FrameConverter.FailureText` turns into `Archive.Convert.Failed.<reason>`, as it turns a full disk (Windows HResults, ENOSPC on Linux), a denied access, undecodable data, other I/O and anything else into theirs. The job log reads "Left as it was: <title>. <file> could not be converted. <reason>" (`Archive.Log.ConvertFailed`, `Archive.Convert.PhotoFailed`), a stage B failure `Archive.Convert.NotPlaced`, a blocked sequence its reason (folder moved, photo held, sidecar unreadable, access, lease busy); the exception's English text goes to the diagnostics log only. (Owner review 2, R7.) | The exception's text in the job log (the first version) | Every string the user reads is a resource, and the technical text names internals the user cannot act on. |
|
||||
| 2026-11-03 | Conversion colour: a conversion never changes what Chronos reads from a photo. Chronos's decoders (managed and WIC) never read a profile: code values go through the sRGB curve, float and LinearRaw samples are taken as they are. Every converted file holds the values they read from the original, as they read them back, within what the target holds (JPEG and TIFF-16 0..1 at 8 or 16 bits, clipped beyond; a DNG 16-bit linear values up to 4 stops above white), and says truthfully what they are (`FrameConverter.Treatment`: `None`, `Carry`, `Describe`, `Refuse`). JPEG and TIFF-16: an RGB profile's code values keep their codes and carry the profile; float values are written as sRGB codes with a profile made for them, the source's colorants and media white (to the bit) with the sRGB curve (`IccProfile.WithSrgbCurve`, version 2.1, "<description> (sRGB curve)"); a lookup-table profile named sRGB is carried, other float values in a lookup-table profile are refused; a gray profile's codes are kept and carry the gray curve on three channels with sRGB's D50 colorants (`IccProfile.GrayAsRgb`, "<description> (RGB)"); linear gray needs no profile. Synthesized descriptions are ASCII, at most 200 characters. Linear DNG holds the values as decoded and takes only values that are sRGB's as read (`IccProfile.IsSrgbFor`): untagged, an sRGB profile, float values in sRGB's primaries whatever the curve, linear gray, gray codes on the sRGB curve. Every other profile (Adobe RGB, camera JPEGs tagged Exif R03 included, Display P3 (HEIC), ProPhoto, a gamma-1.0 profile's code values) is refused as `color_profile`; TIFF-16 and JPEG convert those photos with their profile. RAWs, untagged and sRGB photos are unaffected. (Owner review 2, R7, fix round 3.) | Code float values with the profile's own curves, convert a DNG's values through the profile's matrix and a gray profile to sRGB (round 2) | Chronos reads no profile, so round 2 changed what a Replace showed: an Adobe RGB, ProPhoto or gamma-1.0 float TIFF rendered up to 2.7 EV darker or with lifted shadows, a gray photo changed tones, and a non-sRGB photo in a DNG showed more saturated (a sequence mixing converted and unconverted frames would flicker in colour). Renders, thumbnails, analyses and deflicker must see the same pixels after a Replace; a DNG's matrices are its colour, so values in another space can be neither converted nor left mislabelled. |
|
||||
| 2026-11-03 | sRGB by name: `IccProfile.IsSrgb` takes a profile's name into account only when it has no rXYZ, gXYZ or bXYZ tag at all. A profile whose colorants were dropped as converting nothing, or that has no curves, is never sRGB: it is carried with code values and refused where its colorants are needed (float values into JPEG or TIFF, anything into a DNG). A lookup-table profile named sRGB is still sRGB. (Owner review 2, R7, fix round 3.) | Trust any profile named sRGB | A degenerate profile named "sRGB-elle-V4-g10" holds gamma-1.0 values, not sRGB's. |
|
||||
| 2026-11-03 | Damaged values: decoded pixels holding NaN or infinite values (`FrameConverter.AllFinite`) fail the photo as `ConversionFailure.Damaged` (`Archive.Convert.Failed.Damaged`), in every target, tagged or untagged, and nothing is written; like any failed photo, its sequence stays as it was (all or nothing). (Owner review 2, R7, fix round 3.) | Write them as black | A damaged float file turned black, and in a DNG spent the headroom; with Replace it would have taken the original's place. |
|
||||
| 2026-11-03 | Size bounds: `ConvertPlanner.TooLarge` compares W·H with `MaxSamples`/3 without multiplying past a long; `WorstBytes` and `EstimateBytes` saturate at `long.MaxValue`. So damaged header sizes (sides up to int.MaxValue) are `too_large` for every target. The too_large sentences say "larger than this format holds or Chronos reads back" (en, it). (Owner review 2, R7, fix round 3.) | Multiply as before | A product that wrapped around let an absurd size pass as a small one. |
|
||||
| 2026-11-03 | Flagged frames: in `ConvertPlanner.Skip` a frame flagged `Corrupt` is undecodable everywhere, and one flagged `Undecodable` only where the conversion's decoders have no native provider besides the managed one for its format. Where they do (WIC on a PC), it is planned when its header probe is native and a 64-px decode by those decoders gives native pixels, else it stays undecodable; a read error during that decode is `Inaccessible`. The tier recorded is unchanged: the server still flags CMYK and CIELab TIFFs, which keeps them out of its renders and out of a PC's renders too; only the conversion asks again. (Owner review 2, R7, fix round 3.) | Trust another host's flag | The server flags a CMYK TIFF its reader refuses; a PC reads it through WIC and must be able to convert it. |
|
||||
| 2026-11-03 | WIC TIFF refusal: `WicDecoderProvider` reads a TIFF's first IFD (WIC's frame 0) and refuses it when its compression is not 1, 2, 3, 4, 5, 7, 8, 32773 or 32946, its predictor is other than 1, or 2 on integer samples, or its integer samples exceed 16 bits. `Decode` then returns null in every desktop decode (renders, thumbnails, analyses, conversions), so the managed reader decodes it or it is unavailable. Checked on Windows 11: WIC decodes the compressions listed; others (ZSTD, JPEG 2000, LERC, LZMA, WebP, unknown codes) come out as zeros without an error, and 6, 34661, 34676 and 34677 raise one; it undoes only predictor 2 on integer samples (Photoshop's floating-point predictor 3 gives NaN or noise) and reads 32-bit integer samples as floats. (Owner review 2, R7, fix round 3.) | Trust what WIC returns | WIC returns a picture without an error for what it does not decode: the desktop showed black or noise, and a Replace would have converted it so. |
|
||||
| 2026-11-03 | Header probes: `IImageDecoderProvider.WithHeaderProbes()` (the provider itself by default; the managed provider's `ReadsHeaders` twin; WIC's a twin on the same codec snapshot) gives a conversion's decoders probes that open the file. WIC's reads the decoder WIC picks (the Raw Image Extension for a RAW), applies the TIFF refusal, reads the first frame's upright size and checks that its pixel format converts; anything else WIC answers is unavailable, with a reason. An error opening the file propagates: not found is missing, a sharing violation or denied access is inaccessible. Imports and analyses keep the probes that open nothing. (Owner review 2, R7, fix round 3.) | WIC's probe by codec alone | A file only WIC reads, whose size the index did not know, was found too large only when it converted; a held file must not be planned as unreadable. |
|
||||
| 2026-11-03 | Stage A space: before each photo the job reserves that photo and every photo handed to the work whose converted file has not landed yet (converting or waiting for a slot, up to twice the parallelism), scaled by how far this run's staged files came out above their estimates, with the 15 % margin and the 512 MiB reserve (`MassConverter.SpaceWatch`: `Start`, `Writing`, `Ended`, the free space injected). A photo stops counting once its target file appears, or replaces the file there when it started (by size and write time). (Owner review 2, R7, fix round 3.) | That photo and those after it that may convert at once (round 2); each photo until its work ends | Near the end of a sequence round 2 counted one photo while up to twice the parallelism were still converting, so a volume filling meanwhile could go into the reserve. A file lands whole, by a rename, before it is verified: counting it until its verify ends would count it twice. |
|
||||
| 2026-11-03 | Confirmed photos file: the confirmed frame ids live in `.chronos/journal/convert-<job>.photos` (`ConfirmedPhotos`: JSON lines, one per sequence, the ids in plan order, 16 bytes each in base64), written whole by `MassConverter.QueueAsync` before the job is queued, under an id chosen first (`ArchiveJobRequest.Id`, `JobEngine.EnqueueAsync(Guid id, …)`), and deleted if the enqueue throws. The job row keeps each sequence's id, frames version and digest (`ConvertSequence`), so it grows with the sequences, not the photos. Without the file (not writable, or a job a round 2 build queued with `photos` in its parameters, now ignored) the job holds each sequence to its whole plan made again. The file goes with the journal (`ConvertJournal.Files`) and maintenance treats it as one of its files. What reads job rows: the busy check (`SequenceTrash.BusyAsync`) only ids, kinds, targets and a Verify's parameters (`JobRepository.ListHoldsAsync`), the asking job excluded in SQL; a conversion's re-plan only its own creation time (`GetCreatedAsync`); the server's job list, the admin dashboard and the engine's claim and review peeks rows without parameters (`ListBriefAsync`, `ListQueuedBriefAsync`). The desktop Jobs page still reads whole rows. (Owner review 2, R7, fix round 3.) | Keep the ids in the job's parameters (round 2) | About 21 MB of ids for a million photos was read by every dry run's busy check, by each sequence turn of the conversion and by the job lists; the reads grew with the square of a job's size. |
|
||||
| 2026-11-03 | New sequence retries: the journal names the copy as soon as its photos are filed (`ConvertJournal.Made`; a later note keeps it). A retry or resume that finds the job's own copy (by the journal, else by its session key) holding the converted file of every pinned photo finishes it (`FinishCopyAsync`: the source's tags, rating, notes and project, follow-ups, outcome `Created`), whatever changed in the source since. A copy the job made and that was deleted since is not remade (`Changed`: plan again). The retry's opening space check does not count photos already filed into its copy. (Owner review 2, R7, fix round 3.) | Report the sequence changed and plan again (round 2) | The copy was left orphaned and the new plan made a second one. |
|
||||
| 2026-11-03 | Superseded copies: new outcome `ConvertOutcome.Superseded`. A New sequence job makes no copy of a source when another conversion job (session key `convert:<other>:<source>`) made a copy holding frames of this job's format after this job was confirmed (the copy's sidecar `Created` against the job's creation time, `ConvertRequester.Confirmed`) and that job is `Done`; the log says so (`Archive.Log.ConvertSuperseded`), and the job ends Done if the rest converted. While the other job is not done (it failed while filing its copy, or still runs), the sequence is `Blocked` with `Archive.Convert.CopyUnfinished`: no second copy, and not done with. A conversion confirmed after a copy already existed makes its own (the user asked again); a copy in another format does not count. (Owner review 2, R7, fix round 3.) | Copy again; let any later copy supersede, whatever its job's state | Job A failed, job B copied the same source, and retrying A made a duplicate; a copy whose job has not finished may be partial and cannot stand for this one. |
|
||||
| 2026-11-03 | Deleted on the archive's word: an emptying calls a replaced entry's conversion deleted only on positive evidence: a `Deleted` tombstone ending its chain in the sequence's sidecar, the sequence in the trash, or the trash's erasure record of the sequence. `SequenceHoldings.Classify` no longer infers it from "every frame hashed, none holds it", and a sequence with no sidecar anywhere and no row in this index is no longer gone. A sidecar that holds none of the conversion and no tombstone of it (one rebuilt by adoption keeps only this index's ids and tombstones), or a sequence found nowhere without an erasure record (the walk may have skipped its folder: photos without a sidecar, or a folder it cannot enter), keeps the entry, and a kept entry is never flagged `ConversionDeleted`. The erasure record outweighs a stale row of this index; a live sidecar found anywhere outweighs the record. (Owner review 2, R7, fix round 3.) | Infer deletion from absence (round 2) | After a routine verify of a rebuilt sidecar, a damaged conversion still in its folder counted as deleted: the dry run called the originals the last copy and the emptying erased them. |
|
||||
| 2026-11-03 | Erasure record: `.chronos/trash/.erased/<sequence id N>.json` (`ErasureRecord`: sequence id, title, entry, erased at, erased by). An emptying writes it before a deleted sequence's folder goes, only while a replaced entry of that sequence is listed, and never while the sequence also lives (this index has a row of it in this archive, or the walk finds a folder whose sidecar names it: a folder copied back and adopted, a second deletion of the same id). Each emptying ends by deleting the records no listed replaced entry needs. The trash listings never see the folder. A sequence entry erased by an earlier build leaves no record, so its replaced originals stay until restored (phase 4b is unreleased). (Owner review 2, R7, fix round 3.) | Nothing on disk; take a missing sequence as gone | Once the folder is gone, only the archive can tell a later emptying, or another host, that the conversions went with the sequence; a record beside a live copy would outlive what it says and let a walk that misses that folder erase originals whose conversion is still there. |
|
||||
| 2026-11-03 | Kept reasons: `TrashKeptReason` gains `Unhashed` (`Archive.Log.TrashKeptUnhashed`: a frame that may hold the conversion was never verified; verify the sequence), `Unreadable` (`TrashKeptUnreadable`: a sidecar of a folder that may hold the sequence is missing or unreadable; scan the archive) and `StaleIndex` (`TrashKeptStaleIndex`: the index lists a sequence the archive no longer holds and nothing records erasing it; rebuild the index); `Unknown` now says "restore it to keep them". A frame flagged missing or corrupt and never hashed counts as `Unknown`, not `Unhashed`: no verify hashes it (a verify does not hash a file whose size differs from its record). A rebuild drops only the row: without an erasure record the entry then shows `Unknown`, and its restore brings the originals back as a new sequence. (Owner review 2, R7, fix round 3.) | One line for a conversion that cannot be located (round 2) | Each kept entry must name the step that settles it, never one that cannot. |
|
||||
| 2026-11-03 | Sidecar walk: a dry run or an emptying walks the archive's sidecars at most once (`SidecarWalk`: sequence id to folders, the first unreadable sidecar kept). An emptying shares one walk between its plan and every erase, so nothing walks the archive under a lease, and walks again once per lookup only when a folder it found no longer holds the sequence; still moving after that, the entry is kept as Busy. A stale walk can only keep an entry, never erase one. (Owner review 2, R7, fix round 3.) | A survey per entry (round 2) | Each erase walked the whole archive again while holding the entry's and the sequence's leases. |
|
||||
| 2026-11-03 | Download follow-ups: `SyncTransfers.QueuePassesAsync` queues every pass a download needs, a frame swap's included, with `CancellationToken.None` through the new `JobContext.EnqueueFollowUpAsync(…, CancellationToken)`, as `FrameTrash.RestoreAsync` does. (Owner review 2, R7, fix round 3.) | The job's own token | A Stop right after a swap dropped the passes it cleared, leaving frames without thumbnails, proxies or analyses. |
|
||||
| 2026-11-03 | Confirmation detail keyboard: the desktop confirmation's detail (`DetailScroll`) is focusable and a Tab stop, through a style trigger, only while its vertical scroll bar shows (a detail longer than its 288 px), with the focus ring, the detail's tooltip and accessible name; the arrow, page and Home/End keys scroll it. (Owner review 2, R7, fix round 3.) | Always a Tab stop; the mouse only | A long list of entries that may hold the last copy of their photos must be readable from the keyboard; a detail that fits needs no stop. |
|
||||
+1
-1
@@ -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. Phase 4a done and released as `v0.1.0-rc.6` (one adversarial review round and six 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 (also while the archive is offline), lets a sequence still receiving photos keep its file names and takes along a sequence left as it was inside a folder that moves; 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 nor write into one another sequence took; import, upload and Reorganize name photos by one rule (the sequence's camera and lens), and templates follow one set of rules everLine truncated
|
||||
| 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 six 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 (also while the archive is offline), lets a sequence still receiving photos keep its file names and takes along a sequence left as it was inside a folder that moves; 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 nor write into one another sequence took; import, upload and Reorganize name photos by one rule (the sequence's camera and lens), and templates follow one set of rules everLine truncated
|
||||
| 9 Monetization | Not started: requires explicit approval (§22). |
|
||||
|
||||
## Verification (2026-10-12)
|
||||
|
||||
Reference in new issue
Block a user