Skip to main content

Rule packs

Most source coverage is declarative YAML under rules/, not hardcoded Go. Why this matters: Adding a library or language idiom should not require an engine change. Rule packs are the community contribution surface.

What a rule declares

Typical fields (see DESIGN.md in the repository for the authoritative schema):
  • Stable id — renaming breaks SARIF baselines
  • Canonical primitive — must exist in the classifier’s canonical set
  • Honest confidencehigh only when the match establishes primitive and parameters
  • references — links to authoritative documentation

Validation