Skip to content

Instruct agents to fix all static check failures, including pre-existing ones#1659

Merged
nathanjmcdougall merged 3 commits intomainfrom
copilot/configure-agents-static-checks
Mar 31, 2026
Merged

Instruct agents to fix all static check failures, including pre-existing ones#1659
nathanjmcdougall merged 3 commits intomainfrom
copilot/configure-agents-static-checks

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 30, 2026

Agents were not clearly told to fix static check failures that predate their PR. CI enforces checks on the entire codebase, so pre-existing failures block PRs just the same.

  • usethis-qa-static-checks SKILL.md (v1.6→v1.7): New section "Fix all failures, including pre-existing ones" with rationale and escape hatch for large-refactor cases
  • AGENTS.md: Strengthened the usethis-qa-static-checks bullet in "Generally Important Instructions"
  • usethis-python-code-modify SKILL.md (v1.3→v1.4): Reinforced the same expectation in "Run static checks after finishing modifications"

…ing ones

- Add "Fix all failures, including pre-existing ones" section to
  usethis-qa-static-checks SKILL.md (v1.6→v1.7)
- Strengthen usethis-qa-static-checks guidance in AGENTS.md
- Update usethis-python-code-modify SKILL.md (v1.3→v1.4) to reinforce
  the requirement

Resolves #1676

Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/f86eed16-423e-469c-87e9-6f84dbfe3755

Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Copilot AI changed the title [WIP] Add compliance instructions for static checks in agents Instruct agents to fix all static check failures, including pre-existing ones Mar 30, 2026
Copilot AI requested a review from nathanjmcdougall March 30, 2026 22:53
@nathanjmcdougall nathanjmcdougall marked this pull request as ready for review March 31, 2026 21:56
@nathanjmcdougall nathanjmcdougall merged commit b949a41 into main Mar 31, 2026
1 check passed
@nathanjmcdougall nathanjmcdougall deleted the copilot/configure-agents-static-checks branch March 31, 2026 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Configure agents to emphasize the need to comply with static checks even for unrelated changes

2 participants