Skip to content

docs(ai): self-assign only own pull requests, never dependency updates - #1262

Merged
steward-warden merged 1 commit into
mainfrom
fix/1208-assign-self-own-prs-only
Nov 19, 2026
Merged

steward-warden merged 1 commit into
mainfrom
fix/1208-assign-self-own-prs-only

Conversation

@prpixie

@prpixie prpixie commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

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-self only 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 a depends/ or dependabot/ 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-self note has the same limits.

No CHANGELOG entry, because this is a template repo.

Closes #1208

🤖 Generated with Claude Code

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
@prpixie prpixie added the auto-pr Pull request created automatically label Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for opening this pull request! Please make sure you have read the contributing guidelines.

@steward-warden
steward-warden marked this pull request as ready for review November 19, 2026 14:55
@steward-warden

Copy link
Copy Markdown
Collaborator

AI Review Loop: reviewed e4b06e3

Self-reviewed: three one-line instruction edits, with wording rules checked (current rule plus reason, no issue references) and the task-workflow.instructions.md#assignment anchor confirmed. The pre-commit hooks and all 16 checks passed.

@credfeto

Copy link
Copy Markdown
Owner

Super-linter summary

Language Validation result

All files and directories linted successfully

For more information, see the GitHub Actions workflow run

Powered by Super-linter

@steward-warden
steward-warden merged commit 62ee714 into main Nov 19, 2026
73 checks passed
@steward-warden
steward-warden deleted the fix/1208-assign-self-own-prs-only branch November 19, 2026 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-pr Pull request created automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs(ai): only self-assign pull requests that carry the agent's commit

3 participants