Claude Code
stable/ca:featureMarketplace install, native plugin agents, hook trust flow, and optional rich statusline.
Install for Claude CodeGoverned autonomy for serious repositories
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.
What a block looks like
The agent tries git add -A. The hook refuses.
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.
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.
Hooks run before shell and write calls. A blocked call never runs, whatever the model remembers.
See what is enforcedSpecs, plans, decisions, tasks and audit logs live in .codearbiter/, so they move with the code and between hosts.
Overrides, autonomous decisions and review findings are written down, so you can audit a range later instead of reconstructing it.
See the audit model/ca:featureTurn an idea into an approved spec, test-first implementation, and reviewed PR.
/ca:fixStart from a reproduction, prove the regression, and make the smallest verified fix.
/ca:sprintApprove the target once, then let SMARTS-scored decisions drive the plan to a PR.
/ca:add-depReview license, provenance, and known vulnerabilities before installation.
/ca:adrCapture a numbered, user-attributed decision with its governed paths and supersession chain.
Grouped referenceSearch the source-backed command, skill, agent, and hook-gate reference.
One policy core and one shared record. Each host keeps its own command spelling.
/ca:featureMarketplace install, native plugin agents, hook trust flow, and optional rich statusline.
Install for Claude Code$ca-featureThe same enforcement decisions and state through Codex-native skills and hook verdicts.
Install for Codex/ca-featureFeature Forge preview with an npm convenience channel, pinned Git tags for reproducibility, project trust, a rich footer, and supervised child dispatch.
Install the Pi previewExact differences: the compatibility matrix and the dated Claude Code + Codex verification record.
Install for one host, opt the repository in, then run the live doctor probe. Open source under AGPL-3.0-only; enforcement runs locally.
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.