Starter policy and onboarding
This folder is a working policy repo you can copy. It protects infrastructure (Terraform), CI configuration and
dependency files, holds IAM changes for a security review, and ships thirty-eight sample pull requests whose right
answers Arbiter checks on every policy change. The samples name approvers by person label, which needs Arbiter 0.1.3 or later (policy-author manual P6). The steps below take you from install to blocking merges. Each step links to the
administrator manual for the details.
starter/ policies/acme/payments-api/policy.yaml # the policy policies/acme/payments-api/rollout-mode.yaml # advisory to start samples/acme/payments-api/*.yaml # 38 sample pull requests: allow, block, escalateWhat the starter policy does
Section titled “What the starter policy does”| A pull request that changes… | Needs | Without it |
|---|---|---|
| Every pull request, whatever it changes | A passing gitleaks result from your trusted secret scan (always_required_checks) |
Blocked |
| Anything outside the paths below (docs, app code) | Nothing more | — (allowed once the scan passes) |
.github/workflows/**, .github/actions/**, or any action.yml or action.yaml |
1 approval from acme/platform and 1 from acme/security (a change to how checks run) |
Blocked |
Other .github/** files (CODEOWNERS, Dependabot and other config) |
1 approval from acme/platform |
Blocked |
infrastructure/** |
1 approval from acme/platform and a passing terraform-validate result from your trusted workflow (runs terraform validate, not a plan; see Trusted scans) |
Blocked |
infrastructure/iam/** |
Everything above, plus 1 approval from acme/security |
Held (escalated) until security approves |
| A dependency file in the table under “Dependency changes”, at any depth | A passing dependency-check result from your trusted dependency scan, and 1 approval from acme/platform |
Blocked |
infrastructure/** together with .github/workflows/** or other check definitions |
Everything for infrastructure/**, plus 1 approval from acme/security |
Blocked |
Why security approves workflow changes alongside infrastructure. A workflow defines how an ordinary
check runs, so changing it could make that check pass whatever it tests. (terraform-validate, the secret scan and the dependency
check run from your trusted repository, so a pull request cannot change them.) While a pull request changes a
check definition (.github/workflows/**, .github/actions/**, **/action.yml, **/action.yaml, an action’s whole
folder, what a required check’s workflow calls, and the paths listed in check_definitions.paths), its check results count only if the check_definitions.approvers team (acme/security
here) also approves. That includes the secret scan’s result, so a pull request that changes a workflow needs both
teams. Change the team in policy.yaml if another team should hold that role.
IAM changes are held for your security team. Every change under infrastructure/iam/** is held until a member of
acme/security approves it on GitHub, including a deleted file and a rename into or out of the folder. The page
IAM changes in Terraform explains the rule in full.
- List every folder that defines IAM or feeds it: the IAM resources, the modules that create them, the policy JSON
or YAML files they load, and the variable and
.tfvarsfiles they read. Add each as aprotected_pathsentry withrisk_class: "high", so the same rule holds it. - Patterns ignore letter case, so
Infrastructure/IAM/role.tfis held asinfrastructure/iam/role.tfis. An exemption (!) still matches only as written. With the Terraform check on, two Terraform folders that differ only in letter case make Arbiter deny every pull request until one is renamed; the page IAM changes in Terraform explains it. - This rule does not read Terraform content. It holds every change under the listed folders, and it does not tell
Action "*"from a typo fix; the opt-in Terraform check (terraform_iam) reads the content. A change outside the listed folders is not held by this rule. - The hold blocks the merge only in enforce mode, with Arbiter’s check required. In advisory mode, which the starter ships with, the check is neutral (“Would hold”) and the pull request can merge. Two exceptions: Arbiter denies every pull request, in every mode, when it cannot confirm that the policy repository is protected, or when the target branch does not require the check with “Require branches to be up to date before merging” on.
The secret scan on every pull request. always_required_checks lists checks that must pass on every pull request,
whatever it changes. A check there never stands in for an approval or a path’s own check. The starter’s gitleaks
entry is a trusted scan: it runs in a separate, protected repository that pull requests cannot change, and only its
result from the commit you pin counts. Set it up with Trusted scans, the guide to the
starter’s trusted-workflows folder, then replace acme/arbiter-trusted and the placeholder commit in policy.yaml.
Pull requests from forks. Arbiter cannot read approvals or other checks on a pull request from a fork, so an
approval on a fork never counts, with or without trusted scans in the policy. Where the policy needs an approval, the
pull request is not allowed: a missing approval is a deny, and a hold stays a hold. A change that needs no approval can
still be allowed, but only if every check the policy requires for it is a trusted scan (the gitleaks,
dependency-check and terraform-validate entries above) and has passed; any other required check never counts on a fork. The trusted scans
still run for a fork, and their results are stored. The mode limit above still applies, including to a fork: in advisory
mode, which the starter ships with, Arbiter blocks nothing about the change: a deny or a hold shows as a neutral check,
an allow as a successful one, and the pull request can merge. Two denials still apply in every mode (an unprotected
policy repository, and a target branch that does not require up-to-date branches). Know this before you accept pull requests from forks, or keep
contributors on branches of the repository itself.
Secret scan without a trusted repository
Section titled “Secret scan without a trusted repository”If you cannot run the trusted repository yet, use the ordinary form:
-
Copy
starter/ordinary-scan/arbiter-secret-scan.ymlfrom the starter files into each pilot repository’s workflows folder, as.github/workflows/arbiter-secret-scan.yml. Its job is namedgitleaks, which is the check’s name. -
In
policy.yaml, replace the trusted entry with:always_required_checks:- name: "gitleaks"app_id: 15368 # GitHub Actionsworkflow: ".github/workflows/arbiter-secret-scan.yml" -
Change the samples that expect
ALLOW. Each assumes the trusted scan passed (trusted_results: { gitleaks: success }), which no longer counts once the entry is ordinary. In each, removegitleaks: successfromtrusted_results(delete the line if nothing is left in it), and add the scan’s passing run togithub_evidence.checks. The starter’s samples write that list on one line, in brackets, so put the run inside the brackets, before any check already there:checks: [{ name: gitleaks, workflow: .github/workflows/arbiter-secret-scan.yml, app_id: 15368,status: completed, conclusion: success, check_run_id: 41 }]Where the brackets already hold a check, separate the two with a comma:
checks: [{ name: unit-tests, … }, { name: lint, … }]. A sample with nogithub_evidence, such asallow-docs.yaml, gets one: setavailable: true, leaveapprovalsempty, and put the run, written in full, inchecks. The samples that expectDENYorESCALATEkeep their answers.
The workflow lives in the pull request’s own repository, so a pull request can change it. Its result then counts only
with the check-definitions approval, because workflows are check definitions. The workflow reads no repository file
that can change how it scans: every .gitleaksignore, .gitleaks.toml, .gitattributes and osv-scanner.toml is
moved out before the scan, and gitleaks:allow is ignored. The rule for any check you make always required: Arbiter
follows what its workflow runs (below); list under check_definitions.paths any file it reads that Arbiter does not
follow, or a pull request can change the check it is judged by.
The trusted form takes the scan out of the pull request’s reach entirely.
The ordinary file ships no exact-value exception. To except one exact fake value, add it to your copy as the trusted
workflows guide’s “Exact-value exceptions” shows, with .github/workflows/arbiter-secret-scan.yml as the file and your
repository’s name in the case. The exception line holds the same text it excepts, so it excepts itself there.
Arbiter follows what a required check runs; the rest is yours to list. Arbiter treats an action’s whole folder, what a
required check’s workflow calls (a local reusable workflow, a local action, a JavaScript action’s main, pre and post
files, a Docker action’s Dockerfile), and what that workflow runs, as check definitions. It reads every run: step and
follows the scripts it starts (shell, a Makefile, a package.json script, a command found through PATH, Python,
JavaScript, TypeScript and Terraform) and the test files a runner finds by itself. A change to one needs the
check_definitions approval (acme/security) for any required check to count; it needs the platform team’s too only
if you list it as below. Arbiter reads these files and does not run them, so some forms slip past it and some safe ones
are refused: the policy-author manual’s P4 lists both (“What Arbiter can miss”). Add each file that CI reads and
Arbiter does not follow to protected_paths with the acme/platform requirement, and to check_definitions.paths, and
do the same for a folder of CI scripts if you want the platform team to approve it as well. A script that no required
check’s workflow runs is not followed, so it is not protected unless you list it.
A link or submodule where checks are defined makes every ordinary required check count as missing, and no approval clears
it: replace the link with a file. Patterns ignore letter case, so .Github/ and Action.yml are matched like .github/
and action.yml. Code in another repository must be called by a full commit (a tag or a branch blocks; a step that calls an action from actions/ or github/ is exempt), and is governed
there, so keep that repository under its own review rules.
This rule stops a changed workflow from reaching your default branch. It does not stop a pull request’s own
workflow from running before the merge, on the pull request’s code, and the approver can miss a dangerous edit. Pair
it with GitHub’s settings: deploy secrets in environments with required reviewers and out of jobs a pull request runs;
a read-only default GITHUB_TOKEN (a workflow can still raise its own permissions:); approval before outside
contributors’ workflows run; OIDC with the cloud provider’s trust limited to the protected branch, the reviewed
workflow or a protected environment; and “Allow forking of private and internal repositories” kept off unless a team
relies on forks.
The workflow analysis is off in this starter policy. Turned on, it reads each changed workflow and action file and
holds what the change adds: a risky trigger, a widened permission, an unpinned action or untrusted input in a script
(policy-author manual P13). policies/acme/ci-workflows is a sample with it on. It is tested by automated tests only
in this release, so turn it on in advisory mode, pin your third-party actions first (each unpinned one is held until
it is), and check its findings before you switch on blocking.
An AI agent’s pull request needs two different approving accounts by default wherever the starter asks for a team’s approval, bots included
(Dependabot, Renovate, github-actions[bot], your own Apps), and so does a person’s pull request that holds one bot commit.
The starter’s policy.yaml has a commented agent_pull_requests example to change the number or the list of accounts
(policy-author manual P15); policy review flags lowering it. Arbiter counts GitHub accounts, not people: only accounts
on approver_accounts can approve (see “Your approvers” below), so a second account the author controls counts only if
you list it. The default of 2 is already in effect for an agent’s pull request; to ask two approvals of a person’s, set min_approvals: 2 on the paths you choose. The samples block-agent-one-approval.yaml and
allow-agent-two-approvals.yaml show it.
Your approvers. A policy with an approval rule must list its approvers in approver_accounts (2 to 200 entries, each
with a person label, a numeric id and an optional login), or it does not load (LOAD-050). An approval counts only
from a listed account that is also in the rule’s team. Each starter policy ships with the same five placeholder entries,
with ids that no GitHub account has (9000000101, 9000000102, 9000000201, 9000000202 and 9000000303), so
nobody’s approval counts until you replace them. Replace each entry with a real person’s: find the id with
gh api users/<login> --jq .id. The samples name their approvers by these same person labels (for example
platform reviewer) and Arbiter reads each id from the list, so change only the list: the samples follow it. Keep the
five labels, or change a label in the list and in every sample that uses it, or those samples fail with
approval <n>: person "<label>" is not in this policy's approver_accounts. setup-check reports an id that no GitHub account has.
Keep at least 3 entries: a change to the list needs 2 approvals from accounts already on it (policy-author manual P16).
The dependency analysis is off too. Turned on, it reads each changed dependency file and holds what the change adds:
a new package, a likely typosquat, a lockfile changed without its manifest, or a package from another source
(policy-author manual P14). policies/acme/ci-workflows is a sample with it on. It is tested by automated tests only in
this release: turn it on in advisory mode and check its findings first.
Approvals and check results are read from GitHub, never from files in the pull request. The author of a change cannot
count as its approver. Each sample states the trusted scan’s result it assumes (trusted_results); most assume it
passed.
| Sample | Changes | Right answer |
|---|---|---|
allow-docs.yaml |
README.md, docs/runbook.md, with the trusted secret scan passed |
ALLOW |
block-no-trusted-scan.yaml |
README.md, with no trusted secret scan result |
DENY |
block-trusted-scan-failed.yaml |
README.md, with the trusted secret scan failed |
DENY |
block-ordinary-gitleaks-only.yaml |
README.md, with only a gitleaks check run from this repository |
DENY |
block-workflow-unapproved.yaml |
a workflow, no approval | DENY |
allow-workflow-approved.yaml |
the same, with platform and security approvals (a workflow change needs security’s for the scan to count) | ALLOW |
block-workflow-platform-only.yaml |
the same, with a platform approval only (the scan’s result does not count) | DENY |
block-local-action-unapproved.yaml |
.github/actions/setup/action.yml, no approval |
DENY |
block-root-action-unapproved.yaml |
a root action.yml, no approval |
DENY |
block-root-action-yaml-unapproved.yaml |
tools/lint/action.yaml, no approval |
DENY |
block-codeowners-unapproved.yaml |
the CODEOWNERS file under .github/, no approval |
DENY |
block-dependabot-unapproved.yaml |
.github/dependabot.yml, no approval |
DENY |
allow-github-config-approved.yaml |
the CODEOWNERS file under .github/, with a platform approval |
ALLOW |
allow-unlisted-ci-script.yaml |
ci-scripts/build.sh only (a script no required check’s workflow runs, not listed) |
ALLOW: not protected; a sample reads no repository file, so it cannot show a script Arbiter follows |
block-infra-no-plan.yaml |
infrastructure/network/vpc.tf, approved, no trusted terraform-validate result |
DENY |
block-infra-ordinary-plan.yaml |
the same, with only a terraform-validate run from this repository’s workflow |
DENY |
block-infra-wrong-team.yaml |
infrastructure/app.tf, the trusted Terraform check passes, approved by a team other than acme/platform |
DENY |
allow-infra-and-workflow-security-approved.yaml |
infrastructure/network/vpc.tf and .github/workflows/terraform.yml, platform and security approvals, the trusted Terraform check passes |
ALLOW |
block-infra-and-workflow-no-security.yaml |
the same, with no security approval | DENY |
escalate-iam.yaml |
infrastructure/iam/deploy-role.tf, approved, trusted Terraform check passed |
ESCALATE |
allow-iam-security-approved.yaml |
the same, plus a security approval | ALLOW |
escalate-iam-deleted.yaml |
infrastructure/iam/old-role.tf deleted, approved, trusted Terraform check passed |
ESCALATE |
escalate-iam-renamed-out.yaml |
infrastructure/iam/deploy-role.tf renamed to infrastructure/app/ |
ESCALATE |
escalate-iam-renamed-in.yaml |
infrastructure/app/admin.tf renamed into infrastructure/iam/ |
ESCALATE |
escalate-iam-approval-outside-team.yaml |
infrastructure/iam/deploy-role.tf, also approved by someone outside acme/security |
ESCALATE |
allow-deps-checked-approved.yaml |
package.json and package-lock.json, trusted dependency check passed, platform approval |
ALLOW |
block-agent-one-approval.yaml |
the same, opened by an AI agent, one platform approval | DENY |
allow-agent-two-approvals.yaml |
the same, opened by an AI agent, two platform approvals | ALLOW |
block-deps-no-check.yaml |
the same, with no trusted dependency check result | DENY |
block-deps-check-failed.yaml |
the same, with the trusted dependency check failed | DENY |
block-deps-unapproved.yaml |
the same, check passed, no approval | DENY |
block-deps-ordinary-check.yaml |
the same, with only a dependency-check run from this repository |
DENY |
block-deps-nested.yaml |
services/api/go.mod, approved, no trusted result |
DENY |
block-deps-dot-folder.yaml |
.config/package.json, approved, no trusted result |
DENY |
block-deps-lockfile-only.yaml |
package-lock.json only, no result, no approval |
DENY |
block-deps-renamed.yaml |
requirements.txt renamed to reqs/prod.txt, no result |
DENY |
allow-deps-not-scanned-approved.yaml |
App/App.csproj (not scanned), check passed, platform approval |
ALLOW |
block-deps-not-scanned-unapproved.yaml |
the same, no approval | DENY |
Dependency changes
Section titled “Dependency changes”An agent can add or change a dependency, or edit a lockfile, and it can merge unnoticed. A change to any file in the table below, at any depth and in dot-folders, needs two things:
- a passing
dependency-checkresult from your trusted dependency scan, which runs in your separate, protected repository that pull requests cannot change; only its result from the commit you pin counts; - 1 approval from
acme/platform.
The scan is OSV-Scanner. It reads lockfiles by name anywhere in the repository and fails on a known vulnerability. “Scanned” below says whether it reads each file: name (by that file name, anywhere), via lockfile (only through a lockfile of a listed name), or no (the approval is the only control).
| Ecosystem | Pattern | Scanned |
|---|---|---|
| npm, pnpm, yarn, bun | **/package.json |
via lockfile (package-lock.json, pnpm-lock.yaml or yarn.lock) |
**/package-lock.json, **/pnpm-lock.yaml, **/yarn.lock |
name | |
**/npm-shrinkwrap.json, **/bun.lock*, **/pnpm-workspace.yaml, **/.npmrc, **/.yarnrc* |
no | |
| Python | **/requirements.txt |
name |
**/requirements*.txt (other names, for example requirements-dev.txt), **/requirements/**/*.txt, **/requirements*.in, **/constraints*.txt |
no | |
**/poetry.lock, **/Pipfile.lock |
name | |
**/pyproject.toml |
via lockfile (poetry.lock) |
|
**/Pipfile |
via lockfile (Pipfile.lock) |
|
**/uv.lock, **/setup.py, **/setup.cfg |
no | |
| Go | **/go.sum |
name, through the go.mod beside it; a go.sum with no go.mod fails the scan |
**/go.mod |
only when a go.sum is beside it |
|
**/go.work |
no | |
| Rust | **/Cargo.lock |
name |
**/Cargo.toml |
via lockfile (Cargo.lock) |
|
**/.cargo/config.toml |
no | |
| Java, Kotlin | **/pom.xml, **/gradle.lockfile |
name |
**/*.gradle, **/*.gradle.kts |
only when dependency locking writes a gradle.lockfile |
|
**/gradle/*.versions.toml |
no | |
| Ruby | **/Gemfile.lock |
name |
**/Gemfile |
via lockfile (Gemfile.lock) |
|
**/*.gemspec |
no | |
| PHP | **/composer.lock |
name |
**/composer.json |
via lockfile (composer.lock) |
|
| .NET | **/*.csproj, **/*.fsproj, **/*.vbproj, **/packages.lock.json, **/packages.config, **/Directory.Packages.props, **/Directory.Build.props, **/Directory.Build.targets, **/nuget.config, **/NuGet.Config, **/NuGet.config |
no |
| Python (more) | **/pdm.lock, **/requirements/**/*.in, **/environment.yml, **/environment.yaml |
no |
| Deno | **/deno.json, **/deno.jsonc, **/deno.lock |
no |
| Dart, Flutter | **/pubspec.yaml, **/pubspec.lock |
no |
| Swift, CocoaPods | **/Package.swift, **/Package.resolved, **/Podfile, **/Podfile.lock |
no |
| Scala | **/build.sbt |
no |
| Elixir | **/mix.exs, **/mix.lock |
no |
| Helm charts | **/Chart.yaml, **/Chart.lock |
no |
| Container images (a base image or an install step) | **/Dockerfile, **/Dockerfile.*, **/*.Dockerfile, **/Containerfile |
no |
| Vendored code (a library copied into the repository) | **/vendor/**, **/third_party/**, **/third-party/**, **/node_modules/** |
no |
| Git submodules (where each one comes from) | **/.gitmodules |
no |
Set it up. In policy.yaml the trusted dependency-check entry is written once, under &uc3_check, and every
dependency rule uses it. Replace its owner, its repository (acme/arbiter-trusted) and its commit (forty zeros, which
never match, so every dependency change is denied until you do), then run the
route check in Trusted scans. The shared entry can be used about 100 times in
one policy file (a YAML limit); for more patterns, write the entry out again. Check that your organization’s Actions policy
allows pull_request_target for the caller workflow; GitHub changes that policy on 2026-11-02, and the trusted
workflows guide explains what to check.
What a pass means, and what it does not:
- A pass means no known vulnerability in the files scanned. For a repository with no listed lockfile, a pass means nothing was scanned.
- It does not catch a new malicious or typosquatted package with no known advisory, or a lockfile-only change to an
unvetted version. The
acme/platformapproval is the control for those. - Files marked “no”, and files marked “via lockfile” whose lockfile is not committed, are covered by the approval only. The scan makes a claim only for the lockfiles marked “name”: it says nothing about vendored code, container images, submodules or the other ecosystems marked “no”.
- Files and ecosystems not in this table are not protected. For example a requirements file under another name
(
deps/prod.txt), an install script, aMakefilethat downloads a tool,flake.lock, Bazel files, anddocker-compose.yml, and vendored code in a folder not namedvendor,third_party,third-partyornode_modules. Thethird_partypattern also catches your own code in a folder of that name, and a file such asDockerfile.mdmatches**/Dockerfile.*. Add patterns for the ones you use, as both a protected path and a requirement. Patterns ignore letter case, so one spelling covers the others (dockerfileis caught by**/Dockerfile); the table’s separatenuget.configandNuGet.Configrows are now redundant, and harmless. - The scan reads every listed lockfile in the repository, not just the changed ones. A known-vulnerable package already on your default branch fails every dependency pull request until it is fixed or removed. There is no ignore file.
- A lockfile over 5 MB, a submodule or a Git LFS pointer fails the scan (Trusted scans, What fails the scan, and what to do).
- Every dependency pull request, bot updates included, needs the platform approval. That volume invites rubber-stamping, and that approval is the only control for malicious packages.
- GitHub’s dependency review can be added later as a second trusted workflow under the same check name.
Do these in order: each one needs the one before.
- Get the image (A1).
- Create the policy repo (for example
<your-org>/arbiter-policies, private) and copy this folder’spolicies/andsamples/into it (A2):- rename
acme/payments-apiin both paths to<your-org>/<your-pilot-repo>; - in
policy.yaml, replaceacme/platformandacme/securitywith your own teams (org/slug), and change the path patterns to match your repository, and set theterraform-validateentry’s trusted repository and commit like the other trusted checks. Patterns match dot-files, dot-folders and names containing a line break too (infrastructure/**coversinfrastructure/.terraform.lock.hcl), and ignore letter case; - in each sample, replace
acme/...team names the same way; - in
policy.yaml, replace the placeholder entries underapprover_accountswith your approvers, keeping eachpersonlabel (“Your approvers” above); the samples follow the list, so they need no change; - set up the secret scan: the trusted form (Trusted scans), or the ordinary form (“Secret scan without a trusted repository” above);
- set up the dependency check: replace the owner, the repository and the commit under
&uc3_check, then run the route check (“Dependency changes” above).
- rename
- Protect the policy repo’s default branch, or Arbiter denies every evaluation
(A3): a
CODEOWNERSfile naming the policy’s owners, then one ruleset with a required pull request (2 approvals, to matchpolicy_repository.min_approvalsin the starter policy: two people other than the author, each with write access to the policy repository; with fewer, setpolicy_repository.min_approvals: 1in your copy first (policy-author manual P17), approval of the most recent push, review from Code Owners), force pushes and deletions blocked, and no bypass actors. Someone other than the author must approve each policy change. Allow only squash and merge commits, not rebase merges. The last rule, requiringArbiter / policy-reviewwith “Require branches to be up to date before merging” on (and no merge queue), can be added once Arbiter runs (step 5): until a rule requires it, Arbiter posts a failed “Setup marker” run of it on the policy repo’s newest commit, and GitHub then offers the check from your App. - Create your GitHub App and install it on your pilot repositories and your policy repository only (A4 and A5). Check the App’s owner is your own organization before you install it, and note the installation ID.
- Start Arbiter and expose only its public routes (A6 and A7).
At start you confirm the policy repo’s newest commit, by its full 40-character ID, in
ARBITER_POLICY_ACCEPT_COMMIT; without it Arbiter uses no policy and denies every evaluation. Arbiter’s data handling is described in What Arbiter receives, keeps and deletes. - Open a small pull request in each pilot repo, so
Arbiter / authorizeruns once (it completes, with a deny). Until step 7, Arbiter does not trust the policy repo and denies every evaluation in every mode. - Make the checks required on the pilot repo (
Arbiter / authorize, with “Require branches to be up to date before merging” on, on every branch pull requests target) and on the policy repo (Arbiter / policy-review, with “Require branches to be up to date before merging” on in the same rule, and no merge queue), then confirm GitHub really requires them (A8 and A9). GitHub offersArbiter / authorizeonly after it has run, which is why step 6 comes first. It offersArbiter / policy-reviewabout a minute after Arbiter started, from its red “Setup marker” run, which reviews and approves nothing: you need no policy pull request first. Once the policy repo’s rule requiresArbiter / policy-reviewfrom your App with “Require branches to be up to date before merging” on, and everything in step 3 holds, Arbiter trusts it. - Run in advisory mode.
rollout-mode.yamlstarts asadvisory: once the policy repo is trusted (step 7), Arbiter posts what it would decide and blocks nothing about the change; two denials still apply in every mode (an unprotected policy repository, and a target branch that does not require up-to-date branches). Check the mode with A10. Then open the policy repo’s first pull request, for example adding a sample:Arbiter / policy-reviewshows what each path allows and blocks, runs the samples, fails if any sample gets the wrong answer, and says “Policy repo protection: confirmed”. - Optionally, turn on the workflow analysis (P13) and the dependency analysis (P14), both in advisory mode, and pin your third-party actions first. Both are tested by automated tests only in this release, and both work only on a running Arbiter server: with either on, the GitHub Action denies every pull request.
- Review results for a while on real pull requests: the
Arbiter / authorizecheck and PR comment say what was touched, what was missing and how to fix it. Add a sample for every case you want to keep right. - Switch on blocking by a reviewed pull request that changes
rollout-mode.yamltorollout_mode: enforce(A11).Arbiter / policy-reviewflags the change; your approver decides.
Checking the starter itself
Section titled “Checking the starter itself”Arbiter’s own tests run this folder through the same check (Arbiter / policy-review) on every change to Arbiter,
and fail if the policy stops loading or any sample’s answer changes.
Built from Arbiter 0.1.3 at commit 05d1dcb.