Skip to content

report: section header counts disagree with the breakdown (findings vs checks) #2212

Closed

Description

@nc9

Follow-up from #2086 (graded 2026-11-21 against main f50d1ad, auditing https://nutshop.squirrelscan.com with --max-pages 30).

The console report counts in two different units without saying which is which. Section headers count grouped findings (packages/report/src/grouping.ts groupIssuesByCategory), while the Group / Category Breakdown and the Total count checks. So the same category shows two different numbers:

  • Agent Experience: the group shows 24 warnings, the section header says "27 warnings"
  • Performance: the group shows 32 warnings, the section header says "33 warnings"
  • Security: the group shows 2 warnings, the section header says "2 errors, 3 warnings"

Acceptance Criteria

  • For every category in a console report, the section header count and the breakdown count either match, or each number is labelled with its unit ("findings" or "checks") the same way everywhere
  • On the nutshop audit above, the Agent Experience, Performance and Security numbers no longer contradict each other without a label
  • A test covers a category where the findings count and the checks count differ, and asserts what the header and the breakdown print

nik

Activity

  1. added
    bug
    size: S
    on Nov 21, 2026
  2. added theissue type on Nov 21, 2026
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

    bugclisize: S

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions