Files
photocraft/scorecard/automation.toml
aiongg ed14e1c413 PhotoCraft on the craft UI framework (#15449)
PhotoCraft's UI moves onto the shared craft UI framework in storytold/craft-libs (next branch): shell, dock and panels, hosted dialogs, keyboard, focus, IME and pointer routing, the canvas's view commands, themes and tokens. The engine, document model, file formats, commands and automation stay. PhotoCraft pins storytold/craft-libs next.
2026-11-17 10:41:35 -05:00

89 lines
5.1 KiB
TOML

# Scorecard checklist: automation (#219). The command count and the menu wiring number come from
# docs/parity-checklist.md.
# Statuses must be true on main. Verified against 4b53f62 on 2026-10-05.
area = "automation"
title = "Automation"
order = 6
[[item]]
id = "AUTO-1"
target = "Every menu item dispatches a command id (UI, CLI, control channel and MCP share them)"
status = "done"
note = "docs/parity-checklist.md: all menu items live; menus.rs is_live"
[[item]]
id = "AUTO-219-1"
target = "Record actions in a document-independent form (implicit layer, merged type keystrokes)"
status = "partial"
issue = 219
note = "actions_record.rs/actions_cmds.rs: active layer ids are dropped, uniquely named layers replay by name, Type tool keystrokes and Move-tool nudge runs fold, document activation records an opening-order offset, and point text placement scales with the playback canvas; numeric-only receivers, ambiguous layer names and paragraph box placement remain open, #4514"
[[item]]
id = "AUTO-219-2"
target = "Actions panel: step and dialog toggles, reorder, delete a step, Stop, sets, .atn import"
status = "done"
issue = 219
note = "2026-10-12: set folders (collapsible, drag between sets, actions.assignSet), dialog toggle column (playback opens the step's dialog seeded with its values and resumes on OK; actions.dialog), Insert Stop… (actions.insert), step toggles, reorder, delete a step; Load/Save Actions (.atn) in the panel menu, CLI batch and actions.load/save (atn_cmds.rs): 90 Photoshop events map to commands both ways, the rest are kept verbatim and fail at playback by name; step toggles, reorder and delete a step done; Stop steps play (actions.stopMessage) but there is no Insert Stop menu item; sets and dialog toggles are stored and round-trip but the panel neither groups by set nor edits the dialog toggle"
[[item]]
id = "AUTO-219-3"
target = "actions.record/stop/play/list commands for agents and the CLI"
status = "done"
issue = 219
note = "actions.list/get/record/stop/play/delete in actions_cmds.rs; the panel, CLI and MCP share them. Nested steps pass the session authorize hook."
[[item]]
id = "AUTO-219-4"
target = "Replay tests for crop, filters, selections and styled text on a second document"
status = "done"
issue = 219
note = "actions_cmds.rs: a_recorded_edit_run_replays_on_a_second_document records a crop, a Gaussian Blur, a selection fill and faux-bold type on one document and replays all of them onto a second (plus the original layer/select/fill replay)"
[[item]]
id = "AUTO-219-5"
target = "Batch: subfolders, open documents, naming template, progress/cancel, error log, stop"
status = "partial"
issue = 219
note = "file_cmds/batch_run.rs and batch_naming.rs: flat subfolder output and last-result-wins names measured in Photoshop 2026; live open-document source; file naming components and serials; UTF-16 LE error log; stop-on-error; CLI and Batch dialog, #4579. Desktop Esc asks Continue/Stop, retaining one plan and error log; a read-only canvas preview shows each scratch-session input without a progress bar. Inputs are not live tabs with Layers panel content, so full window parity remains open."
[[item]]
id = "AUTO-219-6"
target = "Plug-in ABI v2: panel kind, progress/cancel calls, read other layers, Last Filter repeats"
status = "missing"
issue = 219
note = "runtime.rs:15 ABI_VERSION = 1; manifest.rs:18 Kind::Filter only"
[[item]]
id = "AUTO-219-7"
target = "Local ONNX models behind a flag, managed in Preferences; subject select, background removal"
status = "missing"
issue = 219
note = "No ONNX runtime dependency"
[[item]]
id = "AUTO-219-8"
target = "xtask check that every panel button routes through a command id"
status = "partial"
issue = 219
note = "cargo xtask panel-commands (run by xtask ci and CI) fails on a shell click handler that changes the document or session directly; 1 allowlisted function left (panels/color.rs color_field assigns the foreground/background colour instead of tools.setColors)"
[[item]]
id = "AUTO-219-9"
target = "Headless commands for in-canvas type editing, Liquify/Puppet strokes, transform handles"
status = "done"
issue = 219
note = "type.hitTest, type.caret, type.navigate; filter.liquify strokes, edit.puppetWarp pins, type.edit, edit.transform"
[[item]]
id = "AUTO-219-10"
target = "Agent acceptance suite grown to 30-50 workflows"
status = "partial"
issue = 219
note = "automation/tests/it/agent_tasks.rs runs 10 workflows over MCP"
[[item]]
id = "AUTO-MCP-LIVE"
target = "Connect an MCP client to the running app without a terminal (no flags, ports or tokens to copy)"
status = "done"
note = "2026-11-12 (#5525, #11363, craft-ai-integrations#195): the ArtCraft Launcher's agents switch (the one consent; read through craft-ai-agents) starts and stops the loopback control server while the app runs (no restart) and publishes agent-connection.json; plain photocraft-cli mcp works in the open app on every call while agents are allowed (launch / headless / error while it is closed) and headless otherwise (--headless forces it); the launcher's Add buttons register every Craft app, PhotoCraft writes no client configuration. automation/tests/mcp_live.rs, ui-egui prefs_ui/agents_tests.rs, craft-automation tests/it/agents.rs"