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>
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>