photoshop_guard_set_priorities
Persist a Photoshop document's whole-frame problem priorities after visual assessment, including scale, severity, status, and dependencies, so Guard blocks finer work until must-fix defects resolve.
Instructions
Persist the document's whole-frame problem priorities after visual assessment; use photoshop_guard_status to inspect readiness and photoshop_guard_lint_next_pass to validate a proposed pass. Writes Guard state without painting. problems supplies the ordinary problem set for this update, matched by stable problem_id; omitted ordinary problems are removed, while unresolved structural defects are retained. Open larger must-fix problems block finer work, and dependencies constrain blocker selection. Each problem needs scale and severity; status defaults to open. Changing an existing open problem's status/scale/severity requires evidence_operation_id from an exact-current visual operation with a verdict. Structural defects require an exact-current Critic finding and cannot be resolved by a priority label. current_stage cannot override the durable painting stage. Returns ok=true, updated document state and next guidance; rejected updates return isError=true with ok=false, code=guard_priority_rejected and message. Recording priorities does not certify image quality.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problems | Yes | Problem set to persist by stable problem_id. Include ordinary problems to retain; omitted ordinary problems are removed, but unresolved structural defects remain protected. | |
| document_id | Yes | Positive Photoshop document id whose durable Guard priorities are updated; does not activate a document or paint. | |
| current_stage | No | Optional stage context. Must agree with an existing durable painting stage; stage transitions belong to guarded visual passes, not priority edits. | |
| evidence_operation_id | No | Exact-current visual operation with a completed verdict. Required when changing the status, scale, or severity of an existing open perceptual problem; prevents arbitrary blocker dismissal/reclassification. |