Skip to main content

Module no_self_narration

Module no_self_narration 

Source
Expand description

Gate: a document states what is true now.

This reports the markers that narrate how a document got that way — “formerly”, “used to be”, “this replaces”, “inherited from”. Code is stripped before matching, because a document stating the rule quotes the words it forbids, and both code constructs are stripped on CommonMark’s terms: a fence belongs to the container it opened in and ends with it, and a code span pairs equal backtick runs but never crosses a blank line, so prose is judged one paragraph at a time. Decision records are excluded by wiring — history is their job.

Constants§

CITES
The rules this gate can cite.

Functions§

run
Judge every file pre-commit passed.