Package-level declarations
MetricsEngine and the derived architecture metrics — Lakos coupling, the main-sequence distance, and the graph statistics that power the report's KPI tiles and trend sparklines.
Types
Computes every structural metric Aalekh derives from the dependency graph, in one pass.
The complete metric set for a graph: per-module and whole-project, computed together.
One penalty applied to the whole-project health score, with the reason it fired.
Computes a 0–100 architecture health score for each module.
Computes each module's position relative to Robert Martin's main sequence - the line A + I = 1.
How to read a metric's value - the boundary between "fine", "worth a look", and "act on this".
The single definition of every metric Aalekh reports.
One metric's definition, in the words a developer needs to act on it.
A single structural metric that a quality gate can ratchet on. For every gate, higher is worse, so it fails when the current value exceeds the baseline. The key is the stable, kebab-case token used in the DSL and serialized task input; it is a public contract and must not change.
Compares the current graph's metrics against a committed baseline and reports any that regressed.
Computes architecture health metrics for a ModuleDependencyGraph.
Everything Aalekh knows about one module's position in the dependency graph.
Whole-graph metrics that describe the shape of the project rather than any one module.
The whole-project architecture health score and the penalties that produced it.
Project-wide aggregate metrics snapshot. One per build in the baseline store.
A dependency that points the wrong way along the stability gradient.