Documentation
¶
Overview ¶
Package census holds the shape and the bookkeeping every rule-corpus census shares.
Several censuses — formwork-universal-cure-census and formwork-subject-census among them — ask different questions of .formwork/rules/*.yaml and then do the IDENTICAL thing with the answer: report every flagged arm and fail if there is one. Detection is the part that differs and stays in each tool; this is the part that does not.
There is no known-debt list. The helper once read one, a FILE:ARM-ID allowlist that carried a flagged arm as a pass; a flagged arm is now cured or the census fails.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Reconcile ¶
Reconcile writes the verdict for one census run and returns the problem count: every flagged arm is a problem. why is the one-line explanation appended to each report, so the failing arm carries its reason without the caller re-templating the whole line. A zero return is the only pass.