Repository navigation
docs(ai): self-assign only own pull requests, never dependency updates - #1262
Merged
Merged
Conversation
Agents were told to assign themselves to every pull request they create or update. cfwf refuses that on a pull request with no commit by the agent, and on an adopted dependency-update pull request the maintainer's assignment is what keeps it in the work queue, so the instructions now limit self-assignment to the agent's own pull requests and forbid it, and any assignee change, on depends/ and dependabot/ branches. Closes #1208 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Pre-commit-Timings: total=10s check-identity=0s check-merge-commits=0s check-ignored-files=0s check-funfair-props=0s clean-package-lock-registry=0s pre-commit=10s(check-merge-conflict=0.09s,check-case-conflict=0.1s,check-added-large-files=0.12s,end-of-file-fixer=0.1s,trailing-whitespace=0.07s,mixed-line-ending=0.09s,check-toml=skipped,detect-private-key=0.08s,trufflehog=2.97s,check-executables-have-shebangs=skipped,check-shebang-scripts-are-executable=0.09s,check-json=skipped,check-xml=skipped,check-yaml=skipped,shellcheck=skipped,shellcheck-libraries=skipped,yamllint=skipped,flake8=skipped,markdownlint=1.03s,ansible-lint=4.57s,hadolint=skipped,check-compose-volumes=skipped,check-msbuild-path-separator=skipped,actionlint=skipped,composite-action-lint=skipped,pylint=skipped,stylelint=skipped,dotenv-linter=skipped,eslint=skipped,xmllint=skipped,bats=0.01s,trivy=skipped) check-changelog=skipped check-benchmark-project-names=skipped buildcheck=skipped buildtest=skipped npm-test=skipped tsqllint=skipped sqlfluff=skipped cfn-lint=skipped
Contributor
|
Thanks for opening this pull request! Please make sure you have read the contributing guidelines. |
steward-warden
marked this pull request as ready for review
November 19, 2026 14:55
Collaborator
AI Review Loop: reviewed e4b06e3Self-reviewed: three one-line instruction edits, with wording rules checked (current rule plus reason, no issue references) and the |
steward-warden
enabled auto-merge
November 19, 2026 14:55
credfeto
approved these changes
Nov 19, 2026
Owner
Super-linter summary
All files and directories linted successfully For more information, see the GitHub Actions workflow run Powered by Super-linter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Agents should only self-assign their own pull requests, and never touch the assignees of dependency-update pull requests.
task-workflow.instructions.md(Assignment):--assign-selfonly on a PR you created or have committed to, and a refusal on someone else's PR is expected and needs no comment. A new rule says never to assign yourself to adepends/ordependabot/PR or change its assignees, because the maintainer's assignment is what keeps it in the work queue and already makes it the agent's to work.agent-roles.instructions.md(PR Submitter): the "add yourself as assignee" step has the same limits and points at Assignment.github-cli.instructions.md(Common Mistakes): the--assign-selfnote has the same limits.No CHANGELOG entry, because this is a template repo.
Closes #1208
🤖 Generated with Claude Code