Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / FencedCodeMode

Type Alias: FencedCodeMode

ts
type FencedCodeMode = "counted" | "excluded";

Defined in: packages/core/src/orchestrator/finish-validators.ts:173

Whether fenced code participates in textual validation (cycle 74): 'counted' is the historical behavior; 'excluded' removes fenced code blocks (see stripFencedBlocks) before matching, counting, or slicing, so code samples can neither satisfy a section marker nor inflate word and citation counts.