Skip to content
Canon

Version 0.8.0Free and open source · MITPlain Markdown in your repo

Crafthall Canon

Your whole product, as code, kept current by your agents.

One folder per product: what it is, how it earns, how it is built and how agents work on it. Drafted from your repository, checked before every merge.

Example: the Canon viewer for a sample product, with completeness, features built, health findings and the state of each page.

How it works

Agents don’t remember conversations. They remember files.

So the whole product lives in files, next to the code. Four steps, one command each – pick a step to see what it does.

$ canon check --all             # a hub that drifted
canon check – 14 problem(s):
  - acme-ledger/…/overview.md: broken link "pricing.md"
  - acme-ledger: AI and development workflow is required
    at Development – add agent-instructions.md + …
  - acme-ledger/…/features/team-seats.md: feature status
    "shipped" – use one of specified, building, built, …
  - acme-ledger: topic "pricing" is a main section in
    go-to-market.md and monetization.md – keep it in one page
  - acme-orbit/README.md: status "beta" is not one of idea, …
  …

Lifecycle

Write the docs your product needs now. Not one page more.

Eight stages from Idea to Operate. The status in the hub README sets the stage, and the matrix decides which pages must exist. Pick a stage:

3 required pages

Stage 2 · Validation – Show there is a customer, a problem and a reason to beat the alternatives.

status: validation

Required now 3

  • Overview and pitch
  • Value proposition and target market
  • Quality and product metrics

When triggered 8

  • Experiments
  • Go-to-market and marketing
  • Brand identity
  • Architecture overview
  • Components and data flows
  • Technology stack
  • Decision records
  • Detailed technical documentation

Optional draft 4

  • Business plan and model
  • Feature catalog
  • Roadmap and gates
  • Monetization and entitlements

Not yet due 1

  • AI and development workflow
See the full matrix – every page at every stage
  • required
  • when triggered
  • optional
  • not yet due
Which document each lifecycle stage needs
Document1Idea2Validation3Business plan4MVP scope5Development6Launch / GTM7Monetize8Operate
Overview and pitchRrequiredRrequiredRrequiredRrequiredRrequiredRrequiredRrequiredRrequired
Value proposition and target marketOoptionalRrequiredRrequiredRrequiredRrequiredRrequiredRrequiredRrequired
Business plan and model–not yet dueOoptionalRrequiredRrequiredRrequiredRrequiredRrequiredRrequired
Feature catalog–not yet dueOoptionalOoptionalRrequiredRrequiredRrequiredRrequiredRrequired
Roadmap and gates–not yet dueOoptionalOoptionalRrequiredRrequiredRrequiredRrequiredRrequired
ExperimentsCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggered
Go-to-market and marketing–not yet dueCwhen triggeredOoptionalOoptionalCwhen triggeredRrequiredRrequiredRrequired
Monetization and entitlements–not yet dueOoptionalRrequiredRrequiredRrequiredRrequiredRrequiredRrequired
Brand identity–not yet dueCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredRrequiredRrequiredRrequired
Architecture overview–not yet dueCwhen triggeredCwhen triggeredRrequiredRrequiredRrequiredRrequiredRrequired
Components and data flows–not yet dueCwhen triggeredCwhen triggeredRrequiredRrequiredRrequiredRrequiredRrequired
Technology stack–not yet dueCwhen triggeredCwhen triggeredRrequiredRrequiredRrequiredRrequiredRrequired
Decision recordsCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggered
Detailed technical documentationCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggeredCwhen triggered
Quality and product metricsOoptionalRrequiredRrequiredRrequiredRrequiredRrequiredRrequiredRrequired
AI and development workflow–not yet due–not yet due–not yet dueOoptionalRrequiredRrequiredRrequiredRrequired

The check

Staleness is found, not remembered.

Completeness is counted, not estimated: required pages that exist and have no open finding, divided by all required pages at the product’s stage.

Then an agent reads the pages together and reports what a script cannot see: gates that contradict decisions, “built” features that are not in the code, a go-to-market plan that promises more than the release.

7

stale facts in 3 of our own product folders, found by the first consistency read. Nobody had noticed them.

What the check reports

  • A page the current stage requires does not exist.Missing
  • Some, but not all four, AI & development workflow pages exist.Missing
  • A page is still marked status: draft.Needs review
  • A feature page changed after the hub README – the index may be stale.Needs review
  • An experiment whose revisit-by date has passed (before the given today) with no recorded result.Needs review
  • A feature status outside the allowed list, or feature front matter that does not parse.Inconsistent
  • The feature catalog and the feature page disagree on status.Inconsistent
  • A feature page without a catalog row, a catalog row or a candidate that links a missing page, or two rows for one page.Inconsistent
  • A feature page that names another product.Inconsistent
  • A decision record with an unknown status.Inconsistent
  • A one-sided or dangling supersession link between decision records.Inconsistent
  • The hub names a business plan that does not exist.Inconsistent
  • The hub README names another product, an unknown status or front matter that does not parse.Inconsistent
  • A launch task in the roadmap whose status is not open, in progress or done.Inconsistent

