Skip to content

Canon

TIP

This wiki is aligned with Canon 0.63.0. For older versions, refer to the repository tags.

Canon - Semantic Governance Runtime

The governance runtime for AI-assisted engineering. Keep AI agents bounded, inspectable, and safely restricted to approved work zones.

Why Canon?

  • No Opaque Loops: You control exactly when agents plan, run, and publish.
  • Bounded Execution: Agents operate strictly within approved risk and zone limits.
  • Inspectable State: Every decision, approval, and output is captured as durable evidence.
  • Governed Packets: Turn unstructured chat into canonical, versioned markdown artifacts.

How it Works

Canon operates on a simple, predictable four-step mental model:

  1. init → Prepare the workspace.
  2. run → Start a governed session with explicit boundaries.
  3. approve → Review and unblock the agent when human judgment is needed.
  4. publish → Promote the final artifacts into your repository's permanent memory.

Quick Start

Get your first governed session running in seconds:

bash
brew tap apply-the/canon && brew install canon
cd my-project
canon init
canon run --mode requirements --risk bounded-impact

Key Commands

These are the commands you'll actually use every day:

CommandWhat it does
canon runStart a new governed session with explicit boundaries.
canon statusSee exactly what the agent is doing right now.
canon inspectReview generated evidence and artifacts.
canon approveUnblock a session that hit a governance gate.
canon publishCommit the final work into your repository.

Deep Dive Documentation

Explore the wiki sidebar for advanced integrations, semantics, and architecture:

Released under the MIT License.