Reading diagnostics

Updated May 19, 2026

A violation has this shape:

HEC001: sample.domain.model:1 imports forbidden module sample.adapters.db (domain -> adapter)

The fields are:

  • rule identifier;
  • importing module and source line;
  • imported module;
  • importing group and imported group.

Exit code 0 means the package passed. Exit code 1 means Hecate found architecture violations. Exit code 2 means configuration, command-line input, or package-root validation failed.