Scope RedRouter PR review
Or let your coding agent set it up: paste this prompt into Claude Code, Codex or Cursor.
Your files
Add at least one in-scope target.
Merge scope.yaml to your default branch first: the Action reads scope from the PR's base branch. Add a REDROUTER_API_KEY repository secret.
Commit as .github/scope.yaml.
What a scope file is for
Commit the workflow as .github/workflows/security.yml and the scope file as .github/scope.yaml. The RedRouter Security Action checks scope before any model request and refuses targets outside it. It sends scope to the agent as instructions, so keep secrets out.
schema: "redrouter.scope/v1"
status: "draft"
engagement:
name: "CI security test"
type: "own-app-ci"
in_scope:
- type: "repository"
value: "acme/shop"
Prefer plain Strix without the Action? See the docs.