@CONTRIBUTING.md
Before drafting any pull request description, strictly adhere to the rules in CONTRIBUTING.md above.
CONTRIBUTING.md@CONTRIBUTING.md in rule definitions so that PR formatting rules are injected into context whenever PR workflows run.fix: / feat:: User-visible changes ONLY.build: / build(release):: Internal release tooling (dev/release/), developer workflows, and build scripts. Always prefer build(release): over chore: or chore(release):.docs:: Documentation and issue templates (.github/ISSUE_TEMPLATE/).ci:: .bazelci and Buildkite CI configurations.workflow: / workflows:: GitHub Actions workflow configurations (.github/workflows/).tests:: Test-only changes and test-helper fixes (never fix: or fix(tests):).agents: / agents(<scope>):: Agent rules, skills, and prompts (.agents/).refactor:: Internal refactoring and fixes for unreleased changes. Never use fix: or feat: unless modifying released, user-visible behavior.PTAL only when ready for re-review, post a brief notice when /review-code re-wraps another contributor‘s PR description, or post a single summary comment when pushing direct fixes while reviewing another author’s PR.Work towards #<issue>), never in commit messages; rebasing commits with #<issue> spams the issue.rules_python): Base each child PR on its parent branch (--base <parent-branch>), register the PRs in GitHub's native PR stack via .agents/scripts/gh_pr_stack.py (create / add), and omit stack headers or tables from the PR description.rules_python): Add DO NOT MERGE: awaiting #<parent_pr> to child PR descriptions./review-code, run .agents/skills/review-code/scripts/wrap_pr_body.py directly on GitHub PRs and, when editing another contributor’s PR, post a brief notice comment instead of drafting a long formatting suggestion."do not merge" label to the PR when the PR description contains open questions (e.g., gh pr edit <pr> --repo bazel-contrib/rules_python --add-label "do not merge").TODO items, or “Things we could do / follow-up” notes. Evaluate each item against the diff and project rules, flag unresolved items with BLOCKER, QUESTION, or HUMAN-SIGN-OFF, and verify the "do not merge" label is applied if open questions remain.*This is an agent-generated comment unreviewed by the user.**This is an agent-generated comment reviewed and approved by the user.*arXiv:2610.29162v1): Keep review replies to 1-3 short sentences (~15-60 words) leading with the commit hash or direct answer. Pair direct subjects with concrete verbs ("I replaced X in <sha>", "str::lines strips \r\n"); avoid inanimate subjects with agentive verbs ("This commit facilitates..."), denominal verbs, 3+ stacked nouns, center-embedded relative clauses, and excessive inline backticks. Critically evaluate each comment against source/specs first and push back concisely when a premise does not hold.addPullRequestReviewThreadReply (gh api graphql, batching at most 3-4 mutations per request to avoid 502 Bad Gateway timeouts), and do not resolve review threads (resolveReviewThread) unless explicitly instructed.