claim_next_finding_for_fix
Claims the next confirmed or eligible retryable finding in an audit plan by priority for fixing and sets its status to in_fix in one transaction.
Instructions
Audit-plan-only: claim the highest-severity confirmed (or below-cap fix_failed/partial) finding to fix. Caller is implicitly the 'fixer' for the claim. Sets the finding status to in_fix as part of the claim transaction.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| PlanId | Yes | ||
| as_agent | No |