image_size_keeps_canvas_edges_opaque asserted the old behaviour (a scaled
full selection after Image Size). Image Size now drops it (#13856); the
corner check moves to resample_doc, which the Crop tool's W x H x
Resolution mode still uses.
#13527 made a Smudge press on a hidden target layer open the "Could not
use the smudge tool because the target layer is hidden." alert. #13187,
merged right after it, added the_other_tools_keep_their_message, which
still expected the status-bar error for the Smudge tool and fails on
main. The test now checks the Smudge tool's alert next to the Brush's.
Resampling to a new pixel size now drops the active selection instead of
keeping a scaled copy, as the reference application does. Undo restores
the old size and selection in one step. A Fit Image that changes nothing
and a resolution-only Image Size keep the selection. The shared
resample_doc helper (Crop tool) is unchanged.
ci.yml's platforms job ran its own copy of the git-sources check; it is
now a git-sources job calling craft-common-actions git-sources.yml.
The web job downloads Trunk through the shared install-trunk action,
which checks the archive's SHA-256, instead of an unchecked curl.
docs.yml builds the book through the shared gate with a prebuilt mdBook
0.4.52, replacing a local job with an unpinned actions/checkout@v7.
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
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 <mlo0352@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.