feat(agents): triage PR ergonomics — refs adcp#3121#279
Merged
Conversation
Mirrors adcontextprotocol/adcp#3172. Three coordinated edits to .agents/routines/triage-prompt.md: 1. Pre-PR gate: do not declare "approved" while build is red. 2. PR body now carries a "Triage-managed PR" block documenting the no-iteration policy (push fixup commits or re-trigger via /triage on the source issue). 3. claude-triaged label applied to PR after gh pr create (mirrors issue label, searchable from PR list views). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Mirrors the changes from adcontextprotocol/adcp#3172 — three coordinated edits to
.agents/routines/triage-prompt.mdfrom issue adcp#3121.What changes
1. Pre-PR build + test gate. Adds explicit "do not declare 'approved' in the pre-PR review block while build is red" rule, per adcp#3121 evidence that the bot's "approved" verdict next to red CI was a trust-eroding signal across 5+ recent PRs.
2. PR body now carries a "Triage-managed PR" block documenting the no-iteration policy:
Reviewers no longer have to guess whether to wait, push, or send back manually.
3.
claude-triagedlabel applied to the PR aftergh pr create(mirrors the issue label):Makes triage-managed PRs searchable in PR list views, complements the
claude/issue-NNNN-*branch pattern as a PR-ownership signal.Repo-specific
This repo's pre-PR build commands stay as documented in PR constraints (no command change here, just the "don't approve while red" rule and the PR-body / label additions). adcp's PR uses
npm run build && npm run typechecksince adcp'sbuildchains the storyboard / compliance lint surface that motivated the original ask.🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com