Share document export readiness reporting

This commit is contained in:
2026-06-05 20:19:46 +02:00
parent 2d33f9d928
commit ebc84373e6
9 changed files with 181 additions and 87 deletions

View File

@@ -676,19 +676,17 @@ delegating to retained `Canvas::project_save`; the app-core snapshot boundary
also has a tested pure PPI export helper, and
`pano_cli plan-canvas-document-snapshot` runs that helper for payload-complete
snapshots and reports generated byte/dirty-face summaries. The same automation
now feeds payload-complete snapshots through the `pp_paint_renderer`
document-frame compositor and renderer-neutral recording upload path, reporting
texture, transition, byte, payload, and command counts through the shared
`record_document_frame_upload` report helper. Payload-complete snapshot
automation also encodes the active document frame's six composited faces to PNG
bytes through `pp_paint_renderer::export_document_frame_face_pngs`, giving the
cube-face export path a pure renderer/document writer primitive before live
writer replacement. Live save writer replacement, export adoption, and
renderer-owned readback remain under
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
automation and live export adapters the same document/canvas-to-renderer
readiness boundary before broader writer replacement. Live save writer
replacement, export adoption, and renderer-owned readback remain under
`DEBT-0010`/`DEBT-0013`/`DEBT-0036`.
Live equirectangular, layer, animation-frame, and cube-face export adapters now
prepare the same payload-bearing document snapshot and renderer-neutral upload
report helper plus pure face-PNG export report. Cube-face export writes those
prepare the same payload-bearing document snapshot and shared renderer export
readiness report. Cube-face export writes those
document/renderer-owned PNG bytes through a tested app-core write/publish
executor using the app-core-planned legacy face filenames when available and
falls back to retained `Canvas::export_cube_faces` on snapshot/write failure;
@@ -2523,13 +2521,11 @@ Results:
`pano_cli plan-canvas-document-snapshot` reports `ppiExport` readiness,
byte count, and dirty-face count for agent automation.
- Payload-complete canvas snapshot automation also crosses the renderer
boundary now: `pano_cli plan-canvas-document-snapshot` records the same
snapshot through the pure document-frame compositor and renderer-neutral
texture upload stream through `pp_paint_renderer::record_document_frame_upload`,
and encodes the composited active-frame cube faces as PNG bytes through
`pp_paint_renderer::export_document_frame_face_pngs`, so agents can validate
document/canvas payloads moving into renderer commands and image bytes before
live canvas export/save writer replacement.
boundary now: `pano_cli plan-canvas-document-snapshot` feeds the same snapshot
through `pp_paint_renderer::prepare_document_frame_export_readiness`, which
records the renderer-neutral active-frame texture upload stream and encodes
the composited active-frame cube faces as PNG bytes, so agents validate the
same document/canvas-to-renderer readiness report consumed by live export.
- Live image/collection/cube export adapters now prepare and log the same
document/canvas plus shared renderer-upload and face-PNG export readiness
reports. Cube-face export now writes the pure document/renderer PNG bytes to