All rules

R012 UnclosedCodeFence

Applies to
Rules files (CLAUDE.md, AGENTS.md, .mdc, .cursorrules, Copilot instructions, GEMINI.md, .windsurfrules)
Severity
Error (−10 per finding, max −30)
Summary
A code fence is opened and never closed.
Flags
A ``` or ~~~ fence with no matching closing fence before end of file. Reported at the opening line. Every line after it is treated as code and skipped by other rules.
Measured false-positive rate
0% (0 of 1) and 0% (0 of 1), two judges, ruleset v2; rule unchanged since. Methodology
Fixable
aibysitter fix adds a matching closing fence at the end of the file. Check where the code block should end. CLI

Before

Run:
```
dotnet test
- Use tabs.

After

Run:
```
dotnet test
```
- Use tabs.

Fix