Skip to content

Governed autonomy for serious repositories

codeArbiter: hard gates for agentic coding.

codeArbiter is an open-source governance layer for AI coding agents. It gives Claude Code, Codex, and Pi repository-owned hard gates for tests, reviews, security checks, decisions, audit trails, and durable project context.

You decide. codeArbiter enforces.

Claude CodeCodexPi preview

What a block looks like

The agent tries git add -A. The hook refuses.

Shipped H-03 hook
Shipped hook · captured Jul 30, 2026
Read the exact invocation result

Attempted tool call git add -A

BLOCKED [H-03]: 'git add -A' / 'git add .' / 'git add --all' / 'git add -u' are prohibited. Stage files explicitly (commit-gate skill).

Exit 2 · command not executed · no staged files

Audit side effect The block appended an H-03 event to .codearbiter/gate-events.log.

Capture source plugins/ca/hooks/pre-bash.py at SHA-256 b2cf1a875a6ec0aa4c36e59bfdc2c9f64a81a70dcc901a5bbc46465b087e4873 (b2cf1a875a6e).

Published-artifact applicability Replay source applies to the exact latest published ca artifact: v3.8.9 at 3f1bd13762ed.Replay digest applies to both the current hook source and the exact latest published ca artifact source. Read the complete release applicability record.

Evidence boundary This directly invoked the shipped hook with the host payload shape. It does not prove a host discovered or registered that hook.

The real output of the shipped pre-bash.py hook, rendered as a faithful replay. The command never ran. The replay checks the hook itself, not host discovery or registration; the quickstart’s doctor probe checks your installed host end to end.

What changes when codeArbiter is active.

Ask for the outcome. codeArbiter routes it to the lane that owns it, applies the gates the change needs, and ships through a pull request you approve. How gated lanes work.

  • It stops at the tool boundary

    Hooks run before shell and write calls. A blocked call never runs, whatever the model remembers.

    See what is enforced
  • The record lives in your repository

    Specs, plans, decisions, tasks and audit logs live in .codearbiter/, so they move with the code and between hosts.

    Explore the state store
  • Every bypass leaves a trail

    Overrides, autonomous decisions and review findings are written down, so you can audit a range later instead of reconstructing it.

    See the audit model

Start from the job in front of you.

Choose your host.

One policy core and one shared record. Each host keeps its own command spelling.

Claude Code

stable
/ca:feature

Marketplace install, native plugin agents, hook trust flow, and optional rich statusline.

Install for Claude Code

Codex

stable
$ca-feature

The same enforcement decisions and state through Codex-native skills and hook verdicts.

Install for Codex

Pi

preview
/ca-feature

Feature Forge preview with an npm convenience channel, pinned Git tags for reproducibility, project trust, a rich footer, and supervised child dispatch.

Install the Pi preview

Exact differences: the compatibility matrix and the dated Claude Code + Codex verification record.

Put one repository under governed change.

Install for one host, opt the repository in, then run the live doctor probe. Open source under AGPL-3.0-only; enforcement runs locally.

Use it when

  • agents implement meaningful product work;
  • decisions and bypasses need attribution;
  • tests and reviews must be real stops;
  • the same project moves between supported hosts.

Skip it when

  • the code is a disposable one-hour experiment;
  • any process friction is unacceptable;
  • the repository cannot carry a checked-in state directory.

See it working first: the product tour follows one change from requirement to plan, and Arbiter Academy adds hands-on practice. No telemetry service is required for enforcement; disable one repository or uninstall completely with the state implications documented.