> ## Documentation Index
> Fetch the complete documentation index at: https://shunya.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Trust model

> What Charter enforces itself, what it delegates to git hosting, and why.

Charter's authority split — *agents propose, humans accept* — is enforced at two different layers with two different strengths. Knowing which layer you are relying on matters when you grant an agent shell access.

## Layer 1: capability reduction (what Charter enforces)

The MCP server exposes exactly four tools: `decision_check`, `decision_search`, `decision_propose`, and `decision_list`. Accept, reject, supersede, and affirm exist only as CLI commands. An agent that interacts with Charter through its MCP connection **cannot** ratify, reject, or retire a decision — the API surface doesn't exist.

This is a real guarantee, but it is a guarantee about the *MCP surface*, not about the machine. Charter trusts the operating-system user it runs as.

## What Charter does not enforce

`charter accept --by anyone` succeeds for any process that can execute binaries. The `--by` flag is provenance metadata recorded in the decision file and the audit log; it is not an authenticated identity. Consequences:

* An agent granted unrestricted shell access can accept its own proposals.
* The audit log (`charter log`) records what it was told; it is tamper-evident only insofar as `.charter/**` file history is reviewed in git.

If your agent runs with shell access and you want the authority split to hold, you need Layer 2.

## Layer 2: git hosting (the enforceable boundary)

Decisions are ordinary committed files under `.charter/`, so the controls that already protect your default branch protect the constitution:

1. **Branch protection** on the default branch — no direct pushes, PRs required.

2. **`CODEOWNERS` on `.charter/**`** — decision changes require review from designated humans:

   ```text CODEOWNERS theme={null}
   /.charter/ @your-org/architecture-owners
   ```

3. **`charter check --diff origin/main` in CI** — changes to governed paths fail the build (exit `2`) unless acknowledged with a `Governed-By` trailer, and the decision files being cited are themselves reviewable in the same PR.

With all three, a locally executed `charter accept` — by an agent or anyone else — changes nothing upstream until a human approves the pull request carrying it. The human approval Charter's model asks for is the PR approval your hosting already implements.

## Practical guidance

* Treat `charter accept` output as *local state* until it has been merged through a reviewed PR.
* Keep agents on the MCP surface (`charter install claude`, `charter install codex`) rather than giving them reasons to drive the CLI: the capability reduction then does its job.
* If `.charter/config.yaml` lists `principals`, `charter mcp --principal` refuses identities not on the list, which keeps proposal provenance meaningful.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.