Summary
The existing pr-review workflow assumes a single review agent / trigger across repositories, but in practice the review tool differs by organization and repository.
A concrete example:
Borderless-company/Borderless-Contract uses Gemini review, triggered with @gemini review
- other repositories may use a different reviewer / trigger phrase
Because of this, the current flow is brittle:
- the wrong review command can be posted
- follow-up polling may look for the wrong reviewer account
- the automation cannot reliably complete the review-fix-review loop across multiple repos
Proposal
Add repository-aware review tool configuration to pr-review so the workflow can choose the correct reviewer and trigger phrase based on org/repo context.
Examples of configuration shape:
- review provider / reviewer identity
- trigger comment text (for example
@gemini review)
- how to detect review results (review author, comments, thread matching rules)
- optional fallback/default provider when no repo-specific config exists
Desired behavior
pr-review resolves the active repository context.
- It loads the review-tool config for that repo or organization.
- It posts the correct trigger comment automatically.
- It polls the correct reviewer output.
- It continues the fix -> push -> re-review loop without repo-specific manual intervention.
Why this matters
This is not just a wording issue. The review loop currently depends on hardcoded assumptions about which review agent is in use. In multi-org setups, that breaks automation and forces manual correction.
Supporting repo/org-specific review tools would make pr-review reusable across teams that standardize on different reviewers, such as Gemini in one org and a different agent elsewhere.
Scope suggestion
A good first version would support:
- global default reviewer config
- organization-level override
- repository-level override
- clear docs for how to configure trigger phrases and reviewer matching
Example target case
For Borderless-company/Borderless-Contract, pr-review should know to use Gemini-specific behavior instead of assuming the default reviewer.
Summary
The existing
pr-reviewworkflow assumes a single review agent / trigger across repositories, but in practice the review tool differs by organization and repository.A concrete example:
Borderless-company/Borderless-Contractuses Gemini review, triggered with@gemini reviewBecause of this, the current flow is brittle:
Proposal
Add repository-aware review tool configuration to
pr-reviewso the workflow can choose the correct reviewer and trigger phrase based on org/repo context.Examples of configuration shape:
@gemini review)Desired behavior
pr-reviewresolves the active repository context.Why this matters
This is not just a wording issue. The review loop currently depends on hardcoded assumptions about which review agent is in use. In multi-org setups, that breaks automation and forces manual correction.
Supporting repo/org-specific review tools would make
pr-reviewreusable across teams that standardize on different reviewers, such as Gemini in one org and a different agent elsewhere.Scope suggestion
A good first version would support:
Example target case
For
Borderless-company/Borderless-Contract,pr-reviewshould know to use Gemini-specific behavior instead of assuming the default reviewer.