# Canonical self-test config for the Rust engine.
# Behavior frozen against the former JS oracle via the Stage-0b golden regression test.
# Path resolution: roots are repo-root-relative; suppressions/fixtures are config-dir-relative.
# astRules is intentionally omitted; the resolver always adds
# rules/baseline/ast, and UX-high adds rules/ux/ast.
roots = ["rules/baseline/fixtures/src"]
exts = [".ts", ".tsx"]
skipDirs = ["node_modules"]
baseline = ["no-stubs", "ts-suppress", "as-any", "no-narration-comments", "markers", "raw-hex", "kv-ban", "live-secrets", "eval-ban", "pii-logs", "weak-hash", "sql-safety"]
stack = ["debug"]
rules = []
suppressions = "./fixtures/suppressions.json"
fixtures = "./fixtures"

[ux]
a11y = "high"
cls = "high"
feedback = "high"
taste = "advisory"
advisory = "advisory"

[gate]
file = ["critical", "high"]
staged = ["critical", "high"]
