project_auto_fix_loop
Run project quality gates and auto-apply server-side fixes, iterating to guarantee all pass or flag agent actions.
Instructions
Run the project quality gate and automatically apply server-side fixes.
Each iteration:
Evaluates all project quality gates.
For auto-applicable gates (annotation, zone refill) — calls the underlying fix implementation directly on the server, then re-evaluates.
For gates requiring agent action — returns the tool name and description so the agent can call it, then the agent must call this tool again to continue.
The loop runs up to max_iterations times applying auto-fixes. It
stops early when all gates pass or when no further auto-fix is possible
without agent involvement.
Args: max_iterations: Maximum number of auto-fix + re-evaluate cycles to attempt before returning control to the agent (1–20).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_iterations | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| actions | No | ||
| gate_status | Yes | ||
| iterations_used | No | ||
| remaining_issues | No | ||
| ready_for_release | No |