Skip to main content
Decision files are the authoritative project record. The generated index and SQLite audit database are derived from or alongside these files; review Decision-file changes in pull requests like code.

Example

Frontmatter fields

Body sections

Charter writes four known sections: Context, Decision, Consequences, and Alternatives considered. Keep the decision rationale in these sections so show, search, agent checks, and generated output remain useful. You can add your own sections (for example ## Evidence or ## Rollout notes) and prose before the first heading: Charter preserves them verbatim, in their original position, across every lifecycle rewrite (accept, reject, affirm, supersede).

File naming and index

Charter names a new file <id>-<slugified-title>.md, for example 0007-use-postgresql-for-persistent-storage.md. charter sync recreates .charter/DECISIONS.md from the parsed Decision files. Do not hand-edit the index; edit/review a Decision file and run sync instead.

Enforcement semantics

blocking affects only accepted Decisions and only when check receives --diff. advisory is visible but non-blocking. off never creates a blocking violation. Scopes are an explicit part of the contract: make them precise enough that a developer can tell why a Decision matched.