Function evaluate_architecture_gate
pub fn evaluate_architecture_gate(
thresholds: &Thresholds,
db: &FactsDb,
) -> Result<Vec<GateViolation>>Expand description
Evaluate the architecture [gates] (max_dependency_cycles,
max_propagation_cost) against the import graph in the fact store.
Builds the graph once via the shared kernel; a noop (no graph build)
when neither gate is configured.
§Errors
Returns crate::CodeLoreError::Analysis on DuckDB errors
(propagated from the import-graph build).