Skip to content

feat(rules): the report records, per rule, whether it ran and what it covered (#1741 part 2) #1747

Description

@nc9

Part 2 of #1741 (part 1 declares each rule's check names and outcome classes). Depends on #1741.

The JSON report says which rules produced findings, and notChecked says which checks were skipped, but there is no positive per-rule statement. A consumer comparing two audits cannot tell "ran over the whole site and found nothing" from "did not run".

The report should record, per rule, whether it ran, was skipped or timed out, and the scope it covered (pages examined, origin), in a form a comparison and the cloud can rely on. Existing fields stay as they are; this is additive and bumps the JSON report schema version.

Acceptance Criteria

  • The JSON report carries, for every rule in the run, a status of ran, skipped or timed_out, and the scope it covered (page count for page rules, origin for site rules).
  • A rule that ran and found nothing is reported as ran with its clean check, not left out.
  • Existing report fields are unchanged; the schema version is bumped and the CHANGELOG says so.
  • The JSON report format documentation describes the per-rule status and how to decide "fixed" from two reports using it and the check linkage from feat(rules): a rule's passing and failing checks are linked, so a consumer can tell when a reported finding has been fixed #1741.
  • The rule docs pages list each rule's check names by outcome class, generated from the rule metadata, and make validate in docs/ passes.
  • A test builds a report from a fixture crawl and asserts the status and scope for a ran rule, a skipped rule and a timed-out rule.

Activity

  1. added
    enhancement
    size: M
    rules
    on Nov 11, 2026
  2. added theissue type on Nov 11, 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

    enhancementrulessize: M

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions