Skip to content

fix(reporting): tell incomplete scans apart from scanners that did not run - #850

Merged
rng1995 merged 12 commits into
mainfrom
naren/reporting-incomplete-scans
Nov 23, 2026
Merged

rng1995 merged 12 commits into
mainfrom
naren/reporting-incomplete-scans

Conversation

@rng1995

@rng1995 rng1995 commented Nov 21, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

When a Tier 1 scanner runs but does not produce complete evidence (for example SkillSpector reports partial analysis, unresolved references or malformed accounting), the console described it as if the scanner was never installed: "didn't run", "skillspector not installed", and advice to install it or --skip the check. That hides the real diagnostic and sends users to the wrong fix.

This PR keeps the two cases apart in the scanners row, the fix items and a single check's verdict headline, for every content type, including skills. The Tier 1 summary count and the verdict headline for several checks now say incomplete for both cases, which matches the verdict box's existing N incomplete count:

  • The Tier 1 summary line counts checks without complete evidence as N incomplete instead of N didn't run, including a scanner that is not installed. The scanners row and the fix items still name the setup problem.
  • The scanners row shows <version>, scan incomplete (or incomplete when no version was recorded) for a scanner that ran partially or whose input was rejected before it ran. It shows didn't run for a scanner only when the result carries an explicit setup diagnostic for that scan (<scanner> not installed, <scanner> [binary ]not found in PATH, or couldn't download/set up <scanner>, at the start of the message after any [label] prefixes and an optional file label such as pyproject.toml: ); an LLM stage that did not run after the scanner itself ran still reads <version>, LLM didn't run. The row keeps every member's state, so a completed member cannot hide an incomplete one, and it uses the SkillSpector runtime version when the recorded version is unknown.
  • Partial analyses, and scans whose input was rejected before they ran (for example an invalid --skillspector-baseline file), get their own fix item, <check> incomplete: <diagnostics>, which quotes the gate failures or independent errors and warnings and asks the user to resolve them and rerun. The item quotes at most three distinct diagnostics, each flattened to one line of at most 300 characters, and ends with and N more when there are others, because some checks report one diagnostic per scanned item (the dependency audit warns once per requirement line that is not an exact pin); the detailed reports keep every diagnostic. Missing installations keep the existing setup, network and --skip advice. When one scanner in a check ran and another is not installed, the analysis diagnostics get the incomplete item and the missing scanner gets the setup item. The setup item's subject names checks, with didn't run for a check none of whose scanners ran and incomplete for the others, for example security didn't run, code incomplete: skillspector, bandit not installed. Setup advice now reads only diagnostics that no structured finding repeats, so an advisory finding about a missing package can no longer be read as a scanner installation error.
  • The quiet-mode verdict headline uses the run's presentation statuses, the same ones the summary row and verdict box use, so a blocking finding outranks an incomplete scan. It reads <check> was incomplete or <check> failed for one check (didn't run only when setup issues stopped every scanner in the check; with Semgrep recorded and Bandit not installed, Code Risk Analysis reads was incomplete, where main reads didn't run), and Tier 1: 1 failed, 1 incomplete for several, including missing installations (Tier 1: 2 didn't run becomes Tier 1: 2 incomplete). A check with a blocking finding and an incomplete scan now reads failed: Code Risk Analysis was incomplete in Tier 1 becomes Code Risk Analysis failed in Tier 1, and with a missing SkillSpector beside it, Tier 1: 2 didn't run becomes Tier 1: 1 failed, 1 incomplete. On main the summary row and verdict box already counted that check as failed.
  • The same headline rule applies to Tier 2 and Tier 3. Tier 2 blocks by default when it runs, so an incomplete Tier 2 check (for example an embedding provider error or an LLM analysis that could not start) reads Context Deduplication was incomplete in Tier 2 instead of Context Deduplication didn't run in Tier 2, and two of them read Tier 2: 2 incomplete instead of Tier 2: 2 didn't run. Under --block-on-agent-eval, an inconclusive agent-eval result now reads AGENT_EVAL was incomplete in Tier 3 instead of AGENT_EVAL failed in Tier 3, and a run that the Tier 3 run budget left incomplete reads AGENT_EVAL was incomplete in Tier 3 (or AGENT_EVAL failed in Tier 3 with a fail verdict) instead of AGENT_EVAL didn't run in Tier 3.
  • A check recorded as not applicable through its execution status is listed under n/a, with its success detail as the reason. The row names a check by its ticker key only when no other member of that check ran; otherwise it uses the validator's short name, so it never names a check that the ticker shows as run.
  • Harness Compatibility records a harness_profile_evaluation success detail with the harnesses, profiles, skills and evaluations it completed. A harness run with no findings therefore counts as executed Tier 1 evidence for publication: the publication reason Tier 1 lacks trustworthy execution evidence. no longer appears, and BENCHMARK.md's Tier 1 row no longer blames Harness Compatibility. Publication still needs every other required check and the Tier 2 and Tier 3 evidence, so a Tier 1-only run stays incomplete. A run that finds no skills or no profiles still records no evidence. With the default harness selection (all packaged profiles), the Copilot CLI and OpenCode profiles add a reload note to every skill, so a run has no harness findings only when --harness leaves out both of them (for example --harness claude-code, or --harness codex,claude-code as in the option's help) and the skill triggers no other harness note.

The last two items also change what ordinary, clean runs look like, not only runs with incomplete scans:

  • New n/a row for most targets. A check whose only success details are typed not-applicable evidence is now listed under n/a. That evidence is No code files found, No scripts/ or tools/ directory found, No dependency files found, or the version check's No semantic version label present. A skill with no code files and no scripts/ or tools/ directory gets n/a code, lint in a default run, and n/a code, dependency, lint when --checks adds dependency. Code Risk Analysis appears as code (its short name, as in the fix items) because Code Integrity & Hygiene, another member of code-integrity, ran and shows ✓ code-integrity in the ticker; when no other member of code-integrity runs, the row reads code-integrity. A skill without a metadata.version label also gets version on the row, and its reason (No semantic version label present; resource will use commit-hash history) is the one shown, because version comes first. Any other target that Code Risk Analysis scans as a single folder and finds no code files in gets n/a code too (and dependency when that check runs and finds no dependency files), for example rules and workflows targets; a target that contains skills records the skills it analyzed and gets no new row (a folder of skills that is checked skill by skill follows the skill rule above in each skill's panel). An unknown-type target's existing n/a schema, version, quality row gains code while keeping its reason. On main the default console counted these checks only in the final verdict's N/A total.
  • The row shows only the first N/A check's reason, so lint sits under Code Risk Analysis's No code files found - code risk analysis is not applicable. Skip-based n/a rows on main already work this way.
  • In the ticker, a check whose results are all N/A loses its ✓ (for example lint instead of ✓ lint). code-integrity keeps its ✓ when Code Integrity & Hygiene ran, and the n/a row then lists Code Risk Analysis as code, so the same check key never reads as both passed and not applicable.
  • One more Harness Compatibility sub-check. Every run whose harness check evaluates at least one skill counts one more Tier 1 sub-check: for example 2/2 checks passed (7 sub-checks) becomes (8 sub-checks), and a harness-only run's 1/1 checks passed becomes 1/1 checks passed (1 sub-check). A count of one now reads sub-check, and any other count keeps sub-checks. A run where it finds no skill, such as an unknown-type target, is unchanged.
  • When recorded, the harness success detail appears in every report format except SARIF. The detail reads harness_profile_evaluation: Completed N harness profile evaluation(s) across M skill(s).
    • In the -r cli table, the Harness Compatibility row reads PASS 1 checks passed instead of PASS OK. When the check has findings, its section in the findings list also gains Checks performed: 1 and a Details: line with the detail (with no findings, that section is not printed on either side).
    • The JSON result gains the success detail and a matching legacy.messages line ([OK] harness_profile_evaluation: ...), and checks_performed goes from 0 to 1.
    • In the HTML report, the harness card shows the detail instead of All checks passed. The harness row's checks column in the results table goes from 0 to 1. The expanded Harness Compatibility section now shows 1 checks performed, a warnings count when the check has advisory findings (for example 3 warnings), and the detail with its metadata (harnesses, profiles, skills and evaluations).
    • The Markdown report's harness section shows - [OK] **harness_profile_evaluation**: Completed N harness profile evaluation(s) across M skill(s). instead of - All checks passed.
    • The JUnit report gains one passing harness_profile_evaluation testcase, with the detail as its system-out. When the check also has findings, the Harness Compatibility suite's tests count and the total tests count each rise by one. When it has none (for example --harness claude-code on a clean skill), the new testcase replaces the existing Harness Compatibility placeholder testcase (passed), and both counts stay the same.
    • When the check has no findings, the publication reasons also change: publication.reasons in the JSON report, the HTML report's eligibility reasons list and its embedded report data, and BENCHMARK.md's Blocking: lines all lose Tier 1 lacks trustworthy execution evidence., and BENCHMARK.md's Tier 1 row no longer reads Missing trustworthy execution evidence from Harness Compatibility (it shows the next reason, for example the required Tier 1 checks that did not run). publication.status stays incomplete in a Tier 1-only run.
    • SARIF is unchanged apart from its run timestamp. BENCHMARK.md is unchanged when the check has findings.

