Skip to content

feat(report): show the SkillSpector version in the Tier 1 HTML card - #187

Merged
rng1995 merged 1 commit into
mainfrom
naren/tier1-html-skillspector-version
Oct 13, 2026
Merged

rng1995 merged 1 commit into
mainfrom
naren/tier1-html-skillspector-version

Conversation

@rng1995

@rng1995 rng1995 commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Summary

Tier 1 findings depend on the SkillSpector release, but the HTML report did not say which SkillSpector ran the security scan. A reviewer looking at a shared report could not tell which scanner produced the findings without rerunning it. The security validator already stores metadata.skillspector_version on its result, but no reporter rendered it.

  • Tier 1 card: the "Security & Static Validation" card at the top of the HTML report now shows SkillSpector vX.Y.Z after the validator and issue counts. For example: 10/11 validators passed · 12 issue(s) · SkillSpector v2.12.0. The card appears only when Tier 1 ran, and it does not depend on the timestamped Generated: … · SkillEvaluator vX header line, so the version also appears when timestamps are off.
  • Embedded report JSON (what "Export report as JSON" downloads) records the same value as skillspector_versions, a list that is empty when no scan ran.
  • Only bare semantic versions (2.12.0, 2.13.0-rc.1) are shown. Missing, non-string, or other values are dropped rather than echoed. Duplicate versions from several results collapse to one entry.
  • The CLI, JSON, Markdown, and SARIF reporters are unchanged.

Verification

  • I am familiar with the Contributing Guidelines

  • Added or updated focused tests: tests/reporting/test_reporters.py::TestSkillSpectorVersionReporting

    • the version renders inside the Tier 1 card with include_timestamp=False, and a repeated version is deduplicated;
    • None, "", "unknown", "v2.12.0", "2.12.0<script>" and a non-string value render nothing and give skillspector_versions == [].

    Both tests fail on main (7 failures) and pass with this change.

  • Updated documentation for user-visible changes. No docs page describes the Tier 1 card fields; the change is recorded in CHANGELOG.md.

  • Ran make lint

  • Ran make test: 11247 passed, 11 failed. All 11 failures are in test_harbor_runtime_preflight.py, test_harbor_secure_docker_environment.py, test_nvidia_build_bridge.py and test_harbor_runner_status.py (Bedrock/IMDS probes and timing). On this machine those four files also fail on unmodified main (23 failures there), and the failure count changes from run to run. tests/reporting passes in full (247).

  • Ran make build. The wheel includes the updated template.

  • Did not add credentials, private datasets, or proprietary benchmark content

  • Ran skillevaluator validate <skill> --no-llm --no-dedup -r html with SkillSpector 2.12.0 on PATH. The Tier 1 card shows SkillSpector v2.12.0.

Release Impact

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

🤖 Generated with Claude Code

The security validator already keeps metadata.skillspector_version on its
result, but no reporter rendered it, so an HTML report gave no way to tell
which scanner release produced its Tier 1 findings.

The Tier 1 card now shows "SkillSpector vX.Y.Z" next to the validator and
issue counts, and the embedded report JSON records the same value as
skillspector_versions. The card does not depend on the timestamped header
line, so the version also appears when timestamps are off. Values that are
not a bare semantic version are dropped instead of being echoed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
@rng1995
rng1995 merged commit 098f96a into main Oct 13, 2026
17 checks passed
@rng1995
rng1995 deleted the naren/tier1-html-skillspector-version branch October 13, 2026 08:11
rng1995 added a commit that referenced this pull request Oct 14, 2026
Brings in #184, #187 (SkillSpector version in the HTML report), #188
(GPT-6.1 Sol / Claude Opus 5.5 defaults, reasoning effort, structured
output, token sizing, refusal fallback), #191 (multiline catalog
descriptions), #193 (Docker agent bootstrap) and #199 (per-step token
runtime-failure detection). Conflicts:

- .gitleaks.toml: keep every allowlist from both sides (the PR's three
  history allowlists and main's Bedrock model ID allowlist).
- CHANGELOG.md: every entry from both sides under Unreleased, one Added,
  Changed, Fixed and Security heading each; the shared docs entry once.
- deduplication/intra_skill/intra_skill_validator.py: the client keeps the
  PR's LLM_VERIFY_MAX_TOKENS and gains main's medium reasoning effort.
- deduplication/intra_skill/llm_analyzer.py: the PR's bounded prompt and
  verdict parsing, with main's structured-output schema request.
- embedding/registry.py: keep the PR's _embed_texts refactor (main only
  reformatted the old loop); main's multiline-description check merged.
- inference/__init__.py: export both sides' names.
- reporting/html.py: the PR's run-status tables plus main's SkillSpector
  version helper; is_tier2_validator_name stays in run_status.py.
- tier3/eval_core/llm_judge.py: drop _is_native_openai_chat_url (removed
  by main) and _configured_secret_values (moved by the PR).
