Move project save post-commit planning to app core

This commit is contained in:
2026-06-06 12:16:19 +02:00
parent f3834827b1
commit c8b55b36f7
8 changed files with 176 additions and 28 deletions

View File

@@ -715,8 +715,11 @@ and preserving the legacy direct-write fallback when the temporary file cannot
be opened. The same app-core boundary now also classifies the post-write
commit result for direct writes, successful temporary swaps, remove failures,
and rename-after-remove failures before retained save metadata mutation
continues. The same automation now feeds payload-complete snapshots through the
shared
continues. Post-save side effects are now planned there too: mark-clean,
new-document commitment, timelapse sidecar gating, platform flush, progress
cleanup, and title refresh are reported before retained execution performs the
actual mutations and sidecar serialization. The same automation now feeds
payload-complete snapshots through the shared
`pp_paint_renderer::prepare_document_frame_export_readiness` report, which
records renderer-neutral six-face texture upload commands and encodes the
active document frame's six composited faces to PNG bytes. This gives CLI
@@ -2326,6 +2329,9 @@ Results:
The command now reports the app-core commit plan for direct saves, successful
temporary swaps, target-remove failures, and rename-after-remove failures,
including whether the target may be missing after a failed swap.
It also reports the app-core post-commit side-effect plan, including
clean/new-document metadata updates, timelapse sidecar gating, platform
flush, progress cleanup, and title refresh.
- The same payload-complete snapshot automation now uploads the active document
frame through `pp_paint_renderer::upload_document_frame_faces` and the
`RecordingRenderDevice`, emitting `rendererUpload` JSON with texture,