Changes

  • src/skillevaluator/reporting/console_ui.py: _scanners_row aggregates versions and per-scanner states; _is_not_applicable reads the execution status; new _scanner_setup_diagnostics (attributes each setup diagnostic to the scan it prevented), _scanner_setup_issue, _analysis_diagnostics (the diagnostics that are not setup diagnostics) and _incomplete_fix (which quotes at most three bounded diagnostics and counts the rest); _setup_fix reads only the setup diagnostics attributed to each scan and names each check with its state; a check with mixed scanner outcomes gets both an incomplete item and a setup item; the summary count says incomplete and uses sub-check for a count of one; the n/a reason prefers the success detail, and the n/a row uses a check key only when no other member of that check ran.
  • src/skillevaluator/cli.py: only _finish_pipeline_view, which now picks the headline state from context.result_statuses and _scanner_setup_issue, and counts several incomplete checks as N incomplete.
  • src/skillevaluator/validators/harness.py: the harness_profile_evaluation success detail.
  • tests/reporting/test_incomplete_scanner_console.py (new) and tests/harness/test_execution_evidence.py (new). They pin the headline for a missing installation, an inconclusive or run-budget-limited Tier 3 result and an incomplete Tier 2 check, the bounded incomplete-scan fix item (test_incomplete_fix_counts_diagnostics_with_a_common_truncated_prefix), mixed scanner outcomes in one check (test_partial_and_missing_scanners_in_the_same_check_keep_separate_recoveries, test_setup_item_names_each_check_with_its_own_state), setup diagnostics after repeated or file labels (test_scanner_setup_diagnostics_after_repeated_labels, test_missing_dependency_auditor_after_a_file_label_reads_as_setup), the execution-status n/a row with its reason and ticker, and the harness-only (1 sub-check) summary.
  • tests/reporting/test_tier3_validate_cases.py and tests/test_skip_checks.py: expectations updated for the incomplete wording, plus the bad-baseline and missing-install cases.
  • docs/harness-check.mdx: the harness-only Inside validate example shows 1/1 checks passed (1 sub-check).
  • CHANGELOG.md: one Unreleased / Fixed entry and four Unreleased / Changed entries.

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests
  • Updated documentation for user-visible changes (the harness-only validate --tiers 1 --checks harness example in docs/harness-check.mdx now shows 1/1 checks passed (1 sub-check))
  • Ran make lint (ran ruff check on the changed Python files instead: all checks passed)
  • Ran make test (ran the targeted modules below instead)
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

