feat: owner review 2 phase 5c: originals, local render, clean-up and the workspace settings (#18)
CI / Build and test (push) Successful in 9m26s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 8s
Release / Build, test and publish (push) Successful in 14m31s
CI / PostgreSQL 16 integration (push) Successful in 9m53s
CI / PostgreSQL 17 integration (push) Successful in 9m22s
CI / Docker image (push) Successful in 44s
Release / Server image (push) Successful in 1m36s
CI / Build and test (push) Successful in 9m26s
CI / Windows tests and installer (push) Skipped
CI / YAML check (push) Successful in 8s
Release / Build, test and publish (push) Successful in 14m31s
CI / PostgreSQL 16 integration (push) Successful in 9m53s
CI / PostgreSQL 17 integration (push) Successful in 9m22s
CI / Docker image (push) Successful in 44s
Release / Server image (push) Successful in 1m36s
Originals in the workspace, local render and send home with provenance, the workspace clean-up, size limit and trash, moving the workspace folder, and the complete Settings › Workspace page (owner review 2, R8, phase 5c). One adversarial review round (35 findings, 32 fixed), a copy-cancel race fixed, 184 strings in all 38 languages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>
This commit was merged in pull request #18.
This commit is contained in:
1 parent
81c303f484
commit
db389a54f2
364 files changed
+17417
-595
No files matched your search
+158
-43
@@ -290,9 +290,16 @@ where it lives: this PC's archive (phase 5a) or a server (phase 5b). The home ke
|
||||
sequence's **projects**: Main, which is the sequence's own settings, and other named sets of
|
||||
edits ("4K landscape", "Vertical social"), each with a linear history of versions pushed and
|
||||
pulled like git, with no branches. The workspace holds a working copy of a project: its
|
||||
working state, its versions and the sequence's proxies (originals from phase 5c). Final
|
||||
renders run where the originals are. A local-only library works the same way, its archive
|
||||
being the home.
|
||||
working state, its versions, the sequence's proxies and, when chosen, its originals. Final
|
||||
renders run where the originals are: at the home, or on this PC for a project whose
|
||||
originals the workspace holds, each such render then sent home with the project and the
|
||||
version it shows. A local-only library works the same way, its archive being the home.
|
||||
|
||||
Workspace upkeep (amended 2026-10-26, R8). The workspace removes the media of projects in
|
||||
step with their home that were not opened for a while or exceed its size limit, keeps in
|
||||
its own trash what it cannot prove the home holds, and moves to another folder with its
|
||||
projects only after a plan (§12.3, §12.8). Nothing it removes is the only copy: versions,
|
||||
unsent work and local renders not sent stay.
|
||||
|
||||
Server home (amended 2026-10-26, R8). A Chronos Server whose `server/info` lists the
|
||||
`projects` capability is the home of its sequences, with the same rules as this PC's
|
||||
@@ -349,8 +356,12 @@ Primary entities (identical concepts in SQLite and PostgreSQL; ids are UUIDv7 st
|
||||
and holds the rest of it when paused, cancelled or failed: amended 2026-10-26, R7; convert,
|
||||
stored as 19, a conversion of exactly the photos a confirmed plan lists, its targets the
|
||||
sequences, each converted all or nothing into its own frames or a new sequence: amended
|
||||
2026-10-26, R7; workspace-copy, stored as 20, the copy of a sequence's proxies and deep
|
||||
report into a workspace project's media, run by the desktop only: amended 2026-10-26, R8),
|
||||
2026-10-26, R7; workspace-copy, stored as 20, the copy of a sequence's proxies (and
|
||||
originals, when chosen) and deep report into a workspace project's media, run by the
|
||||
desktop only: amended 2026-10-26, R8; workspace-render, stored as 21, a render on this PC
|
||||
from the originals a workspace project holds; workspace-send, stored as 22, those renders
|
||||
sent home with their project and version; workspace-move, stored as 23, the workspace
|
||||
folder moved with its projects; all three run by the desktop only: amended 2026-10-26, R8),
|
||||
target ids, state (queued, running, paused, done, failed, cancelled),
|
||||
progress (done/total, fps, eta), log tail, created by, node id, attempts, error, schedule id
|
||||
(the schedule that queued it; amended 2026-10-26, R10).
|
||||
@@ -1194,25 +1205,35 @@ Workspace (amended 2026-10-26, R8; §4.4, §7). Edit opens a sequence of this PC
|
||||
as a project of the workspace, and never writes into the library; a capture (sample data)
|
||||
keeps editing the library. A server sequence opens as a project of the workspace too when its
|
||||
server keeps projects (server home, below); otherwise it opens with proxies as before.
|
||||
- Which project: the one of that sequence opened last on this PC. Otherwise *Open in
|
||||
workspace* asks: **Project** (an existing one, Main first, made from the sequence's
|
||||
settings as they are; or New, with a name of 1–60 characters unique in the sequence) and
|
||||
**Media** (*Proxies*; *Originals* is disabled until phase 5c and its tooltip says why),
|
||||
with the copy's size and the drive's free space (*Not enough space* below the size plus
|
||||
0.5 GB). A Main this Chronos cannot read (saved by a newer Chronos, or damaged) is listed
|
||||
disabled with the reason; asked for alone, or with nothing else to offer, it is refused at
|
||||
once, a damaged one offering *Remove local copy*. The project is then checked out and its
|
||||
proxies copied by a *Workspace copy* job, followed like a server sequence's proxies (the
|
||||
- Which project: as Settings › Workspace › *Open project* says (amended 2026-10-26, R8):
|
||||
*Last used*, the default, the one of that sequence opened last on this PC; *Main*; or
|
||||
*Ask*, a list of the sequence's projects in the workspace (when it holds two or more),
|
||||
the last used chosen first. Each opening is remembered for the clean-up. With none of
|
||||
its projects in the workspace, *Open in workspace* asks: **Project** (an existing one,
|
||||
Main first, made from the sequence's settings as they are; or New, with a name of 1–60
|
||||
characters unique in the sequence) and **Media** (*Proxies*, or *Originals*: the proxies
|
||||
plus the originals, to render on this PC; *Default media* chooses first, and *Originals*
|
||||
is disabled, its tooltip saying why, when the drive lacks room for them), with the copy's
|
||||
size, the originals' apart, and the drive's free space (*Not enough space* below the size
|
||||
of the media chosen plus 0.5 GB). A Main this Chronos cannot read (saved by a newer
|
||||
Chronos, or damaged) is listed disabled with the reason; asked for alone, or with nothing
|
||||
else to offer, it is refused at once, a damaged one offering *Remove local copy*. The
|
||||
project is then checked out and its media copied by a *Workspace copy* job, followed like a server sequence's proxies (the
|
||||
picker line, a toast with a Jobs link); it opens when the copy is done, and the open
|
||||
sequence stays open meanwhile.
|
||||
- The workspace folder holds `workspace.json` and one folder per project:
|
||||
`project.chronos` (the working state, a project file of format 2 with a `workspace`
|
||||
section: project, name, Main, home, base version, media; at most 64 MiB), `media/`
|
||||
(`media.json`, `proxies/`, `analysis.json`), `versions/` (the versions taken from the
|
||||
home and those not sent yet; `versions/.replaced` keeps every version a sync replaced),
|
||||
`sync.json` (a conflict, a restore, or the journal of a sync under way), `exports/`, and
|
||||
the lease `.lock.lease`. A workspace folder inside a library is refused before anything
|
||||
is written, with *Choose folder*.
|
||||
section: project, name, Main, home, base version, media; format 3 while the media hold
|
||||
originals, so an older Chronos refuses it; at most 64 MiB), `media/` (`media.json`,
|
||||
format 2 while it holds originals or was cleaned; `proxies/`;
|
||||
`originals/<frame id>-<first 8 hex digits of its SHA-256><extension>`; `analysis.json`),
|
||||
`versions/` (the versions taken from the home and those not sent yet;
|
||||
`versions/.replaced` keeps every version a sync replaced), `sync.json` (a conflict, a
|
||||
restore, or the journal of a sync under way), `exports/` (the renders made on this PC and
|
||||
their ledger `renders.json`: file, SHA-256, project, version, and whether it was sent),
|
||||
and the lease `.lock.lease`. Beside the projects: `workspace.json`, `.trash`, and a move's
|
||||
journal `.move.json` (below). A workspace folder inside a library is refused before
|
||||
anything is written, with *Choose folder*.
|
||||
- The editor writes only the working state, atomically under the project's lease a moment
|
||||
after each edit, merged photo by photo with what a sync or a copy wrote. Where a sync and
|
||||
the editor changed the same setting, it asks (keep mine, take the library's).
|
||||
@@ -1236,12 +1257,20 @@ server keeps projects (server home, below); otherwise it opens with proxies as b
|
||||
last version in the library), *Rename…*, *Delete project…* (never Main; confirmed; it
|
||||
sends everything first, then the project goes to the library's project trash with all
|
||||
its versions).
|
||||
- *Copy originals…* (amended 2026-10-26, R8): queues a *Workspace copy* of the originals
|
||||
besides the proxies. *Proxies only…*: a plan (originals deleted, their size, those kept
|
||||
in the trash) and a confirmation; each original is deleted only when the library holds
|
||||
the same bytes, the others go to the workspace's trash. Both are refused while the
|
||||
project has changes or its jobs run, and their tooltips then say why.
|
||||
- *Remove local copy…*: a plan (files, size, versions not sent, unsaved changes,
|
||||
conflict). *Remove* only when everything is in the library, whose head and the base are
|
||||
read back and checked against their hashes first; *Send first* sends what is missing,
|
||||
then removes; *Discard changes* asks for the project's name to be typed. The copy's
|
||||
files, every one but the media, go to `<workspace>/.trash/<id>-<time>`; the media are
|
||||
deleted. A removal that cannot move a file puts everything back and says so.
|
||||
conflict, renders made here not sent, originals the library no longer holds). *Remove*
|
||||
only when everything is in the library, whose head and the base are read back and
|
||||
checked against their hashes first; *Send first* sends what is missing (renders
|
||||
through a *Send render* job, the removal waiting for it), then removes; *Discard
|
||||
changes* asks for the project's name to be typed. The copy's files, every one but the
|
||||
media, go to `<workspace>/.trash/<id>-<time>`; the media are deleted, but an original
|
||||
goes there too unless the library holds its bytes (each file hashed now, never judged
|
||||
by `media.json`). A removal that cannot move a file puts everything back and says so.
|
||||
- Conflicts are asked only when a merge finds settings both sides changed, and list this
|
||||
side's value as the working state holds it: *Keep mine*, *Take library's* (one undo step;
|
||||
the toast's Undo brings back only those settings), *Save both* (your versions go to a
|
||||
@@ -1263,6 +1292,22 @@ server keeps projects (server home, below); otherwise it opens with proxies as b
|
||||
holds that version with the settings rendered.
|
||||
Analyses run at the library; with Sync automatically on, Main takes an analysis' Auto
|
||||
values.
|
||||
- Local render (amended 2026-10-26, R8). A project whose media are *Originals* renders on
|
||||
this PC whatever its home, as a *Local render* job (`workspace-render`): from the
|
||||
originals the workspace holds (refused, with the count, while a frame placed has none),
|
||||
into the project's `exports/`, each output hashed and recorded in `renders.json` under
|
||||
the render id it keeps at the home. It names its version only when `versions/` holds it
|
||||
with the content hash of the settings rendered. With *Version on render* on, changes not
|
||||
saved are saved as a version (noted *Render*) and, with Sync automatically on, sent
|
||||
first; a failed save or a conflict holds the render. Then a *Send render* job
|
||||
(`workspace-send`) sends every render of the project not sent yet: each file hashed again
|
||||
(one changed since is refused and stays), its version pushed first when the home lacks
|
||||
it (a version a replay stored under another id is found by its content hash, else the
|
||||
render goes with its project alone), then filed in the library after a read-back, or
|
||||
uploaded to the server with its project and version (§14.3); a render the home holds
|
||||
already is only marked sent. A server takes one file per render, so an image sequence
|
||||
stays in the workspace, failed. The Export step lists renders not sent as *Not sent*,
|
||||
with *Send again*; the files stay in `exports/` until the clean-up.
|
||||
- `.chronos` files: format 2 opens its workspace project (a copy of one gives it its
|
||||
settings as one undo step; a project the library lacks falls back to Main); format 1
|
||||
gives its settings to the sequence's Main. *Save project file* still writes format 1.
|
||||
@@ -1270,10 +1315,11 @@ server keeps projects (server home, below); otherwise it opens with proxies as b
|
||||
keeps projects (the `projects` capability) opens as a project whose home is that server,
|
||||
through this PC's sign-in:
|
||||
- *Open in workspace* lists the server's projects (Main first, or New) and the media
|
||||
(*Proxies*); it shows no copy size, and the copy checks the drive's free space as it
|
||||
goes. A project of the sequence already in the workspace opens from there, the server
|
||||
reachable or not. A project asked for (a `.chronos` file) that the server does not have
|
||||
opens the sequence's Main instead.
|
||||
(*Proxies* or *Originals*, amended 2026-10-26, R8); the copy's size is estimated (1.5 MB
|
||||
a proxy, the originals from the server's frame sizes), and the copy checks the drive's
|
||||
free space as it goes. A project of the sequence already in the workspace opens from
|
||||
there, the server reachable or not. A project asked for (a `.chronos` file) that the
|
||||
server does not have opens the sequence's Main instead.
|
||||
- An account without Edit gets the sequence with proxies, read-only, and nothing is
|
||||
checked out. A copy the workspace already holds still opens; its pushes are refused
|
||||
(*Your account cannot change the projects of this server.*).
|
||||
@@ -1281,15 +1327,18 @@ server keeps projects (server home, below); otherwise it opens with proxies as b
|
||||
PC's archive: the frames of one frames version with the aliases of the server's
|
||||
conversions, each frame's proxy, or its thumbnail while the server has none (a later
|
||||
copy, *Update media*, takes the proxy once the server has it), and the server's deep
|
||||
report. Each file is hashed as it arrives and checked on disk, four at a time,
|
||||
resumable. Downloads are not held on a metered connection (only uploads are).
|
||||
report, and with *Originals* each frame's original (a frame whose original the server
|
||||
refuses or lacks keeps its proxy). Each file is hashed as it arrives and checked on
|
||||
disk, four at a time, resumable. On a metered connection, with *Pause metered
|
||||
transfers* on (§12.7), the copy waits (amended 2026-10-26, R8).
|
||||
- Texts name the server (*Server newer*, *Not on server*, *Take server's*). The chip and
|
||||
the picker's rows of the server's projects follow its `projectChanged` at once; after a
|
||||
lost event stream, and when the sign-in starts or ends, every project of that server
|
||||
reads its state again. A project the server deleted reads *Not on server*; its copy and
|
||||
unsent versions are kept. A rename on the server reaches the copy at once, and at every
|
||||
pull.
|
||||
- Renders run on the server and render what it holds. Changes not saved as a version, or
|
||||
- Renders run on the server and render what it holds, unless the workspace holds the
|
||||
originals (a local render, above, sent to the server). Changes not saved as a version, or
|
||||
versions not sent, are offered first: *Send and render* saves and sends them, *Keep*
|
||||
renders nothing. The job names the version the server holds, without settings, and the
|
||||
server renders it with the job's export. Offline, *Not on server*, Damaged or media
|
||||
@@ -1300,9 +1349,30 @@ server keeps projects (server home, below); otherwise it opens with proxies as b
|
||||
opened signed out renders once signed in. Projects name the server by the address they
|
||||
were made with: signed in to the same server through another address, they read
|
||||
Offline.
|
||||
- Not yet (phase 5c): originals in the workspace and renders from them, moving the
|
||||
workspace folder with its projects, emptying `<workspace>/.trash`, automatic clean-up and
|
||||
the size limit.
|
||||
- Clean-up (amended 2026-10-26, R8). The *Workspace clean-up* schedule (§14.6) removes the
|
||||
media of projects not opened past *Clean after*, then of the least recently used while
|
||||
the projects take more than *Size limit*, which also runs after each copy (never on the
|
||||
project just copied). A project is cleaned only when it is in sync with its home, asked
|
||||
now, not open, with no copy, render or send of it waiting or running, and no render not
|
||||
sent; it loses its proxies, its originals and the renders the home took, never its
|
||||
working state, versions, sync state or deep report, and reads *No media* until opened
|
||||
again, which copies them again. An original is deleted only when the home holds the same
|
||||
bytes; otherwise it goes to the workspace's trash.
|
||||
- The workspace's trash (`<workspace>/.trash`) keeps removed copies and originals set
|
||||
aside, each entry filled under a hidden staging name and listed once whole. Only Settings
|
||||
› Workspace › *Empty…* erases it: the entries and their size listed, their number typed,
|
||||
and nothing erased when the trash changed since the list.
|
||||
- Moving the workspace (amended 2026-10-26, R8). *Move…* shows a plan (projects, files,
|
||||
size, free space at the target, same drive or not, projects with work not sent) and
|
||||
queues a *Move workspace* job (`workspace-move`), refused when the target is the folder or
|
||||
inside it, inside a library, already holds a workspace or one of its projects, lacks
|
||||
room, or while a workspace job waits. The open project closes first, and Edit waits. On
|
||||
one drive each project folder is renamed; across drives each file is copied, hashed on
|
||||
both sides and named only once both agree, and no source file goes before every one is
|
||||
verified and the new folder is in use. A journal (`.move.json`) lets a stopped move go on;
|
||||
one that fails before the switch is undone, a cancel too. A move left unfinished is
|
||||
offered again at start and in Settings (*Resume*); until then Change… and Move… wait, and
|
||||
workspace jobs queued before the move work in the folder that now holds their project.
|
||||
|
||||
### 12.4 Import (cards)
|
||||
|
||||
@@ -1571,6 +1641,12 @@ proxies*; *Download originals* stays for an account that may download them. An a
|
||||
without Edit gets *Open with proxies*. On an older server, *Open in workspace* is shown
|
||||
disabled after the other actions, and its tooltip says the server needs an update.
|
||||
|
||||
*Pause metered transfers* (amended 2026-10-26, R8; formerly *Pause uploads on metered*):
|
||||
while Windows reports the connection as metered, every transfer with a server pauses after
|
||||
its current chunk or file and resumes by itself afterwards: uploads, the sync's downloads,
|
||||
the workspace's copies from a server and its renders sent to one. Copies from and sends to
|
||||
this PC's archive never wait.
|
||||
|
||||
### 12.8 Settings
|
||||
|
||||
Sections (list on the left, controls on the right, no descriptions — tooltips only):
|
||||
@@ -1584,7 +1660,8 @@ that one closes: amended 2026-10-26, R7), Import (defaults, session rules, verif
|
||||
post-actions), Analysis (widths, thresholds, deep analysis auto-run), Rendering (quality
|
||||
profile, memory budget, spill folder, parallelism = photos the running job processes at once, priority queue
|
||||
with a level per job kind, encoders detected, hardware preference; amended 2026-10-16, R2;
|
||||
Workspace copy listed, high by default, as Download: amended 2026-10-26, R8),
|
||||
Workspace copy listed, high by default, as Download, and Local render high, Send render
|
||||
normal and Move workspace high: amended 2026-10-26, R8),
|
||||
Formats (per
|
||||
format tier on this PC, codec install links), Storage, Workspace (amended 2026-10-26, R8:
|
||||
*Folder*, the path read-only with *Open* and *Change…*, which shows a plan (projects left,
|
||||
@@ -1593,10 +1670,15 @@ projects coming back when it is chosen again; *Sync* *After each version*, on by
|
||||
each saved version is sent at once and the library's new ones taken; *Kept versions* 5, 10,
|
||||
20, 50, 100 or 200, default 20: how many of the library's versions each project keeps on
|
||||
this PC besides its base and those not sent, an older one dropped only once the library
|
||||
gives it back unchanged; Reset restores Sync and Kept versions; Reset all and Import keep
|
||||
the folder and the projects opened last, Export leaves them out. Moving the folder with its
|
||||
projects, the size limit, the default media, version on render, clean after and the
|
||||
project to open come in phase 5c), Server (last servers, trusted fingerprints,
|
||||
gives it back unchanged. Rows in order (amended 2026-10-26, R8): *Folder* with *Open*,
|
||||
*Change…*, *Move…* (§12.3) and *Resume* while a move is unfinished, and what the folder
|
||||
takes (*{0} used*, its trash included); *Size limit* 25, 50, 100, 200, 500 or 1,000 GB or
|
||||
*No limit*, default 100 GB; *Default media* *Proxies* (default) or *Originals*; *Sync*;
|
||||
*Version on render* on by default (§12.3); *Kept versions*; *Clean after* 7, 14, 30, 60 or
|
||||
90 days or *Never*, default 30 days; *Open project* *Last used* (default), *Main* or *Ask*;
|
||||
*Trash* (entries and size, *Empty…*, disabled while empty). Reset restores every row but
|
||||
the folder and the trash; Reset all and Import keep the folder and the projects opened
|
||||
last and when, Export leaves them out), Server (last servers, trusted fingerprints,
|
||||
render node), Updates (check on start; latest version: check now, download, releases page),
|
||||
Advanced (portable mode, data folder; logs: the logs folder, *Log level* (Trace…Error,
|
||||
default Info), *Keep logs* (1–365 days, default 14), *File size* (MB, default 50, or No
|
||||
@@ -1955,6 +2037,17 @@ projects as this PC's archive does (§7), and `server/info` lists the capability
|
||||
(§7), waiting 20 s for it, and can answer 503 `archive_offline`, `sequence_busy` or
|
||||
`folder_moved`, or 409 `folder_in_use`, with nothing changed. A `PATCH` of title, tags,
|
||||
rating or notes alone writes the index only.
|
||||
- Renders sent from a workspace (amended 2026-10-26, R8): `POST /sequences/{id}/renders`
|
||||
`{renderId, fileName, size, sha256, presetName, codec, width, height, fps,
|
||||
durationSeconds, producedBy, projectId?, projectVersionId?}` starts a chunked upload and
|
||||
`POST …/renders/{uploadId}/complete` files it. The project and version are checked when
|
||||
the upload starts and again when it completes (422 `project_mismatch`: the project not
|
||||
one of the sequence's, deleted ones included, or the version not one of the project's; a
|
||||
version alone names its project) and recorded with the render; without them a render is
|
||||
filed as before. A render id already filed answers `alreadyExists` for the same
|
||||
sequence, 409 `render_exists` for another. `RenderDto` (`GET …/renders`, the manifest)
|
||||
carries the render's `projectId` and `projectVersionId`, null when none. An older server
|
||||
ignores both fields; the desktop notes it in the job's log.
|
||||
|
||||
### 14.4 Upload and ingest
|
||||
|
||||
@@ -2112,6 +2205,20 @@ archive:
|
||||
ended early, and prunes a kept version only after reading it back from the server's file
|
||||
(`?stored=true`).
|
||||
|
||||
Workspace originals and local renders (amended 2026-10-26, R8; §12.3, §14.3). A workspace
|
||||
copies originals from its home only on request (media *Originals*): read from this PC's
|
||||
archive, which it never writes, or downloaded from a server through `/frames/{id}/original`
|
||||
(Edit or RenderNode), each hashed as it is copied and checked against the home's SHA-256,
|
||||
resumable. A render
|
||||
made from them on this PC goes home with its render id, project and version, filed in the
|
||||
archive after a read-back or uploaded to the server (§14.3), never twice: a home that holds
|
||||
the id already is only marked as having it. Before anything of the workspace is deleted
|
||||
(Proxies only, the clean-up, Remove local copy), each original is hashed again and the
|
||||
home's frames read: only what the home holds with the same SHA-256 goes, the rest goes to
|
||||
the workspace's trash. With *Pause metered transfers* on, every transfer with a server
|
||||
waits on a metered connection: uploads, downloads, workspace copies and renders sent
|
||||
(§12.7).
|
||||
|
||||
### 14.6 Job engine
|
||||
|
||||
Persistent queue in the DB; jobs run one at a time, and the parallelism (configurable,
|
||||
@@ -2127,7 +2234,11 @@ of a lower level yield without asking; that job returns to the queue with its ch
|
||||
and resumes by itself afterwards. Jobs of the same level never interrupt each other, and a
|
||||
job's own follow-ups never interrupt it. (Amended 2026-10-16, R2.) The desktop's *Workspace
|
||||
copy* (`workspace-copy`, stored as 20) is high by default, as Download is, since Edit waits
|
||||
for it; a server never runs it, because it writes into the folder its parameters name. A
|
||||
for it; a server never runs it, because it writes into the folder its parameters name. So
|
||||
do *Local render* (`workspace-render`, 21, high), *Send render* (`workspace-send`, 22,
|
||||
normal) and *Move workspace* (`workspace-move`, 23, high), which a server never runs
|
||||
either; a copy, render or send queued before the workspace moved works in the folder that
|
||||
holds its project now, and fails, to be retried, while a move is under way. A
|
||||
handler may clean up after a cancel: cancelling a paused or failed job no handler runs calls
|
||||
it, and cancelling a paused job whose run has not ended waits for that run to end first
|
||||
(amended 2026-10-26, R8).
|
||||
@@ -2158,8 +2269,11 @@ before the first pass, so a run caught up at start already uses it, and locks it
|
||||
|
||||
On the desktop: `archive-scan` (every 10 minutes, seeded from the former Rescan every; no
|
||||
catch-up; also once after the archive is reopened at start and when an unplugged archive is
|
||||
back), `index-backup` (every day, catch-up, 3 copies) and `housekeeping` (daily 04:00,
|
||||
catch-up: `job-history` 90 days and `cache-trim`). A system schedule whose work was last
|
||||
back), `index-backup` (every day, catch-up, 3 copies), `housekeeping` (daily 04:00,
|
||||
catch-up: `job-history` 90 days and `cache-trim`) and `workspace-cleanup` (daily 04:30,
|
||||
catch-up: `workspace-clean`, the workspace's Clean after and Size limit, §12.3, and
|
||||
`workspace-trash`, which only reports the workspace's trash; it needs no archive; amended
|
||||
2026-10-26, R8). A system schedule whose work was last
|
||||
done a whole period ago (the newest index copy, for `index-backup`) is seeded due at once,
|
||||
so the first start after an upgrade copies an index whose newest copy is a day old;
|
||||
otherwise a new schedule first runs at its recurrence's first occurrence (an interval one
|
||||
@@ -2918,6 +3032,7 @@ questions asked and the answers; DECISIONS rows give the reasons.
|
||||
| 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`. |
|
||||
| 2026-10-26 | Owner review 2, R8 (phase 5a: workspace and projects, local home) | §4.4, §5, §7, §12.2, §12.3, §12.6, §12.8, §14.5, §14.6 | A sequence's home (this PC's archive) keeps its projects: Main, mirrored both ways with the sequence's settings so older clients and sync keep working, and other named projects, each a linear history of immutable versions in the portable form (positions parked by photo, SHA-256 of canonical text), stored as sidecars in `.chronos/projects/` and indexed by migration 0009 (`projects`, `project_versions`, `renders.project_id`/`project_version_id`); deletions only on the archive's word, the trash read first; Edit opens only workspace projects: *Open in workspace* (project, proxies), the `workspace-copy` job (stored as 20, desktop only, hash-verified, resumable, space checked), the working state in a folder outside the library, the project button with its state chip and menu (Save version, Sync, History with Compare and Restore, Open, New, Rename, Delete, Remove local copy), push and pull with replay and field-level merge, conflicts only when both sides changed a setting (Keep mine, Take library's, Save both, Later), renders at the home with the settings embedded; Settings › Workspace (folder, sync, kept versions). The server home is phase 5b; originals, local render, clean-up and the rest of Settings › Workspace are phase 5c. |
|
||||
| 2026-10-26 | Owner review 2, R8 (phase 5b: server home) | §4.4, §7, §12.2, §12.3, §12.7, §14.3, §14.5, §14.7, §14.8 | A Chronos Server keeps its sequences' projects as a PC's archive does: `/api/v1/sequences/{sid}/projects` (list with Main made at the first read, create, rename, delete with the owner's, maker's or an admin's right, head, versions in size-capped pages, stored check, push with its outcome, frames and their stamp), the `projects` capability and `projectChanged`; settings written outside the projects become Main's version soon after, and a settings `PATCH` writes `project.json` under the lease; a sequence without photos keeps no projects; renders and render nodes take a project version's settings and record it; the admin panel's sequence page lists the projects (versions, Rename, Delete). The desktop opens a server sequence as a workspace project through its sign-in: *Open in workspace* on the Server screen and in Edit, proxies downloaded into the workspace (hash-checked, resumable), push and pull, conflicts, history and live state against the server, texts naming the server, renders and analyses on the server of the version it holds; an account without Edit and an older server keep *Open with proxies*. |
|
||||
| 2026-10-26 | Owner review 2, R8 (phase 5c: originals, local render, clean-up, Workspace settings) | §4.4, §5, §12.3, §12.7, §12.8, §14.3, §14.5, §14.6 | Originals in the workspace on request (*Open in workspace* › Originals, *Copy originals…*, *Proxies only…* behind a plan), copied from either home hash-checked and resumable, a frame whose original is missing keeping its proxy; media index format 2 and project file format 3 while originals are held; a project with originals renders on this PC (`workspace-render`, stored as 21) into `exports/` with the ledger `renders.json`, *Version on render* saving a version first, and sends its renders home (`workspace-send`, 22) with their project and version, idempotent by render id, refusals per render; render uploads take optional `projectId` and `projectVersionId`, checked against the sequence (422 `project_mismatch`); *Pause metered transfers* holds every transfer with a server, downloads and workspace copies and sends included; originals judged by their bytes against the home's frames, those it lacks kept in the workspace's trash; the clean-up of media in step with their home (*Clean after*, *Size limit*, the `workspace-cleanup` schedule) and the workspace's trash emptied only by *Empty…* (typed count, fingerprint); Remove local copy weighs unsent renders and originals; moving the workspace folder (`workspace-move`, 23) behind a plan, renamed on one drive or copied and verified across drives, journaled, resumable, the source kept until the switch, with *Resume*; Settings › Workspace complete (Folder with Move…, Size limit, Default media, Sync, Version on render, Kept versions, Clean after, Open project, Trash). |
|
||||
| 2026-11-04 | Owner review 3 (ports) | §12.7, §14.8, §14.9, §15, §19.6 | The public HTTP/HTTPS ports are server settings as well as variables (a variable locks them), applied at once; in a container the listening ports are locked to the template's; the admin panel's Network and TLS shows the container's ports, the public ports and the client address with Copy; clients read an address without scheme or port as port 8443 and report an address that answers as something else, never offering its certificate for trust; the Unraid template and compose gain *Public HTTP port*. |
|
||||
|
||||
## Appendix A — `CLAUDE.md` content (create verbatim in Phase 0, keep updated)
|
||||
|
||||
Reference in new issue
Block a user