The bootstrap

Drafted from your repository, every sentence sourced.

An LLM reads the code, README, docs and git history and writes the first version. Every claim carries a file or commit – or says (hypothesis). A person confirms.

  • Recall 100 % and 92.3 % on two hidden hubs
  • 0 unsourced sentences, 0 false facts in 60 sampled citations
  • Every page lands as status: draft
product: acme-ledger
page: overview
status: draft
updated: 2026-11-26

What it is

A shared ledger for small groups that split costs.README.md

Exports go to CSV and to the accounting tools of two vendors.src/export.ts

Flat-sharing groups are the first audience.hypothesis

Example draft for a sample product.

The layout

Every product answers three questions, in the same place.

The next agent – or person – knows where to look before opening a single file.

docs/crafthall/canon/my-product/
├── README.md           · status, stage, changelog
├── business-product/
│   ├── overview.md · value-proposition.md
│   ├── business-plan.md · monetization.md
│   └── roadmap.md · features/
├── architecture-engineering/
│   ├── overview.md · technology-stack.md
│   └── decisions/0001-….md
└── ai-development-workflow/
    ├── agent-instructions.md
    └── definition-of-done.md

What is it, who is it for and how does it earn?

Business & Product

Overview and pitch · Value proposition · Business plan · Monetization · Go-to-market · Brand identity · Roadmap and gates · Experiments · Feature catalog

How is it built and why that way?

Architecture & Engineering

Architecture overview · Components and data flows · Technology stack · Decision records · Technical documentation

How do agents and people work on it?

AI & Development Workflow

Agent instructions · Documentation rules · Definition of done · Documentation skills

See the full folder layout

Next to the tools you already use, not instead of them

MADR

Keep your decision records in decisions/. The hub adds the index, two-way supersession links and the check.

spec-kit · OpenSpec

A change spec lives inside the feature page it changes. The hub is the product layer above single changes.

your issue tracker

Issues stay where they are. The hub links to them and records what they changed.

Install

Three commands in any git repository.

Canon is a package, a CLI and a Claude Code plugin. No account, no service, no npm registry: it installs from its public repository, pinned to a release tag.

Version
0.8.0
Status
Public
Licence
MIT
Price
Free

Command line

Needs git and Node.js 20.11 or newer. Install, start the hub for one product, check it:

npm install --save-dev "git+https://github.com/crafthall/canon.git#v0.8.0"
npx canon init <id>
npx canon check --all

<id> is the product’s folder name in docs/crafthall/canon/. Run the check before every pull request.

Claude Code plugin

/crafthall-canon:check and the skills project-init, bootstrap, hub-check and everything-as-code.

claude plugin install crafthall-canon --marketplace crafthall/plugins

Needs Claude Code 2.1.292 or newer.

Older Claude Code? Use two commands
claude plugin marketplace add crafthall/plugins
claude plugin install crafthall-canon@crafthall
Already in a session?
/plugin install crafthall-canon --marketplace crafthall/plugins
/reload-plugins

Source and support

The framework, the template, the plugin and these docs live in one public repository, MIT licensed. Questions and bugs go to its issues.

Included since Crafthall 0.6.0

Also included in Crafthall

Crafthall Canon comes inside Crafthall: /crafthall:canon-check and the four skills, no second install. It writes nothing until you turn it on from the Product tab.

The standalone plugin and the CLI on this page stay for people who don't use Crafthall.

Where it stands

One core, three ways in.

The framework

Plain Markdown and the canon CLI. Runs in any git repository, next to any agent.

Claude Code plugin

/crafthall-canon:check and four skills – start, draft, keep current and read a hub – where your agents already work.

Inside Crafthall

Its Product tab shows the hub next to your agents’ checks. Next: all of Canon inside Crafthall, turned on from that tab.

Changelog, not promises

Canon runs the documentation of six products in our own repository today. Version 0.8.0 is public under the MIT licence; the release notes live in the repository.

  1. [done]

    Public 0.8.0, MIT

    The framework, the CLI, the template, the plugin and the docs in one public repository.

  2. [done]

    canon CLI

    canon new, canon init and canon check --json run in any git repository, with end-to-end tests.

  3. [done]

    Draft a hub from a repository

    Recall 100 % and 92.3 % on two hidden hubs, 0 unsourced sentences.

  4. [done]

    Experiments page

    Hypothesis, metric, thresholds and a revisit-by date; the check flags a row past its date with no result.

  5. [done]

    Claude Code plugin

    crafthall-canon in the crafthall plugin marketplace.

  6. [done]

    Module in Crafthall

    The same core in the dashboard of your agents: the Product tab.

  7. [done]

    Included in Crafthall

    The check and the four skills inside Crafthall, one install, turned on from its Product tab; the standalone crafthall-canon plugin stays. Since Crafthall 0.6.0.