photoshop_guard_lint_next_pass
Validate a proposed Guard continuation and its prior observation before execution without painting. Returns violations, error codes and field corrections to fix the draft before running it.
Instructions
Optionally validate a complete proposed Guard continuation before execution, including its previous observation. Use for a new risky draft; cycle_auto already validates, so do not lint each normal component or separately close a reviewed previous pass. Requires next_pass; retain its pinned document_id and complete construction/ownership fields. Include previous_operation_id plus previous_observation when continuing an operation, or review_operation_id for retained-frame re-evaluation, following the existing review instructions. Reads Guard state under a temporary controller lock and compiles the proposal without painting, persisting a review or closing an operation. Returns ok, execution=not-executed, visual_mutation_started=false, violations, error_codes, normalizations, compiled_operation and rejection. ok=false means correct the listed fields; success is not execution or artistic approval. Submit the same validated continuation once to photoshop_guard_cycle_auto, without another lint or close-only call. Runtime failures return isError=true with guard_next_pass_lint_failed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| next_pass | Yes | Use the exact next_pass schema published by photoshop_guard_cycle_auto; validation returns all field corrections without mutation. | |
| document_id | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool verifies that this document is already active and fails closed if another tab is active. It never switches the active Photoshop document automatically. | |
| review_operation_id | No | Existing exact-frame operation for retained-frame re-evaluation; follow review instructions rather than re-closing its old pass. | |
| previous_observation | No | Compact visual closure. Supply observed + target, with optional regression/action and structured review_findings. A finding may trigger read-only crop enrichment for the same operation before closure. target is operation-local; planner_task_assessment is separate and optional. | |
| previous_operation_id | No | Prior operation to continue using previous_observation; lint validates this closure without committing it. |