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
+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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user