Appendix B - 16. Model-graded finding severity (distance-graded gate)

The Structure of Model-graded finding severity (distance-graded gate) — its shape at a glance:

FILL IN a Structure diagram for Model-graded finding severity (distance-graded gate) is not yet authored.

Projected from the catalogue entry system-models / Model-graded finding severity (distance-graded gate).

On this page: Intent · Motivation · Applicability · Structure · Sample Code · Consequences · Example use within DocAble · Related Patterns

Intent

Intent — Grade each lint finding's severity — block, warn, or silence — by the finding's distance, in a typed component model, from the files the commit actually changed, computed by one central join the gate runs over every finding rather than by each lint scoping itself. The pre-commit hook reads the model at check time and dogfoods it to run a mechanism. (Our instance grades a governed-doc commit's deploy-scope lints against the component-and-zone model.)

Motivation

A whole-tree lint reports findings from all over the tree. Two ways to gate on it both fail, and both recur:

The shared failure: findings graded uniformly wrong. The gate either over-blocks on unrelated findings or under-warns on relevant ones, and no single place owns the answer to "how close is this finding to what the commit changed?"

Applicability

Structure

The Structure diagram appears at the top of this page.

Sample Code

FILL IN a Sample Code snippet for Model-graded finding severity (distance-graded gate) is not yet authored.

Consequences

Example use within DocAble

Contents
© James C. Davis, 2026–present