A workspace project that holds its originals now renders locally
(JobKind.WorkspaceRender), so the full-resolution render no longer
waits on the home. This holds also when the home is a server.
- The handler reads its inputs under the project's lease. It refuses
proxies-only media, and it refuses frames without an original,
saying how many lack one. It renders into exports/ with unique
names and a resumable checkpoint.
- Each output gets a ledger entry: SHA-256, the render id from
RenderJobHandler.RenderId, and the version, recorded only when
versions/ holds it and its hash verifies.
- After rendering, the handler queues a WorkspaceSend follow-up for
the outputs it recorded. A cancel leaves no partial file.
- The editor routes Originals media to the local engine even for a
server home, and lists those jobs beside the server's. It treats
WorkspaceRender like Render for the toast and the reload, says
"Sent home" when a send ends, and shows unsent ledger renders as
"Not sent".
- Version on render saves a changed project as a version noted
"Render" before it renders, and sends it with Sync automatically.
With the setting off, the render behaves as before.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase 5c P1. A workspace copy of kind "originals" now copies each frame's
original beside its proxy, so a later local render has full-quality input:
streamed into a .part file, hashed as written, checked against the home's
SHA-256, renamed and read back. Archive and server homes both work, a stopped
copy resumes (originals: checkpoint), and the space check counts the
originals. A frame whose original is gone, damaged or refused keeps its proxy
and the job says how many; the copy does not fail. Stale originals are
deleted only when the home holds the same SHA-256, otherwise moved to the
workspace's trash.
Proxies only... plans first (every original hashed against the home's
frames), asks for an explicit confirmation, rewrites the media to proxies
before it touches a file, refuses a plan that changed since, and trashes what
the home no longer holds instead of deleting it.
Edit: Open in workspace offers Originals (the settings' default, disabled
when the drive lacks room) with the originals' size for archive and server
homes; Settings > Workspace > Open project picks Last used, Main or asks
which; each open is recorded for the clean-up. The project menu gains Copy
originals... and Proxies only..., refused while changes are unsaved or jobs
of the sequence run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase 5c P4. The workspace no longer grows without bound: a daily
workspace-cleanup system schedule (04:30, catch-up) removes the media of
projects in step with their home that were not opened for Clean after,
and the size limit removes the least recently used after each copy.
Each project kept is logged with its reason (open in Edit, not in step,
home offline, jobs pending, renders not sent, unreadable, just copied).
- WorkspaceCleaner: cleans under the project's lease, re-checking every
condition; the originals the home no longer holds go to the workspace
trash, never away. The media index is marked Cleaned, so the project
reads as MediaRemoved and opening it copies the media again.
- WorkspaceTrash: lists entries with a fingerprint, and empties only the
plan the user confirmed (refused when the trash changed since).
- Trash dialog view model and view: Erase is enabled only after the user
types the number of entries.
- Removing a copy counts the unsent renders and the last originals. Send
first queues the renders' sending and refuses the removal until they
are sent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Settings › Workspace › Change only pointed Edit at another folder and left
every project behind. Moving a workspace to a bigger or faster disk now
carries its projects along, without ever putting work at risk:
- a plan first: projects, files, bytes, free space at the target, whether
folders are renamed (one volume) or copied (another), projects with work
not at their home as a warning; refused for the folder itself or one
inside it, a target holding a workspace or a same-id folder, a target
inside a library, too little room, or a workspace job still pending
- the WorkspaceMove job checks the plan's fingerprint again, journals the
move in <from>/.move.json, renames each entry on one volume, and across
volumes copies each file to a .part, hashes both sides and only then
renames it into place; the source goes only after every entry is
verified and the desktop switched to the target
- a failure before the switch is undone (renamed entries go back, copies
are removed) so the source stays the workspace; a pause or a closed
program goes on from the journal; a user cancel undoes it
- while a move waits, runs or its journal is in the folder in use, opens,
checkouts, copies, saves, syncs and another folder are refused, and a
journal left at start is offered again with Resume
- the setting names the new folder only once the move verified everything
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase 5c P3. A render made in a workspace must reach its home with the project
and version it was rendered from, and transfers with a server must respect a
metered connection, downloads into the workspace included.
- WorkspaceSendJobHandler: per unsent ledger entry, hash the file again
(missing or changed: marked failed, file left in place), push the named
version first when the home lacks it (failure fails the job, entry pending),
then file it in this PC's archive (staged copy read back against its SHA-256,
project and version checked against the sequence) or upload it to the server
with ProjectId/ProjectVersionId; mark it sent. Idempotent by render id. A send
to a server waits while HoldTransfers says so.
- SyncTransfers: extract FileRenderAsync, the lease-held filing of a staged
render into a sequence's exports, shared by GetExportsAsync and the send.
- ISyncConnector.ProjectHome (default null; SyncHost already implements it) so
the send can push a version to a server home.
- Server: RenderUploads checks the project fields at start and completion
(422 project_mismatch) and records them; RenderDto carries them.
- UploadHold also pauses WorkspaceCopy and WorkspaceSend jobs naming a server;
Server screen checkbox reads "Pause metered transfers".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase 5c (owner review 2, R8) is built by six packages in parallel. This
commit settles everything they share, so each one touches its own files:
- job kinds WorkspaceRender (21), WorkspaceSend (22) and WorkspaceMove (23)
with their wire names, default priorities, notices and parameter records;
their handlers are registered as skeletons that throw until their
package lands
- WorkspaceJobOptions and a new CreateHandlers overload; the earlier ones
stay and default the options
- originals in the media index (an index of phase 5b reads as proxies
only), their file names, and the exports/renders.json ledger of local
renders, written atomically
- the optional project and version of an uploaded render
- the workspace settings (size limit, default media, version on render,
clean-up age, project to open) and when each project was opened, which
Reset and Import keep and Export leaves out
- WorkspaceHost split into partial files, with stubs for usage, trash and
the folder move, removal hooks for unsent renders and last originals,
and a guard that holds work while the workspace moves
- every new string of the phase in English and Italian, with tooltips
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The name follow after a pull caught only the home's own exceptions, so a 403
or any other error from the home's list (or a bundle in use) made a pull that
had already pulled and replayed report a failure. It is now logged as a
warning and the name is followed at the next pull; a cancellation still passes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Edit opens a sequence as a project of a workspace folder outside the library. Projects have linear version histories kept as sidecars in .chronos/projects/, Main mirrors the sequence's settings, and sync merges setting by setting. Migration 0009, JobKind.WorkspaceCopy = 20, Settings › Workspace, and 241 new strings in 38 languages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Alberto Balbo <alberto.balbo.96@gmail.com>