The integrator derives a change's required attestation set from the actual tree diff, never from the contributor's claim about the change. Policy maps path classes to required checks:
.the-valley/** only → signature + knowledge lint — its checks are enumerated once, in
.the-valley/README.md — and prose format (below).Because routing is computed from the tree, there is no "node door" to smuggle code through. Mixed commits are a feature, not a hole — "a landed change closes the outcome it serves" wants code and node flip in one commit, and that commit simply carries code-level requirements. This is also the argument for knowledge staying in-tree rather than on its own ref: one protection mechanism, proportionate checks, no split in the one-clone durability story.
The policy itself is data — path classes and required checks — so it is a CUE document, versioned in-repo and validated like everything else. One schema language then covers config, events, and knowledge.
The knowledge lint has three lifetimes: a nix flake check derivation today (no integrator needed),
the required attestation for .the-valley/** diffs at the integrator rung
(architecture.md), and a pure, witness-re-derivable check under the
trust backstop. Same derivation throughout.
Prose format (decided 2026-07-17): markdown prose is filled paragraphs hard-wrapped at 100
characters by a deterministic formatter. The check is formatter idempotence — formatting the tree
changes nothing — which is deterministic, judgment-free, and off the shelf. Rationale: humans read
these files raw, and filled paragraphs are the readable shape in a terminal; semantic line breaks
(one sentence per line) diff better but read badly raw, and no deterministic formatter can enforce
them. Hard wrap's cost — a one-word edit can re-flow a paragraph in the diff — is mitigated at
review time by delta's word-level highlighting in valley review. The corpus reformat is one
mechanical sweep in a single commit, so blame churn is contained.