JArchitect comes with the notion of Critical CQLinq Rule. Critical rules represent a mean to define high priority rules that must never be violated. With critical rules, it is possible to break the Build Process when a critical rule violation occurs.
A critical rule is just a CQLinq rule with the flag Critical Rule checked:
At Build Process time, when a critical rule is violated the process JArchitect.Console.exe returns a non-zero exit code. For that, the report section CQLinq Rules Violated must be activated in the JArchitect Project. This behavior can be used to break the Build Process if a critical rule is violated. Also, JArchitect.Console.exe outputs in the $OutDir$ a file named CodeRuleCriticalResult.xml that contains the names of the rules violated. Hence, this information can be easily used by the Build Process if needed.
At Development time, the JArchitect interactive UI comes with several visual indicators when a critical rule is violated: