Rule packs
Most source coverage is declarative YAML underrules/, 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 (seeDESIGN.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
confidence—highonly when the match establishes primitive and parameters references— links to authoritative documentation