You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[agent-issue]: Allow model-selected reviewers in create-pull-request #2090
The model-facing CreatePrParams accepts title, description, repository, and labels, but not reviewers. This prevents workflows from selecting reviewers dynamically—for example, adding the assignee of the issue that triggered an autofix workflow.
Reproduction details
Create an issue-triggered workflow that opens an Azure DevOps PR.
Provide the authoritative issue assignee to the model.
Ask the model to add that assignee as a reviewer.
The model cannot include reviewers in its create-pull-request call.
update-pr supports dynamic reviewers, but requires a numeric PR ID that does not exist until safe-output execution.
This leaves custom post-processing scripts or hardcoded reviewers as the only options.
Expected: the model can propose reviewers as part of create-pull-request, subject to safe-output policy and threat detection.
Proposed next step
Add an optional reviewers field to CreatePrParams.
During safe-output execution, merge and deduplicate model-supplied reviewers with statically configured reviewers, then use the existing reviewer identity resolution and PR reviewer APIs.
Consider requiring explicit operator opt-in, such as allow-agent-reviewers: true or an allowed-reviewers policy. Update the tool schema, documentation, and executor tests accordingly.
Why: This requests a new optional reviewers field on CreatePrParams for the create-pull-request safe output, which is a feature request touching the Rust compiler's safe-output implementation (src/safe_outputs/create_pull_request.rs) and executor.
Automated triage — a maintainer can adjust labels anytime.
Generated by Issue Triage · auto · 20.5 AIC · ⌖ 1.79 AIC · ⊞ 9.9K · ◷
Activity
github-actions commentedon Sep 3, 2026
🏷️ Triaged
Labeled as enhancement, rust.
Why: This requests a new optional
reviewersfield onCreatePrParamsfor thecreate-pull-requestsafe output, which is a feature request touching the Rust compiler's safe-output implementation (src/safe_outputs/create_pull_request.rs) and executor.Automated triage — a maintainer can adjust labels anytime.