feat: add compose image transforms and explicit file export - #127
Merged
Conversation
Contributor
Author
|
Local checks passed for
Coverage includes all eight EXIF orientations, nine crop anchors, aspect/fit rounding, scratch/output-budget rejection, session authorization and immutable bytes, exact no-clobber exports, a real OS file-size-limit failure retaining partial output, unused effect execution, final-return-only image delivery, and replay after source/export deletion. CI and actual current-head GitHub reviewer approval are tracked separately. This stacked PR depends on #126; no merge or auto-merge is authorized. |
danielkov
force-pushed
the
feat/compose-files-phase-1
branch
from
September 8, 2026 17:10
7a642d7 to
2f76d11
Compare
danielkov
force-pushed
the
feat/compose-files-phase-2
branch
from
September 8, 2026 17:10
2e88405 to
7f97ea1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add hidden
image_rotate,image_crop,image_resize, andexport_filecallables that consume session-authorized managed File references. A complete pipeline runs in one compose invocation; only final returned references deliver pixels.Depends on #126. This PR is intentionally based on
feat/compose-files-phase-1, notmain, and implements phase 2 of the compose-managed-files plan.Impact
Transforms create immutable RGBA8 PNG snapshots after EXIF normalization. Explicit export preserves exact stored bytes and refuses existing destinations; interrupted exports may retain a partial file. PNG compressed profiles and compressed/international text metadata are rejected before decoding to bound ancillary expansion.
Technical details
Subagent multimodality and generalized image presentation remain separate phases.