Diagram as text
- The canon lives in a Git repository; the configuration pins one commit.
- NuraMesh re-hashes the pinned commit, its directories and every file. A hash that does not match stops the run with an error.
- The checked snapshot is loaded once per run.
- The snapshot reaches the verifier.
- The commit and the content hash are written to the ledger.
The canon is the team’s shared facts and rules: style, decisions, domain knowledge. It lives in a Git repository, so it is versioned and reviewed like code.
- A run loads the canon once, from a pinned commit (
canonin the configuration:repository,commit,paths). - The loaded snapshot reaches the verifier (tested); it is loaded once per run.
- The commit and the content hash are written to the ledger, so you can tell which version of the rules a run used.
What is verified
Section titled “What is verified”NuraMesh checks the canon against the commit you pinned. It reads the pinned commit, every directory (tree) below it and each file it returns, and recomputes the hash of every one of them. Each hash must match the id the pinned commit names. So the files an agent is told are exactly the files of that commit, even if someone tampered with the repository’s object store after you pinned the id.
What this does not check:
- A collision prepared before the pin. Git ids are SHA-1. The check cannot tell two different files apart if someone crafted a SHA-1 collision before you pinned the commit.
- Changes during one process. A loaded canon is cached for the life of the process; a change to the repository after that load is found only by a process that reads it again.
- Earlier history. Ancestor commits are not verified. The pin proves the canon files are exactly those of that commit, not that the history before it is untouched.
- Whether the commit is a good one. There is no signature check. Pin the commit id from a reviewed configuration.
- Repositories that use the SHA-256 object format are refused for now (the run does not start). Shallow clones are fine.
- A failed check stops the run with an error. It is not yet written as its own ledger record.
The ledger entry for a loaded canon (canon.loaded) now also lists what was verified: the object
format, the root tree id, how many trees and files were re-hashed, and whether the repository is
shallow (informational only). The canon hash itself did not change.
Not available today: searching a large canon, and agents proposing canon changes. Agents never edit the canon directly; a human changes it through Git.
Related pages
Section titled “Related pages”- Independent verifiers: the canon is one of the four things a verifier gets.
- The ledger and anchors: where the loaded commit is recorded.
- Configuration reference: the
canonsection.
Was this page helpful?