Package-level declarations
Types
Link copied to clipboard
data class ConstraintReport(val rules: Int, val violations: List<Violation>, val pending: List<String>)
ConstraintReport.pending lists pending-scanner rules: visible debt, not a failure.
Link copied to clipboard
object Constraints
Link copied to clipboard
object Learned
The learned-rule store: one canonical JSON file, learned.json, in a directory the user names. It holds rules in the schema of rules/, each checked by RuleCompiler on every read. A learned rule never replaces a shipped one, so an id that a shipped rule already uses is refused.
Link copied to clipboard
data class Rule(val id: String, val title: String, val applies: List<String>, val difference: String, val symptoms: List<Symptom>, val mechanism: String, val probe: String?, val detect: Node, val severity: Severity, val provenance: List<Source>, val fixtures: Fixtures, val status: Status = Status.ACTIVE)
Rule.applies holds dimension ids; Rule.detect reads a as passing and b as failing.
Link copied to clipboard
object RuleCompiler
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard