Skip to content

feat(agents): triage runs pre-PR expert review on diff#865

Merged
bokelley merged 1 commit into
mainfrom
bokelley/triage-pre-pr-review
Apr 24, 2026
Merged

feat(agents): triage runs pre-PR expert review on diff#865
bokelley merged 1 commit into
mainfrom
bokelley/triage-pre-pr-review

Conversation

@bokelley

Copy link
Copy Markdown
Contributor

Summary

Mirrors adcontextprotocol/adcp#2999.

Triage routine now runs a mandatory pre-PR expert review on the diff (not just the plan) before opening the PR. Spawns code-reviewer + the matching domain expert in parallel, classifies findings as blocker/nit/out-of-scope, fixes blockers in up to 2 iterations, records sign-offs in the PR body.

Paired with flipping the triage routine from claude-opus-4-7[1m]claude-sonnet-4-6 (done via RemoteTrigger API) so multi-step flows complete inside the idle-timeout window.

Test plan

  • CI green
  • Fire one triage run after merge; confirm the pre-PR review block appears in the resulting draft PR body

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

All contributors have agreed to the IPR Policy. Thank you!
Posted by the CLA Assistant Lite bot.

@bokelley

Copy link
Copy Markdown
Contributor Author

I have read the IPR Policy

@bokelley

Copy link
Copy Markdown
Contributor Author

recheck

Adds a mandatory pre-PR expert review step between "branch pushed" and
`gh pr create`. Spawns code-reviewer + matching domain expert in
parallel on `git diff main...HEAD`, classifies findings as blocker/nit/
out-of-scope, fixes blockers in up to 2 iterations, records sign-offs
in PR body.

Mirrors adcontextprotocol/adcp#2999. Paired with flipping triage
routines from Opus 4.7 1M to Sonnet 4.6 so multi-step flows complete
inside the idle-timeout window.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@bokelley bokelley force-pushed the bokelley/triage-pre-pr-review branch from bcb6083 to f27dd70 Compare April 24, 2026 10:38
@bokelley bokelley merged commit d856e1e into main Apr 24, 2026
9 checks passed
@bokelley bokelley deleted the bokelley/triage-pre-pr-review branch April 24, 2026 10:43
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