Auditor typedef

  1. @experimental
Auditor = FutureOr<List<Finding>> Function(SemanticsSnapshot snapshot, Standard standard)

Audits a built snapshot under a standard pack and returns its findings.

The default wraps RuleEngine.standard; tests inject a canned auditor so the harness math can be verified against hand-computed metrics.

Implementation

@experimental
typedef Auditor = FutureOr<List<Finding>> Function(
  SemanticsSnapshot snapshot,
  Standard standard,
);