Tests run locally with Python 3.12 and pytest -n 3:

  • The PR's own test files (tests/reporting/test_incomplete_scanner_console.py, tests/reporting/test_tier3_validate_cases.py, tests/test_skip_checks.py, tests/harness/test_execution_evidence.py): 86 passed.
  • A subset of the modules covering the changed source (tests/reporting, tests/harness, tests/cli, tests/golden, tests/test_cli*.py, tests/test_skip_checks.py, tests/test_commands.py, tests/test_artifact_applicability.py, tests/test_quality_policy_gate.py, tests/test_metrics_reference_docs.py, tests/validators/test_skillspector_hook_surface.py, tests/validators/test_skillspector_scope.py): 4239 passed, 91 skipped, 0 failed. This includes the unchanged CLI surface golden test.
  • Every test module that reads CHANGELOG.md, directly or through tests/changelog_entries.py or tests/tier3/private_loose_fixtures.py (15 modules: tests/ci/test_image_build.py, tests/reporting/test_tier3_completed_agent_docs.py, tests/reporting/test_tier3_incomplete_arms.py, tests/reporting/test_tier3_token_usage_reports.py, tests/test_ci_change_classifier.py, tests/test_harbor_claude_refusal_fallback.py, tests/test_oss_packaging.py, tests/test_select_docs_tests.py, tests/test_tier3_progress.py, tests/tier3/test_baseline_timeouts.py, tests/tier3/test_dataset_baseline_fairness.py, tests/tier3/test_private_loose_source.py, tests/test_harbor_scaffold_transactions.py, tests/tier3/test_private_comparison_staging.py, tests/tier3/test_private_loose_dependency_review.py), run together with tests/test_precommit.py, tests/test_benchmark_rollout_docs.py, tests/ci/test_all_tier_workflows.py, tests/ci/test_benchmark_publish.py, tests/validators/test_dependency_advisory_findings.py and tests/validators/test_hygiene.py: 1480 passed, 1 skipped.
  • The two new test files against unchanged main: 31 of 40 fail, which confirms they cover the new behavior. The 9 that pass pin behavior main already has, such as Security Scan didn't run in Tier 1 for a missing installation.

Compared with main in the same venv, without installing any scanner:

  • run_validation with every default check except security (to avoid setting up SkillSpector) and --skip secrets, on a minimal skill with metadata.version and no code or scripts/: main shows no n/a row, ✓ lint and (17 sub-checks). This branch shows n/a code, lint, the reason No code files found - code risk analysis is not applicable, lint without ✓, ✓ code-integrity, and (18 sub-checks).
  • The same run on a skill without a metadata.version label: this branch shows n/a version, code, lint with the version check's reason, and version loses its ✓.
  • --checks schema,code-integrity,lint,dependency,harness with --skip secrets on a skill with no dependency files: this branch shows n/a code, dependency, lint, and dependency and lint lose their ✓ (main: no n/a row, ✓ dependency · ✓ lint).
  • skillevaluator validate <skill> --tiers 1 --checks harness,schema -r cli,json,html, with the default harness selection, so the harness check has findings: the console summary goes from 7 to 8 sub-checks, and the -r cli and JSON output change as described above. The HTML harness card shows the success detail instead of All checks passed, and BENCHMARK.md is identical.
  • skillevaluator validate <skill> --tiers 1 --checks schema,harness -r markdown,junit,sarif,html on the same skill:
    • Markdown: the harness section's - All checks passed becomes - [OK] **harness_profile_evaluation**: Completed 6 harness profile evaluation(s) across 1 skill(s).
    • JUnit: the total goes from tests="16" to tests="17", the my-skill::Harness Compatibility suite from tests="3" to tests="4", and a passing harness_profile_evaluation testcase appears with that message as system-out.
    • HTML: besides the card text, the results table's checks column for the harness row goes from 0 to 1. The expanded harness section now shows 1 checks performed, 3 warnings (the skill has three harness notes) and the detail with its metadata.
    • SARIF differs only in endTimeUtc, and BENCHMARK.md is identical.
  • skillevaluator validate <clean skill> --tiers 1 --checks schema,harness --harness claude-code -r markdown,junit,sarif,json,html, where the harness check records no findings:
    • JUnit: the total stays tests="12" and the clean::Harness Compatibility suite stays tests="1" on both. The suite's only testcase changes from Harness Compatibility (system-out passed) to harness_profile_evaluation (Completed 1 harness profile evaluation(s) across 1 skill(s).).
    • JSON: besides the harness result's success detail, legacy.messages line and checks_performed (0 to 1), publication.reasons goes from 4 entries to 3 by losing Tier 1 lacks trustworthy execution evidence., and publication.status stays incomplete. The HTML eligibility reasons and embedded report data lose the same reason.
    • BENCHMARK.md drops - Blocking: Tier 1 lacks trustworthy execution evidence., and its Tier 1 row goes from **INCOMPLETE** | Missing trustworthy execution evidence from Harness Compatibility to **INCOMPLETE** | Required Tier 1 checks did not run: code-integrity, license, lint, pii, quality, security, unicode, version.
    • Markdown changes only in the harness section, SARIF is identical apart from timestamps, and the console changes only in the sub-check count (10 to 11). With -r cli, the table row also goes from OK to 1 checks passed, and no harness section is printed on either side.
    • --harness codex,claude-code on the same skill gives the same JUnit counts, testcase swap and BENCHMARK.md change.
  • skillevaluator validate <skill> --tiers 1 --checks harness, the harness-only example in docs/harness-check.mdx, on a clean skill and on a skill whose harness results resemble the doc's (4 not loaded, 1 degraded): the only console change is the Tier 1 summary, from 1/1 checks passed to 1/1 checks passed (1 sub-check). The rest of the panel and the verdict box, including Publication eligibility: Incomplete, match main.
  • _finish_pipeline_view with an inconclusive Tier 3 AGENT_EVAL result: main reads AGENT_EVAL failed in Tier 3, and this branch reads AGENT_EVAL was incomplete in Tier 3.
  • _finish_pipeline_view with other blocking results:
    • A Tier 3 AGENT_EVAL result with the Tier 3 run budget scan incomplete: main reads AGENT_EVAL didn't run in Tier 3 for an inconclusive, fail or missing verdict. This branch reads AGENT_EVAL was incomplete in Tier 3, or AGENT_EVAL failed in Tier 3 for the fail verdict.
    • A Tier 2 Context Deduplication result with embedding-provider or deduplication-llm incomplete: Context Deduplication didn't run in Tier 2 becomes Context Deduplication was incomplete in Tier 2, and two such results go from Tier 2: 2 didn't run to Tier 2: 2 incomplete.
    • A Tier 1 Security Scan result with a HIGH finding and an incomplete skillspector or skillspector-llm scan: Security Scan was incomplete in Tier 1 becomes Security Scan failed in Tier 1.
  • Missing scanners, with SKILLEVALUATOR_SKILLSPECTOR_PATH (and, in the second run, SKILLEVALUATOR_BANDIT_PATH) pointing at a path that does not exist:
    • skillevaluator validate <skill> --tiers 1 --checks schema,security,harness: the summary goes from 2/3 checks passed (8 sub-checks) · 1 didn't run · 1 warning to 2/3 checks passed (9 sub-checks) · 1 incomplete · 1 warning. The scanners row SkillSpector didn't run, the fix security didn't run: skillspector not installed and the headline Security Scan didn't run in Tier 1 match main. The JSON report differs only in the harness result's success detail, its legacy.messages line and its checks_performed (apart from policy.source, which names each checkout's install path).
    • skillevaluator validate <skill> --tiers 1 --checks schema,security,code-integrity,harness --skip secrets on a skill with one Python script: the summary goes from 2 didn't run to 2 incomplete, and the headline from Incomplete: Tier 1: 2 didn't run to Incomplete: Tier 1: 2 incomplete. The scanners row's SkillSpector didn't run · Bandit didn't run and the fix security, code didn't run: skillspector, bandit not installed match main. The verdict box's 0 failed, 2 incomplete line is the same on both.
  • A skill with a subprocess call using shell=True (Bandit B602, HIGH) and a Python file with a syntax error, which Bandit reports as an error and so marks the scan incomplete. SkillSpector and Semgrep paths point at paths that do not exist, and Bandit 1.9.4 is installed locally:
    • skillevaluator validate <skill> --tiers 1 --checks schema,code-integrity --skip secrets: the headline goes from Changes required: Code Risk Analysis was incomplete in Tier 1 to Changes required: Code Risk Analysis failed in Tier 1. The scanners row Bandit 1.9.4, scan incomplete, the summary's 1 failed and the verdict box's 1 failed, 0 incomplete are the same on both.
    • skillevaluator validate <skill> --tiers 1 --checks schema,security,code-integrity --skip secrets: the summary goes from 1 failed · 1 didn't run to 1 failed · 1 incomplete, and the headline from Changes required: Tier 1: 2 didn't run to Changes required: Tier 1: 1 failed, 1 incomplete. The verdict box's 1 failed, 1 incomplete line is the same on both.
  • Targets other than skills, with the same scanner paths:
    • skillevaluator validate <folder with one .mdc rule> --tiers 1 --checks schema,pii,license,code-integrity,unicode --skip secrets, and the same run on a folder holding workflow-rules.mdc: each gains exactly two lines, n/a code and No code files found - code risk analysis is not applicable. The ticker still shows ✓ code-integrity. With the default checks and --skip secrets, both show the same n/a row, plus the missing-SkillSpector change (1 didn't run to 1 incomplete, and the headline Tier 1: 1 failed, 1 didn't run to Tier 1: 1 failed, 1 incomplete).
    • skillevaluator validate <folder with only a README> --tiers 1 --checks schema,version,pii,license,code-integrity,unicode,quality --skip secrets (detected as unknown): n/a schema, version, quality becomes n/a schema, version, quality, code, and the reason line is unchanged.
    • The same README-only folder with the default checks and --skip secrets: the ticker shows ✓ harness and the summary keeps 6/7 checks passed (9 sub-checks) on both, because the harness check finds no skill. Besides the n/a change above, only 1 didn't run changes, to 1 incomplete.
    • skillevaluator validate <target with a manifest and only Markdown command and agent files, no skills and no code> --tiers 1 --skip secrets: it gains n/a code and No code files found - code risk analysis is not applicable, beside the missing-SkillSpector change (1 didn't run to 1 incomplete). With --checks schema,pii,license,code-integrity,unicode, those two lines are the only change. With --checks schema,code-integrity,dependency, it gains n/a code, dependency with the same reason, and the ticker's ✓ dependency becomes dependency.
    • A target with a manifest and only an MCP server configuration, default checks: the same two n/a lines and the same 1 incomplete change. A target with a manifest and one skill inside: no n/a change, because Code Risk Analysis records the skill it analyzed; only 1 didn't run changes, to 1 incomplete.
    • For the README-only default run and the five manifest runs above, the JSON and HTML reports match main apart from policy.source.
  • A folder holding two skills, which is checked skill by skill, with the default checks and --skip secrets: each skill's panel gains n/a code, lint, lint loses its ✓, and the summary goes from 8/9 checks passed (19 sub-checks) · 1 didn't run to 8/9 checks passed (20 sub-checks) · 1 incomplete. The single-check headline Incomplete: Security Scan didn't run in Tier 1 is the same on both. When the folder is named team-skills, each skill also fails the schema check's team-skills layout rule; then the summary goes from 7/9 checks passed (19 sub-checks) · 1 failed · 1 didn't run to (20 sub-checks) · 1 failed · 1 incomplete, and the headline from Changes required: Tier 1: 1 failed, 1 didn't run to Changes required: Tier 1: 1 failed, 1 incomplete.
  • An invalid SkillSpector baseline: skillevaluator validate <skill> --tiers 1 --checks schema,security --skillspector-baseline bad.yaml, where bad.yaml holds the single rule id: "*", with SKILLEVALUATOR_SKILLSPECTOR_PATH pointing at a local SkillSpector install, which never runs because the baseline is rejected first. main shows SkillSpector didn't run, 1 didn't run, the fix security didn't run: skillspector not installed with → or skip it: --skip security, and the headline Incomplete: Security Scan didn't run in Tier 1. This branch shows SkillSpector incomplete, 1 incomplete, the fix security incomplete: SkillSpector baseline rule 0 in bad.yaml must set an id glob ...; security scan did not run with → resolve the reported scanner or input issues, then rerun, and the headline Incomplete: Security Scan was incomplete in Tier 1. Both exit 1, and the JSON and HTML reports match apart from policy.source.

Mutation checks on a copy of this branch: reverting _is_not_applicable to main's body, or the n/a reason to get_skip_reason, fails test_not_applicable_row_never_names_a_check_the_ticker_shows_as_run. Replacing the single-check headline state with was incomplete fails its missing-installation case, and adding and only.is_incomplete to the condition above it fails its inconclusive Tier 3 case.

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

User-visible, including on clean runs:

  • A scanner that ran partially, or whose input was rejected before it ran (such as an invalid --skillspector-baseline file), now reads incomplete instead of didn't run, and its own diagnostics replace the install or --skip advice (at most three, each on one bounded line, followed by and N more when there are others).
  • A scanner that is not installed changes in two places. The Tier 1 summary line counts it as 1 incomplete (was 1 didn't run). When several checks are incomplete, the quiet verdict headline reads Tier 1: 2 incomplete (was Tier 1: 2 didn't run). The scanners row (SkillSpector didn't run), the setup fix item and a single check's headline (Security Scan didn't run in Tier 1) still say didn't run.
  • Skills without code files, without a scripts/ or tools/ directory, or without a metadata.version label now list those checks (Code Risk Analysis, lint, version, and dependency when it runs) under n/a in the Tier 1 panel, with the first N/A check's reason. Any other target that Code Risk Analysis scans as a single folder and finds no code files in lists Code Risk Analysis under n/a too (and dependency when that check runs and finds no dependency files), for example rules and workflows targets; a target that contains skills records the skills it analyzed and gets no new row. An unknown-type target's existing n/a schema, version, quality row gains code and keeps its reason. Code Risk Analysis reads code on the row when Code Integrity & Hygiene ran, as in a default run, and code-integrity only when no other member of that check ran, so the row never names a check key that the ticker shows as run. Those checks show without a ✓ in the ticker unless another member of the check ran.
  • When the harness check evaluates at least one skill, Harness Compatibility adds one Tier 1 sub-check to the console summary (a harness-only run reads 1/1 checks passed (1 sub-check), since a count of one is now singular) and adds a harness_profile_evaluation success detail to the -r cli, JSON, HTML, Markdown and JUnit reports; in JUnit that is one more passing testcase, or a replacement for the Harness Compatibility placeholder testcase when the check has no findings. When the check has no findings, the JSON and HTML publication reasons and BENCHMARK.md also lose Tier 1 lacks trustworthy execution evidence., and BENCHMARK.md's Tier 1 row stops blaming Harness Compatibility. SARIF is unchanged, and so is BENCHMARK.md when the check has findings.
  • Under --block-on-agent-eval, an inconclusive Tier 3 result's headline reads was incomplete instead of failed.
  • The quiet verdict headline now matches the summary row and verdict box: a check with a blocking finding and an incomplete scan reads failed (was was incomplete, or counted as didn't run among several). Incomplete Tier 2 checks, and Tier 3 runs that the run budget left incomplete, read was incomplete / N incomplete (was didn't run); a budget-limited Tier 3 run with a fail verdict reads failed.

Documentation: the Inside validate tab of docs/harness-check.mdx now shows summary 1/1 checks passed (1 sub-check) for skillevaluator validate ./my-skill --tiers 1 --checks harness, which is what this branch prints. I searched the rest of docs/ and README.md for the Tier 1 panel rows (including n/a), sub-check counts, quiet verdict headlines, All checks passed, checks_performed, JUnit counts, the trustworthy execution evidence publication reasons and the didn't run wording, and found no other example of output that this PR changes. (docs/tier1-reference.mdx quotes Security Scan didn't run only as what earlier releases printed, which stays true.)

CHANGELOG.md has an Unreleased / Fixed entry for the partial-scanner change and Unreleased / Changed entries for the summary and headline wording, the n/a row and ticker, the harness success detail, and the publication reasons.

🤖 Generated with Claude Code

…t run

A scanner that ran but produced incomplete evidence is now reported as
incomplete, with its own diagnostic and recorded version, instead of as a
missing installation with install or --skip advice. The scanners row, the
setup fix and a single check's verdict headline keep "didn't run" for
explicit setup diagnostics. The Tier 1 summary count and the verdict
headline for several checks say "incomplete" for both cases, matching the
verdict box's incomplete count. The quiet-mode verdict uses the run's
presentation statuses, so a blocking finding outranks an incomplete scan.

Harness Compatibility records the profile evaluations it completed as a
success detail. That detail counts as execution evidence, so a harness
check with no findings no longer adds the publication reason "Tier 1
lacks trustworthy execution evidence."

Clean runs change too: checks whose only evidence is not applicable (no
code files, no scripts/ or tools/ directory, no dependency files, no
version label) are listed on the Tier 1 n/a row, and the harness check
counts one more sub-check when it evaluates a skill.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

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

Thanks @rng1995 for this contribution. Telling partial scans apart from missing installations is a clear improvement. However, the new incomplete-scan fix item has no length cap, a new n/a row can contradict the check ticker, and there are gaps in tests, the CHANGELOG and one documented example. Findings: 1 P2, 4 P3.

Comment thread src/skillevaluator/cli.py Resolved
Comment thread CHANGELOG.md Resolved
…w consistent

Quote at most three incomplete-scan diagnostics in the console fix item,
each flattened to one bounded line, and count the rest. Name a check
key on the n/a row only when no other member of that check ran, and
read a single sub-check as "1 sub-check".

Pin the verdict headline for a missing installation, Tier 3
inconclusive and run-budget results and incomplete Tier 2 checks, and
the execution-status n/a row. Update the harness doc example and add
CHANGELOG entries for the wording, n/a row, harness detail and
publication reason changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
…cking

Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

@chrisknvidia chrisknvidia left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The two follow-ups resolve both earlier threads: I reran the mixed Bandit/Semgrep case and the long optional-dependency case and both now render as described in the threads, and the label parser in 2b33741 gives the same result as the regex on every label shape I tried. One regression from the per-scan attribution: a missing pip-audit on a pyproject.toml skill is no longer reported as a setup problem (details inline). The branch also conflicts with main in summarize_tier1 since #826 landed, so none of the checks have run on 2b33741; it needs a merge or rebase before CI can report.

…up diagnostics

The setup fix item now names each check with its own state, so a check
whose other scanners ran reads `incomplete` beside a check that
`didn't run`, and the missing scanners follow the colon. Setup
diagnostics after a file label such as `pyproject.toml: ` are attributed
to the scan they prevented, so a missing dependency auditor reads as a
setup problem again. The CHANGELOG entries describe the mixed-outcome
headline and setup item.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>

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

Thanks @rng1995 for this contribution. The mixed-outcome and label-parsing fixes work as intended, but the new setup-item subject and some of the user-facing text have not caught up with them. Findings: 3 P3.

Comment thread CHANGELOG.md Resolved
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
@rng1995
rng1995 enabled auto-merge (squash) November 23, 2026 06:44
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
Signed-off-by: Narendran Raghavan <nraghavan@nvidia.com>
@rng1995
rng1995 merged commit 7c34c29 into main Nov 23, 2026
25 checks passed
@rng1995
rng1995 deleted the naren/reporting-incomplete-scans branch November 23, 2026 07:28
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.

3 participants