Policy-author manual
Describes: Arbiter 0.1.3. For: the people who write and review Arbiter’s policy for their repositories, usually platform and security engineers.
A policy says which parts of a repository are protected, and what a pull request touching them needs before Arbiter authorizes it: approvals from named teams, passing checks, and sometimes a security review. Policies live in your policy repository, never in the repository they govern, and change only by a reviewed pull request there.
Not covered yet: the starter rules for dependency changes, the rest of the CI configuration, and getting around the gate. They are added when those features ship.
The policy reference on this site lists every field, decision, reason code and rule, generated from Arbiter’s code.
P1. Where the policy lives
Section titled “P1. Where the policy lives”For each governed repository <org>/<repo>, the policy repository holds:
policies/<org>/<repo>/policy.yaml # the policypolicies/<org>/<repo>/rollout-mode.yaml # rollout_mode: advisory | visibility-only | enforcepolicies/<org>/<repo>/keyring.json # optional: trusted keys for signed evidence filessamples/<org>/<repo>/<name>.yaml # sample pull requests with their right answer- A repository with no
policy.yamlgetsPOLICY_UNAVAILABLEon every pull request. - A missing, malformed or unknown
rollout-mode.yamlmeansenforce, because Arbiter fails closed.
Arbiter reads all of these from the policy repository’s default branch, and only while GitHub protects that branch
as the administrator manual’s A3 sets out: a pull request with
at least 1 approval of its most recent push (more if the policy asks, P17) and review from Code Owners (with a
CODEOWNERS file), force pushes and deletion blocked, the Arbiter / policy-review check required from your Arbiter App with “Require branches to be up to date before merging” on, no merge queue, and no one able to bypass any of these.
Arbiter reads that protection again for every evaluation. Until all of it holds, Arbiter answers each pull request
with POLICY_REPO_UNPROTECTED, in every mode, advisory included. It sees a merge queue only in rulesets: check classic
protection yourself (A3).
P2. The policy file, field by field
Section titled “P2. The policy file, field by field”Start from the starter policy, policies/acme/payments-api/policy.yaml in the starter policy guide.
| Field | Required | What it does |
|---|---|---|
version |
yes | The policy format version: "1.0" |
provenance |
yes | Whether an AI provenance file is required (required), its fields (required_fields) and its path (artifact_path). Start with required: false |
protected_paths |
yes | The paths Arbiter governs, each with a pattern, a label people see in comments, and a risk_class (for example standard or high). Anything not listed is allowed without extra evidence |
evidence_requirements |
yes | What a change to a path needs (P3) |
check_definitions |
no | Who must also approve when a pull request changes how checks run (P4) |
escalation_conditions |
no | Changes held for a named team’s review (P5). Missing means none. Write it, even as an empty list, so a reviewer sees the choice |
failure_defaults.protected_path_unavailable_input |
no | Write DENY. Arbiter does not check or read this field yet |
github_settings |
no | Your own names for long-lived cloud keys, which setup-check looks for (P12). Only setup-check reads it |
workflow_analysis |
no | Reads changed workflow and action files and holds what the change adds (P13). Off unless present |
dependency_analysis |
no | Reads changed dependency files and holds what the change adds (P14). Off unless present |
agent_pull_requests |
no | How many different approving accounts an AI agent’s pull request needs (2 by default), and which accounts are agents (P15) |
approver_accounts |
yes, when the policy has an approval rule | The accounts whose approvals count (P16) |
policy_repository |
no | The fewest approvals the policy repository’s own rule may ask for (1 by default), set as min_approvals (P17) |
Required here means Arbiter refuses a policy without it.
Path patterns use ** for any depth and * within one folder, for example infrastructure/**. They ignore letter
case: a changed path matches a pattern as written or in any other case, so Infrastructure/IAM/role.tf is protected by
infrastructure/iam/**, and Package.json and .Github/workflows/x.yml are held as package.json and
.github/workflows/x.yml are. An exemption written with ! (!docs/**) still matches only as written. This holds for
protected paths, evidence requirements, escalations, check definitions, dependency paths and terraform_iam.paths.
Expected: a policy-repo pull request with a valid policy gets a passing Arbiter / policy-review check. An invalid
one fails it (P8). The first policy for a repository has nothing earlier to compare with, so the check flags several
lines, such as new policy (first for this repo) and the rollout mode it starts in. That is expected: read each line,
then approve.
P3. Evidence requirements: approvals and checks
Section titled “P3. Evidence requirements: approvals and checks”Each entry names a path_pattern and at least one of required_approvals, required_checks or required_artifacts:
evidence_requirements: - path_pattern: "infrastructure/**" required_approvals: { team: "acme/platform", min_approvals: 1 } required_checks: - name: "terraform-plan" app_id: 15368 # GitHub Actions workflow: ".github/workflows/terraform.yml" # the workflow that runs itrequired_approvals:teamis"<org>/<team-slug>"in the same organization, andmin_approvalsis a whole number of at least 1. What makes an approval count is in the developer manual, D3.required_checks: each check has aname(notArbiter / authorize) and theapp_idof the GitHub App that posts it. A GitHub Actions check (app_id: 15368) also needs itsworkflowpath, under.github/workflows/, ending in.ymlor.yaml. A check from another App with the same name never counts.- A trusted check has a
name, atrusted_workflow(<owner>/<repo>/.github/workflows/<file>.ymlor.yaml, with no@ref) and atrusted_workflow_sha(the full 40-character commit, in lower case), and noapp_idorworkflow. Arbiter counts its result only when GitHub’s identity token shows it came from that workflow file at that commit. Arbiter does not check where that workflow lives: put it in a separate repository that pull requests to your other repositories cannot change, and protect it like the policy repository, because whoever can merge to it controls the scan. Trusted scans says how to set one up. Moving a trusted check to another commit or workflow is flagged inArbiter / policy-review(P8). - A requirement with
required_checksmust also haverequired_approvals. A check proves only that the pull request’s own tests pass, so a team member must review it too. - Approvals and test results come from GitHub, never from files in the pull request. An artifact of type
approvalortest_reportis refused.
Expected: a pull request touching the path is authorized only when every listed approval and check is there for its latest commit.
P4. check_definitions: changes to how checks run
Section titled “P4. check_definitions: changes to how checks run”A pull request that edits a workflow or action could make a required check pass whatever it tests. While a pull
request changes a check definition, its check results count only if the check_definitions.approvers team also
approves:
check_definitions: approvers: { team: "acme/security", min_approvals: 1 }-
The check-definition paths are, by default,
.github/workflows/**,.github/actions/**,**/action.ymland**/action.yaml. Setpathsto add to that list; the defaults always apply. -
An action’s whole folder is a check definition too: every file in a folder that holds
action.ymloraction.yaml, at the pull request’s head or where it branched off, such as the built code or the script the action runs. Anaction.ymlat the repository’s root makes every file a check definition. -
A link or submodule where checks are defined makes every ordinary required check (not a trusted one) count as missing, and no approval clears it: one at a check-definition path, in a folder above one, inside a folder a
pathsentry names (ciforci/**/*.sh, at any depth), or at, above or inside an action’s folder. A folder is named the way the entry matches files:ci/**namesci,ci*/**names every folder starting withci, and letter case doesn’t matter, as for every path rule (ci/**also namesCI). A**alone names no folder: a link there blocks only if the repository has a matching file under it. Arbiter reads an entry’s folders exactly only when it is made of the lettersa–zandA–Z, digits,.,_,-,/, a single*and a whole**folder name (**/.gitleaks.toml,ci/**/*.sh). Any other entry (braces such as{ci,scripts}, a group such as@(ci|scripts), a class such as[cs],?, a backslash, a quote, a space,+,@, any other character, or**joined to other text such asci**, or a.or..folder name such as a leading./) is treated as naming every folder, so any link or submodule in the repository blocks while the policy lists it; write it as plain entries instead (ci/**andscripts/**for{ci,scripts}/**). The fix is to replace the link with a file. A pull request that does that is an ordinary change to a check definition, which thecheck_definitionsapprovers clear. -
What a required check calls is a check definition too. Arbiter starts at each ordinary required check’s
workflowand follows, as far as they go: a local reusable workflow (uses: ./.github/workflows/<file>), a local action (uses: ./<path>, whose whole folder is a check definition), a JavaScript action’sruns.main,preandpostfiles (wherever they point), and a Docker action’s localDockerfile(its folder is the image’s build context, so the whole folder is a check definition). -
What a required check runs is a check definition too. Arbiter reads every
run:step in what the check calls and follows what it runs from the repository: a script (bash ci/plan,./ci/plan,source ci/lib, through a launcher such astimeout,sudoorenv, insidebash -c '…'), and the scripts those run, from the working directory each one runs in. A file a step runs, and a file any step names by a path (ci/x,--config=./ci/a.toml) or as a command’s first operand (cat README.md), needs thecheck_definitionsapproval when a pull request changes it. Arbiter also follows aMakefile(itsincludefiles and each recipe, from the Makefile’s folder) and apackage.jsonscript (with itspreandpostscripts, from the package’s folder); a command found throughPATH(a folder the job adds toPATHor writes to$GITHUB_PATHis searched first); a variable that loads code (BASH_ENV,ENV,NODE_OPTIONS,PYTHONPATH’ssitecustomize,PYTHONSTARTUP,GIT_EXEC_PATH, git’s config files andGIT_CONFIG_*settings); and git’s settings that run a command (an alias starting with!,core.pager,core.hooksPath, a diff or merge driver, a credential helper and the like). -
Python, JavaScript and Terraform a required check runs are followed too. In Python: its imports (a name is matched against every file in the repository, so
sys.path,PYTHONPATHand asrcfolder all count), inline Python (python -c, a here-document,shell: python),python -m, and a program it starts throughsubprocess,os.systemand the like with a written-out program. In JavaScript and TypeScript:require,import,import()andmodule.register, resolved as Node resolves them, including a package of this repository matched by itspackage.jsonname (a workspace package),imports(#name),exportsandNODE_PATH; inline JavaScript (node -e, a here-document,shell: node, thescriptofactions/github-script); a JavaScript action’s files; a--requireor--importpreload; and a program it starts throughchild_processwith a written-out program. A followed file’s nearestpackage.jsoncounts too. In Terraform (when a step runsterraform plan,applyand the like): the.tffiles in its folder and its local modules, and eachdata "external"program. -
Test files a test runner finds by itself count too: for
pytest, files namedtest_*and*_testand everyconftest, with-pandPYTEST_PLUGINSplugins; forpython -m unittest, the files itsdiscoverfinds; forjest,vitest,mocha,ava,tapandnode --test, files named*.test.*and*.spec.*and files under a__tests__folder (and atestfolder formocha,ava,tapandnode --test), outsidenode_modules, and the runner’s config file with what it loads. A config’s own test pattern (testMatch,include,spec, pytest’spython_files, matched as a glob) replaces those default names; pytest’s configs (pytest.ini,.pytest.ini,pytest.toml,.pytest.toml,pyproject.toml,tox.ini,setup.cfg, in the working directory, the arguments’ folders and--rootdir, and every folder above them),addopts(quoted or not),PYTEST_ADDOPTS,-o,--doctest-modules(every Python file) and--pyargsare read;vitest benchandtypecheckfiles count;terraform testadds its.tftest.hclfiles and the modules they name. Changing such a file needs thecheck_definitionsapproval; it doesn’t block. -
What can’t be traced makes every ordinary required check count as missing, and no approval clears it: a reference where code runs that Arbiter can’t work out (an unknown variable, a
$(…)other than$(dirname "$0"), a glob, aPATHentry or a variable that loads code it can’t resolve, a write to$GITHUB_ENVor$GITHUB_PATHthat isn’t literal, aMakefileincludethat isn’t literal),eval, an alias, a library folder for another language inLD_LIBRARY_PATH,PERL5LIBorRUBYLIB, a program fed by a pipe (curl … | bash), a script in another language (Ruby, Perl, PowerShell and the like) or a build, task or container tool (go,cargo,gradle,tox,just,dockerand the like), anawkorsedprogram that runs a command, in Pythonexec,eval,compile,importlib,__import__,runpy,ctypes, a compiled extension module, a package that starts programs (sh,pexpect,invokeand the like) or a process call whose program isn’t written out, in JavaScripteval,Function,vm, arequireorimport()of a name that isn’t written out,process.dlopen, a compiled.nodeaddon,Reflect, a package that starts programs (execa,shelljs,zx,cross-spawn) or achild_processcall whose program isn’t written out, in Python also a name with a non-ASCII letter, a source-encoding line other than UTF-8,builtins,__builtins__,__dict__,globals(),exec,eval,compileor__import__named anywhere (held in a variable or passed, not only called),sys.modulesandsys’s import and trace hooks, and the modules that import or run code by name (pkgutil,pydoc,timeit,code,pdb,cProfile,zipimport,site,imp,distutils,webbrowser), in JavaScript alsoprocess.execve, a TypeScript file run while atsconfig.jsonsetspathsorbaseUrl(found by folder, or named by--tsconfig,--project,TSX_TSCONFIG_PATHorTS_NODE_PROJECT; Arbiter doesn’t follow the aliases yet), text Arbiter can’t read the way Node does (a\outside a string, an HTML-style comment (<!--, or-->at a line’s start), a/after},of,awaitoryieldwith a quote or another/later on its line; JSX and TSX markup is read), a Terraformdata "external"program orworking_dirthat isn’t written out, a Terraform provisioner (local-exec,file,remote-exec) when a step runsterraform apply,destroy,importortest, adata "external"in a.tf.jsonfile,terragrunt, a script run across a monorepo’s packages (npm … -wsor--workspace,pnpm -ror--filter,yarn workspace,lerna,turbo,nx), a test runner config whose test patterns aren’t written out, and a program outside the repository that isn’t a system program or a file the job downloaded overhttps, extracted from such a download, or copied from the repository. Make such a check a trusted check (P3), or call the code in a way listed here. -
The shell Arbiter reads is a fixed set of forms: commands, pipes,
&&,||,;,&,( … )and{ …; }, functions,if,while,until,for,case(with plain patterns), here-documents,$(…)and backticks,$NAME,${NAME},${#NAME}and${NAME:-text}-style forms with plain text, and arithmetic with no$(…)inside. A step using any other form blocks the ordinary checks:$'…', arrays,${…}holding a$(…),<(…),<<<,[[ … ]],{a,b}, a leading~,coproc,select, a${…}whose text holds a space, a quote, a backslash, a brace or a$(${x:-a b},${x:-"a"},${x:-$d},${x//\//-}),${!x},${x@P}and the other@forms, a backslash-newline right after$, and an editor (ed,ex,vi,vim,view,nano,emacsand the like: their commands can write any file). Write it with the forms above ([ … ]for[[ … ]],"$HOME"for~,"$(printf '%s' "$x" | tr / -)"for${x//\//-},[ -n "$x" ] || x="a b"then"$x"for${x:-a b}), or make the check a trusted check. Acd, a variable,set --,shiftor a function changed only on some paths (after&&or||, in anif, a loop or acasearm) is unknown after them unless every path agrees, so a later use of it blocks: writecd x, not[ -d x ] && cd x. A loop whose body changes what it reads is read a second time with that unknown; atraphandler is read where it is set and again at the end. -
A call by a name that can move makes every ordinary required check count as missing, and no approval clears it. A job’s
uses:must be./.github/workflows/<file>.yml(or.yaml) or<owner>/<repo>/<path>@<full commit>; a step’suses:must be./<path>,docker://<image>@sha256:<digest>,<owner>/<repo>[/<path>]@<full commit>, or an action fromactions/orgithub/. A tag or branch (@v4,@main), an image tag, or an expression (${{ … }}) blocks, in this repository’s files and in every pinned workflow or action they call, which Arbiter reads at its commit. A pinned file in another repository that Arbiter can’t read (its App isn’t installed there), or one that calls./<path>(which repository that means depends on the caller), blocks too. The fix is to pin the call to a full commit. -
A check from another service (an
app_idother than GitHub Actions’,15368) makes every ordinary required check count as missing: Arbiter can’t see what that service runs. Run the check in GitHub Actions, or make it a trusted check (P3). -
Limits: Arbiter follows at most 8 calls deep, 400 files and 8 MB in all, and 1 MB a file. Past a limit, or with a workflow or action file it can’t read, every ordinary required check counts as missing until the files fit or the check is a trusted one.
-
To see the files, Arbiter reads the repository’s file list at the pull request’s head and where it branched off. If it can’t read all of it (a failed read, or a list too large to finish), every ordinary required check counts as missing until it can, and no approval clears that either. A trusted check (P3) is not affected.
-
What Arbiter can miss, and what it refuses. Arbiter reads these files; it does not run them. A pull request can change a file a check runs without Arbiter asking for the
check_definitionsapproval in these cases:- Shell: a loop where one variable copies another that the loop changes later (
A=$B; B=b); atraphandler writtentrap -- f EXIT, set inside( … ),$( … ),bash -c '…'or a shell fed a here-document, or run by an earlyexit, aset -efailure orERR,DEBUGorRETURN;command cd,builtin cd,command pushdandcommand shift(their change is lost, so later paths are read from the old folder or arguments); an editor started under another name (vim.basic,vim.tiny,nvi). - Makefile:
make NAME=valuewith a value Arbiter can’t read (make PATH="$PWD/bin:$PATH");make B=binchanging a variable thatPATH,SHELLor adefinereads;make -f a.mk -f b.mkwhere one file’sPATHreaches the other’s recipes; adefineArbiter doesn’t see used (used before it is defined, defined in an included file, used as a one-letter$f, or by a computed name) or redefined after its use (Arbiter reads the first body, make the last);MAKEFLAGS += -j SHELL=…, or a job count held in a variable that also holds another setting (-j $(N)). - Python: a built-in function reached through an object, not by name (
print.__self__.exec(…), a traceback frame’sf_builtins);from sys import *thenmodules['os'];gc,inspect,weakreforthreadingfinding a module that is already loaded and calling it; a library that imports a repository file by a string name (unittest.mock.patch('dep.x'),pickle.loads,unittest.TestLoader().loadTestsFromName,pytest.importorskip,logging.config,unittest.main(module=…),pytest.main,pip.main);_posixsubprocess.fork_exec. - pytest: a config key written in a rarer form (a dotted key such as
pytest.ini_options.addopts = …, an inline table, a quoted key,addopts: …with a colon, or a quoted plugin name such as-p "myplug"), so a plugin or a test-file pattern set that way isn’t followed. An option that isn’t pytest’s own (a plugin’s, such as--cov-report term) makes Arbiter read every pytest config in the repository, so it may ask for the approval for a file the check doesn’t run. - JavaScript and TypeScript: a test runner whose root isn’t its config’s folder (vitest
root, JestrootDir, Mochaspecread from the working folder when--confignames another folder);node -r tsconfig-paths/registerwithTS_NODE_PROJECT, andTS_NODE_COMPILER_OPTIONSorTS_NODE_BASEURLsettingpaths; an alias in a test runner’s own config (vitestresolve.alias, JestmoduleNameMapper). - Terraform: a module fetched from outside the repository (a registry or git source) is not read.
- Every kind: a file a followed program writes, and a path it builds at run time and starts through a call this
page doesn’t name. A file a tool finds on its own, which no step names and no import or test-runner rule above
reaches (a scanner’s config file such as
.gitleaks.toml), is not followed.
Arbiter also refuses a safe check (it fails closed, so the ordinary required checks count as missing) for: a double-quoted
traphandler holding a value Arbiter can’t know (trap "rm -rf $tmp" EXIT; writetrap 'rm -rf "$tmp"' EXIT);set -oeu pipefail a, where anoisn’t last in its group (writeset -euo pipefail); in aMakefile, an unuseddefinewhose name starts another name that is used (define foobeside$(foobar)), anincludeinside an included file in a subfolder, a canned recipe used before itsdefineor defined in an included file, andPATHreading a variable assigned twice (B := bin, thenB += x); and a.tffile that doesn’t parse. Closing these is planned for a later release; the complete fix is to run a check’s code from the base branch, where a pull request can’t change it. Until then, make a check that guards something important a trusted check (P3), which Arbiter doesn’t follow because its code is in another repository, and list undercheck_definitions.pathsany file you know a check reads that Arbiter doesn’t follow. - Shell: a loop where one variable copies another that the loop changes later (
-
Choose a team other than the one that approves the changed area, so two groups see the change.
P5. Escalations: hold a change for a named team
Section titled “P5. Escalations: hold a change for a named team”An escalation holds a matching change, rather than denying it, until a named team approves:
escalation_conditions: - trigger: "iam_change_needs_security_review" description: "IAM changes need a security team approval" condition: { risk_class: "high", when: "human_approval_required" } category: "policy_declared_human_approval_required" cleared_by: { team: "acme/security", min_approvals: 1 }- This one holds any change to a
protected_pathsentry withrisk_class: "high". cleared_byis allowed only on the categorypolicy_declared_human_approval_required. An approval from that team, counted under the same rules as P3, clears the hold.- In blocking mode a held change cannot merge, and its check says what clears it.
P6. Sample pull requests
Section titled “P6. Sample pull requests”Samples are pull requests described in a file, with the answer you expect. Arbiter runs every sample on every policy
change, and fails Arbiter / policy-review if any sample gets the wrong answer.
This sample must be held: an IAM change, approved and planned, still needs a security approval.
expect: ESCALATEchanged_paths: [infrastructure/iam/deploy-role.tf]actor_type: ai_agentgithub_evidence: available: true approvals: [{ person: platform reviewer, review_id: 1, teams: [acme/platform] }] checks: [{ name: terraform-plan, app_id: 15368, workflow: .github/workflows/terraform.yml, check_run_id: 11, status: completed, conclusion: success }]| Field | What it is |
|---|---|
expect |
ALLOW, DENY or ESCALATE |
changed_paths |
The files the pull request changes |
actor_type |
human or ai_agent |
actor_name |
Optional |
github_evidence |
Optional: the approvals and checks GitHub would report. available: true, then approvals (each with review_id and teams, and either person or user_id; see below) and checks (each with name, app_id, workflow, check_run_id, status and conclusion), as in the sample above. Without it, the sample’s GitHub facts count as unavailable |
trusted_results |
Optional: the result of each trusted check the sample assumes, by check name, for example { gitleaks: success }. It counts only for a check the policy names as trusted; an ordinary check’s result goes under github_evidence.checks |
provenance |
Optional: an AI provenance file’s contents |
Name each approver by person. An approval names its approver by person, a label from this policy’s
approver_accounts (P16), matched ignoring letter case. Arbiter reads the account’s id (and login) from the list, so when
you replace an account in the list, the samples follow. An approval that names person takes no user_id and no
login. Use user_id and login instead, never with person, for an approval from an account that is not on the list,
to test that it does not count. A sample that names a label the list does not have fails, with
approval <n>: person "<label>" is not in this policy's approver_accounts, and so does one that names person together
with user_id or login (approval <n>: person and user_id together; keep one, or the same with login). A sample’s labels are read against the list of the same folder in the pull request’s own
policy. A label is 1 to 64 ASCII letters, digits, dots, underscores or hyphens, with single spaces between words.
A sample that names person needs release 0.1.3 or later; one that names user_id works in every release.
Samples cannot carry signed evidence files, so test rules that need them with must-block samples.
Write a sample for every case you want to keep right: one that must be allowed, one that must be blocked, and one that must be held, for each protected area. The starter has 38.
If you use the ordinary secret scan instead of the trusted one, change the starter’s samples that expect ALLOW as
the starter guide says (its “Secret scan without a trusted repository”), or every one of them fails.
P7. Change the policy
Section titled “P7. Change the policy”- Edit
policy.yaml(and its samples) on a branch of the policy repository, and open a pull request. - Read the
Arbiter / policy-reviewcheck (P8). - Have someone other than the author approve it. The policy repository’s protection requires this.
- Merge.
Expected: Arbiter uses the new policy for pull requests evaluated after the merge. Each decision records the policy repository and commit it used.
P8. Read the Arbiter / policy-review check
Section titled “P8. Read the Arbiter / policy-review check”On every policy-repo pull request, the check:
- validates each changed policy, and fails with
policy.yaml: the engine rejects itwhen the policy breaks a rule. The check does not yet say which rule: compare the policy with the rules list in the policy reference, for example “An evidence requirement with required_checks must also have required_approvals.”; - lists what changes compared with the default branch, one line each, for example
protected path added: …orsample added: …; - flags anything that may weaken protection with WEAKENS PROTECTION, for example a removed protected path, a lower approval count, or a changed team. Review every flagged line before approving;
- runs every sample, and fails on a wrong answer. When a sample’s
personlabel now means a different account than it did on the default branch’s policy (or the label was not on that list), the check flags one line per approval, for examplesample <name>: approval 1: person "platform reviewer" now resolves to <id> (was <id>), as WEAKENS PROTECTION, and counts them in its summary (“including N sample binding change(s)”). When the default branch’s policy does not load and at least one sample names apersonlabel that the pull request’s own list has, it flags “approver bindings not compared: the base policy does not load” (one flagged line, not a binding change) and the summary adds “sample bindings not compared (the base policy does not load)”. A label the base list lacks shows as(was not listed). Review each flagged line before approving; - fails a pull request that is behind the policy branch, with “update your branch: the policy branch moved since this pull request was last updated”: update the branch, and the review runs again. It also fails a pull request that changes 300 or more files (split it) or whose files it cannot read, and it never ends neutral;
- prints one line on the policy repository’s protection: “Policy repo protection: confirmed”, or what is missing.
Expected: a passing check with no WEAKENS PROTECTION line means the change only tightens or keeps protection, and every sample still gets its right answer.
P9. Change the rollout mode
Section titled “P9. Change the rollout mode”- Open a policy-repo pull request that changes
policies/<org>/<repo>/rollout-mode.yaml:advisoryorvisibility-only: Arbiter reports, and blocks nothing about the change itself (two denials apply in every mode: an unprotected policy repository, A3, and a target branch that does not require up-to-date branches, A8);enforce: Arbiter blocks a change that is missing something.
- Have it approved and merge it.
Expected: Arbiter / policy-review lists the change, for example rollout mode advisory → enforce. A move to a
weaker mode (enforce to advisory, or either to visibility-only) is also flagged; a move to a stronger one is not. Pull
requests evaluated after the merge use the new mode, and your administrator can confirm it (administrator manual,
A10).
enforce blocks a merge only where GitHub requires Arbiter / authorize on the branch (administrator manual,
A8). visibility-only posts the same check results as advisory.
P10. Use-case rules in the starter policy
Section titled “P10. Use-case rules in the starter policy”These rules exist in the starter today. More are added as their use cases ship.
| Use case | Rule in the starter | What it does |
|---|---|---|
| Unreviewed changes to sensitive code and infrastructure | protected_paths for infrastructure/** and infrastructure/iam/**, with the infrastructure/** evidence requirement and the IAM escalation |
Infrastructure changes need a platform approval and a passing trusted terraform-validate check (it runs terraform validate, not a plan; set its placeholder commit before blocking). IAM changes are also held for security (IAM changes in Terraform) |
| Secrets in a change | always_required_checks with the trusted gitleaks scan (P11) |
Every pull request needs a passing secret scan, from a scan the pull request cannot change. The starter’s commit is a placeholder: set it to your trusted repository’s commit before switching on blocking, or every pull request lacks its scan |
| CI workflow changes (in part) | protected_paths and evidence requirements for .github/**, **/action.yml and **/action.yaml, plus check_definitions |
A workflow change needs a platform approval. While a pull request changes a workflow or action, its check results count only with a security approval too |
Adapt the team names and paths to your repository (administrator manual,
A2). The starter’s secret scan, dependency check and Terraform
check (terraform-validate) are trusted checks, with a placeholder commit: until you set your trusted repository and
commit, every pull request is denied for the secret scan, every dependency change for the dependency check and every
infrastructure change for the Terraform check. A repository with no Terraform removes the terraform-validate entry
from required_checks, or keeps it knowing every infrastructure change is denied. Without a trusted repository, use
the ordinary secret scan (P11).
P11. always_required_checks: checks every pull request must pass
Section titled “P11. always_required_checks: checks every pull request must pass”Some checks should pass on every pull request, whatever it changes, such as a secret scan:
always_required_checks: - name: "gitleaks" trusted_workflow: "acme/arbiter-trusted/.github/workflows/secret-scan.yml" trusted_workflow_sha: "<the trusted repository's 40-character commit>"- Each entry is a check in the same form as
required_checks(P3): an ordinary check, or a trusted check (Trusted scans says how to run one). - It applies to every pull request, including those that change nothing protected, and needs no approval rule beside it.
- Two entries cannot be the same check: the same name, App and workflow, or the same name and trusted workflow.
- While a pull request changes a check definition (P4), every entry’s result, ordinary or trusted, counts only
with the
check_definitionsapproval. Without it, the result is reported missing. - An ordinary entry’s workflow is in the pull request’s own repository, so the pull request can change it. List
file its workflow reads and Arbiter doesn’t follow under
check_definitions.paths(P4 lists what it follows and what it can miss), or a pull request can change the check it is judged by. A trusted entry’s workflow should be in another repository (P3). - Adding an ordinary entry’s workflow is itself a change to a check definition. Add the workflow file to each
repository in a pull request that both the path’s approvers and the
check_definitionsapprovers approve, before or together with the policy change that requires it. - Removing an entry, or moving a trusted entry to another commit or workflow, is flagged in
Arbiter / policy-review(P8). - 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, and neither does an ordinary entry’s result. A trusted entry still runs for a fork, and its result is stored and counts. 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 entry and has passed: an ordinary required check never counts on a fork, also in a policy with no trusted entries at all. In advisory mode Arbiter blocks nothing about the change: a deny or a hold posts a neutral check, an allow 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.
Expected: a pull request with no passing result for an entry on its latest commit is not authorized. In blocking mode it cannot merge, whatever else it has.
P12. github_settings: your own long-lived key names
Section titled “P12. github_settings: your own long-lived key names”setup-check looks for secrets whose names match long-lived cloud keys, such as AWS_SECRET_ACCESS_KEY
(administrator manual, A9c, W4). To add the names your
organization uses:
github_settings: long_lived_key_names: ["ACME_DEPLOY_KEY", "TF_VAR_aws_secret"]- The list holds 1 to 50 names. Each is a GitHub secret name: letters, digits and
_, not starting with a digit orGITHUB_, at most 100 characters, and no name twice, ignoring case.github_settingsholds no other key. - A malformed list stops the whole policy loading (rule
LOAD-044), so that repository’s pull requests fail closed until it is fixed.Arbiter / policy-reviewfails on it first (P8). - Only
setup-checkreads the list. It changes no allow or deny, andsetup-checkreports only how many secret names match, never the names. Arbiter / policy-reviewflags a removed name, sincesetup-checkthen stops looking for it, and lists an added one.
Expected: a policy-repo pull request that adds the list gets a passing Arbiter / policy-review check, and the next
setup-check run with --admin-token-stdin (administrator manual,
A9c) counts secrets with those names under W4. Without the
token, W4 can’t count anything.
P13. workflow_analysis: read what a workflow change adds
Section titled “P13. workflow_analysis: read what a workflow change adds”Off unless the policy has this section. When a pull request changes a workflow or action file, Arbiter reads it and
holds what the change adds (a widened permission, an unpinned action, or untrusted input in a script), and any change
to a workflow that runs on a trigger not proven safe (use case 2,
The workflow analysis). The starter’s
policies/acme/ci-workflows is a sample with it on.
workflow_analysis: hold: cleared_by: { team: "acme/security", min_approvals: 1 } deny: [untrusted_input] pin_exempt_owners: ["actions", "github"]hold.cleared_by(required): the team whose approval clears a held finding, as an approval rule (P3).deny(optional): finding kinds that are denied, which no approval clears:privileged_trigger,permissions_widened,unpinned_action,untrusted_input,base_movedandunparsed. Listing any kind also deniesunparsedandbase_moved.pin_exempt_owners(optional): GitHub owner names (no slash) whose actions need no commit-SHA pin, compared ignoring case. Missing means["actions", "github"];[]pins every action.- The section takes no other key. A malformed section stops the whole policy loading (rules
LOAD-045toLOAD-048), so that repository’s pull requests fail closed until it is fixed.Arbiter / policy-reviewfails on it first (P8). Arbiter / policy-reviewflags removing the section, removing a kind fromdeny(it is then held, not denied), adding an owner topin_exempt_owners, changing the team or loweringmin_approvals, and any other change to the section. Adding a kind todeny, removing an exempt owner and raisingmin_approvalsare listed but not flagged. It warns that the analysis reads GitHub within a request budget, so run one Arbiter server per installation.- When Arbiter can’t read the change, it denies the pull request, and no approval clears it
(
CHANGE_ANALYSIS_UNREADABLE): more than 200 changed workflow or action files; a file over 1 MiB, or over 32 MiB in all; a changed file that is a link or not a regular file; a file with a duplicate key, a YAML tag, more than 100 aliases or nesting past 64 levels; more than 10 seconds of parsing; or GitHub unreadable or out of requests. The analysis works only on a running Arbiter server, not on the GitHub Action: with the section in the policy, the Action denies every pull request. - The path rules still apply: keep
.github/**protected (P10), since the analysis finds only what it looks for.
Tested by automated tests only in this release. Its live end-to-end cases on real repositories come in a later release. Turn it on in advisory mode first, and check its findings on your own pull requests before you switch on blocking.
Expected: a policy-repo pull request that adds the section gets a passing Arbiter / policy-review check with the
line workflow_analysis added, and a later pull request that adds an unpinned third-party action to a workflow is held
for the named team.
P14. dependency_analysis: read what a dependency change adds
Section titled “P14. dependency_analysis: read what a dependency change adds”Off unless the policy has this section. When a pull request changes a dependency file, Arbiter reads it and holds what the change adds: a new package, a likely typosquat, a lockfile changed without its manifest, a package from a source other than the default registry (use case 3, The dependency analysis). It complements the trusted scan, which finds known vulnerabilities.
dependency_analysis: hold: cleared_by: { team: "acme/security", min_approvals: 1 } deny: [source_changed] allowed_registries: ["npm.internal.example"]hold.cleared_by(required): the team whose approval clears a held finding, as an approval rule (P3).deny(optional): finding kinds that are denied, which no approval clears:new_package,likely_typosquat,lockfile_only,source_changed,not_analysedandunparsed. Listing any kind also denies a file Arbiter can’t parse.paths(optional): the dependency files to read, as path patterns. Missing means**/package.json,**/package-lock.json,**/npm-shrinkwrap.json,**/requirements*.txt,**/constraints*.txt,**/requirements/**/*.txt,**/go.mod,**/go.sum,**/.npmrc,**/.yarnrc,**/.yarnrc.yml,**/pip.confand**/pip.ini. A file the patterns match that Arbiter doesn’t analyse isnot_analysed.allowed_registries(optional): hostnames, besides each ecosystem’s default, that an npm lockfile entry or a requirements index option may use. Other sources (apackage.jsonURL, a Git source, ago.modreplace) are alwayssource_changed.- The section takes no other key. A malformed section stops the whole policy loading (rules
LOAD-045toLOAD-048), so that repository’s pull requests fail closed until it is fixed.Arbiter / policy-reviewfails on it first (P8). Arbiter / policy-reviewflags removing the section, changingpaths, removing a kind fromdeny(it is then held, not denied), adding a host toallowed_registries, changing the team or loweringmin_approvals, and any other change to the section. Adding a kind todeny, removing a host and raisingmin_approvalsare listed but not flagged. It warns that the analysis reads GitHub within a request budget, so run one Arbiter server per installation.- When Arbiter can’t read the change, it denies the pull request, and no approval clears it
(
CHANGE_ANALYSIS_UNREADABLE): more than 200 changed files that the analysis reads (dependency files and, with the workflow analysis on, workflow files); a file over 1 MiB (8 MiB for an npm lockfile), or over 32 MiB in all; a changed file that is a link or not a regular file; a file Arbiter reads that is malformed past its limits; or GitHub unreadable or out of requests. The analysis works only on a running Arbiter server, not on the GitHub Action: with the section in the policy, the Action denies every pull request. - The path rules and the trusted scan still apply (P3, P10): keep your dependency files protected, since the analysis finds only what it looks for.
Tested by automated tests only in this release. Its live end-to-end cases on real repositories come in a later release. Turn it on in advisory mode first, and check its findings on your own pull requests before you switch on blocking.
Expected: a policy-repo pull request that adds the section gets a passing Arbiter / policy-review check with the
line dependency_analysis added, and a later pull request that adds a new package is held for the named team.
P15. agent_pull_requests: how many approvers an AI agent’s pull request needs
Section titled “P15. agent_pull_requests: how many approvers an AI agent’s pull request needs”By default, an AI agent’s pull request needs two different approving GitHub accounts. This section sets the number (1 to 10; at 1 an agent’s pull request needs no more than a person’s) and who counts as an agent. It is optional, and the default already applies without it.
agent_pull_requests: min_approvals: 2 # 1 to 10; the default is 2 agent_authors: ["acme-ci-agent"] # machine-user accounts agents run as: a login or a numeric account id not_agents: ["dependabot[bot]"] # GitHub App bots you do not treat as agents- What counts as an agent’s pull request. The pull request’s author, or any commit’s author or committer, is a GitHub
App bot that is not in
not_agents, or an account inagent_authors. That includes Dependabot, Renovate,github-actions[bot]and your own Apps, and a person’s pull request that holds one bot commit (an autofix or formatting commit, or a Renovate rebase on their branch). A person’s pull request with only human commits is not an agent’s. - What changes. On every path where the policy asks for a team’s approval, an agent’s pull request needs
min_approvalsdifferent approvers from that team: 2 when the section or the field is missing, or the rule’s own number if that is higher. This covers path rules, thecheck_definitionsapprovers, an escalation’scleared_by, and the holds of the Terraform check and the two analyses. A path where the policy asks for no approval is unchanged. The check’s comment says so: “(2 needed; an AI agent’s pull request needs at least 2 different approvers; 1 so far)”. agent_authors: 0 to 100 logins (ignoring case) or numeric account ids, none repeated. An id still matches after the account is renamed (gh api users/<login> --jq .id).not_agents: 0 to 100 logins or ids, none repeated, for bots that should not count as agents (for exampledependabot[bot]).- A malformed section stops the policy loading (
LOAD-049), like the other optional sections. Arbiter / policy-reviewflags loweringmin_approvals, removing anagent_authorsentry and adding anot_agentsentry, each as WEAKENS PROTECTION. The setup check warns when a team has too few members for an agent’s pull request.- Limit: Arbiter counts GitHub accounts, not people. Only accounts on the policy’s
approver_accountslist (P16) can approve, so a second account the author controls counts as another approver only if someone listed it. List each person once, and no account you would not trust to approve.
Co-authors. On every pull request, an account GitHub resolves as a commit’s co-author (Co-authored-by: trailer)
cannot approve it, like the author and everyone who committed or pushed. A trailer whose email has no linked GitHub account
excludes no one. Arbiter reads the co-authors only when the policy has a team rule, and when it cannot read them all
(more than 20 on a commit, or any gap), it fails closed: the approval does not count.
P16. approver_accounts: who can approve
Section titled “P16. approver_accounts: who can approve”A policy that has any approval rule must list the accounts that may approve. An approval counts only from a listed
account, and only if that account is also in the rule’s team. The approval rules are a path’s required_approvals,
check_definitions.approvers, an escalation’s cleared_by, and the cleared_by of the holds of the Terraform check and
of the two analyses (P13, P14).
approver_accounts: - { person: "platform reviewer", id: 1234567, login: "platform-reviewer" } - { person: "security reviewer", id: 7654321 }- Required whenever the policy has an approval rule. A policy with an approval rule and no list does not load
(
LOAD-050). A policy with no approval rule may leave the list out; one that has a list must still follow these rules. - Entries: 2 to 200, each with only
person,idand an optionallogin. Any other key stops the policy loading (LOAD-050).person: a label for the person, 1 to 64 ASCII letters, digits, dots, underscores or hyphens, with single spaces between words. No two entries may share one, ignoring case. The setup check names an entry by it.id: the GitHub account’s numeric id, a whole number from 1 up. No two entries may share one.login: the account’s GitHub login, for readers. It is not a[bot]account, and no two entries may share one, ignoring case. It does not decide who can approve. The setup check reports it when it is no longer the account’s login (T3).
- Find an id with
gh api users/<login> --jq .id. Use the id, not the login: a renamed account keeps its id and still counts. - How an approval counts. Arbiter matches the reviewer by id, never by login. The reviewer must be on the list and in the rule’s team, and the usual rules still apply: the pull request’s author, everyone who committed or pushed, and co-authors cannot approve. Listing an account does not put it in a team, and being in a team does not put it on the list.
- An approval from an unlisted account does not count, and it clears no hold either. When a pull request is denied or held, the comment adds one line with a number only, for example “1 approval came from accounts not on the policy’s approver list.” The decision record keeps the ids. Add the account to the list through a reviewed change (below) if it should approve.
- Samples follow the same rule. An approval in a sample counts only if its
personlabel, or itsuser_id, is on the list (P6).
Change the list. A pull request that changes the set of ids needs 2 approvals from accounts that are already on the
list, besides the policy repository’s own review (P7). A change is an id added, removed or replaced, or the list
removed. Reordering entries, or changing only a person or a login, is not gated: the check shows it by id.
- Who counts. Two different accounts on the list as the policy branch has it now, not as the pull request writes it, each approving the pull request’s latest commit. The pull request’s author, everyone who committed to it, co-authors and everyone who pushed to its branch cannot count. An id the pull request adds, in any repository’s folder, cannot count.
- What you see. With too few,
Arbiter / policy-reviewfails with “Changing the approver list needs 2 approvals from accounts already on it”, the number counted so far and the way out. When it passes, it lists “approver list: N ids added, N removed; approved by 2 accounts already on it”. - When the check runs again. Each time a review on the pull request is submitted or dismissed, each time another policy pull request merges, and each time Arbiter starts. If the list changed on the policy branch after you opened your pull request, the check asks you to update your branch. A merge counts as reviewed only if the check read the policy branch as it was when you merged and every approval it counted still stands; otherwise your administrator confirms the commit again (administrator manual, A6).
- Not gated. A repository with no
policy.yamlon the policy branch yet, and a repository whose current policy loads but has no list. Both need the policy repository’s own review only, and the check says so: “approver list: first list for this folder; gated by the code owners’ review only”. A current policy that does not load because of any other rule fails the check, with “could not read the base policy”. A policy with an approval rule and no list does not load after the upgrade to 0.1.3, so add the list after you upgrade, not before (the administrator manual, A13). Check each entry against the rules above by hand first: a list with any mistake (one entry, a repeated id, a badpersonor an extra key) does not load either. Add it with one reviewed pull request when nothing else in the file is wrong: a missing or malformed list, an invalidpolicy_repositorysection (P17), or both, can be repaired in the same pull request. If the base list is missing or malformed, the check saysapprover list: repairing an invalid list (<kind>: <problem>); first valid list for this folder; gated by the policy repository's review rules only(flagged; the middle phrase is left out when the head has no list). Every repair needs the repair number of writer approvals after its last push (P17). A valid list that the same pull request changes still follows the rules above, and the other review checks (the samples, the policy’s own rules) still apply. Any other failure goes through A17b. - Keep at least 3 entries. With 2, one person away stops every change to the list. The setup check notes a list under 3 entries and checks that each team has enough listed members (administrator manual, A9b). If a list cannot reach 2 approvals, your administrator uses A17b.
Expected: a policy with the list loads, and a pull request approved by a listed member of the rule’s team is allowed once everything else the rule asks for is met. A pull request approved only by an unlisted account is not.
P17. policy_repository: how many approvals your policy repository needs
Section titled “P17. policy_repository: how many approvals your policy repository needs”The policy repository protects itself with a GitHub rule that asks for approvals (the administrator manual’s A3). This section states the fewest approvals that rule may ask for, so Arbiter notices when someone lowers it in GitHub. It is optional.
policy_repository: min_approvals: 2 # 1 to 10; the default is 1- The value. A whole number from 1 to 10. Without the section, or without the field, it is 1, which is how Arbiter
worked before. A number outside the range, a value that is not a number, another key in the section, or a section that
is not a mapping stops the policy loading (
LOAD-051). The message names the full path of the field, as in “policy_repository.min_approvals must be a whole number from 1 to 10”. - Not
agent_pull_requests.min_approvals. That field (P15) is about a pull request to a repository you govern: how many different approvers an AI agent’s pull request needs. This one is about the policy repository’s own rule, and about changes to the policy files. - One number for the whole policy repository. Arbiter reads every
policies/<org>/<repo>/policy.yamlat the commit it uses and takes the highestmin_approvals. A file without the section counts as 1, so it cannot undo a higher value in another file. If a file is not valid YAML, or its section is not valid, in a folder other than the one being evaluated, the number cannot be read, and the pull requests of every other governed repository getPOLICY_REPO_UNPROTECTEDuntil the file is fixed. The affected repository’s own pull requests, once protection, history and the target branch’s check settings pass, getPOLICY_UNAVAILABLEfor an invalid section (neutral in advisory mode), orHANDLER_ERROR(“Internal error reading policy”) when the YAML cannot be parsed. Repair. A pull request that repairs every invalid section (a missing or malformed approver list in the same file included) passesArbiter / policy-reviewonce enough writers approve. The check names the files and the number. The number is the higher of the highest readable minimum in the repository before the change (at least 1) and the highest minimum after it, and it can exceed GitHub’s rule: raise the rule (A3). An approval counts when it comes from a human account with write access to the policy repository, who is not the pull request’s author, anyone who authored, co-authored or committed any of its commits, or anyone who pushed to its branch, and whose latest decisive review approves the exact final commit, submitted at or after the last push. An account that the same pull request adds toapprover_accountsdoes not count when the change also lowers a readable minimum. While a section is invalid, a policy pull request that does not repair it fails. A file that is not valid YAML or fails another check, or a policy history that already has a finding, needs break glass (A17b), then the administrator confirms the new commit (A6). - Earlier releases ignored a top-level key they did not know. A
policy_repositorysection already in your policy is now read: it takes effect at once, and can start denials if GitHub’s rule asks for fewer approvals than it names. A section added before the upgrade is not checked by 0.1.2, so a mistyped key (for examplemin_approval) or a value outside 1 to 10 stops the policy loading after the upgrade, and the number cannot be read: every other folder’s pull requests getPOLICY_REPO_UNPROTECTEDtoo, until it is repaired by a reviewed pull request (above). Check the spelling and the range first.
What Arbiter does with the number. It enforces it in three places.
- Trust. GitHub’s rule on the policy repository’s default branch must require at least that many approvals, on the
same rule that requires approval of the most recent push. If it asks for fewer, every pull request gets
POLICY_REPO_UNPROTECTED, in every mode. The server log and theArbiter / policy-reviewcheck’s protection line name both numbers: “the policy repository requires 1 approval after the last push; the policy requires 2”. The administrator manual’s A3 and A9b show the fix. - Policy review. Lowering the number is flagged and gated (below).
- Provenance. For an ordinary change, every policy commit after the confirmed one needs that many different writers to approve its pull request, each by their latest review, of its final commit, before the merge. The author, anyone who committed or pushed, and anyone without write access do not count. The number is the one on the policy branch just before the merge (the merge’s first parent), so lowering GitHub’s count, merging a weaker change and then restoring the count does not help: the merge still needed the number that applied before it. A merge with fewer approvals is a finding, “fewer writers approved it than the policy required (1 of 2)”, and Arbiter denies until the administrator confirms the policy branch again (A6 in the administrator manual). A merge that repairs an invalid section follows the repair rule in the “Repair” paragraph of “One number for the whole policy repository” above, instead of this number.
Lowering the number. The check compares the number at the tip of the policy branch with the number after the pull
request. A change that lowers one file’s value, or removes a section whose value was above 1, is flagged WEAKENS PROTECTION, for example
policy_repository.min_approvals lowered: 2 → 1. When the highest value drops, the check also needs as many approvals
as the old number, from different accounts that did not write the pull request: not its author, a commit’s author,
committer or co-author, anyone who pushed to its branch, or an account the same pull request adds to
approver_accounts. With fewer, the check fails with “Lowering the policy’s minimum approval count needs as many
approvals as it had”, and a line such as (2 needed, 1 so far). Lowering a file’s value while another file still holds
the higher one is flagged, but needs no extra approvals, because the number does not change. Removing a section whose value
was 1 is not flagged: the check shows min_approvals stays 1. The check also fails when
it cannot read the approvals, or, for a file whose section changed, the number at the policy branch’s tip. An approval
the check counted must still stand at the merge, or provenance refuses the merge.
To lower the number, merge the policy change first, then lower GitHub’s rule. Lowering GitHub’s rule first makes Arbiter deny every evaluation, because the policy still asks for the old number.
Raising the number, or adding the section, is shown, not flagged, with the line “policy_repository.min_approvals raised: 1 → 2: every later change, including lowering it, needs this many writer approvals”. Raise GitHub’s rule to the new number before you merge, or Arbiter denies every evaluation once the change lands (trust, above).
A passing check says what provenance will need, for example “Provenance needs 2 approvals from writers who didn’t write or push this branch.”
When too few eligible reviewers exist to lower the number: add reviewers first. If you cannot, the administrator
manual’s break-glass route (A17b) makes the change outside the gate, and the administrator then confirms the new policy
commit (ARBITER_POLICY_ACCEPT_COMMIT, A6). That confirmation is recorded.
The starter policy sets min_approvals: 2 in policies/acme/payments-api/policy.yaml, to match the policy
repository’s own rule. Set the policy repository’s required approvals to at least 2 (A3), or lower the number in your
copy before you adopt it.
Built from Arbiter 0.1.3 at commit 05d1dcb.