Repository layout
The source of truth is the Decision-file set. Treat the index as generated output: run
charter sync after deliberate manual Decision-file edits.
config.yaml
init creates this scaffold:
enforcement_default— the enforcement level a proposal gets when none is passed explicitly. It applies tocharter proposewithout--enforcement, the MCPdecision_proposetool without anenforcementargument, andcharter bootstrapdrafts whose extractor didn’t pin a level. One ofblocking,advisory, oroff; an invalid value is an error, not a silent fallback. Missing key (or missing file) meansadvisory.principals— an optional allowlist of agent principal ids. When non-empty,charter mcp --principal <id>refuses to serve ids not on the list, which keepsproposed_byprovenance meaningful. Empty means any principal is served.
Audit events
charter log reads events newest first. Actions include proposed, accepted, rejected, superseded, and affirmed. The database is a local derived audit index and is intentionally ignored by Git together with SQLite journal/WAL files.