docs: document phase 5b, the server as a project home

Phase 5b had only module rows and the review's DECISIONS and CHANGELOG lines.
The brief now describes the server home as the code does after the review
fixes: the projects API, projectChanged, the capability, the settings PATCH
under the lease, renders of a project version, the panel's Projects section,
and the desktop's server projects (open, copy, sync, chip, renders, viewers).

DECISIONS gains the phase's own rows; the 5b rows are dated 2026-10-26 like
the other review-2 phases, and three 5a rows are marked partly superseded.
CHANGELOG, STATUS, the request's 5b row and ARCHITECTURE follow the code
(frames stamp, stored reads, the .thumb marker, followed renames, the
editor's sign-in).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-04 13:19:55 +01:00
1 parent ae41c95682
commit 3ade4b8d6c
6 files changed
+258 -62

No files matched your search

+43 -17
View File
@@ -6,25 +6,39 @@ commits follow Conventional Commits (release notes are generated from them by `C
## [Unreleased]
### Added
- A Chronos Server keeps its sequences' projects (owner review 2, phase 5b): Main and named projects with their
versions, under `/api/v1/sequences/{id}/projects`, with `projectChanged` events and the `projects` capability. The
admin panel lists a sequence's projects.
- Edit opens a server's sequence as a workspace project, as for this PC's library: *Open in workspace* asks which
project, its proxies are downloaded into the workspace (hash-checked, resumable), and Save version, Sync, History,
New, Rename, Delete and Remove local copy work against the server. A project already in the workspace opens while
the server is out of reach; its work waits. The chip follows what the server says (*Server newer*, *Not on
server*), texts name the server, analyses and renders run on the server, and a render first offers to send what is
not there yet.
- **Server home** (owner review 2, R8, phase 5b): a Chronos Server keeps its sequences' projects, as a PC's archive
does: Main and named projects, each with its versions, under `/api/v1/sequences/{id}/projects`. The server lists the
capability `projects` and tells connected programs of every change (`projectChanged`). Settings changed by an older
Chronos, an analysis, the sync of a desktop's copy or a conversion become a new version of the sequence's Main soon
after.
- Sequences of a Chronos Server open in the workspace, as this PC's do: *Open in workspace* (in Edit, and on the
Server screen) asks which project, and its proxies are downloaded into the workspace (hash-checked, resumable).
Save version, Sync, conflicts, History and Restore, New, Rename, Delete and Remove local copy work against the
server. A project already in the workspace opens while the server is out of reach or this PC is signed out; its
work waits (*Offline*). An account without Edit opens the server's sequences with proxies, read-only, as before.
- A project's chip shows at once when someone changed it on the server (*Server newer*) or deleted it there (*Not on
server*; your copy and unsent versions are kept); a rename on the server reaches the copy. Texts name the server.
- Analyses and renders of a server's project run on the server. A render renders the version the server holds, and
first offers *Send and render* for changes not sent yet.
- The admin panel's sequence page lists its projects: who changed each last and when, its versions (20 at a time,
*Load more*), and *Rename…* and *Delete…* for projects other than Main.
- Renders can be of a project version: the server and render nodes render that version's settings and record the
project and the version with the render.
- Known limitations: projects name the server by the address they were made with, so signed in through another
address (its IP instead of its name) they read *Offline*; a copy reads the server's frames in one answer (about
35 MB at 100,000 photos); *History* downloads every version's settings; downloads into the workspace are not paused
on a metered connection (only uploads are); originals in the workspace and local renders are phase 5c.
### Fixed
- Server projects (review of phase 5b): a sequence without photos no longer writes projects at the archive's root
(*This sequence has no photos yet.*); a full-size version can be pushed and one too large is told so; version pages
are capped in size; a settings change sent to the server is no longer lost when Main is made later; deleting a
project as its maker needs the same account, not just the same name; renames, rescans and reconnects reach the
workspace; a status no longer downloads the server's frames each time; a resumed copy never keeps a thumbnail as a
proxy; an account without Edit opens server sequences with proxies; a project opened signed out renders once signed
in. The admin panel's projects table fits narrow windows, keeps the versions loaded with *Load more* on a live
refresh and no longer downloads settings it does not show.
- Server home, found by the phase's review before any release had them (one adversarial round, 21 findings, 19
fixed): a sequence without photos no longer writes projects at the archive's root (*This sequence has no photos
yet.*); a full-size version can be pushed and one too large is told so; version pages are capped in size; a
settings change sent to the server is no longer lost when Main is made later; deleting a project as its maker needs
the same account, not just the same name; renames, rescans and reconnects reach the workspace; a status no longer
downloads the server's frames each time; a resumed copy never keeps a thumbnail as a proxy; an account without Edit
is never offered *Open in workspace*; a project opened signed out renders once signed in. The admin panel's
projects table fits narrow windows, keeps the versions loaded with *Load more* on a live refresh and no longer
downloads settings it does not show.
- Chronos and the Uploader could not reach a server in a container whose ports are published as other host ports
(owner review 3). The admin panel's Settings › Network and TLS listed the container's ports (8080, 8443) as if
clients used them. In a container it now shows them read-only as *Container HTTP port* and *Container HTTPS port*,
@@ -46,6 +60,18 @@ commits follow Conventional Commits (release notes are generated from them by `C
- A link-local IPv6 address with a zone (`fe80::1%12`) is refused as an invalid address instead of losing its zone.
### Changed
- On a Chronos Server, a `PATCH` of a sequence's settings also writes the sequence's `project.json`, under the
sequence's lease (owner review 2, R8). While another job holds the sequence for more than 20 s, its archive is
offline or its folder moved, it now answers 503 (`sequence_busy`, `archive_offline`, `folder_moved`) or 409
`folder_in_use` and changes nothing; the desktop's sync tries again at its next comparison. A `PATCH` of title,
tags, rating or notes alone is unchanged.
- Server screen: on a server that keeps projects, *Open in workspace* replaces *Open with proxies* for an account with
Edit; on an older server it is shown disabled, its tooltip saying the server needs an update.
- **Upgrade:** the server home needs this release on both the server and the desktop. Chronos uses a server's
projects only when its `server/info` lists `projects`; with an older server, Edit opens its sequences with proxies
as before. Older Chronos versions keep working with a new server: they ignore `projectChanged`, and their settings
edits become Main's versions. No migration runs (0009 came with phase 5a). The first open of a server's sequence
in Edit downloads its proxies into the workspace.
- The public ports are server settings: edited in the admin panel and applied at once to LAN discovery and the
redirect to HTTPS, or set by `CHRONOS_PUBLIC_HTTP_PORT` / `CHRONOS_PUBLIC_HTTPS_PORT`, which lock them. In a
container the listening ports change only through `CHRONOS_HTTP_PORT` / `CHRONOS_HTTPS_PORT`; a port saved for them