Skip to content

agents: add rules_python usage auditor and open-question label rule - #4249

Merged
rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:extract_agent_configs_pr
Oct 12, 2026
Merged

rickeylev merged 1 commit into
bazel-contrib:mainfrom
rickeylev:extract_agent_configs_pr

Conversation

@rickeylev

@rickeylev rickeylev commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Ensure Bzlmod pip.dep() invariants and open questions in pull
requests are systematically checked during agent workflows.

Add a .agents/rules/rules_python.md rule and a corresponding
rules_python Usage Auditor subagent to review-code to verify that
@pypi targets referenced under python/** have pip.dep()
declarations in MODULE.bazel. Update pr.md, create-pr, and
review-code to require the do-not-merge label when PR
descriptions contain open questions and to audit open questions or
follow-up items during code review.

Add a dedicated rules_python Usage Auditor subagent and rules_python.md
rule to verify Bzlmod pip.dep() declarations for @pypi targets under
python/**, and require the 'do not merge' label when PR descriptions
contain open questions.
@rickeylev
rickeylev requested a review from aignas as a code owner October 12, 2026 03:47
@rickeylev
rickeylev enabled auto-merge October 12, 2026 03:48
@rickeylev
rickeylev merged commit 4590782 into bazel-contrib:main Oct 12, 2026
6 of 7 checks passed
@rickeylev
rickeylev deleted the extract_agent_configs_pr branch October 12, 2026 14:38
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.

1 participant