You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 25, 2026. It is now read-only.
scan-path-standards.py: indented and ~~~ code fences are not skipped, so example code produces path findings #152
scan-path-standards.py (both builders) says fenced code blocks are skipped by default (--include-fenced turns scanning them on). But FENCE_RE = re.compile(r'^```', re.MULTILINE) only recognises fences that start at column 0 with backticks. These are not detected:
indented fences inside list items (1. Run: followed by ```bash), which is common in step-by-step SKILL.md and reference files;
~~~ fences.
Example code inside them is linted as if it were instructions, producing relative-prefix / absolute-path findings and status: fail. (This is separate from #117, which is about frontmatter keys.)
Detect fences per CommonMark: up to 3 spaces of indent (more inside list items), backtick or tilde fences, and a closing fence that matches the opening character and is at least as long. Precompute fenced line ranges once instead of re-counting fences for every match (is_in_fenced_block is currently O(n²) per file).
Activity