Skip to content

fix(tier1): accept SkillSpector partial reports whose gaps are missing references - #457

Merged
chrisknvidia merged 45 commits into
mainfrom
naren/port-skillspector-reference-advisory
Nov 13, 2026
Merged

chrisknvidia merged 45 commits into
mainfrom
naren/port-skillspector-reference-advisory

Conversation

@rng1995

@rng1995 rng1995 commented Nov 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

The closed plugin-evaluation PR #28 carried a version of this fix inside its larger change; this PR lands the generic part on its own.

A skill whose instructions name a file that SkillSpector did not scan, such as output/notes.md that it writes at run time or a source file elsewhere in the repository, fails the Tier 1 security scan as INCOMPLETE with skillspector JSON field 'analysis_completeness' reports incomplete analysis (status 'partial'). SkillSpector inspects every file it scanned and records the reference as a nonfatal reference_resolution ledger row.

  • src/skillevaluator/validators/security.py: in the elif not complete_by_applicability: branch, a new _skillspector_missing_reference_notes runs before the existing raster-image note. When it accepts the report, the scan passes with this warning, which names the file and line of up to three rows:
    SkillSpector reported 1 reference(s) to files the skill does not bundle (SKILL.md:10 [reference_resolution; reference_missing]); SkillSpector reported no other gap for them, and those lines name no file left out of the scan, so they do not mark the scan incomplete. Files not in the scan, including any outside the scanned path, were not inspected
  • main 7ae25d2 (fix(ci): apply reviewed baselines and preserve scan completeness evidence #453) also accepts a SkillSpector 2.13.3 report whose only gaps are reference_missing rows, from the report alone (reference_caveat_metadata), as an INFO caveat finding with skillspector_reference_caveats metadata that keeps the scanner's partial status. In the same branch, when the scan's reference root is known, that caveat now stands only when _skillspector_missing_reference_notes also accepts the report; otherwise the scan keeps the incomplete-analysis error. Without a reference root, such as a direct _run_skillspector call outside validate, fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's rule alone decides, as on main. When both rules accept a report, it carries fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat finding instead of the warning above.
  • A reference row is accepted only when all of these hold:
    • it is fatal: false, outcome: partial, phase reference_resolution, with no analyzers, no error_class, and end_line equal to start_line;
    • its reason is reference_missing, or reference_unresolved before SkillSpector 2.12.0;
    • the report's analysis_completeness.references list has a missing entry on that line and no ambiguous one, and each missing entry's evidence is part of the line, read from the file the way SkillSpector numbers lines (UTF-8 with replacement, split at \n);
    • the row path names exactly one components entry and a regular, single-link file of at most 1,000,000 bytes under the scanned root, reached without following a link (SecureRoot.read_bytes). Absolute paths, .., empty or . parts, backslashes and control characters are rejected, and without a scan root nothing is accepted. A single-file scan root is read the same way, through its parent directory;
    • the line, at most 10,000 characters, names nothing that SkillSpector did not inspect. _skillspector_unscanned_names walks the skill without following links. It finds every link, junction or other non-regular file, every regular file that components does not list, and every directory that holds no listed file (such as evals/results/ or node_modules/, which SkillEvaluator leaves out of the scanned copy) with everything inside it. Every part of each such path is a name, so a directory that holds one is named too, even when it also holds listed files. A left-out .git directory counts by its own name, by its hooks other than regular *.sample files, and by every other entry that is not part of Git's own layout, with everything inside it. Git's layout is HEAD, config, description, index, packed-refs, ORIG_HEAD and the other *_HEAD and state files, their .lock files (_SKILLSPECTOR_GIT_FILE_RE), and the objects, refs, logs, info and similar directories (_SKILLSPECTOR_GIT_DIRECTORIES) with what they hold. It does not count, because names such as config, HEAD or main are common words. For a single-file scan root, such as security-scan path/to/SKILL.md, the walk starts at the file's directory and every other entry there counts, because SkillSpector scans that file alone. A tree over 50,000 entries or 64 levels is not accepted;
    • how a name is matched: a name counts when no letter, digit, _, - or . adjoins it (dots after it are skipped, as Windows drops them). Names are compared case-folded, as written and in NFC, in the line as written and after removing backslash escapes of any ASCII punctuation (as a Markdown renderer does, not only the five SkillSpector removes), resolving HTML character references and decoding percent-escapes, up to three of these steps in any order;
    • shell syntax: the line is also read with its shell groups and numeric ranges read (_skillspector_shell_groups), once as written and once with its backticks removed (PowerShell escapes). A span between backticks is read as Markdown code, not as a command's output. A zsh group such as (v) loses its parentheses, also right after ] ([v](e)rsions); a group with | ((v|x)), a bash or ksh extended glob (@(...), !(...), +(...), ?(...), *(...)) and a zsh range such as <1-9> stand for any text. So does each run of non-space characters that holds a zsh globbing flag group (_SKILLSPECTOR_ZSH_FLAGS_RE: (#i), (#a2), (#c1,2), (#s), (#e), (#q...) and combinations), because the flag changes how the rest of the word matches, across / too; (#1) and (#setup), which zsh rejects, are not flags. Parentheses around whitespace, /, <, >, ; or & still end a word. A word with *, ?, [, {, $, %, !, ^, #, ~, a quote, a backslash or such a group is then read twice (_skillspector_shell_word). As a POSIX shell: quotes and backslashes are removed; everything from the first ${ to the last } after it, a brace expansion (from the first { to the last } when a , or .. lies between) and any other parameter expansion such as $DIR or $( become *. As cmd.exe or PowerShell: ", ' and the ^ escape are removed; %DIR%, !DIR!, %1, %*, %~dp0 and the same $ expansions become *; and \ separates directories. Each part between /, and each piece of it between =, : and ,, is a glob that no left-out name may match. A part with ~ after its start is also read as the text before the ~ (zsh a~b matches what a matches) and, with text after the ~, as any name that holds its first character (*n* for NODE_M~1), which covers Windows 8.3 names, hashed short names such as NO3F2A~1 and Samba mangled names, since each keeps the first character of the long name (_skillspector_tilde_forms). A ~ that starts a word is a home directory. The zsh EXTENDED_GLOB operators are then read outside bracket expressions (_skillspector_zsh_pattern): ^ makes the rest of the piece * (ver^x matches versions), and x# becomes * (verr#sions); as the whole piece, such as C#, it matches only names made of x, through a repeat marker that _skillspector_glob_matcher reads. _skillspector_glob_matcher translates the glob in linear time: a bracket expression matches any one character and a stray ] any text, so it accepts every name the shell would, and possibly more; a pattern with more fixed characters than the longest left-out name is skipped. A word made only of *, such as a list marker, is not read this way;
    • the work of all line checks of one report is charged to one budget (_SkillspectorMatchBudget, 1,000,000,000 units of roughly one character compared). Decoding a line and reading its shell groups and words costs 9,000 per character (set so that the slowest lines take under 1 s per budget), each search of a decoded line for a name that is not a plain name run 100 plus the line's length, and each glob 20,000 plus 1,000 per character plus 300 and the name's length per name matched. A line that would overdraw the budget is not accepted;
    • the scan's reference root is the scanned root. It is the validator's skillspector_reference_root (validate sets it to the plugin root for a plugin), or else the validator's new target_root, or else the target of the scan: _validate_with_applicability, which validate_security_only and SecurityValidator.validate run, records the resolved target while it walks it. A skill directory, a lone file and a folder with no skill (scanned as a whole) are their own target. A skill found inside a folder or plugin target, such as with security-scan plugin/, is scanned on its own, and a line in it may name a file elsewhere in the target that its scan did not inspect, so its missing references are INCOMPLETE. (With 2.13.3, fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat passes them on 7ae25d2 from the report alone; this PR holds that caveat to these conditions.) In a _run_skillspector call outside that walk, this PR's rule accepts missing references only when the configured skillspector_reference_root is the scanned root, because that scan covers the whole root. Otherwise, as for the per-partition scans of run_plugin_validation in tier1/plugin_checks.py, it accepts none. Such a call without a configured root has no known target, so with 2.13.3 fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat rule alone decides there, as on main 7ae25d2. _validate_skillspector_report takes the root as a new reference_root argument, and _skillspector_missing_reference_notes requires it.
  • validate on a folder of skills runs each skill as its own job, in process or as a validate <skill> child process with --workers above 1. Each job now gets the folder through a hidden --catalog-root option, set by _validate_catalog and by _catalog_child_argv_from_ctx. validate passes it to run_validation(target_root=...), which gives it to SecurityValidator(target_root=...) for the security check. So a skill of a catalog has its missing references INCOMPLETE, as security-scan on the same folder does. (On 7ae25d2 both pass them with 2.13.3 as fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat.) Finding scoping (skillspector_reference_root) is unchanged.
  • The rest of the report must be one of:
    • no other ledger row, no partially or entirely uninspected file, findings_before_filtering == findings_after_filtering, no limitations, no fatal scope exclusion, every universal analyzer (static_patterns_*, static_yara, artifact_integrity) completed one work item per component, and every other analyzer is completed, not_applicable or disabled;
    • or referenced images that _skillspector_passive_raster_note accepts on its own terms (it then accounts for the counts, analyzers and limitations). The scan carries the image warning as well.
  • Anything else is INCOMPLETE with the existing error: reference_unresolved from 2.12.0 (a reference that matches several bundled files), a pre-2.12.0 line with an ambiguous entry, a row the references list does not confirm, a reference that may name a file left out of the scan, or any other gap. With 2.13.3, fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat passes some of these on 7ae25d2 from the report alone, such as a reference that names a left-out file; this PR keeps them INCOMPLETE whenever the reference root is known.
  • Module-level helpers that later SkillSpector report rules can reuse: _skillspector_bundled_file_bytes and _skillspector_report_path_is_bundled_file (path check), _skillspector_reference_row_is_advisory (row predicate), _skillspector_unscanned_names, _skillspector_name_keys and _skillspector_reference_line_avoids (left-out files; its budget argument is optional), and _skillspector_missing_reference_warning (warning text).
  • Docs: the referenced-image paragraph in docs/tier1-validation.mdx now allows missing references beside images. A new paragraph with a list states the reference conditions (including a lone file, a skill scanned on its own inside a folder or plugin, validate on a folder of skills, .git and Git's own layout, escapes, character references, the POSIX, zsh, bash, cmd.exe, PowerShell and Windows short-name readings with an example of each, the prose that these readings keep INCOMPLETE, the work bound, and equal finding counts before and after filtering), what the check does not detect (a name on another line, or one that a command prints), the versions covered and the warning. It also says that Tier 3 output in the default <skill>/evals/results counts as not inspected while the rest of evals/ is scanned (see Why), and that a 2.13.3 report that fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's rule accepts carries its caveat finding under the same conditions. CHANGELOG entry under Unreleased > Fixed, placed in the middle of the section (see Open PR overlaps).
  • tests/golden/cli_surface.json is regenerated with tests/golden/generate_cli_surface.py; the only change is the hidden --catalog-root option of validate.

SkillSpector versions this covers:

  • 2.12.0 to 2.13.3 report the gap as partial with reference_missing. Public pins 2.13.3. A 2.13.3 report that fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's rule accepts carries its caveat finding instead of this PR's warning, under the same conditions.
  • 2.10.x and 2.11.x report it as reference_unresolved and list the reference with "status": "missing" (or "ambiguous") in references. I checked 2.10.0 and 2.11.2 with real runs.
  • 2.13.4 and later report the same reference-only gaps with a new complete_with_caveats status, which main does not recognize yet. Those scans stay INCOMPLETE until a separate change handles that status. The docs say so.

Why

Naming a file the skill does not ship is common: an output path, a user's input file, a repository source. Each one blocks Tier 1 today, although SkillSpector inspected every file it was given.

That last point needs care. SkillEvaluator scans a copy of the skill without results/ (also evals/results/), versions/, .git/, .venv/ and node_modules/ (since #453 it keeps the rest of evals/ in the scan), and SkillSpector leaves links out of its inventory with only a nonfatal scope exclusion. A lone SKILL.md is scanned without the files beside it, and a skill found in a folder or plugin without the rest of it. A script in one of those places is never inspected. An instruction that names it is reported as a missing reference, also when it spells the path with escapes, globs, quotes, zsh groups, cmd.exe escapes or variables, or Windows short names. Accepting every missing reference would pass such an instruction, and #453's 2.13.3 rule, which reads only the report, does. This PR accepts a missing reference only when its line names nothing that was left out of the scan, and never for a skill scanned inside a larger artifact.

What the rule does not do: it reads only the line that SkillSpector reports, in the spellings above, and runs no command. A name on another line (DIR=node_modules on one line, sh $DIR/$RUN on the next), or one that a command prints (printf output in backticks, a list piped into xargs sh, find -exec, a PowerShell string joined with +), is not detected. So the rule keeps an instruction that names a left-out script INCOMPLETE, but it does not stop an author who sets out to hide one. main does not stop that author either: a skill that runs a left-out script from a line SkillSpector does not report passes on main whenever SkillSpector reports no missing reference in it. With this PR it also passes when every reported line is an ordinary missing reference such as output/notes.md. A command can print any name, so no further shell reading would close this; the docs and CHANGELOG state the limit instead.

One limitation users will notice: Tier 3 output can turn a passing skill into INCOMPLETE. validate <skill> runs all three tiers by default, and Tier 3 writes its results into the skill, under <skill>/evals/results. The scanned copy leaves that directory out, so its names count as not inspected. A line that names results, a file a run leaves there (such as report.html or summary.json) or, after a run with --harbor-keep-jobs, any bundled file (the kept Harbor tasks hold a copy of the skill) passes on the first validate and is INCOMPLETE on the next. This PR does not drop these names, because an author can create evals/results by hand and keep a script there. The docs and CHANGELOG say so and name --results-dir and SKILLEVALUATOR_RESULTS_DIR, which keep results outside the skill. Before #453, main kept these lines INCOMPLETE before and after a run. On 7ae25d2, #453's rule passes the captured 2.13.3 report for them before and after a run, because it reads only the report, so with 2.13.3 such a line now passes on main after a run and is INCOMPLETE here.

A second limitation: shell syntax in prose is read as shell syntax. A line with a price such as $5, a brace list such as {a,b}, %APPDATA% or a lone ^ stays INCOMPLETE when anything is left out of the scan, such as node_modules/, and approx~10 stays INCOMPLETE when a left-out name holds an a. These lines were INCOMPLETE on main before #453; on 7ae25d2 #453's rule passes such a 2.13.3 report from the report alone, so with 2.13.3 they are INCOMPLETE here and pass on main. Code spans are read as code, so plurals and pairs such as "List the `topic`s" and "`GET`/`POST`" pass, and so do 3~5, C# and notes.md~ beside evals/files/meeting.txt.

I ran real offline SkillSpector --no-llm scans through SecurityValidator.validate_security_only, and through the validate command where noted. They were run before #453 merged, so main below means main before #453. On 7ae25d2, #453's rule passes from the report alone each 2.13.3 case below whose only gaps are reference_missing rows, including those that name a left-out script. This branch keeps those INCOMPLETE whenever the scan has a known reference root (Tests has the 54 cases that show it), and a 2.13.3 case below that passes here now carries #453's caveat finding instead of the warning. The exception is the image-and-missing-reference case: #453's rule does not accept its image row, so it keeps this PR's missing-reference warning beside the image warning. Since #453, authored files in evals/ are scanned, so the evals/install.sh and evals/files/meeting.txt cases below no longer name a file left out of the scan.

  • A two-file skill whose SKILL.md says "Write the summary to output/notes.md" is INCOMPLETE on main with 2.11.2, 2.12.0 and 2.13.3. On this branch it passes with the warning with 2.10.0, 2.11.2, 2.12.0 and 2.13.3. The same skill with an evals/ directory and a git init checkout also passes, with 2.11.2, 2.12.0 and 2.13.3. So does a skill in a git init checkout that says "Read the config at config/settings.yaml".
  • A skill that says "run versions/install.sh" with that script present is INCOMPLETE on main and on this branch, with 2.11.2, 2.12.0 and 2.13.3. So are, with 2.13.3, the same instruction for node_modules/.bin/install.sh (and, before fix(ci): apply reviewed baselines and preserve scan completeness evidence #453, for evals/install.sh), a bare install.sh kept in versions/ or as an active hook in .git/hooks/, a Markdown link to versions/, and a reference to a symlinked file or directory.
  • With versions/install.sh present (2.13.3): "run the setup script", (vers?ons/inst?ll.sh), (ver""sions/inst""all.sh), and "run `bash v*/*.sh` and write the summary to `output/notes.md`" are INCOMPLETE on main and on this branch; an earlier head of this branch (55f18b9) passed all four. "run `bash v*/*.sh`" on its own line, with no missing reference, passes on main and here, because SkillSpector reports no reference for it.
  • Shell, cmd.exe and Windows spellings (2.13.3). Each of these passed with the warning on an earlier head of this branch (ff2351c) and is now INCOMPLETE, as on main:
    • with versions/install.sh present: [the setup script]((v)ersions/(i)nstall.sh), "run `sh (v|x)ersions/(i|j)nstall.sh`, then write the summary to `output/notes.md`", (ver^sions/inst^all.sh), (VERSIO~1/INSTAL~1.SH), (@(v)ersions/+(i)nstall.sh), (verr#sions/inst#all.sh), (ver^x/inst^x.sh), (v*\i*.sh) and a PowerShell line ``& ./ver`sions/inst`all.sh``;
    • with node_modules/bootstrap.sh present: (NODE_M~1/BOOTST~1.SH), (!DIR!/!RUN!), and (%DIR%/%RUN%) after a line that says "In cmd, `set DIR=node_modules` and `set RUN=bootstrap.sh` first." (the same skill with $DIR/$RUN was already INCOMPLETE);
    • "run `sh run<1-1>.sh`" with node_modules/run1.sh present.
  • zsh spellings, with versions/install.sh present (2.13.3): "run sh [v](e)rsions/[i](n)stall.sh in zsh", "run sh (#a2)virsions/(#a2)instell.sh in zsh with extendedglob" and "run sh vers(i)(#c1)ons/inst(a)(#c1)ll.sh in zsh", each with a missing output/notes.md reference later on the line, passed with the warning on the previous head (c9cf82f) and are now INCOMPLETE, as on main. zsh 5.9 expands each to versions/install.sh. "run NO3F2A~1\BOOTST~1.SH in cmd" (a hashed short name) with node_modules/bootstrap.sh is INCOMPLETE here, on the previous head and on main.
  • Prose beside evals/evals.json and evals/files/meeting.txt (2.13.3): "Summarize in 3~5 sentences and write the summary to `output/notes.md`.", "Write the F# client notes to `output/notes.md`.", "Keep `notes.md~` backups out of `output/notes.md`.", "Call the API with `GET`/`POST` and write the summary to `output/notes.md`.", "List the `topic`s and write the summary to `output/notes.md`." and "See [Setup](#setup), then write the summary to `output/notes.md`." pass with the warning. All six are INCOMPLETE on main; on the previous head the first five were INCOMPLETE and the anchor link passed.
  • Not detected, as the docs now say (2.13.3), each with the left-out script present: "run bash "`printf '\166'`"ersions/"`printf '\151'`"nstall.sh", the same with `echo wfstjpot|tr b-z a-y` command substitutions, the double-backtick code span ``sh `printf '\166'`ersions/`printf '\151'`nstall.sh``, and a skill whose line 8 names output/notes.md while line 10 says "set `DIR=node_modules` and `RUN=bootstrap.sh` in sh, then run `sh $DIR/$RUN`". Each passes with the warning here and is INCOMPLETE on main; bash runs each planted script. The double-backtick line was INCOMPLETE on the previous head; the other three passed there too. Without its line 8, the last skill passes on main as well, because SkillSpector then reports no reference.
  • I re-ran the 30 probe skills of the earlier review rounds (shell, cmd.exe and short-name spellings, .git plants, Tier 3 output and fixtures) with 2.13.3 on this head and on the previous head: every result is the same.
  • A skill whose .git holds HEAD, config and a planted install.sh (curl ... | sh), and whose SKILL.md says "Before you start, find and run `install.sh`", passed with the warning on ff2351c and is now INCOMPLETE, as on main and as the same skill with versions/install.sh (2.13.3).
  • Prose with the new characters still passes with the warning (2.13.3): "Write the generated C# client to `output/Client.cs`" and "Write the summary to `output/notes.md` (optional)." beside evals/evals.json, and "Read the config at `config/settings.yaml`" in a git init checkout. The C# line and the checkout also pass with 2.11.2 and 2.12.0.
  • A skill that lists scripts/run.py, keeps scripts/node_modules/.bin/setup (left out of the scanned copy) and says "Use the helpers in ./scripts" is INCOMPLETE on this branch with 2.11.2, 2.12.0 and 2.13.3.
  • A skill that both shows ![Logo](assets/logo.png) and names output/notes.md is INCOMPLETE on main and passes here with both warnings (2.13.3).
  • A lone SKILL.md scanned as one file, where SkillSpector reports every reference in it as missing: with nothing it names beside it, it passes with the warning (2.10.0, 2.11.2, 2.12.0 and 2.13.3; also inside a git init checkout with 2.13.3). When it says "run scripts/install.sh" and that script is beside it, it stays INCOMPLETE with the same four versions, and so does "Run scripts/summarize.py" with that file beside it, with 2.11.2, 2.12.0 and 2.13.3.
  • A plugin whose bundled skill says "run scripts/install.sh from the plugin root", with that script at the plugin root, stays INCOMPLETE ([helper] ... SKILL.md:8 [reference_resolution; ...]) through SecurityValidator(content_type="plugin", skillspector_reference_root=<plugin>) with 2.10.0, 2.11.2, 2.12.0 and 2.13.3. It also stays INCOMPLETE through SecurityValidator().validate_security_only(<plugin>), which security-scan <plugin> runs (2.13.3). So does the two-file output/notes.md skill inside a plain folder of skills, with 2.10.0, 2.11.2, 2.12.0 and 2.13.3, while the same skill scanned as its own directory passes.
  • skillevaluator validate cat --tiers 1 --checks security --no-llm -r json, where cat/skills/helper/SKILL.md says "run scripts/install.sh from the plugin root" and cat/scripts/install.sh exists, exits 1 with the skill's Security Scan INCOMPLETE (2.13.3, --workers 1), as on main. An earlier head of this branch (55f18b9) passed it. validate cat/skills/helper on its own passes.
  • A plugin skill that says "run versions/install.sh", with that script in the skill, was INCOMPLETE through run_plugin_validation with the security check before fix(ci): apply reviewed baselines and preserve scan completeness evidence #453 (2.13.3). On 7ae25d2 and on this branch it passes as fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat, because a 2.13.3 report whose only gaps are reference_missing rows is accepted there and those per-part scans have no reference root (read from the code; not re-run).
  • run [the setup script](node\_modules/run\_all.sh) with node_modules/run_all.sh present, and run [the setup script](&#118;ersions/inst&#97;ll.sh) with versions/install.sh present, are INCOMPLETE on main and on this branch (2.13.3).
  • A skill that names guide.md while bundling a/guide.md and b/guide.md stays INCOMPLETE with 2.11.2, 2.12.0 and 2.13.3.
  • A skill whose scripts/setup.sh runs curl ... | sh and whose SKILL.md names output/notes.md, scanned with a --skillspector-baseline that suppresses all three findings, passes with the missing-reference warning and the baseline's suppression note (2.13.3, run before fix(ci): apply reviewed baselines and preserve scan completeness evidence #453 and not re-run since). Here it now carries fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat finding instead if that rule accepts its report, which depends on the report's limitations and scope_exclusions; those were not captured. SkillSpector 2.10.0 to 2.13.3 count every finding, up to the report cap, both before and after filtering, so a baseline does not change those counts.
  • Tier 3 output (2.13.3): "Write the meeting summary to `results/summary.md`." and "Save the formatted notes as `report.html`." pass in a skill with evals/evals.json, and are INCOMPLETE once evals/results/<run>/ holds what a default run keeps (result.json, run_config.json, report.html, what_to_fix.json, per-agent summary.json and trial files). "Run `scripts/summarize.py` on the meeting text, then write the summary to `output/notes.md`." passes, and is INCOMPLETE once the run also keeps _harbor-tasks/ with a copy of the skill. A line that names meeting.txt passes without evals/files/meeting.txt and, before fix(ci): apply reviewed baselines and preserve scan completeness evidence #453, was INCOMPLETE with it. The four that pass here are INCOMPLETE on main.
  • A direct SecurityValidator(use_llm=False)._run_skillspector(skill) call stays INCOMPLETE; with skillspector_reference_root=skill the same call passes with the warning (2.13.3). Since fix(ci): apply reviewed baselines and preserve scan completeness evidence #453 the direct call without a reference root passes as fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat with 2.13.3, on main and here; with 2.12.0 it stays INCOMPLETE here.
  • Work bound: one line of 10,000 characters of nested escapes beside 49,000 left-out names that each hold a space took 2.9 s per row in an earlier round and could repeat for every reference of a scan. It is refused in 0.04 s and the scan stays INCOMPLETE. The shell readings make the slowest lines I could build (10,000 characters of nested escapes, groups and backtick spans) about 2.4 times slower to read than escapes alone, so reading a line costs 9,000 units per character. Those lines take about 0.65 s per full budget, as on the previous head; lines of ~ parts, flag groups or # repeats take 0.01 to 0.13 s. So a report that stays within the budget still takes under 1 s for all of its lines.

Choices that differ from other versions of this fix:

  • Keeping reference_unresolved advisory on every version would also accept an ambiguous match from 2.12.0 on. This PR keeps it blocking there, as SkillSpector's own install gate does.
  • Before 2.12.0, reference_unresolved also covered ambiguous matches. Instead of accepting every such row, this PR accepts one only when the report's references list says the reference on that line is missing.
  • PR feat(plugin): Add Plugin evaluation support across all tiers #28 accepted only reference_missing, so 2.10.x and 2.11.x users stayed INCOMPLETE, and its fixture labelled 2.11.2 carried a reference_missing row that released 2.11.2 never emits. This PR uses real captures from each version.
  • fix(ci): apply reviewed baselines and preserve scan completeness evidence #453 accepts 2.13.3 reference caveats from the report alone. This PR holds them to its conditions whenever the scan's reference root is known, because a reference to a file left out of the scan is an inspection gap, and fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's CHANGELOG entry says coverage gaps still block. Without a known root it leaves fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's rule as it is, and its tests are unchanged.
  • The path check also requires that the file exists, is a regular file and matches one component. A lexical check alone would accept a nonexistent file, a directory, a symlinked SKILL.md, or any row when there is no scan root.
  • PR feat(plugin): Add Plugin evaluation support across all tiers #28 and the original fix accepted a missing reference in every scan, including each skill of a folder or plugin. This PR narrows that: under validate <folder>, security-scan <folder> and validate <plugin>, those skills' missing references are INCOMPLETE, because their lines may name files elsewhere in the target. For example, take a repository with skills/notes-writer whose SKILL.md says "Write the summary to `output/notes.md`". skillevaluator validate skills/notes-writer passes it, and so does the public CI scanner, which runs tier1 <skill> for each skill it finds (ci/run_tier1.py). skillevaluator validate skills/ is INCOMPLETE here; on 7ae25d2 it passes with 2.13.3 as fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat and is INCOMPLETE with earlier versions. A follow-up could extend the lone-file handling of _skillspector_unscanned_names to folder and plugin targets: walk the reference root and count every entry outside the scanned skill. That would accept these references for validate <folder> without weakening the rule.

Kept from public

Tests

  • New fixtures, real offline --no-llm reports with skill.source set to /tmp/<name>:
    • the missing-reference skill from SkillSpector 2.11.2, 2.12.0 and 2.13.3, and the ambiguous-reference skill from 2.11.2 and 2.13.3;
    • from 2.13.3: the staged copy of a skill that runs versions/install.sh (only SKILL.md in components), a lone SKILL.md, and a skill with a referenced PNG and a missing reference.
  • New TestSkillspectorMissingReferences in tests/validators/test_security.py (227 tests). Each 2.13.3 case below that passes carries fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat warning, not this PR's, except the image with a missing reference: fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's rule does not accept its image row, so it keeps this PR's warning beside the image warning:
    • the three missing-reference reports pass, 2.11.2 and 2.12.0 with this PR's exact warning and 2.13.3 with fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat warning and metadata; the 2.13.3 report also passes through the LLM stage with one caveat warning; a lone SKILL.md with nothing it names beside it passes; the skill with evals/results/ and .git files that its line does not name passes; a skill whose .git holds config, HEAD, index and refs/heads/main, with or without a *.sample hook, passes although its line says "Read the config at config/settings.yaml" (2);
    • the two ambiguous reports stay INCOMPLETE with the existing error; reference_missing on a 2.11.2 report is accepted; reference_unresolved on a 2.12.0 report is not;
    • files left out of the scan, each INCOMPLETE through the real staged path (24): versions/install.sh, node_modules/.bin/install.sh, evals/results/install.sh, .venv/install.sh, a bare install.sh in versions/, a Markdown link to versions/, node\_modules/run\_all.sh, &#118;ersions/inst&#97;ll.sh, and the link destinations v*/*.sh, vers?ons/inst?ll.sh, ver""sions/inst""all.sh and v[e]rsions/i[n]stall.sh; with versions/install.sh, (v)ersions/(i)nstall.sh, `sh (v|x)ersions/(i|j)nstall.sh` beside output/notes.md, @(v)ersions/+(i)nstall.sh, ver^sions/inst^all.sh, verr#sions/inst#all.sh, ver^x/inst^x.sh, v*\i*.sh, and sh [v](e)rsions/[i](n)stall.sh and sh (#a2)virsions/(#a2)instell.sh in zsh; and %DIR%/%RUN%, !DIR!/!RUN! and NODE_M~1/BOOTST~1.SH with node_modules/bootstrap.sh; a line naming ./scripts when scripts/ holds a listed file and also a left-out node_modules/.bin/setup, an unlisted extra.py or a symlink (3); a symlinked file and a symlinked directory; an unlisted output/notes.md on disk; a bare install.sh kept as an active hook in .git/hooks/, as .git/install.sh or as .git/tools/install.sh (3); a lone SKILL.md that names scripts/summarize.py, with that file, versions/summarize.py or summarize.py beside it (3);
    • prose with shell characters that names nothing left out passes beside evals/evals.json and evals/files/meeting.txt (5): 3~5, F#, `notes.md~`, `GET`/`POST` and `topic`s. Since 7ae25d2 these skills are scanned in place, not staged; their evals/ files count as not inspected because the captured report does not list them;
    • Tier 3 output in the skill (3): the same skill passes before, and is INCOMPLETE after, a generated run tree in evals/results/<run>/ (what a default run keeps, plus in one case the _harbor-tasks/ copy of the skill that --harbor-keep-jobs keeps), for lines naming results/summary.md, report.html and scripts/summarize.py. The input-fixture case was dropped: since fix(ci): apply reviewed baselines and preserve scan completeness evidence #453 a fixture in evals/files is scanned;
    • a skill scanned inside a larger artifact (skillspector_reference_root set to the folder above it, which holds the named scripts/install.sh) stays INCOMPLETE, and the same skill passes when it is its own reference root;
    • the same skill in a plugin or a plain folder target stays INCOMPLETE through validate_security_only, validate and run_security_scan (6), and each time passes when scanned on its own; skillevaluator validate <folder> --tiers 1 --checks security through CliRunner, with --workers 1 and with --workers 2 (parallel jobs run in process), exits nonzero with the skill's scan incomplete in catalog-summary.json, and validate <skill> passes (2); a direct _run_skillspector call stays INCOMPLETE before and after a passing validate_security_only of the same skill, with the 2.12.0 report (a 2.13.3 report in the same direct call passes as fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat); a direct call passes with skillspector_reference_root set to the skill and stays INCOMPLETE with it set to the folder above; a folder with no skill is scanned as a whole and passes;
    • fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat held to these conditions (2): the staged versions/install.sh report passes _validate_skillspector_report from the report alone, and stays INCOMPLETE through validate_security_only, both with the script left out of the scan and with the reference root set to a folder above;
    • a row the references list does not confirm: evidence from another line, no evidence, a line past the end of the file (3);
    • a referenced image with a missing reference: both pass with both warnings; image only passes as before; a non-PNG image, an ambiguous reference, or a line naming a left-out file stay INCOMPLETE (5);
    • 20 near misses on the 2.13.3 report stay INCOMPLETE: fatal row, wrong phase, skipped outcome, named analyzer, error class, other reason, absolute path, ../ path, backslash, ./ part, control character, unlisted path, directory, missing file, symlinked file, symlinked directory, an added runtime_limit row, an unexplained limitation, a degraded analyzer, a fatal scope exclusion;
    • unit tests: the accounting rules; the row predicate on both sides of 2.12.0, including end_line; the path helper (duplicate component, empty and dot parts, over 1,000,000 bytes, hard link, single-file root over 1,000,000 bytes or hard-linked); _skillspector_unscanned_names (unlisted files, left-out directories and the directories that hold them, links, a single-file root and the entries beside it, the entry limit, .git with its active and *.sample hooks and a .git file, Git's own layout (HEAD, config, description, index, packed-refs, COMMIT_EDITMSG, FETCH_HEAD, ORIG_HEAD, info/, logs/, objects/, refs/) not counted while a planted install.sh or tools/run.sh and a layout name of the wrong kind (a directory named HEAD, a file named objects) are, and a reparse point that stats as a directory or regular file, by patching stat_is_link_or_reparse); 99 line-matching cases, 72 that must match and 27 that must not. Must match: backticks, combining mark, backslash, percent-escapes, Markdown escapes, character references, case, trailing dot, NFC against NFD, directory link; the globs, expansions and quotes v*/*.sh (2), vers?ons/inst?ll.sh, ver""sions, v[e]rsions/i[n]stall.sh, v{e,x}rsions, $ROOT/setup, `ver\sions/setup`, v{e{r,x},y}sions, ${X:-${Y:-v}}ersions, setup.sh,inst*.sh, v[[:alpha:]]rsions, `bash v*/*.sh` beside a missing reference, and output/*.md against readme.md; the zsh groups (v)ersions/(i)nstall.sh (2), (v|x)ersions, ((v|w)|x)ersions, ver(|)sions, [it]((v|x)ersions), (install|setup) and [v](e)rsions/[i](n)stall.sh (2); the zsh globbing flags (#a2)virsions/(#a2)instell.sh (2), vers(i)(#c1)ons/inst(a)(#c1)ll.sh, ver(#a1)zions/inst(#a1)alk.sh and (#ia1)VIRSIONS; the extended globs @(v), ?(v) and !(x), the range run<1-1>.sh, ver^sions, ^v^e^r^s^i^o^n^s, ver^x, v[a^e]rsions, verr#sions, F# against ff, v*~x, %DIR%, %~dp0setup.sh, %1/setup.sh, !DIR!; the short names NODE_M~1/BOOTST~1.SH (2), CONFIG~1.YAM against config.yaml, NO3F2A~1 and NABCDE~F against node_modules, VENV~1 against .venv, 3RD-PA~1.SH against 3rd-party.sh and --script=NODE_M~1/setup; v*\i*.sh, a PowerShell line with backtick escapes, `echo v` in a double-backtick code span (read with its backticks removed) and $(printf '\166'). Must not match: an unrelated escaped line, install.sh.bak, reinstall.sh, install.shx, output/*.md against evals, a * list marker, **all**, output/{name}.md, an apostrophe and output/notes.md against evals, "(optional)", render(notes), a ## heading, a ## Notes (#1): heading, [Setup](#setup) with [the guide](guide.md), C# against evals, F# against files, 3~5 against meeting.txt, `notes.md~`, --config=~/.config/x.toml, "~5 lines" with "50%", ~/.config/notes.toml with a trailing !, two separate code spans yes and no (also in quotes), `topic`s, `GET`/`POST`, and `npm`'s with `--mode`=`fast`; 14 cases of _skillspector_glob_matcher (bracket expressions with ! and POSIX classes, a 9,000-star pattern, an unclosed [, a 9,000-[ pattern longer than every name, and the zsh repeat marker against fff and files); line numbering at a bare \r, evidence checks and the line length limit; the work bound on one line (a 10,000-character escape line beside 15,000 spaced names is refused, an ordinary line beside them is not) and across a report (one budget serves several lines, and a report that would overdraw it stays INCOMPLETE); the three-row cap in the warning.
  • Fail-before:
    • With the condition on fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's caveat removed (the merge resolution alone), 54 of the 227 fail and 173 pass. All 54 expect INCOMPLETE for a 2.13.3 report whose only gaps are reference_missing rows, which fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's rule passes from the report alone: the 24 left-out-file spellings, the six folder and plugin targets, the three lone SKILL.md cases with a file beside it, the three ./scripts cases, the three Tier 3 output cases, the two validate <folder> tests, the two .git plants, the active .git hook, the two caveat tests above, the missing-file and symlinked-file near misses, two rows the references list does not confirm (evidence from another line, no evidence), the unlisted output/notes.md on disk, the reference-root test, the configured-reference-root test and the report-level budget test.
    • The next three counts were measured before merging 7ae25d2, on the 226 tests of that head.
    • With src/ from the previous head of this branch (c9cf82f), 21 of the 226 fail and 205 pass. The 21 are the two zsh staged-path spellings, the five prose staged tests, seven zsh line cases that must match ([v](e)rsions (2), (#a2) (2), (#c1), (#a1) and (#ia1)), six line cases that must not match (`topic`s, `GET`/`POST`, F# against files, 3~5, `notes.md~` and --config=~/...) and the matcher's zsh repeat case. The other 11 new cases pass there: the six short-name and F#-against-ff cases, which the wider earlier readings also caught, four lines that the earlier rules already passed (`npm`'s, quoted code spans, the (#1) heading and the anchor link), and the matcher case for files.
    • With src/ from ff2351c, 54 of the 226 fail, and with src/ from 55f18b9, 91 fail. Both sets hold 10 of the 21 above (the zsh and matcher cases) and the cases that later rounds added for what those heads missed. The other 11, the prose cases, pass there, because those heads did not yet read ~, # or backtick spans. test_catalog_child_argv_forwards_every_validate_option and the CLI surface golden test also fail with 55f18b9.
    • With only the call site reverted to main's raster-only call, 32 of the 226 fail and 194 pass. All 32 are cases that must pass, or that check INCOMPLETE and then that the same skill passes on its own: the three real missing-reference reports, the LLM stage, reference_missing on 2.11.2, the lone SKILL.md, the skill with evals/ and .git, the two .git cases, the image with a missing reference, the folder with no skill, the reference-root test, the six folder and plugin targets, the two direct _run_skillspector tests, the four Tier 3 output cases, the two validate <folder> tests, the report-level budget test and the five prose staged tests. Every INCOMPLETE assertion holds there.
    • With src/ from main, the module does not import, because the helpers do not exist there.
  • tests/validators/test_security.py: 1235 passed, 1 skipped.
  • The other modules that exercise security.py (tests/validators/test_scan_incomplete.py, test_security_validators.py, test_skillspector_scope.py, test_artifact_dir_exclusion.py, test_folder_validation.py, test_pii_grouping.py, test_pii_waivers.py, test_private_plugin_composition.py, test_scanner_path_resolution.py, test_static_requirements_audit.py, test_target_dependencies.py, test_url_policy.py, tests/test_skillspector_provenance.py, tests/models/test_result.py, tests/ci/test_secret_redaction.py, tests/reporting/test_reporters.py, tests/reporting/test_report_redesign.py, tests/test_commands.py, tests/test_publication_evidence.py, and fix(ci): apply reviewed baselines and preserve scan completeness evidence #453's tests/validators/test_security_reference_caveats.py and test_security_authored_evals.py): 1345 passed.
  • The CLI, catalog and golden modules (tests/golden/, tests/cli/, tests/test_cli.py, tests/test_catalog_discovery.py, tests/test_catalog_results.py, tests/test_skip_checks.py, tests/test_progress_output.py, tests/test_benchmark_source_provenance.py, tests/test_evaluation_service.py, tests/test_publication_identity.py, tests/reporting/test_tier3_source_validation_reporting.py, tests/validators/test_hygiene_link_boundaries.py, tests/validators/test_quality_score.py, tests/tier3/test_decoy_commands.py, tests/tier3/test_decoy_workspace.py, tests/tier3/test_decoys.py): 1610 passed, 3 skipped.
  • Docs and CHANGELOG readers (tests/test_ci_workflows.py, tests/test_oss_packaging.py, tests/test_ci_change_classifier.py, tests/test_harbor_claude_refusal_fallback.py, tests/ci/test_image_build.py, tests/tier3/test_private_loose_source.py): 231 passed.
  • The other tests fix(ci): apply reviewed baselines and preserve scan completeness evidence #453 and fix(reporting): let default Tier 3 runs with a baseline pass publication #332 added or changed (tests/ci/test_prepare_security_baselines.py, tests/ci/test_run_tier1.py, tests/ci/test_evaluate_workflow.py, tests/ci/test_gitlab_template.py, tests/golden/test_benchmark_card.py) and the Tier 3 security modules (tests/tier3/test_apply_patch_security.py, test_harbor_security_attribution.py, test_private_plugin_security.py): 1667 passed, 5 failed. The 5 are all of test_prepare_security_baselines.py: they run ci/prepare_security_baselines.py with python -I, which on this machine imports an older installed skillevaluator without utils/structured_data.py. They fail the same way on main 7ae25d2.
  • Full suite (-n 6 tests): 27691 passed, 35 skipped, 10 failed. The 10 are the five test_prepare_security_baselines.py tests above and five that also fail on main on this machine: tests/ci/test_all_tier_preflight.py::test_actual_workflow_bootstrap_ignores_consumer_pythonpath, the two tests/ci/test_feedback.py::test_isolated_feedback_launcher_uses_trusted_siblings_from_any_consumer_directory cases and two tests/test_harbor_secure_docker_environment.py sidecar tests.
  • ruff check is clean on the changed files. ruff format --check reports the same pre-existing hunks in security.py (28) and test_security.py (25) as on main, none in new code, and none in cli.py, tier1/commands.py or tests/test_commands.py. scripts/check_oss_boundary.py passed.

🤖 Generated with Claude Code

rng1995 and others added 30 commits November 7, 2026 20:58
…issing references

SkillSpector marks the analysis partial when the skill's instructions name
a file the skill does not bundle, such as a file it writes at run time,
although every bundled file is still inspected. The Tier 1 security scan
then stopped as INCOMPLETE.

Accept such a report with a warning when every ledger row is a nonfatal
reference_resolution row: reference_missing on any version, or, before
SkillSpector 2.12.0, reference_unresolved whose line the report's
references list records as missing. Each row must name exactly one listed
component that is a regular, single-link file under the scanned root,
reached without following a link. The report must also have no partially
or entirely uninspected file, no filtered finding, no limitation, no fatal
scope exclusion, and universal analyzers that completed every component.
A reference that matches several bundled files stays INCOMPLETE.

The path check, row predicate and warning text are module-level helpers so
later SkillSpector report rules can reuse them. Tests use real offline
SkillSpector 2.11.2, 2.12.0 and 2.13.3 reports.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… left out of the scan

SkillEvaluator scans a copy of the skill without artifact directories such
as evals/, versions/ and node_modules/, and SkillSpector leaves links out of
its inventory. A reference to a script there is reported as missing, so the
missing-reference rule turned an INCOMPLETE scan into a pass although the
script was never inspected.

A missing-reference row is now accepted only when:

- the report's references list records a missing reference on the row's
  line, for every SkillSpector version, and that entry's evidence matches the
  line read from the scanned file;
- that line names no entry of the skill that SkillSpector did not inspect: a
  link, a file the report does not list, or the outermost directory that
  holds no listed file, and every file inside such a directory. Names are
  compared case-folded, as written and in NFC, with Markdown escapes removed
  and with percent-escapes decoded, and must not adjoin another name
  character. The walk does not follow links and stops at 50,000 entries.

A single-file scan root is now read through SecureRoot too, so it must be a
single-link file of at most 1,000,000 bytes. A lone SKILL.md is scanned this
way, and SkillSpector 2.13.3 reports every reference in it as missing.

The warning now says that every file SkillSpector scanned was inspected and
that those lines name no file left out of the scan.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
A skill whose SKILL.md shows an image and names a file it writes at run time
got both gaps in one partial SkillSpector report, and stayed INCOMPLETE
because each rule required its gap to be the only one.

_skillspector_missing_reference_notes now separates the reference rows. They
pass the same checks as before; the other rows must be referenced images
that _skillspector_passive_raster_note accepts, which accounts for the counts,
analyzers and limitations. The scan then carries both warnings. A report with
images only still goes to the image rule alone.

The new fixture is a real SkillSpector 2.13.3 --no-llm report of such a skill.

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

The docs and CHANGELOG said that every bundled file is inspected and that the
warning quotes the references. SkillEvaluator leaves artifact directories out
of the scanned copy, and the warning names only the file and line, so both
now say what is checked: the references list, the line, and the files and
directories left out of the scan. They also say that missing references may
come with accepted referenced images, that the rule covers SkillSpector
v2.10 to v2.13.3, and that v2.13.4 and later report these scans as
complete_with_caveats, which is not accepted yet.

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

Follow-ups to accepting SkillSpector missing references:

- A single-file scan root, such as `security-scan path/to/SKILL.md`, now
  counts every entry beside the file as not inspected, because SkillSpector
  scans that file alone. Before, a line that named a script beside it passed.
- A directory that holds an uninspected entry (an unlisted file, a link or a
  left-out subtree) is named too, even when it also holds listed files.
- A left-out `.git` directory counts by its own name and its hooks other than
  `*.sample` templates, so `config`, `HEAD` or branch names no longer keep a
  scan INCOMPLETE.
- When the validator's `skillspector_reference_root` is not the scanned root,
  as for a skill scanned inside a plugin, a missing reference is never
  accepted, because the line may name a file elsewhere in that artifact.
- Tests for each case, and a unit test that patches
  `stat_is_link_or_reparse` so the reparse-point branch is covered on every
  OS.

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

- A lone file is scanned on its own, so a line that names a file beside it
  keeps the scan INCOMPLETE.
- A skill scanned on its own inside a plugin keeps its missing references
  INCOMPLETE.
- Only `.git` itself and its active hooks count as names inside `.git`, and a
  directory that holds a left-out entry counts too.
- No finding may be filtered out, for example by `--skillspector-baseline`.
- When one check covers several skills, such as `security-scan` on a folder,
  a passing skill is listed without its warnings.

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

`security-scan` on a folder, and `validate` or `tier1` on a folder without
a configured reference root, scan each skill found in it on its own. A line
in such a skill may name a file elsewhere in the folder, such as a plugin's
`scripts/install.sh`, that the skill's scan never inspects, yet the
missing-reference rule accepted it because the reference root was unset.

While a target that is a directory but not a skill is walked, use it as the
reference root, so those skills' missing references keep the scan
INCOMPLETE as on main. A skill directory, a lone file and a folder with no
skill (scanned as a whole) are unchanged.

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

The check that a missing reference's line names no file left out of the
scan removed only the escapes SkillSpector strips itself (`\\`, `\(`, `\)`,
`\<`, `\>`). A Markdown renderer also resolves a backslash escape of any
ASCII punctuation and HTML character references, so
`[the setup script](node\_modules/run\_all.sh)` or
`[the setup script](&#118;ersions/inst&#97;ll.sh)` named a left-out file and
still passed.

Also read the line with backslash escapes of all ASCII punctuation removed,
HTML character references resolved and percent-escapes decoded, up to three
of these steps in any order, so either line keeps the scan INCOMPLETE.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ges and for a lone file

The warning said "every file SkillSpector scanned was inspected", which is
not true when an accepted referenced image is the other gap: the next
warning says SkillSpector's text analyzers could not read it. It also said
"Files outside the skill were not scanned", although for a lone SKILL.md
the files beside it inside the skill are not scanned either.

Say instead that SkillSpector reported no other gap for these references,
and that files not in the scan, including any outside the scanned path,
were not inspected.

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

The docs and CHANGELOG said that a scan in which `--skillspector-baseline`
suppresses a finding stays INCOMPLETE. SkillSpector 2.10.0 to 2.13.3 count
findings after filtering as every finding up to the report cap, so a
baseline does not change `findings_before_filtering` or
`findings_after_filtering`; such a scan passes with the missing-reference
warning and the baseline's suppression note. State the actual condition,
that the two counts match.

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

A folder that holds no skill is scanned as one target, so it is its own
reference root and the folder-scan rule leaves its accepted missing
references unchanged.

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

The folder rule set a reference root only while a folder was walked, so a
scan run outside validate() or validate_security_only(), such as a direct
per-directory _run_skillspector() call on one partition of a larger tree,
still had no root and accepted missing references that main keeps
INCOMPLETE.

Record the resolved target for every walk instead, and accept missing
references only when the reference root (the configured
skillspector_reference_root, or else that target) is the scanned
directory. A skill directory, a lone file and a folder with no skill are
their own target; a skill found inside a folder is not; a scan with no
known target accepts none. _skillspector_missing_reference_notes now
requires reference_root.

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

The `skillspector_reference_root` docstring describes its default for
finding scoping, the scanned directory. The missing-reference rule uses a
different default, the whole target of validate() or
validate_security_only(); say so next to it.

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

`validate` on a folder of skills runs each skill as its own job, either
in process or as a `validate <skill>` child process with --workers above
1. Each job's security scan saw the skill directory as its whole target,
so a SkillSpector missing reference in it was accepted, although its
line may name a file elsewhere in the folder that the skill's scan never
inspected. `security-scan` on the same folder keeps it INCOMPLETE.

Pass the folder to each job through a hidden `--catalog-root` option,
set by the in-process path and by the child argv. `run_validation`
hands it to SecurityValidator as a new `target_root`, which replaces the
walk target as the root that missing references are judged against.
Finding scoping (`skillspector_reference_root`) is unchanged.

The docs no longer say that `tier1` takes a plugin; it takes one skill.

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

A missing reference was accepted when its line named no left-out file by
its literal name. SkillSpector keeps `*`, `?`, `[...]` and quotes in a
Markdown link destination and reports it as `reference_missing`, so a
line such as "run [the setup script](v*/*.sh)", `vers?ons/inst?ll.sh`,
`ver""sions/inst""all.sh` or `v[e]rsions/i[n]stall.sh` passed although
a shell would open the `versions/install.sh` that the staged scan left
out.

Read each word with shell syntax as a shell would: brace and parameter
expansions stand for any text, quotes and backslashes are removed, and
each path part is an fnmatch pattern that no left-out name may match. A
word made only of `*`, such as a list marker, is skipped.

The docs said the decodings apply "in any combination"; they apply up to
three steps in any order, and now also name the shell patterns.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Each missing reference's line is checked in up to 40 decoded forms, and
every left-out name that is not a plain name run is searched for in
each. A skill with tens of thousands of such names left out of the scan
and long lines of escapes beside its missing references could keep a
scan busy for minutes, where main returns INCOMPLETE at once.

Charge the work to one budget per report: decoding a line, every search
of a decoded line for such a name, and compiling and matching each shell
pattern. A line that would overdraw it is not accepted, so the scan
stays INCOMPLETE. Plain name runs are now matched through one lookup
per run of the line instead of one test per name, and a line with no
left-out names is accepted without decoding it.

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

fnmatch.translate scans ahead for the `]` of every `[`, so a word of a
few thousand `[` took over a second to translate, and the budget charged
a pattern by count, not length. Nested brace and parameter expansions
such as `v{e{r,x},y}sions` or `${X:-${Y:-v}}ersions` were left partly
literal, and splitting parts at `:` broke `[[:alpha:]]`, which Python's
fnmatch does not support anyway.

Translate globs with a linear scanner of our own. A bracket expression
matches any one character and a stray `]` any text, so the matcher
accepts every name the shell would and possibly more, and a pattern
with more fixed characters than the longest left-out name is skipped.
The regex keeps one backtracking `*` at most, as fnmatch does. Replace
everything from the first `${` or brace expansion to its last `}` with
`*`, split parts at `/` and also at `=`, `:` and `,`, and charge each
pattern by its length. Decoding a line now costs 3,000 per character.

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

The catalog fix added a hidden `--catalog-root` option to `validate`, which
each per-skill job of a folder run receives. Regenerate the golden CLI
surface with tests/golden/generate_cli_surface.py; the only change is that
option.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Open PR #394 appends keyword arguments to `run_validation` and to its
call in `validate`. Put `target_root` beside `content_type` in both
places instead, so the two changes touch different lines. Behaviour is
unchanged.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The reference-line check skips a word made only of `*`, such as a
Markdown list marker, when it reads shell patterns. Say so next to the
pattern rule.

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

The `_validate_with_applicability` docstring said that a scan run outside
the walk accepts no missing reference. That holds only without a
configured `skillspector_reference_root`: a direct `_run_skillspector`
call whose reference root is the scanned root accepts them, because that
scan covers the whole root. Say so, and pin both cases with a test.

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

Open PR #394 adds eight entries to the `not_forwarded` dict of
`test_catalog_child_argv_forwards_every_validate_option`, directly after
`"output_dir"`, where this branch added `"catalog_root"`. The two
insertions touched the same place, so merging both conflicted. List
`catalog_root` first instead, so unchanged lines separate the two hunks.
The test is unchanged otherwise.

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

By default Tier 3 writes its results to `<skill>/evals/results`, which
the scanned copy leaves out like the rest of `evals/`. After one run, a
line that names `results`, a file the run leaves there such as
`report.html` or `summary.json`, or, with `--harbor-keep-jobs`, any
bundled file (the kept Harbor tasks copy the skill) keeps the scan
INCOMPLETE, although the same line passed before the run. An input
fixture in `evals/files` counts the same way. The rule stays as it is,
because an author can create these directories by hand.

Say so in the missing-reference conditions and in the CHANGELOG entry,
and name `--results-dir` and `SKILLEVALUATOR_RESULTS_DIR` as the way to
keep a run from changing the result. Pin the behaviour with a test that
scans the same skill before and after a generated run tree, for a line
naming `results/summary.md`, `report.html`, a bundled script copied by a
kept Harbor job, and an `evals/files` fixture.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The new test for a direct scan with a configured reference root had one
line over the length limit. Wrap it as `ruff format` does, so the file
has no format hunk that `main` does not have.

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

The entry was appended at the end of Unreleased > Fixed, where current
GitHub main and ten open pull requests also add their entries, so each
of those merges conflicted in CHANGELOG.md. Every slot between the
section's entries is used by at least one open pull request; the slot
before the Measured Agent Resources entry is shared with only one (#423).
Move the entry there. The text is unchanged.

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

A missing reference was accepted when its line reached a file left out of
the scan through syntax that the pattern reading did not know. Each of these
passed with the warning that the line names no file left out of the scan,
while the same line written as $DIR/$RUN or v{e,x}rsions stayed INCOMPLETE:

- zsh groups, such as (v)ersions/(i)nstall.sh or (v|x)ersions;
- cmd.exe ^ escapes, such as ver^sions/inst^all.sh;
- cmd.exe variables, such as %DIR%/%RUN%;
- Windows 8.3 short names, such as NODE_M~1/BOOTST~1.SH.

The line is now also read with its shell groups and numeric ranges, with
and without its backticks, and with each backtick span that joins a word as
a command's output. Each word is read twice: as a POSIX shell reads it, and
as cmd.exe or PowerShell read it (^ and quotes removed, %VAR%, !VAR!, %1
and %~dp0 as any text, \ as a directory separator). zsh EXTENDED_GLOB ^
and # are read outside bracket expressions, and a path part with ~ after its
first character stands for any name. The work charged for decoding a line
rises from 3,000 to 9,000 units per character, so the slowest lines still
take no longer per budget than before.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Inside a left-out .git directory only .git itself and active hooks counted
as names, so a skill holding .git/install.sh passed with a line that says
"find and run `install.sh`", while the same file in versions/ kept the scan
INCOMPLETE. An agent that searches the tree finds either one.

Only Git's own layout is now ignored: HEAD, config, description, index,
packed-refs, the *_HEAD and other state files, their lock files, and the
objects, refs, logs, info and similar directories with what they hold. Any
other entry of .git counts with everything inside it, and hooks other than
*.sample templates still count.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
… without a Tier 3 run

The missing-reference entry grouped input fixtures in evals/files with Tier 3
output and said a line naming one keeps the scan INCOMPLETE after a run,
although it passed before. A line naming a fixture is INCOMPLETE as soon as
the fixture exists. The sentence is now split: Tier 3 output turns a passing
line INCOMPLETE after a run, and a named fixture keeps it INCOMPLETE whenever
the fixture exists.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The new paragraph on shell readings said that each group may stand for any
text. Only a group with alternatives, an extended glob, a numeric range or a
command does; a group such as (v) is read as what it holds, and quotes and
escapes are removed.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
rng1995 and others added 7 commits November 10, 2026 15:36
Main and this branch both changed CHANGELOG.md, docs/tier1-validation.mdx,
src/skillevaluator/cli.py, tests/golden/cli_surface.json and
tests/test_commands.py; git merged all five without conflicts.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
One file conflicted: src/skillevaluator/validators/security.py.

- The docstring of _validate_skillspector_report: main describes its new
  2.13.3 reference-caveat rule (reference_caveat_metadata) and this branch
  describes _skillspector_missing_reference_notes, the raster-image note and
  reference_root. The resolved docstring lists all three gaps and keeps
  main's wording that each stays a visible warning.
- The partial-analysis branch (elif not complete_by_applicability): main
  defers its accepted reference caveat to an INFO finding added after the
  inventory, finding and risk checks, and otherwise adds the raster-image
  note. This branch runs _skillspector_missing_reference_notes first and
  falls back to the raster-image note. The resolution keeps both: a report
  that main's rule accepts takes main's path (no warning here, the INFO
  finding and skillspector_reference_caveats metadata later); otherwise this
  branch's notes, or the image note, become warnings; anything else keeps
  the incomplete-analysis error.

CHANGELOG.md, docs/tier1-validation.mdx and tests/validators/test_security.py
merged without conflict. Follow-up commits adapt this branch to main's new
reference-caveat rule and to main now scanning authored evals/ files.

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

Main (7ae25d2) now accepts a SkillSpector 2.13.3 report whose only gaps
are reference_missing rows as a reference caveat
(reference_caveat_metadata): an INFO finding with
skillspector_reference_caveats metadata that keeps the scanner's partial
status. That rule reads only the report. So, after the merge, a 2.13.3
report passed when its line names a file left out of the scanned copy
(versions/install.sh, node_modules/, a .git hook) or when the skill was
scanned inside a larger folder or plugin, which this branch keeps
INCOMPLETE.

In the partial-analysis branch, when the scan's reference root is known,
a caveat that reference_caveat_metadata accepts now also has to pass
_skillspector_missing_reference_notes; otherwise the scan keeps the
incomplete-analysis error. Without a reference root, such as a direct
_run_skillspector call outside validate, reference_caveat_metadata
alone decides, as on main, so its tests, which call
_validate_skillspector_report without a reference root, are unchanged.
When both accept a report, it carries main's caveat finding, not this
branch's warning.

Tests:
- The 2.13.3 cases that pass (the notes writer, the LLM stage, a lone
  SKILL.md, prose beside fixtures, .git layout names, a folder with no
  skill, each skill on its own after its folder or plugin scan) now
  expect the caveat warning; 2.11.2, 2.12.0 and the image case keep this
  branch's warning.
- test_scan_outside_a_validated_target_stays_incomplete uses the 2.12.0
  report for the rule here, and checks that a 2.13.3 report in the same
  direct call passes as a caveat.
- New test_reference_caveats_meet_the_same_conditions: the staged
  versions/install.sh report passes reference_caveat_metadata on its own
  and stays INCOMPLETE through validate_security_only, both when the
  script is left out and when the reference root is a folder above.

Docs and CHANGELOG say which rule a 2.13.3 report takes and that the
conditions apply to it whenever the scan has a known target.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Main (7ae25d2) now keeps authored evals/ and .evals/ files in the
SkillSpector scan and leaves out only generated output below them, such
as evals/results. So evals/ is no longer a directory left out of the
scanned copy, and input fixtures in evals/files are scanned.

- The left-out-directory case for evals/install.sh moves to
  evals/results/install.sh, which the scan still leaves out; a skill with
  only evals/install.sh is no longer staged.
- The input-fixture case of the Tier 3 output test is dropped: a fixture
  in evals/files is now in the scan, so a line that names it is no longer
  a reference to a file left out. The three Tier 3 output cases stay.
- docs/tier1-validation.mdx and the CHANGELOG entry no longer name
  evals/ as left out, and no longer say that a line naming an input
  fixture stays INCOMPLETE; the docs say that the rest of evals/ is
  scanned.

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

The skillspector_reference_root and _validate_with_applicability docstrings
said a scan without a known reference root accepts no missing reference.
Since main 7ae25d2, reference_caveat_metadata still accepts a 2.13.3
report whose only gaps are missing references when no reference root is
known, such as in the per-partition scans of tier1/plugin_checks.py. Say
that the rule these docstrings describe is
_skillspector_missing_reference_notes and that such a report passes as its
caveat. No change in behavior.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The input-fixture case left this test when main 7ae25d2 started scanning
authored evals/ files, so it now covers only Tier 3 output in the skill.

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

Since 7ae25d2 the scan keeps authored evals/ files, so evals/ is not a
directory left out of the scanned copy. Two tests still used evals/
files as left out. They passed only because the mocked 2.13.3 report
was captured without those files, so they counted as unlisted files.

- test_missing_reference_with_a_referenced_image[line-names-a-left-out-file]
  adds evals/results/notes.md instead of evals/notes.md.
- test_directories_left_out_that_the_line_does_not_name_are_ignored
  keeps evals/results/run-1/ and .git as its left-out directories, in
  place of evals/evals.json and evals/files/input.csv.

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.

Review found a standalone-glob gap in missing-reference coverage; fixing and adding regression coverage.

@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.

Reviewed the full production diff, scanner/report trust checks, filesystem containment and omitted-file coverage, caller reference roots, and regression cases. Fixed the inline standalone-wildcard fail-open finding in b7a333b, with validator-level unlisted-helper cases and Markdown bullet controls (3 expected failures before the fix, 236 missing-reference tests passing after it under locked dependencies). Full src/tests Ruff lint passes. Current main ce52a09 merged without conflicts; signed-off fix pushed normally. The inherited fix is being propagated through dependent PRs #458→#459→#460. No remaining actionable finding; this PR remains open and unmerged.

@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.

Resolved the actual CHANGELOG conflict from main 487910e while retaining the wildcard guard and every upstream entry. All 236 missing-reference contracts pass; full src/tests Ruff lint and Fern check pass (0 errors/1 existing warning). The PR was still open and the latest-main merge check was clean before the signed-off normal push. Updated actual-base merge checks for #458/#459/#460 are clean, so their finished/in-progress CI heads were preserved.

rng1995 and others added 2 commits November 12, 2026 12:08
…for missing references (#458)

* fix(tier1): accept SkillSpector 2.13.4 complete_with_caveats reports for missing references

SkillSpector 2.13.4 reports a scan whose only gaps are missing references
as complete_with_caveats instead of partial. The security check rejected
that status as not recognized, so a skill naming a file it does not bundle
was INCOMPLETE with 2.13.4 or later on PATH.

Recognize the status from 2.13.4 on. Accept its caveats only when every
one is a reference_missing row and they pass the missing-reference rule
already applied to partial reports, then show the same warning. Anything
else keeps the scan INCOMPLETE with an error naming up to three caveats.
The report stays complete, so a LOW report must still say SAFE and its
findings are checked as usual.

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

* docs(tier1): describe how complete_with_caveats reports are checked

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

* fix(tier1): keep the findings of a caveats report whose caveats are rejected

A complete_with_caveats report whose missing-reference caveats fail the
rule for a partial report's missing references, for example because the
scan does not cover its whole target, now marks the scan INCOMPLETE and
keeps checking the report, as the partial branch does. Its findings stay
in the result. Before, the report was dropped, so a skill with High
findings in a folder target showed none of them with SkillSpector 2.13.4
while 2.13.3 showed all of them.

A caveats report with no caveat, or with a caveat that is not a
reference_missing row in reference_resolution, contradicts SkillSpector's
own rule for the status. It is still not trusted, and its error now names
the rows of another kind.

The LOW-to-CAUTION recommendation check reads whether the result was
incomplete on entry, so a rejected LOW caveats report, which SkillSpector
keeps SAFE, is not also rejected for its recommendation.

The near-miss tests now assert the exact error of each case.

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

* fix(tier1): add the caveat warning only after the rest of the report passes

The warning for accepted complete_with_caveats caveats says they do not
mark the scan incomplete. It was added before the recommendation, issue,
exit-code and components checks, so a report that one of those rejected
showed INCOMPLETE beside that warning. The warning is now added just
before the report is accepted.

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

* test(tier1): make the caveat path near misses reach the bundled-file rules

The absolute, escaping, backslash, control-character, unlisted and
directory near misses changed only the ledger row's path. The `missing`
entry in `references` stayed on SKILL.md, so the reference check
rejected each row before the path rules ran, and disabling those rules
left every case green.

Each path case now moves the `missing` reference with its row and, where
the case needs it, the `components` entry. Where the platform allows it,
the file the path would name without the rules holds the reference's
line, and the absolute case uses `/SKILL.md`, which names SKILL.md once
split at "/". A spy asserts that `_skillspector_bundled_file_bytes`
refuses the row's path in every path and file case. Disabling the
backslash, safe-text, path-part or listed-once rule now fails the
backslash, control-character, absolute or unlisted case. SecureRoot
also refuses the escaping and directory paths.

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

* test(tier1): pin that only complete keeps its status after transitive truncation

A complete_with_caveats report with `is_complete: false` and a
"Transitive traversal truncated: ..." limitation must fail the status
marker check: SkillSpector rewrites a truncated caveats report to
partial, so only `complete` may keep its status. No test held this;
letting the exception also cover complete_with_caveats sent such a
report to the partial branch, which kept its findings, and every test
stayed green. The new near miss expects "has contradictory status
markers" and fails under that change.

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

* docs(changelog): name the phase of a trusted complete_with_caveats caveat

The entry said a report is not trusted when it has a caveat that is not
a nonfatal `reference_missing` row. A nonfatal `reference_missing` row
in another phase is also not trusted: the code drops the report with
"reports caveats other than missing references", and the docs require
phase `reference_resolution`. The entry now says so.

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

* test(tier1): keep 2.13.4 caveats blocking for each skill of a validate catalog

The stacked branch now judges each skill of a `validate <folder>` run
against the folder. The caveat check reuses its missing-reference rule and
reference root, so pin that a complete_with_caveats report for such a skill
stays INCOMPLETE with the caveat error and no warning, with one and two
workers, and that the same skill validated on its own passes.

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

* test(tier1): pin that a missing reference outside reference_resolution drops the caveats report

A complete_with_caveats report whose reference_missing row is in another
phase contradicts its status, so it must be untrusted and lose its findings,
not only become INCOMPLETE. The only wrong-phase near miss used a report
without findings, so checking the reason code alone kept those tests green.
Parametrize the findings-dropped test with the instruction-override report's
row moved to phase static.

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

* style(tests): keep the contradicting-caveats test within the line limit

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

* docs(tier1): set 2.13.4 caveats apart from the 2.13.3 reference caveat

Main (7ae25d2) accepts a fully inspected SkillSpector 2.13.3 partial
report whose only gaps are missing references as a reference caveat
(reference_caveat_metadata): an INFO finding with
skillspector_reference_caveats metadata, decided from the report alone
when the scan has no known target. The paragraph and CHANGELOG entry
before this branch's now describe that caveat, so "shows the same
warning" no longer said which one a complete_with_caveats report gets.

That rule reads only partial reports, so it never takes a
complete_with_caveats report. Such a report is accepted only by
_skillspector_reference_caveat_notes, which needs the scan's reference
root to be its scanned root, and it carries the missing-reference
warning.

- docs/tier1-validation.mdx and the CHANGELOG entry say the caveats show
  the missing-reference warning, are never accepted from the report
  alone, so they leave a scan without a known target INCOMPLETE, and add
  no skillspector_reference_caveats entry.
- New test_caveats_are_not_a_2_13_3_reference_caveat: in a direct scan
  without a reference root, the notes writer's 2.13.3 report passes as
  main's caveat and its 2.13.4 report stays INCOMPLETE; through
  validate_security_only the 2.13.4 report passes with the
  missing-reference warning and has neither the caveat finding nor its
  metadata.

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

* docs(tier1): say which warning 2.13.4 caveats get in the report docstring

The _validate_skillspector_report docstring now lists main's 2.13.3
reference-caveat rule (reference_caveat_metadata) beside the
missing-reference notes, so "the same warning" for complete_with_caveats
reports no longer named one. Name the warning of
_skillspector_missing_reference_notes, and say that
reference_caveat_metadata reads only partial reports, so it never
accepts these caveats, even without a reference root. No change in
behavior.

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

* docs(changelog): name the missing-reference warning for 2.13.4 caveats

The Unreleased > Fixed entry for complete_with_caveats said the caveats
get "the same warning". The entry above it now also describes main's
v2.13.3 reference-caveat INFO finding, so name the warning: the
missing-reference warning, as docs/tier1-validation.mdx does. No change
in behavior.

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

* docs(changelog): rewrap the 2.13.4 caveats entry

The previous commit left one 97-character line in the Unreleased >
Fixed entry for complete_with_caveats. Rewrap the rest of the entry to
78 columns like its neighbours. Same words.

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]>

@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.

Current-head integration review: adopted the externally merged #458 head, preserving SkillSpector 2.13.4 complete_with_caveats support and the reviewed standalone-wildcard guard. Reconciled the actual CHANGELOG-only conflict with main b38b71b, preserving both sides and placing the full #457 and merged #458 entries after their separate stable anchors. Verification on this head: 238 missing-reference tests and 50 complete-with-caveats tests passed; Ruff src/tests passed; Fern check found 0 errors (1 existing warning). Fresh pre-push open/head/base/main and clean merge-tree guards passed. No PR merge performed.

@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.

LGTM. I checked that the new acceptance path stays fail-closed. _skillspector_missing_reference_notes returns None, so the scan stays INCOMPLETE, unless every reference_resolution row is a nonfatal single-line reference_missing row backed by a missing (never ambiguous) references entry. On top of that, the reference root must equal the scanned root, there must be no fatal scope exclusion, all counts and universal analyzers must check out, the source must be a single bundled regular file read through SecureRoot, the tree walk must stay within the entry and depth bounds, and each line must avoid every uninspected name within the match budget. The #453 caveat path now also requires these checks when the reference root is known, and the LOW to CAUTION recommendation check uses the state from before this scan. 1,456 tests pass and ruff check is clean. The only format diffs are the ones main already has.

@chrisknvidia
chrisknvidia merged commit 81b2f30 into main Nov 13, 2026
27 checks passed
@chrisknvidia
chrisknvidia deleted the naren/port-skillspector-reference-advisory branch November 13, 2026 06:06

@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.

I read all the src changes line by line (the new missing-reference helpers, the _validate_skillspector_report changes for both partial and complete_with_caveats, and the cli and tier1 plumbing for --catalog-root and target_root), ran tests/validators/test_security.py on this head (1297 pass), and probed the rule with the captured 2.11.2, 2.12.0, 2.13.3 and 2.13.4 reports plus edited copies.

What held up: a missing-reference scan inside a folder or plugin target stays INCOMPLETE; a direct scan with no reference root stays INCOMPLETE on 2.12.0 and 2.13.4; a symlink, an unlisted file or a left-out directory named on the line blocks acceptance; complete_with_caveats from before 2.13.4, with a non-reference row, with a fatal scope exclusion, with unequal finding counts, or with an ambiguous entry on the line stays INCOMPLETE; baselines cannot change the finding counts the rule requires to be equal; and a fuzz run of the line matcher found no exceptions and no missed plain names. The new tests use real captures and exercise the validator, so they are not vacuous.

One thing needs to change before merge. The line check only runs for ledger rows. A missing entry in references with no ledger row, or a report that says its ledger or references list was truncated, is accepted without anyone reading the line it points at. I reproduced both on 2.12.0, 2.13.3 and 2.13.4 with a second SKILL.md line that runs a script in versions/; they pass with the warning, and main before this PR (517b839) returns INCOMPLETE for all of them, and main today (cf325c8) still passes them. Please reject any truthy *_truncated key in analysis_completeness, and require every missing entry in references to match an accepted ledger row on the same path and line (and no ambiguous entry anywhere), with tests. That check does not reject any of the captured fixtures.

The rest is not blocking: 2.13.3 reports with nonfatal scope exclusions or unknown extra keys now pass where #453 returned INCOMPLETE, a backslash-escaped space hides a name, the INCOMPLETE message gives no reason, the PR description is stale about 2.13.4 and about 53 KB long, and one CHANGELOG bullet is stray. I'd also consider a much simpler matcher in a follow-up, since most shell syntax in prose already collapses to a match-everything pattern.

I saw that this merged while I was reading it, so the change in the second paragraph is best done as a follow-up PR against main.

Looked at this from the tests, docs, golden-file and CI side, on the head 4dfefb3 (it was merged as 81b2f30 while I was reading, so these are follow-ups, not merge blockers).

Tests: I ran tests/validators/test_security.py on the head (1297 passed on macOS) and then broke the code one piece at a time to see whether the tests notice. Dropping the extra gate on the 2.13.3 reference caveat fails 56 tests; not marking rejected 2.13.4 caveats incomplete fails 23; dropping the caveat warning fails 9; accepting complete_with_caveats before 2.13.4 fails 1; removing the reference_root == scanned_root rule fails 17; removing the target_root pass-through in validate fails the folder tests for both --workers 1 and 2, and dropping only the --catalog-root argv forwarding fails the --workers 2 ones. The folder tests really run the child argv through the CLI, so the new hidden option is covered.

Docs and golden: tests/golden/cli_surface.json has the hidden --catalog-root entry and matches the generated surface. test_commands lists it as not forwarded from ctx.params, which is right because it is forwarded explicitly. The docs conditions (50,000 entries and 64 levels, single-file root, .git layout, complete_with_caveats handling, 'never accepted from the report alone') match the code. The only drift is in the PR description: it still says 2.13.4 complete_with_caveats is not recognized and that the docs say so.

One real gap: with --llm, the new warning disappears whenever both stages report the same finding, because _deduplicate_skillspector_findings rebuilds the result and clears warnings. Verified with 2.11.2, 2.12.0 and 2.13.4; the pinned 2.13.3 keeps its INFO caveat finding. No current test covers --llm with a finding. Details in the inline comments.

Nit: stray unwrapped CHANGELOG bullet about standalone wildcards. Windows is not exercised by CI for this module.

Comment thread CHANGELOG.md Resolved
Comment thread tests/validators/test_security.py Resolved
@rng1995

rng1995 commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator Author

Post-merge follow-up: #483 addresses the ledger/reference coverage bypass, unknown completeness fields and unmatched scope exclusions, escaped-space matching, rejected-reference guidance, the stray CHANGELOG bullet, and acceptance warnings lost during finding deduplication. It adds real duplicate-finding stage-merge cases and retains the captured 2.11.2–2.13.3 partial and 2.13.4 complete_with_caveats passing controls. Full verification: 1,341 passed, 1 skipped; Ruff and Fern passed; independent source review and 30 regression cases passed. Each inline point has a specific reply linking the fix.

The closed PR's historical description is preserved; this comment and #483 give the concise current scope. I retained the existing bounded matcher rather than replacing its shell grammar in this corrective patch: the reported cases now have focused regressions, while a simpler matcher would change the accepted-report contract and needs a separate design review. #483 records the follow-up's current CI and merge state.

rng1995 added a commit that referenced this pull request Nov 16, 2026
…urate (#564)

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

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]>

* fix(tier1): read no short name in a word part that holds whitespace

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]>

* docs(changelog): wrap the missing-reference entry like the others

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

* fix(tier1): read a word joined at quotes as a shell reads it

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]>

* fix(tier1): keep a stale-baseline error out of a passing --llm-verify 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]>

* fix(tier1): read a label word joined at a quoted space as a shell word

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]>

* fix(tier1): read a $ before whitespace as a literal $

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]>

* fix(tier1): keep why a scan is INCOMPLETE after a policy severity override

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]>

* fix(tier1): keep %02 to %05 from changing how a reference line reads

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]>

* docs(changelog): name the lines the missing-reference check now keeps 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]>

* test(tier1): write private-use characters in the reference tests as escapes

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]>

* fix(tier1): drop the quoted-name reading from the missing-reference check

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]>

* fix(tier1): share one rebuild for --llm-verify downgrades and overrides

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]>

* docs(tier1): list the missing-reference word readings one family a line

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]>

* docs(tier1): split the reference-word bullet into one item per shell 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]>

* refactor(tier1): share the rebuild that keeps errors and warnings no 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]>

* fix(security): decide the quoted-split check once per reference line

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]>

* docs: word the quoted-split rule as the missing-reference check applies 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]>

---------

Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Christopher Kevin <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: Christopher Kevin <[email protected]>
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