Skip to content

What is Code Arbiter?

codeArbiter is an open-source governance layer for Claude Code, Codex, and Pi. It stops an AI coding agent at the gates you care about (tests, reviews, security checks, decisions) and keeps the record of that work in your repository, in .codearbiter/.

Ask for an outcome and you get the documents a careful team would produce for it:

  • A new project gets an architecture breakdown, a phased build plan and a task backlog to review.
  • An existing codebase gets inspected project context instead.
  • A feature gets a specification and an execution plan; a small change gets a short confirmed mini-spec.
  • Every decision and exception is recorded with its reason.

The product tour shows real draft documents and runnable tests from one example, and the artifact model explains which record owns what.

codeArbiter Holds the Gates; You Hold the Decisions

Section titled “codeArbiter Holds the Gates; You Hold the Decisions”

codeArbiter enforces; you decide. A gate stops a supported tool call before it runs, such as a commit without passing tests or a broad git add. Choices that need your judgment, such as approving a plan or accepting a trade-off, come back to you. In an autonomous sprint, routine choices are scored with SMARTS and logged so you can review them later, while anything that needs your authority still stops and asks. Enforcement lists exactly what is blocked and where the limits are.

  1. Describe the outcome. State the behavior you want, the scope and any limits. You can use a command such as /ca:feature, but a clear request works too.
  2. Review the definition. The owning lane clarifies the problem and asks only what it cannot decide for you.
  3. Implement and verify. Tests are written against the requirements, the code is reviewed, and failures are fixed before work moves on.
  4. Resolve stops. A gate may ask for a fix, a decision or fresh evidence. Work continues once it is satisfied.
  5. Commit and open a pull request. Changes go through the governed commit and PR path. Merging and publishing stay your call.
A request reaches its owning lane, clears the relevant gate and proceeds to the governed shipping boundary.
Every request reaches its owning lane, clears the gates that apply, and ends at a pull request you approve.

Complete one feature walks through this end to end.

codeArbiter is one governance product with three host adapters: ca for Claude Code, ca-codex for Codex, and ca-pi for Pi. They share the same policy core and the same .codearbiter/ records, so a project can move between hosts. Command spelling differs (/ca:feature in Claude Code, $ca-feature in Codex, /ca-feature in Pi). Claude Code and Codex are stable; Pi is a Feature Forge preview.

The compatibility matrix lists exact requirements, and Choose your host helps you pick one.

Limits and evidence: how each host runs reviewers

Claude Code dispatches plugin agents. Published releases from 0.7.5 include the complete packaged resource charter set for that release for Codex host-provided agent threads, with static-package and route-closure checks at release. A bounded 0.9.4 receipt records one exact installed-charter review. A bounded inline fallback is allowed only where the canonical workflow explicitly permits it and isolation is not mandatory. Pi launches hardened child processes through its trusted parent. These mechanisms are not interchangeable guarantees; the Claude Code + Codex evidence page records what has been verified on each host, and the typed-artifact authority matrix shows which hosts can verify and review structured HTML documents.

The Claude Code marketplace also carries ca-sandbox, an infrastructure plugin rather than a fourth host. The Codex marketplace carries ca-codex. Pi installs from npm or from pinned Git tags; the Pi guide covers its trust boundary. Product tour examples are labelled fixtures, not a check of your installed package.

Skills, role instructions and reference material load only when a workflow needs them, so you do not need to learn the internals first. Your repository context still goes to whichever host and model provider you use; codeArbiter adds no telemetry service. See Trust & Lifecycle.

Choose your host, install it, and protect your first repository. Then complete one feature. Guides are grouped by task, and the Reference holds every exact command. For hands-on practice, Arbiter Academy adds verified exercises.