- Keep diffs small and reviewable.
- Include exact verification commands in final output.
- Do not edit unrelated files.
- If behavior changes, update tests/docs together.
- Reproduce / understand task.
- Implement small change.
- Run checks (
python3 -m pytest -q,python3 -m json.tool .agentsgen.json >/dev/null). - Summarize: changed files + verification + risks.