`static_parse_limit` when an inline code span wraps across a line break before a `<placeholder>`, turning clean Markdown into AE1 HIGH
Summary
static_patterns_tool_misuse reports static_parse_limit (boundary_unresolved, expansion_boundary) when a Markdown inline code span wraps across a line break and the second line starts with a <placeholder>. The file is counted as partially inspected, and the file that links to it gets AE1 HIGH. A skill with no other findings scores 25 (CAUTION).
A code span that crosses a line break is valid CommonMark, and hand-wrapped docs produce it all the time.
Reproduces on main at 62c2fe86 (version string 2.12.0), Python 3.12.10, Linux, --no-llm.
Related: #868, #901 and #884 are other static_parse_limit triggers in the same analyzer. None of them covers a span that wraps across lines.
Reproducer
SKILL.md
---
name: wrapped-span
description: Demo skill that reproduces a scanner coverage gap.
---
See [references/guide.md](references/guide.md).
references/guide.md (three lines)
Pass the config to both `tool inventory --config
<path>` and `tool validate --config <path>` honor its `exclude` list; without
`GEMINI.md` and `.github/copilot-instructions.md` files that describe a
$ skillspector scan ./wrapped-span --no-llm --format json
score 25, MEDIUM, CAUTION
AE1 HIGH at SKILL.md:6
analysis_completeness: partial, is_complete=false, coverage 50.0
ledger: static_parse_limit references/guide.md [static_patterns_tool_misuse]
cause=boundary_unresolved check=expansion_boundary start_line=3 end_line=3
Join the first two lines of guide.md (same text, span on one line) and the scan is complete with score 0.
On its own, each line scans clean. The third line, with more inline code after the wrapped span, is needed to trigger it. My guess is that code spans are paired line by line, so the unmatched backtick on line 1 shifts the pairing for the rest of the paragraph and <path> gets read as a shell redirect. I have not traced this in the source.
A second case we could not reduce
A similar trip comes from a double-backtick span with a <placeholder> inside it, in a file that also has fenced shell blocks:
``Guidance: `<first 12 hex of its sha256>` `` on the line directly
It reports static_parse_limit from that line to the end of the file. Renaming the placeholder ( Guidance: GUIDANCE_SHA12 ) clears it. Short standalone versions scan clean, so here is the full file instead: update.md at L165.
Impact
Found while scanning the catalogify skill. These two Markdown lines were its only result, and they took it from SAFE to CAUTION. We reworded the skill to get around it (alexcpn/catalogify#19), but other skills with hand-wrapped docs will hit the same thing.
Hi, mentors
I've pinpointed the issue causing the static_parse_limit false positive (line-wrapped inline code spans followed by
Could you please assign this issue to me i would love to contribute in this issue