Skip to content

fix(tier1): keep the missing-reference line check and its warning accurate - #564

Merged
rng1995 merged 31 commits into
mainfrom
naren/fix-tier1-skillspector-reference-followups
Nov 16, 2026
Merged

rng1995 merged 31 commits into
mainfrom
naren/fix-tier1-skillspector-reference-followups

Conversation

@rng1995

@rng1995 rng1995 commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Follow-up to #457, which added the Tier 1 SkillSpector missing-reference rules. #483 later tightened the same check. Four problems remain on main. The line check reads Markdown labels and shell prompts as wildcards. A parallel catalog job judges a skill that is also a plugin against the wrong root. An --llm-verify downgrade erases the accepted missing-reference warning. A policy severity override erases the error that says why a scan is INCOMPLETE.

Changes

  • Markdown labels and $ prompts. On main, the line check split each shell word at =, : and ,. That left the closing ** of **Note:** or **Step 1:**, or the * of *Tip:*, as a piece that matched every name left out of the scan. A lone $ in a prompt such as $ python run.py became * in the same way. So these lines stayed INCOMPLETE whenever anything was left out, even .git. Now a bold or italic label outside code is read as its text. Each of its words, with its *, is also read as a pattern that is not split at :, = or ,. So **Note:** only matches names that hold note:, and **Step 1:** only names that end in step or start with 1:. A $ before whitespace or the end of the line is read as a literal $, as a shell reads it. So a lone prompt $ adds no pattern, and sh *a$ names a left-out xa$ but not xab. This also holds for $ printf '%05d' 7, whose %05 the check also reads decoded. A wildcard elsewhere in the line (bash *), a label inside code and any other $ expansion ($ROOT, $5) still count.
  • Lines with a quoted or escaped space. The check splits words at whitespace and does not join them as a shell does, so in "a$ b*" or *a\ b c:* it would read the $ or the label apart from the rest of the shell word. On a line with a space or shell delimiter between two of the same quote or after a backslash, as written or decoded, such as setup' 'helper.sh, "hi there", setup\ h*.sh or Run &\#36; sh setup\ h*.sh now., labels and $ are therefore read as on main in every reading of the line. So on such a line the check gives main's result.
  • Parallel catalog skill that is also a plugin. With validate --workers above 1, each catalog child detects the skill's type again. A skill that holds .claude-plugin/plugin.json becomes a plugin, and its plugin root took precedence over --catalog-root when missing references were judged. That skill passed, while --workers 1 kept it INCOMPLETE. The configured target root now comes first. Finding scoping still uses the plugin root.
  • --llm-verify downgrade. The downgrade rebuilt the result from its findings and dropped every warning and error that no finding repeats. That included the accepted missing-reference warning, and the error that says why a skill in a folder is INCOMPLETE. Warnings that no finding repeats are now kept, each once. Errors that no finding repeats are kept only when the scan is incomplete, where they say why. Any other such error is still dropped, as on main. So the note that SkillSpector baseline fingerprints were ignored, which the scan adds only while a blocker remains, does not fail a scan whose last blocker was downgraded.
  • Policy severity override. A --policy or --profile override rebuilds the result in the same way. On main it kept only the warnings that no finding repeats. So a skill in a folder whose SkillSpector 2.13.4 missing-reference caveats are not accepted stayed INCOMPLETE after a SECURITY.* override, with no error that says why. Errors that no finding repeats are now kept when the scan is incomplete. On a complete scan they are still dropped, as on main. Warnings still go back as often as they were recorded, and a gate failure is still listed once.
  • One rebuild. The downgrade, the override and the SkillSpector finding deduplication now call ValidationResult.recalculate_keeping_independent. The differences between them are options: keep_all_errors for the deduplication, which lowers nothing and keeps every error as on main, and keep_repeated_warnings for the override.
  • Docs. In docs/tier1-validation.mdx, the bullet on how a word is read now has one sub-bullet per shell family. New sub-bullets cover labels, the $ prompt and lines with a quoted or escaped space, and note that a PowerShell backtick before a space does not count as one. The page also says that the check does not join words at a quoted or escaped space, and that an --llm-verify downgrade keeps the accepted warning. The policy docs say that an override does not complete an INCOMPLETE scan. The CHANGELOG entry is under Unreleased.

