Skip to content

Enhancement: lead vg report HTML with a compact summary before long finding tables #235

Description

@vibgrate-team

Context

Large repos produce HTML reports where vulnerability DB / finding tables dominate the first screen. A compact summary (counts by severity, top ecosystems, link anchors into the tables) would make human review faster without changing the machine-readable contracts.

Local-first: HTML is generated from local scan state.

What to do

  1. Add a summary block at the top of vg report HTML (severity counts, optional “fix available” rollup if already computed — see Enhancement: surface “fix available” hints in vg scan / report human output #209).
  2. Keep table content complete below; summary is navigation, not a replacement.
  3. Preserve determinism: same scan input → same HTML structure/order.
  4. Add a small golden/fixture assertion if the report HTML path is tested.

Acceptance

  • HTML opens with a compact summary
  • Full tables remain reachable via anchors or clear sections
  • Deterministic output
  • DCO sign-off

Refs: #209 · #160 (absent scores ≠ 0)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions