Skip to main content

Module verify

Module verify 

Source
Expand description

ev verify: R1 (closed schema), R2 (check shape), R4/R6 (id == hash + chain integrity), R3 (self-evolve subject) + R5 (blame present + forbidden-op).

Functions§

imported_op_warnings
The provenance-partitioned R5 surfacing: an imported tick faithfully transcribes historical text, so an R5 forbidden-op word in it is a non-gating warning: (recorded, not authored now), NOT a violation — verify skips it as a violation for imported ticks, and this surfaces it instead so the op-word stays visible with a named human still on the hook. Fresh authorship (human-now / agent-proposed) keeps the op-arm a hard violation in verify, and every other arm stays hard.
unknown_key_warnings
Forward-compat surfacing (T3): a warning: (NOT a violation) per tolerated unknown top-level key, so a typo’d field name stays visible instead of silently parsing through. schema_version is read LAZILY here — at the tolerate-vs-reject decision — so a future reader can sharpen the rule per declared baseline without making schema_version a parsed Config field.
verify
Returns the list of violations (empty == clean). Reports ALL of them.