# PhotoCraft — round 2026-11-12 changes Re-pinned: v0.21.0 (`efb7ebd`) -> v0.23.1 (`45066c4`, tag `v0.23.1`; the installed bundle prints `photocraft 0.23.1 (45066c482, 2026-11-12)` and its bundled `photocraft-cli` prints the same triple). ## Corrected / re-measured - **Engine registry: 993 -> 1009 commands**, measured live with `photocraft-cli commands | wc -l` from the installed 0.23.1 bundle (the same method the published skill named). Ten of the sixteen new ids are literal in code: `file.openAsSmartObject`, `layer.copyCSS`, `layer.layerMask.moveTo`, `path.intersectWithSelection`, `actions.menuItem`, `actions.insertMenuItem`, `actions.insertPath`, `actions.allowToolRecording`, `actions.recordAgain` and `actions.duplicate`; the other six of the sixteen-command growth are not among the literal id declarations scanned (generated rows account for them), and the CLI total stays the authority. - **Menu parity: 660/660 -> 664/664** (`docs/parity-checklist.md:5`). The guard in `crates/ui-egui/src/menus/parity.rs:10` is `FLOOR = 663`, one behind the generated count — the floor is a lower bound, not the parity number. - **Tools: 68 -> 69.** `Tool::Star` (`crates/ui-egui/src/state/tool.rs:74`) splits the shape flyout's star out of the Polygon tool; `pub const ALL: [Tool; 69]` at `:84`. - **Actions ids: 21 -> 27 `actions.*` ids** (`photocraft-cli commands | grep -c '^actions\.'`). New: `actions.menuItem` (`crates/engine/src/cmd/atn_cmds/menu_item.rs:33`), `actions.insertMenuItem` (`crates/engine/src/cmd/actions_edit_cmds.rs:413`), `actions.insertPath` (`crates/engine/src/cmd/actions_edit_cmds/insert_path.rs`), `actions.recordAgain` (`crates/engine/src/cmd/actions_edit_cmds/record_again.rs`), `actions.allowToolRecording` and `actions.duplicate`. - **`.atn` event table: 204 -> 206 rows** (`crates/engine/src/cmd/atn_cmds/events.rs:390` `const EVENTS`; 109 macro rows + 97 `Event {` literals). `docs/file-format-parity.md` counts 145 *supported event kinds*, a different tally; do not mix them. - **CLI export flags: 12 -> 14** (`ExportArgs` in `apps/photocraft-cli/src/args.rs`): `--metadata ` and `--no-maximize-compatibility` are new. Subcommands are unchanged at 8 + `help`. - **UI languages: 27 -> 34 non-English catalogs (35 languages including English)** (`crates/ui-egui/src/i18n.rs:90` `LANGUAGE_COUNT: usize = 35`, `:94` `LANGUAGES`). New since v0.21.0: `az`, `he`, `ka`, `ro`, `ta`, `th`, `ur`; `sr` became `sr-latn`. **The catalogs no longer live in this repo**: they are `storytold/craft-i18n` at the commit in `craft-i18n.rev` (`e02939ef…`), embedded through `CRAFT_I18N_DIR` by `crates/ui-egui/build.rs`, so the old `crates/ui-egui/src/i18n/*.tsv` count no longer exists. - **Dead preferences: 10 of 192 -> 8 of 199** (`docs/scorecard.md:215`, generated by the prefs audit). `docs/gaps.md`'s header prose still says 11 of 183. - **PDF is now a read format.** `crates/io/src/pdf_import.rs` renders pages through the shared `craft-pdf` (Hayro) crate and opens each page as one raster artboard on a shared canvas: `MAX_PAGES: usize = 16` (`crates/io/src/pdf_import.rs:51`), 300 DPI default, DPI lowered to fit the renderer's side/pixel bounds, `MAX_UNION_PIXELS` 200 M. `.ai` files whose bytes start with `%PDF-` take the same importer (`crates/io/src/lib.rs:571`). Experimental editable text/paths exist only behind the `pdf-editable` feature, which `apps/photocraft-cli` enables (`crates/io/src/pdf_editable.rs`), so `--pdf-editable` is a CLI-only path; the desktop app and MCP open PDFs as raster artboards. - **`--pdf-dpi`, `--pdf-pages`, `--pdf-editable`** are new `convert` flags (`apps/photocraft-cli/src/args.rs`), and `convert` is where they apply — engine `file.open` passes `ImportOptions::default()`, so the GUI has no PDF page/DPI dialog. - **`--automation-read-root` is repeatable** (`crates/automation/src/args.rs`, `crates/automation/src/workspace.rs:49` `with_read_roots`): ordered read directories, first existing file wins, only a missing file tries the next root; still exactly one write root. A document opened from a read root outside the write root has no implicit save target and needs an explicit Save As. - **Bridge authentication gained a challenge handshake** (`crates/automation/src/security.rs:20` `auth.challenge`, `:185` `ServerHandshake`): a client nonce, a server nonce plus HMAC-SHA256 `serverProof`, then `auth {proof}`; the token is never sent. The old single-frame `auth {token}` is still accepted, and `photocraft-cli mcp --bridge` never falls back to it. - **Raw naming changed in the UI only**: menus and windows say **RAW Develop** / **RAW Develop Filter…** / **RAW Defaults…**, while the command id `filter.cameraRaw`, raw preference ids and PSD/XMP interchange names are stable (`docs/feature-names.md`; `crates/ui-egui/src/menu_catalog.rs`). - **Corpus totals grew, floors did not**: io corpus 169 -> 170 files (floor 148), psd-tools 308 -> 309 (floor 249), Photoshop oracles 258 (floor 190). `crates/io/tests/it/corpus.rs:151-159`. - **`docs/gaps.md` lags the code in three places this round**: G10 still lists "Photoshop PDF read" as missing (it landed 2026-11-07 per `docs/file-format-parity.md`), G6 says "0 of 68" tools (the enum has 69), and the header repeats 11 of 183 dead preferences (scorecard: 8 of 199). The code and generated scorecard win. ## Method - `git -C rev-parse HEAD` = `45066c48292e92229ada3459a83453439514c83d`, tag `v0.23.1` (merge commit "Merge tested main for v0.23.1", 2026-11-11); `git diff --stat v0.21.0..HEAD` = **1347 files, +140,005 / -122,246**, with `crates/ui-egui` (655 files) and `crates/engine` (263) carrying most of it. - Every count was re-derived from the new tree or the installed read-only CLI, never from the release notes: `photocraft-cli commands`, `commands | grep -c '^actions\.'`, `commands | grep -c '^filter\.'`, `--help`, `--version`, plus the `grep`/`awk` extractions recorded in `evidence.md`. - Automation sets were diffed **as sets** against the v0.21.0 tree with one method: control methods from `crates/ui-egui/src/control.rs:186` `METHODS` (28, zero diff), headless `serve` from `crates/automation/src/rpc.rs:42` (19, zero diff), MCP `#[tool(` in `crates/automation/src/server.rs` (26, zero diff), fail-closed ids in `crates/automation/src/workspace/tests.rs:644` (14, zero diff). - New capability paths were read in full: `crates/io/src/pdf_import.rs`, `crates/io/src/pdf_editable.rs`, `crates/engine/src/cmd/file_cmds/open_as_smart_object.rs`, `crates/engine/src/cmd/layer_css_cmds.rs`, `crates/engine/src/cmd/atn_cmds/menu_item.rs`, `crates/automation/src/security.rs`, `crates/automation/src/workspace.rs`, `docs/control-protocol.md`, `docs/mcp.md`. - One live check was run against the installed bundle in a throwaway temp directory: `photocraft-cli convert probe.pdf probe.pcraft --pdf-dpi 96` then `info` returned one artboard group "Page 1" holding one pixel layer (816 × 1056, 96 DPI), `--pdf-pages 4` was refused with "PDF page range starts at 4, but the PDF has 1 pages", and `--pdf-editable` warned that the PDF's fonts may change on edit. No GUI was launched. - Every repo-relative path cited by the published skill was re-resolved against this clone. Line numbers that moved were refreshed: `crates/engine/src/cmd/atn_cmds/events.rs` 378 -> 390, `crates/engine/src/cmd.rs` 1093 -> 1209 (`ADJ`), `crates/ui-egui/src/state/tool.rs` 82 -> 84, `crates/automation/src/workspace/tests.rs` 375 -> 644, `docs/scorecard.md` 212 -> 215. - Installed bundle inspected read-only: `Contents/Info.plist` (0.23.1, `ai.storyteller.photocraft`, minimum macOS 11.0), `Contents/MacOS/PhotoCraft --version`, `Contents/MacOS/photocraft-cli`. ## Unchanged - **MCP: 26 tools + 2 resources**; **control channel: 28 methods**; **headless `serve`: 19 methods** — all unchanged at v0.23.1 (zero diff in the id sets). `doc_save` gained optional `maximizeCompatibility` and `pdfSpotPlates` params (and `doc_export_layers` `maximizeCompatibility`) without changing the tool set. - **124 live `filter.*` ids** = 47 `filter.gallery.*` + 64 pairwise + 13 workspace/lifecycle (`photocraft-cli commands | grep -c '^filter\.'`), unchanged at v0.23.1. - **23 codec formats** (`crates/codecs/src/format.rs:110` `[Format; 23]`), same asymmetries: PCX/XPM/DICOM read-only, JPEG XL export-only, AVIF write-only behind `avif`, HEIF read-only behind `heif`. The HEIF decoder moved from the deleted `crates/heif` to the shared `craft-heif` crate (craft-libs), with no change to what opens. - **16 adjustment-layer kinds** (`crates/engine/src/cmd.rs:1209` `ADJ`) and their 16 destructive twins (22 destructive adjustment kinds in total); **10 layer effects**; **34 blend modes**. - **Export As 6 formats** (`crates/engine/src/cmd/export_preset_cmds.rs:13`); **Save for Web 6** formats including WebP. - **14 fail-closed filesystem commands** and the desktop-only `image.mode.*` refusal (`crates/automation/src/workspace/tests.rs:644`). - **Plug-in ABI v1** and its 5 `plugin.*` commands (`crates/plugins/src/runtime.rs:14`), with the same wasmi limits (32 MiB module, 512 MiB memory, 50 M instructions + 4,000 per sample, 60 s). - **Automation budgets**: 8 MiB reply, 5 MiB PNG, 2048 preview side, 64 M source pixels, 256 batch steps, 30 s IO, 10 s auth deadline (`crates/automation/src/{budgets,security}.rs`). - **`.pcraft` `format_version` 1** (craft-libs `pcraft-format`), with the optional `full_composite` member; `--pcraft-full-composite` still only requests it. - **PSD corpus floors**: 148/170 (io), 249/309 (psd-tools), 190/258 (Photoshop oracles); round trips 169, 308, 258. - Platform, pen-tablet, print, camera-raw core, selection and colour-management prose: path-verified at this tag and carried forward, with the raw additions recorded in SKILL.md (compressed Fujifilm RAF, Hasselblad 3FR/FFF, Puppet Warp PSD mapping). ## Known gap in this round - This is a pin-and-verify refresh, not a new deep audit: prose the delta does not touch was path-verified and kept, not re-derived claim by claim. Behavioural details (what a dialog remembers, how a filter preview draws) were not re-read. - The 1009-command registry comes from the installed bundle, which matches this tag (`45066c482` in its version string). Ten new ids are named above; the other six are not literal declarations in the modules scanned (generated rows), and a static count of registration sites would still disagree by a few dozen, so the CLI remains the authority. - The `.atn` story carries three different numbers: 206 rows in the code's `EVENTS` table, 145 supported event kinds in `docs/file-format-parity.md`, and 90 in an old scorecard row (`docs/scorecard.md`, AUTO-219-2). Only the first was re-measured here. - `docs/gaps.md`'s PDF/tool/preference lines were recorded as drift, not silently "fixed" in the skill: the skill states the measured values and names the doc mismatch where it matters.