Skip to content

Define a useful finding and report format #2

Open

Description

@Muawiya-contact

Why

A warning is only useful if a maintainer can see what changed and which documentation to review. We need a small, stable shape for that information before implementing checks.

Scope

Design one finding object and a report wrapper for the first local check. Include a rule identifier, a clear message, source reference, documentation reference when known, and a way to distinguish a possible drift finding from an analysis error. Decide whether severity is useful for v1 and, if so, define a small set of values. Show a realistic JSON example and a readable terminal presentation.

Acceptance criteria

  • The format is documented with required and optional fields.
  • Examples cover a finding, no findings, and an input error.
  • File paths and line references have unambiguous meanings.
  • The format does not claim certainty about documentation correctness.

Testing

Validate the JSON examples with a parser and review the terminal example for readability.

Sequencing

Follow the agreed scope so the format fits the first check. A public API or compatibility guarantee is out of scope.

Activity

  1. added
    enhancement
    architecture
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

architectureenhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions