Arm a control and know what it holds
Repository controls is the card on AI Security where an owner or admin arms one of four controls on one connected repository: Risk score, Cost guard, Redaction and Merge hold. An armed advisory control is named on the RepoOps review check of every pull request and holds nothing. Merge hold in blocking mode fails that check on a high-severity finding.
Watch it
Read the narration
- 0:00 A control reads armed.
- 0:02 Would it hold a merge, or only say so?
- 0:06 Advisory names itself on the check run.
- 0:08 Only merge hold, in blocking mode, fails it.
- 0:13 The check run names each armed control and what held the merge.
- 0:16 Unreadable state? It says so and blocks nothing.
- 0:23 Arm advisory first.
- 0:25 Escalate merge hold on purpose, and disarm any time.
Synthetic example. Read the guide
How to
A team on a paid plan, with the RepoOps GitHub App installed on the organization that owns the repository.
The owner or admin role, to arm, disarm or raise to blocking. Every member can read the card; for anyone else its buttons are off with the reason.
- Open AI Security on repoops.ai, then Risky commands and enforcement.
The Repository controls card lists each repository in the team's GitHub inventory with all four controls, and each reads Dormant until armed. With no inventory yet the card says No repositories connected and offers to connect your GitHub organization. /team/controls and /team/control redirect here.
- Press Arm under a control and confirm in the panel that opens.
The cell reads Armed and advisory, with armed by you and the day under it. Arming always lands as advisory. Hover a column heading to read what that control covers. Arm column under a heading arms that control on every repository where it is dormant, and Arm everything at the top of the card arms every dormant cell; each count in brackets is how many cells it changes, and cells already armed are left as they are.
- Read the next pull request.
The RepoOps review check run carries the line Controls armed on this repository, naming each control and its mode. The cell adds last reported with the day once that run stamps it.
- Escalate merge hold only when the repository has earned a gate.
Raise to blocking appears on an armed Merge hold cell only when your operator has set REPOOPS_ALLOW_BLOCKING_CONTROLS; otherwise the cell reads blocking off. The confirm names the effect: a high-severity finding fails the check, and a protected branch refuses the merge.
- Return to advisory or disarm when you no longer want it.
Both always go through, whatever the plan or the operator gate, and take effect on the next pull request.
Use cases
Name a posture on one repository
- Situation
- The team connected its organization and every control on the card reads Dormant.
- You do
- Press Arm under Risk score for one repository and confirm.
- You see
- Every pull request on that repository now names Risk score on its check run as advisory. No merge is held, and the record says who armed it and when.
A real gate on the payments repository
- Situation
- Merge hold is armed as advisory and the operator gate is on.
- You do
- Press Raise to blocking and confirm.
- You see
- The cell reads Blocking. A pull request that adds a private key block gets a RepoOps review check with conclusion failure, and the protected branch refuses the merge until the finding is resolved.
Expected outcome
Next step: The operator has not set REPOOPS_ALLOW_BLOCKING_CONTROLS on the deployment. Advisory still works.
Next step: Raising a posture needs a paid plan. Disarming and returning to advisory never do.
Next step: RepoOps could not read the store. It is not a claim that nothing is armed; reload to try again.
What else to consider
What blocking actually checks
Merge hold reads only the review's own high-severity findings: a committed secret, an AWS key id or a private key block on an added line. The other three controls have no blocking mode. A lapsed plan or an unset operator gate turns every blocking row advisory on the next run without changing the row.
Deployment-wide floors
GITHUB_REVIEW_MERGE_BLOCK, set by the operator, fails the review check on a high finding on every repository. Arming adds to it; disarming cannot lower it.
Scope contracts for agent actions
The same idea applies to the actions an agent queues on the desktop. Each registered actor carries read, write and action scopes per tenant and account, and the action policy denies anything outside them before the verb runs, writing an action.denied audit row. An action that crosses a tenant or account boundary with no pre-grant gets one hold per boundary and waits under Held actions on Remediation's Approvals tab until an approver from each scope signs off.
Cost and egress
No model call. The controls live in the hosted store; the GitHub App reads them on each pull request.