DECLARATIVE-YAML-19: Annotate and downgrade: note + level
What it demonstrates
Section titled “What it demonstrates”Each entry can carry an author note (appended to the message) and a level to warn instead of error.
Builds on: DECLARATIVE-YAML-15: Forbid a phrase document-wide
How it’s done
Section titled “How it’s done”The declarative YAML artifact, verbatim — no code required.
body: forbids: - pattern: "TODO" level: warn # downgrade from the default error note: "ship without TODOs (warning only)"Surfaces exercised
Section titled “Surfaces exercised”per-entry level (error|warn) and note appended to the finding message