- tier3/harbor/collector.py: keep the PR's shared-metric pass lift and
  main's judge-model helpers; _compute_lift takes main's per-trial rewards
  and the PR's keyword-only N/A lists, and its overall uses the paired
  scores with the PR's N/A-aware basket check; lift.json keeps the PR's
  _paired_lift.
- tier3/harbor/local_agents.py: the PR's SkillEvaluatorCodex (subagent
  rollouts, setup network errors) now extends main's bootstrap-aware
  installed_agents.SkillEvaluatorCodex; NVIDIA Build Claude Code keeps
  SetupNetworkErrorAgent on main's SkillEvaluatorClaudeCode.
- tier3/harbor/runner.py: imports from both sides; Docker uses main's
  DOCKER_AGENT_IMPORT_PATHS, other Harbor backends the PR's
  HARBOR_AGENT_IMPORT_PATHS; agent kwargs from main's _harbor_agent_kwargs.
- tier3/harbor/templates/eval.py: the PR's skill-metric N/A helpers and
  allow_not_applicable judges, with main's 16,384-token judge ceiling and
  judge_model_used / reasoning effort / fallback provenance.
- utils/tool_runner.py: main's pinned SkillSpector v2.12.0 hint plus the
  PR's scanner hints.
- validators/security.py: imports from both sides.
- tests/inference/test_llm_client.py: keep both sides' tests.
- tests/test_harbor_local_mode.py: main's parametrized Docker route check
  plus the PR's Codex subclass assertion.
- tests/tier3/test_judge_parse_robustness.py: the PR's partial-salvage
  assertions plus main's new provenance and refusal tests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
@rng1995 rng1995 mentioned this pull request Oct 20, 2026
11 tasks done
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
…187)

* feat(report): show the SkillSpector version in the Tier 1 HTML card

Signed-off-by: Narendran Raghavan <[email protected]>
chrisknvidia pushed a commit that referenced this pull request Oct 30, 2026
Brings in #184, #187 (SkillSpector version in the HTML report), #188
(GPT-6.1 Sol / Claude Opus 5.5 defaults, reasoning effort, structured
output, token sizing, refusal fallback), #191 (multiline catalog
descriptions), #193 (Docker agent bootstrap) and #199 (per-step token
runtime-failure detection). Conflicts:

- .gitleaks.toml: keep every allowlist from both sides (the PR's three
  history allowlists and main's Bedrock model ID allowlist).
- CHANGELOG.md: every entry from both sides under Unreleased, one Added,
  Changed, Fixed and Security heading each; the shared docs entry once.
- deduplication/intra_skill/intra_skill_validator.py: the client keeps the
  PR's LLM_VERIFY_MAX_TOKENS and gains main's medium reasoning effort.
- deduplication/intra_skill/llm_analyzer.py: the PR's bounded prompt and
  verdict parsing, with main's structured-output schema request.
- embedding/registry.py: keep the PR's _embed_texts refactor (main only
  reformatted the old loop); main's multiline-description check merged.
- inference/__init__.py: export both sides' names.
- reporting/html.py: the PR's run-status tables plus main's SkillSpector
  version helper; is_tier2_validator_name stays in run_status.py.
- tier3/eval_core/llm_judge.py: drop _is_native_openai_chat_url (removed
  by main) and _configured_secret_values (moved by the PR).
- tier3/harbor/collector.py: keep the PR's shared-metric pass lift and
  main's judge-model helpers; _compute_lift takes main's per-trial rewards
  and the PR's keyword-only N/A lists, and its overall uses the paired
  scores with the PR's N/A-aware basket check; lift.json keeps the PR's
  _paired_lift.
- tier3/harbor/local_agents.py: the PR's SkillEvaluatorCodex (subagent
  rollouts, setup network errors) now extends main's bootstrap-aware
  installed_agents.SkillEvaluatorCodex; NVIDIA Build Claude Code keeps
  SetupNetworkErrorAgent on main's SkillEvaluatorClaudeCode.
- tier3/harbor/runner.py: imports from both sides; Docker uses main's
  DOCKER_AGENT_IMPORT_PATHS, other Harbor backends the PR's
  HARBOR_AGENT_IMPORT_PATHS; agent kwargs from main's _harbor_agent_kwargs.
- tier3/harbor/templates/eval.py: the PR's skill-metric N/A helpers and
  allow_not_applicable judges, with main's 16,384-token judge ceiling and
  judge_model_used / reasoning effort / fallback provenance.
- utils/tool_runner.py: main's pinned SkillSpector v2.12.0 hint plus the
  PR's scanner hints.
- validators/security.py: imports from both sides.
- tests/inference/test_llm_client.py: keep both sides' tests.
- tests/test_harbor_local_mode.py: main's parametrized Docker route check
  plus the PR's Codex subclass assertion.
- tests/tier3/test_judge_parse_robustness.py: the PR's partial-salvage
  assertions plus main's new provenance and refusal tests.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[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.

1 participant