Skip to content

fix: constrain pr-reviewer security model selection - #5639

Merged
atomantic merged 1 commit into
mainfrom
codex/pr-reviewer-tool-free-picker
Sep 1, 2026
Merged

fix: constrain pr-reviewer security model selection#5639
atomantic merged 1 commit into
mainfrom
codex/pr-reviewer-tool-free-picker

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Summary

  • add a reusable provider/model/effort selection policy for security-sensitive pickers
  • restrict the pr-reviewer Security Scan to canonical local HTTP providers and explicitly tool-free installed models
  • run the scan as a direct read-only local preflight, fail closed on unverifiable input, and require human approval before external PRs reach review or merge

Validation

  • client focused Vitest: 319 passed
  • server focused Vitest: 530 passed
  • client lint
  • client production build

The preflight reads public GitHub PR metadata and diffs only; it never checks out or executes contributor code and never posts reviews, comments, approvals, or merges.

Add a reusable provider/model/effort selection policy and apply a fail-closed local, tool-free policy to the pr-reviewer security stage. Run that stage as a direct local preflight, verify model capabilities, and require human approval before external PRs reach review and merge.
@atomantic
atomantic merged commit ed0a0dc into main Sep 1, 2026
7 checks passed
@atomantic
atomantic deleted the codex/pr-reviewer-tool-free-picker branch September 1, 2026 20:17
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