Violation
A single architecture rule violation produced by the rule engine.
Parameters
The stable rule identifier, e.g. "layer-dependency".
Whether this violation fails the build or is advisory.
The primary violation message. Must name the offending modules and include a concrete fix suggestion.
Human-readable description of the edge or module that caused the violation, e.g. ":feature:login:data → :feature:login:ui".
The primary module path to navigate to in the HTML graph view. Defaults to null; the report falls back to parsing source when absent. Rules should set this to the from module of the offending dependency.
Optional plain-language explanation shown in the violations panel below the technical message. Intended for developers unfamiliar with the rule. Provided by the rule implementation.