paths_to_ai now writes one Path_Begin/Path_End block per path, one *u/*U group per subpath with its combine note and 1 XR, and no path name. A Join subpath takes the note of its component.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
bake_cube_layers now takes the document's sample type, writes the reference
comment layout around the header, and rounds 8- and 16-bit values to
multiples of 1/32768. 32-bit values stay unquantised.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
In closed-app headless MCP mode, a given --automation-read-root or
--automation-write-root replaces the app's agent folder for that
direction only. Say so in control-protocol.md and mcp.md, and pin it
with a test for each direction.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Adds a separator after Crop and Straighten Photos and after Contact Sheet II, and removes the one between Lens Correction and Merge to HDR Pro, matching the measured reference order. Ids and order are unchanged.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Model-Effort: Opus 5.5 drove; Opus 5.5 briefed; Sonnet 5.5 wrote at medium
The Line tool framed its active live line with the shape tools' axis-aligned box and eight handles. It now shows a handle at each end and a round widget at the midpoint instead, and with an arrowhead the box aligned with the segment and its side handles. The ends still scale the line as the box's corner handles there did; the hidden handles and sides take no press. The box for the other tools, and for other shapes under the Line tool, is unchanged.
Export As starts only from a click on its Export button, as in the reference
application: Enter, with no text field taking it, leaves the dialog open. Enter
in Scale, Width or Height still commits the field, and Escape still cancels.
Every other dialog keeps Enter = OK.
- Without the AI-MCP flag plain `photocraft-cli mcp` is headless as before: a
Control Port saved before the agents switch no longer makes it look for the
app, start it or apply When PhotoCraft Is Closed. Test in
mcp_without_consent_works_headless (fails without the gate).
- `prefs::read_integrations_section` (migrate + lenient read) is shared by the
app's launch read and `photocraft-cli mcp`: one bad value resets only itself,
so a saved "error" closed-app choice no longer falls back to Launch in the CLI.
Replaces the app's hand-written per-field reader. Test in
integrations_come_from_the_saved_preferences_or_default (fails without it).
- docs/development.md: the headless client examples pass --headless.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Clippy's chunks_exact_to_as_chunks lint rejects chunks_exact_mut(4) under
-D warnings; main uses as_chunks_mut for the same pattern.
Co-Authored-By: mlo0352 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Triangle tool's options bar gets an Align Edges checkbox, saved with the
tool options and on by default. It is enabled in Shape mode and greyed in Path
mode. With it off, a Triangle drag in Shape mode keeps the drag's fractional
coordinates; with it on, or greyed, the box snaps to whole pixels as before.
The other shape tools keep snapping.
The reference application keeps a (+60, -25) Shift drag of an anchor horizontal, just past the 22.5 degree split of snap45. A new snap45_anchor keeps drags up to that slope on the axis; steeper drags and the Gradient tool's snap45 are unchanged.
A group has no pixels of its own, so with Sample All Layers off Quick
Selection fell back to the composite and a click selected a whole shape
from the layers inside. The reference application selects only the brush
disc there, as on a flat area. Quick Selection now reads a flat image for a
group (not an artboard) when Sample All Layers is off; with it on, and for
an adjustment layer, it reads the composite as before.
* Live stroke canvas test: wait for the stroke to settle before the drawing picture (#13477)
The live stroke paints on its own thread and a frame waits only 6 ms for it.
A step that finishes later is collected only by the next pointer event, so on
a slow runner the "drawing" picture could show the stroke one step behind and
release painted the rest (76/255 on CI). The test now holds the pointer still
(repeats its last move) and takes pictures with short real waits until three
in a row match, bounded so it can't hang.
Test-only change.
* Live stroke canvas test: also wait for the stroke to go idle (#13477)
Matching pictures alone don't prove a slow step has finished, so the settle loop
now also requires the live stroke to be idle. PhotocraftApp::live_stroke_busy
exposes the existing internal check read-only for that.
* Fail the live stroke test if settling times out
---------
Co-authored-by: FredApps <[email protected]>