methodology-architecture-fitness
Architecture fitness
Architecture intent that lives only in a doc is a suggestion. Intent that runs in CI is enforced. A fitness function is an automated check that fails the build when the system drifts from an intended architectural property — a layering rule, an allowed-dependency rule, a cycle ban, a bundle-size budget.
This follows the evolutionary architecture idea of fitness functions. For a review: a documented rule and an enforced rule are not the same, and the score must reflect which one you actually found.
When to use
Use while scoring the architecture_fitness dimension, when designing checks for
a new architecture, or when a finding's fix is "and keep it from coming back." A
boundary repair without a check to hold it will rot again; the plan should add
the check.