Explanation
Why governance: what the standards are for and how each rule holds
Arcane's governance documents are the written rules your AI client works by in a repository: how branches are named, what a commit message carries, when work counts as done, what an agent may do on its own. This page explains why they exist and how much weight each kind of rule can bear.
Written down, in the repository
An AI client starts every session without memory of the last one. Whatever it knows about how your team works, it has to read. Arcane's answer is to put those rules where every client already looks: plain Markdown under .arcane/governance/, installed by spell init with a manifest that records a hash of every file it placed. The spells cite the standards by name, so the rules a spell follows are the ones you can open, review and change in a pull request.
That placement is also why the rules survive the tools. A standard in your repository reads the same to Claude Code, GitHub Copilot and Codex, and it stays when you change clients or models.
Three ways a rule holds
A rule written in a document is only as strong as whatever checks it. Arcane labels each of its promises with how it holds, because a rule nobody checks should not read like one that is checked:
- CLI: the
spellcommand, or a hook it installs, does it. Updates refuse to run over uncommitted changes or outside a git repository. When push is blocked, a pre-push hook refuses and every remote's push URL is pointed at a sentinel, so--no-verifydoes not help. - Spell step: your AI client does it when the work runs through the spells. There is no commit without your approval in an interactive session:
spell-commit-workshows the diff and the message, fingerprints that exact pair, and re-checks it right before committing. At close,spell-close-sessionclassifies every piece of background work as succeeded, failed, pending, dispatched or unverifiable, and only "succeeded" may be called done. - Convention: the standards ask for it, and nothing checks it. The trust levels an agent can hold in a repository, from spectator to archmage, are part spell step and part convention: the spells act on them, and the rest rests on the written policy.
The governance documents go further: their rules carry an enforcement note naming what stands behind each one, whether an executable check, a structured spell gate, a verified external platform policy, or advisory prose alone. The note lets you tell a hard gate from a good habit before you rely on it.
What it does not do
Arcane states its limits as plainly as its promises:
- It does not run your agents or call an AI model. The spells are instructions your AI client follows; the CLI installs them, keeps them current and checks the repository.
- It does not intercept raw git. A commit you type by hand skips the spells' approval and test gates, though any hook it installed still runs.
- The credential scan looks for known patterns. It can find a leak; it can never prove a commit is clean.
- The push controls stop an accidental push, not a determined operator. A remote added after you block pushes stays live until you apply the block again, and
spell doctornames it.
Why this trade
Governance in Arcane is mostly text because text is what an AI client can follow, review and quote back. The CLI enforces the few rules a program can check without judgment: a clean tree before an update, a blocked push. The spells carry the rules that need a model in the loop. Conventions fill in where a check would cost more than the rule is worth. Labelling each one keeps the promise honest about which is which.
Related
- Keep the standards current with Update Arcane.
- Read the rules every agent follows in Universal agent rules, and the trust levels in Agent policies.
- Block or unblock pushes with
spell block-push; lifting a block takesspell unblock-pushfrom an interactive terminal. - See how a session opens and closes from the repository in Portable memory.