photoshop_guard_set_art_run
Create or update durable art-run settings bound to a verified Photoshop document and immutable process directory, probing readiness and persisting Guard configuration without painting. Retrieve existing runs instead of re-registering.
Instructions
Create or update durable art-run settings for a verified document; use photoshop_guard_resume to retrieve an existing run rather than registering it again. Requires document_id and process_dir; bind document and immutable process_dir, and preserve the original user request verbatim as original_brief, never a success summary. Probes Photoshop/UXP readiness and document identity, creates the process directory and persists Guard settings without painting. Honor presentation_context.painting_profile_selection from the Photoshop panel for NEW art runs; auto allows an explicit choice based on the brief and defaults to nontrivial_painting if omitted. Existing profile locks and transition gates remain enforced. Brush preflight is required before dependent brush operations; supply observed evidence or the brush_pack_profile preflight, not invented preset claims. Commentary settings control presentation, not execution permission. Returns ok, art_run, capability context and next guidance; invalid identity/path/profile/preflight returns isError=true with guard_art_run_rejected and message. Changing original_brief invalidates its evaluation binding; settings alone do not prove painting completion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Positive Photoshop document id for the verified live document whose art-run settings are bound; never substitute another tab to bypass identity checks. | |
| process_dir | Yes | Repository-relative path exactly processes/<subject>-process/<run-name> using lowercase kebab-case. | |
| original_brief | No | Original user request for independent evaluation; changing it invalidates the evaluation binding, so never substitute a success summary. | |
| brush_preflight | No | Durable live brush-role map recorded after bounded installed-preset inventory, effective-settings readback and any role-critical footprint probes. | |
| commentary_mode | No | Presentation style: technical audit text, artistic commentary or mixed. Omission retains existing/user settings; this does not authorize or block painting. | mixed |
| painting_profile | No | Honor the Photoshop panel profile for a new run: simple_graphic or nontrivial_painting. If the panel says auto, select according to the brief; omission defaults to nontrivial_painting. Existing runs keep their profile/Guard transition rules. | nontrivial_painting |
| brush_pack_policy | No | Optional supplied-pack execution policy. preferred allows justified fallback; exclusive means every brush/stamp mark must be explicitly bound to this evidence-backed pack while non-brush Photoshop operations remain available. | |
| commentary_detail | No | short: intent/tools/observation; normal adds layer/preset/settings; detailed adds colors/opacities/gradient stops; technical keeps audit text; no translation. | normal |
| profile_transition_reason | No | Optional reason for upgrading simple_graphic; the stronger profile requirements still apply. | |
| brush_preflight_invalidation | No | Optional explicit invalidation for a replacement brush preflight. Catalog/settings drift is inferred from newly observed inventory/preset/settings evidence when unambiguous; runtime_changed remains explicit when host/runtime evidence requires a reprobe. |