File Structure
Rules live in.dwf/rules/, organized by scope:
Rule Format
Fields
Severity Behavior
- error and warning rules are included in compiled output
- info rules are internal documentation only — they are omitted from output
- Rules with
enabled: falseare always omitted
Scopes
The five built-in scopes organize rules by concern:Custom Scopes
Beyond the five built-in scopes, you can define your own using thekind:name pattern:
.dwf/rules/ with your custom scope:
## team:payments).
Format: lowercase alphanumeric, hyphens allowed in name. Examples: team:frontend, agent:reviewer, pipeline:ci.