Known trade-offs

  • Words joined at a partly quoted or escaped space are read as on main. So sh setup' 'helper.sh, sh setup" "helper.sh and sh setup\ h*.sh do not name a left-out setup helper.sh, and the scan passes with the warning. The docs say so. Reading these words as a shell does is left for a separate change.
  • On such a line, a label or a $ before a space still stands for any text, as on main. So **Note:** run sh setup' 'helper.sh now. or $ cp "a b" output/notes.md stays INCOMPLETE whenever anything is left out. The check looks for a space between two of the same quote and does not pair quotes as a shell does, so **Note:** Use "a" and "b" in output/notes.md. also stays INCOMPLETE.
  • A PowerShell backtick before a space does not count as an escaped space, because a backtick also ends Markdown code. So $ sh setup` h*.ps1 passes with a left-out setup helper.ps1, which main keeps INCOMPLETE. The docs say so.
  • Only bold or italic text that ends with : is read as a label. Other bold text, such as **Warning,** or bold code like **`notes.md`**, is still read as a wildcard. So that line stays INCOMPLETE when anything is left out.
  • After an --llm-verify downgrade or a policy severity override, an error that no finding repeats is kept only for an incomplete scan. On a complete scan it is dropped, as on main, even when a blocker it explains was not downgraded. That scan still fails on the blocker.

Tests

  • New and changed tests in tests/validators/test_security.py, tests/validators/test_policy.py and tests/models/test_result.py: 129 cases. All pass on this branch. On main 5978061, 65 fail:

    • 30 of 48 skill cases for labels and the $ prompt (**Note:**, *Tip:*, **Step 1:**, $ python ... and $ printf '%05d' 7), with a left-out helper.sh or .git/HEAD on SkillSpector 2.12.0, 2.13.3 and 2.13.4. The other 18 are controls that stay INCOMPLETE both ways: bash *, a label in code and $ROOT.
    • 19 of 50 new rows of the line-check table, such as **Step 1:** with a left-out steps, sh *a$ with xab, $ printf '%05d' 7 > output/notes.md with .git, and **What's new:** or **Say "hi":** with evals. The other 31 pin main's result. They include sh *a$ with a left-out xa$, and lines with a quoted or escaped space such as **Note:** run sh setup\ h*.sh now., **Say "hi there":** and $ sh "setup h"*.sh > output/notes.md, which stay INCOMPLETE with a left-out evals. In three of them, one reading of the line holds a label or $ without the quoted or escaped space that another reading holds, such as the decoded $ of Run &\#36; sh setup\ h*.sh now.. They stay INCOMPLETE with a left-out setup helper.sh.
    • 2 of 8 catalog cases: --workers 2 with a plugin manifest.
    • 5 of 7 --llm-verify cases. One of the passing cases pins main's result: a stale SkillSpector baseline with one HIGH finding that --llm-verify downgrades must pass with no errors.
    • 2 of 7 policy-override cases: a folder on SkillSpector 2.13.4 and an incomplete result, which both lose their error on main. A complete result, which drops its error and keeps its gate failure, passes both ways.
    • 6 unit tests of recalculate_keeping_independent, which main does not have, and 1 test that the stand-in for a literal $ is a private-use character that the line does not hold.
    • 2 deduplication cases that pass both ways: every error stays, and a warning recorded twice is listed once.
  • A comparison of the line check with main covered 103,570 cases of a line and one or more left-out names:

    • 2,332 from every line in the missing-reference test tables of main and of this branch's history, each with its own left-out name and 11 more.
    • 2,975 further examples, edge cases and variants of labels, prompts, quoted or escaped spaces and encoded text.
    • 18,263 distinct lines of this repository's Markdown, with a left-out .git.
    • 80,000 generated lines that mix labels, prompts, quotes, backslashes and Markdown, HTML and percent escapes.

    No case is kept INCOMPLETE here and passed on main. 9,407 cases pass here that main keeps INCOMPLETE, 86 of them lines of the Markdown, all on lines without a quoted or escaped space. The 39,508 cases on lines with one, as written or decoded, give main's result.

  • tests/validators/, tests/models/, tests/reporting/test_finding_verification.py, tests/reporting/test_skillspector_reference_summary.py, tests/test_skillspector_provenance.py, tests/test_quality_policy_gate.py, tests/tier3/test_native_mcp_policy.py, tests/deduplication/intra_skill/test_intra_skill_validator.py, tests/test_ci_workflows.py, tests/test_oss_packaging.py, tests/test_ci_change_classifier.py, tests/tier3/test_verifier_python39_syntax.py, tests/test_commands.py and tests/golden/test_policy_behavior.py: 5833 passed, 2 skipped, 1 failed. The failure is test_harbor_environment_kwarg_contract_matches_installed_source. It also fails on main 5978061 in this environment, because the locally installed Harbor is older than main's pin.

  • ruff check passes on the changed Python files. ruff format --check reports the same findings as on main and none in the changed lines. The OSS boundary scan passes.

  • The branch includes main 186134b, and a merge-tree check against it is clean.

🤖 Generated with Claude Code

rng1995 and others added 10 commits November 13, 2026 17:28
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…urate

Follow-up to #457.

The missing-reference line check split each shell word at `=`, `:` and
`,`, so the closing `**` of a bold label such as `**Note:**` or
`**Step 1:**`, or the `*` of `*Tip:*`, became a piece of its own that
matched every name left out of the scan, and a lone `$` in a shell prompt
such as `$ python run.py` was read as a parameter expansion. Such a line
stayed INCOMPLETE whenever anything, even .git, was left out. A bold or
italic label outside code is now read as its text, and as a glob that is
not split at its `:`, and a `$` before whitespace or the end of the line
is read as written. A wildcard elsewhere, or a label inside code, still
counts.

Words were split at whitespace before quotes were removed, so
`setup' 'helper.sh`, `setup" "helper.sh` or `setup\ h*.sh` never named
the left-out file `setup helper.sh`. Words are now also read as a POSIX
shell splits them. The line-check budget charges the extra reading.

With `validate --workers` above 1, a catalog child detects a skill that
holds .claude-plugin/plugin.json as a plugin, and the plugin root took
precedence over --catalog-root when missing references were judged, so
the skill passed where one worker kept it INCOMPLETE. The catalog root
now comes first; finding scoping still uses the plugin root.

An --llm-verify downgrade rebuilt the result from its findings and
dropped every warning and error that no finding repeats: the accepted
missing-reference warning, and the error that says why a scan is
INCOMPLETE. They are now kept, as the deduplication of static and LLM
findings already does.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The missing-reference line check also reads a word as a POSIX shell
splits it, so an apostrophe or quotes in prose can join several words
into one path part, such as "It's ~5 lines; don't" or
"roughly ~200 words". A part with text after a ~ was then also read as a
Windows short or Samba mangled name standing for any name that holds its
first character, so such a line stayed INCOMPLETE whenever a left-out
name, such as .git or results, held that letter. Those names never hold
whitespace, so a part that does is no longer read as one. Real short
names such as NODE_M~1 still come from the whitespace-split words.

The docs and the docstring now say that each word of a bold or italic
label is its own pattern, so **Step 1:** stands for names that end in
step or start with 1:, not only for names that hold the label's text.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Follow-up to #457.

The missing-reference line check also reads each word as a POSIX shell
splits it, so that a quoted or escaped space keeps it one word. Such a
word can join prose at its quotes, and it was then read like a word
without spaces. Brace expansion from its first `{` to its last `}` turned
quoted JSON or a template, such as '{"a": 1, "b": 2}' or
"{name}, {score}", into `*`, and a cmd.exe variable spanned its spaces,
so "%s %s" stood for every name that ends in `s`. Such a line stayed
INCOMPLETE when .git, evals or node_modules was left out, although
splitting at whitespace alone passed it. A quoted `{`, `,` or `.` in a
word that holds a quoted space or delimiter now forms no brace expansion,
as in a shell, and a cmd.exe variable is read only between spaces.
Unquoted braces still expand, so setup{' ',}helper.sh names
`setup helper.sh`.

An apostrophe in prose, as in "Don't", paired with the quote of a later
command, so `setup' 'helper.sh` after it was not read as one word. The
words are now also split with each apostrophe between two letters
removed.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… result

A downgrade restored every error that no finding repeats. One of them is
the note that SkillSpector baseline fingerprints were ignored, which the
scan adds only while blocking findings remain. Once the last blocker was
downgraded, that note turned a passing scan into a failed one. Errors are
now restored only when the scan is incomplete, where they say why.
Warnings that no finding repeats, such as the accepted missing-reference
warning, are still kept.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A bold or italic label was split only at whitespace. So in
*a' 'b c:* the words *a' and 'b were read apart, and the glob a shell
reads, *a b, was never formed. A line that names a left-out file
through such a label passed. Each label is now also split as a POSIX
shell splits it, as the rest of the line already is.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The missing-reference line check deleted each $ before whitespace or the
end of the line, so that a shell prompt such as `$ python run.py` was not
read as a wildcard. In a word with other shell syntax that also dropped a
character the shell keeps: `sh *a$` was read as `*a`, so a left-out file
named `xa$` was no longer named, although a shell glob matches it.

Read that $ as a literal $ instead. It is swapped for a stand-in while the
words of the line are split and read, and each pattern reads the stand-in
as $ again, so `*a$` matches names that end in `a$` and a lone prompt $
still adds no pattern. A $ after another $ still ends the parameter $$, and
a line that already holds the stand-in reads such a $ as an expansion.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rride

A severity override from --policy or --profile rebuilds the result from
its findings, which dropped every error that no finding repeats. A skill
in a folder whose SkillSpector 2.13.4 missing-reference caveats are not
accepted then stayed INCOMPLETE with no error that says why. The rebuild
now keeps those errors when the scan is incomplete, as an --llm-verify
downgrade does. On a complete scan they are dropped, as before.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@rng1995 rng1995 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the line check's new readings (bold or italic labels and $ prompts read as text, words joined at quoted or escaped spaces), the INCOMPLETE reason kept after --policy or --llm-verify, and the parallel catalog run that judges a plugin-typed skill against the whole folder. Compared with main on about 60,000 generated lines and realistic prose, every line that newly passes does so because of the label or $ change, no input raised an error, and the work budget still bounds a hostile 10,000-character line. The related validator, policy and reporting suites pass. Two findings: the fixed \x02 to \x05 stand-ins collide with decoded %02 to %05, and the CHANGELOG entry does not name the lines that now stay INCOMPLETE.

Findings: 1 P2, 1 P3.

Comment thread CHANGELOG.md Resolved
rng1995 and others added 5 commits November 14, 2026 11:09
…owups

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The missing-reference line check read a quoted `{`, `,` or `.` in a word
joined at quotes, and a `$` before whitespace, through fixed control
characters, the same ones that `%02` to `%05` decode to. A line holding
one, such as `printf '{"h": "%02d", "m": "%02d"}' 3 4` or
`$ printf '%05d' 7 > output/notes.md`, then read its quoted JSON as a
brace expansion or its `$` prompt as an expansion, and stayed INCOMPLETE
whenever anything was left out of the scan.

The stand-ins are now the first private-use characters that the text
being read does not hold: the word for the quoted braces, and every
reading of the line for the `$`. Should none be left, the line is read
as before, with quoted braces and such a `$` expanding.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… INCOMPLETE

Compact JSON outside shell quotes with a space in a quoted value, such as
`{"title":"My note","tags":[]}`, is now read as one shell word, so it
stands for any text and keeps the scan INCOMPLETE whenever anything is
left out, and `["a b","c"]` stands for any one-character name. The work
charged per character of a line has also doubled, so the line check
reaches its bound with about half as many long lines. Say so in the
entry, which listed only the lines that now pass.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…scapes

The stand-in tests held private-use characters (U+E000 to U+E003) as raw
text, so some cases printed the same as their neighbours or looked empty.
Write each one as its backslash-u escape in the same string literal. The
tested values do not change.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…owups

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@chrisknvidia chrisknvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The five problems are still real on current main, and none is already fixed by #457, #483 or #476. I reproduced each one: labels like Note: and a bare $ prompt keep a line INCOMPLETE when anything, even .git, is left out; sh setup' 'helper.sh and sh setup\ h*.sh pass on main although they name a left-out file; with --workers 2 a skill that has its own plugin.json passes where --workers 1 keeps it INCOMPLETE; and an --llm-verify downgrade or a policy override loses the accepted-reference warning or the error that says why a scan is INCOMPLETE. The new tests for each of the five fail on main and pass here (all of tests/validators passes on this head in my run), CI is green and the branch merges cleanly.

The two points from the earlier review are fixed: the %02 to %05 collision is gone (the stand-ins are now private-use characters the text does not hold, and %02d inside quoted JSON now reads as on main, and $ printf '%05d' is accepted), and the CHANGELOG entry now says which lines stay INCOMPLETE and that the work budget is halved. I did not find a speed problem: adversarial 10,000-character lines still take a few milliseconds to a few tens of milliseconds.

What is left is the size and mix of the PR. These are five independent fixes with different risk. The catalog-root swap is one line and the only real fail-open, the message retention is small and not fail-open (the scan stays INCOMPLETE), and the label and $ fix is clearly worth having: in a sweep of 17k Markdown lines from this repo it turns 89 false INCOMPLETEs into passes, and the only 2 lines that go the other way come from the quote reading. The quote and escaped-space reading is the part I would pull into its own PR. It needs a stand-in allocator and five compensating rules, adds new false-INCOMPLETE cases, newly blocks 17 lines in your own sweep for one it newly catches, and the docs already say the check is not meant to catch a skill written to hide a name. The #457 review suggested a much simpler matcher as a follow-up, and the reply there was that it needs a separate design review; I'd settle that before this part grows the matcher further. Two nits are in the inline comments (a shared helper for the three rebuild blocks, and the 3,900-character docs bullet).

Comment thread src/skillevaluator/validators/policy.py Resolved
Comment thread docs/tier1-validation.mdx Resolved
rng1995 and others added 7 commits November 14, 2026 21:43
…owups

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…heck

The missing-reference line check no longer reads a word as a POSIX shell
splits it. `setup' 'helper.sh`, `setup" "helper.sh` and `setup\ h*.sh`
are again split at whitespace, as on main, so they do not name
`setup helper.sh`. The rules that existed only for that reading go with
it: the second reading with each apostrophe between two letters removed,
quoted `{`, `,` and `.` that form no brace expansion, cmd.exe variables
read only between spaces, no short-name reading for a part that holds
whitespace, and the doubled work charged per character of a line, which
is 9,000 again. The literal `$` keeps its private-use stand-in, so the
allocator now returns a single code point.

Without that reading, a bold or italic label read as its text, or a `$`
before whitespace read as written, would let some lines pass that main
keeps INCOMPLETE: `*a' 'b c:*` is a glob that a shell joins at its quoted
space, and `"a$ b*"` a word that continues past its `$`, and on main the
label's closing `*` and that `$` stood for any text. A line with a space
or shell delimiter between two of the same quote or after a backslash
(_SKILLSPECTOR_QUOTED_SPLIT_RE) now keeps that reading of its labels and
`$`, so it is read no more narrowly than on main. The label and `$`
reading still applies to every other line, such as `**What's new:**`,
`**Say "hi":**` or `$ printf '%05d' 7`.

The docs and the CHANGELOG entry say so, and the docs now name the
quoted or escaped space as something the check does not read.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The --llm-verify downgrade and a --policy or --profile severity override
each rebuilt a result from its findings and then put back the errors and
warnings that no finding repeats, by rules copied into each place. Both
now call ValidationResult.recalculate_keeping_independent: every such
warning is put back, and such an error only when the scan is incomplete,
once, so a gate failure that the rebuild already lists is not repeated.

A severity override behaves as before. After an --llm-verify downgrade, a
warning that the result held twice is now listed twice, as it is without
--llm-verify and after an override; it used to be listed once. The
deduplication of SkillSpector findings keeps its own rule, which also
keeps such errors on a complete scan, since it changes no severity.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The bullet that says how the missing-reference check reads a word as a
pattern held every shell, Windows and Markdown rule in one paragraph.
Split it into sub-bullets: POSIX shells, zsh, bash and ksh, cmd.exe,
PowerShell, Windows separators and short names, Markdown code spans,
list markers and labels, shell prompts, lines with a quoted or escaped
space, and wildcards and prose. The rules and examples are unchanged.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…owups

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…family

The bullet that explains how a word in a reference line is read as a pattern
had grown to about 3,900 characters on one line. Split it into one sub-bullet
each for POSIX shells, zsh, bash and ksh, cmd.exe, PowerShell, the directory
separator, short names, quoted and escaped spaces, Markdown code, the `$`
prompt, labels and prose. The rules are unchanged; only the cmd.exe variable
sentence now says which kind of word it applies to, since it moved away from
the sentence it referred to.

Signed-off-by: Christopher Kevin <[email protected]>
…finding repeats

The LLM downgrade, the finding deduplication and the policy override each
rebuilt a result from its findings and then put back, by hand, the errors and
warnings that no finding repeats, each with slightly different rules. Add
ValidationResult.recalculate_keeping_independent and call it from all three.

Behavior is unchanged. The differences between the three are now named
options: the deduplication keeps every error (keep_all_errors), the other two
only for an incomplete scan, and the policy path still puts a repeated warning
back as often as it was recorded (keep_repeated_warnings). Tests cover the
helper and pin each call site's rule.

Signed-off-by: Christopher Kevin <[email protected]>
@chrisknvidia

Copy link
Copy Markdown
Collaborator

Review follow-up on 4eb3671363c2.

No new PR-introduced defect confirmed after rechecking the previous parsing, stand-in and retained-message findings against the current fixes. The result/policy/security matrix passed 1,625 tests with 1 skip. A real CLI run using managed SkillSpector 2.13.4 scanned a local skill and wrote JSON/terminal output. The clean live case does not establish every missing-reference exception; the negative, policy and bounded-parser combinations rely on source review and the test matrix. No paid LLM-verification run was made. The requested parser-scope split remains a maintainer decision. Please resolve the current merge conflict and retain these fixes during integration.

rng1995 and others added 9 commits November 16, 2026 03:06
…reference-followups

Keep ValidationResult.recalculate_keeping_independent with its
keep_all_errors and keep_repeated_warnings options, as the --llm-verify
downgrade, the SkillSpector finding deduplication and a severity
override call it, and drop the second, option-free definition of the
helper and its test. With it, an --llm-verify downgrade lists a warning
that the result recorded twice once, as on main.

Keep the docs bullet split into one sub-bullet per family, without the
quote and escaped-space word reading: the sub-bullet on words joined at
a quoted or escaped space goes, and so do the cmd.exe and short-name
sentences that applied only to such words. A sub-bullet says that on a
line with a quoted or escaped space or shell delimiter a label and a `$`
before a space are read like any other word, and the bullet on what the
check does not read says it does not join words there.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…owups

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…owups

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The missing-reference line check reads a line as written and decoded. A
bold or italic label and a $ before a space are read narrowly only on a
line without a quoted or escaped space or delimiter, but that was decided
for each decoded text on its own. Removing Markdown escapes such as `\#`
and `\ ` and then resolving an HTML reference could show a $ or a label
in a text that no longer held the escaped space, while the text with the
escaped space held neither. Such a line, like
`Run &\#36; sh setup\ h*.sh now.`, passed with `setup helper.sh` left
out, though a shell may read it as naming that file.

Decide it once for all texts of the line, so a quoted or escaped split in
any of them keeps labels and $ as globs and expansions in every one.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…owups

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…es it

The CHANGELOG said a label and a $ keep their meaning on a line with a
quoted or escaped space. The check looks for a space or shell delimiter
between two of the same quote or after a backslash, in the line as
written or decoded, and that also covers quotes that a shell pairs
otherwise, as in `"a" and "b"`. Say so in both places.

A PowerShell backtick before a space does not count, as a backtick also
ends Markdown code, so the line

    $ sh setup` h*.ps1

does not name `setup helper.ps1`. Note that in the docs, and reword a
comment in the line-check table.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…reference-followups

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…owups

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…owups

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@rng1995
rng1995 merged commit 96f03c1 into main Nov 16, 2026
41 of 42 checks passed
@rng1995
rng1995 deleted the naren/fix-tier1-skillspector-reference-followups branch November 16, 2026 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants