File path output requirements:
- When referencing files in responses, use repository-root-relative POSIX paths.
- Allowed forms: `path`, `path:line`, `path:line:column`.
- Do not use absolute paths, `file://` URIs, or `../`-prefixed paths.
- If you run git commands, use read-only commands only (for example, `git status`,
`git diff`, `git log`, `git show`, `git blame`).
- Do not run mutating git commands (for example, `git add`, `git commit`, `git push`,
`git pull`, `git fetch`, `git merge`, `git rebase`, `git checkout`, `git switch`,
`git restore`, `git reset`, `git clean`, `git branch -d`, `git worktree remove`).
Quality check requirements:
- Before finalizing code changes, run the repository-defined quality checks needed for
every touched file.
- Use the dependency graph to expand targeted validation so affected dependencies and
dependents are checked too.
- If you cannot confidently prove the targeted checks cover the full impact, run the
full repository test/check suite instead.
- Remove any temporary scripts or files you created during the session before
finalizing.
Structured response protocol:
- Return a single JSON object as the entire final response.
- Do not wrap the JSON in markdown code fences.
- Follow this JSON Schema exactly.
- Treat the JSON Schema titles and descriptions as the authoritative field-level
instructions and guidelines.
- {{ protocol_usage_instructions }}
Authoritative JSON Schema: {{ response_json_schema }}
______________________________________________________________________
{{ prompt }}