feat(pr-review): expose queue priority as a standard capability - #4345
Conversation
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
Self-review / validation receiptReviewed the exact head
Checks: 143 focused pytest tests, PR-review command smoke, targeted Ruff, |
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
Refinement after CI feedbackThe first full matrix caught one maintainability-ratchet issue: this capability wiring crossed the existing 1,500-line boundary of The local maintainability-ratchet test now passes, and the packaged frontend build fix remains in this head. |
Final pre-merge gateAfter the baseline refinement, the exact changed-file premerge run executed 17 checks with 0 failures: diff hygiene, changed-Python compile, catalog canaries, risk-profile smokes, and maintainability ratchet all passed. |
Summary
pull_request_review.review_prioritysetting with defaultother-developers-firstand explicitowner-firstmode.Changed surfaces
Validation
examples/pr-review-command-smoke.pypassed.git diff --checkpassed.tsc --noEmitpassed; Vite client/chat builds completed.loopx canary premerge: 6/6 checks passed,merge_gate_passed=true, no manual holds.uv.lockand failed only its install-local smoke; that artifact was not staged or modified. The exact changed-file canary excludes it and passes.Self-review
The queue mode is normalized through one typed enum and carried through policy, fingerprint, packet, and observation state, so stored configuration and explicit CLI overrides cannot silently diverge. Owner identity is only the authenticated reviewer login; the capability does not infer organization membership or trust. Feature-off behavior remains the default other-developers-first ordering, and owner-first is opt-in.
Authorized for self-merge after the checks above.