Skip to content

Preserve measured resource limits in public completeness diagnostics #993

Closed

Description

@yashrajp22

Resource-budget producers already attach measured values to inspection ledger events, including observed/limit characters, bytes, records, artifacts, depth, findings and seconds. The public completeness projection currently discards these fields, so downstream reports cannot explain which budget was reached or by how much.

At main e14c450, _exception_from_event forwards the reason and source location but omits existing measurements; duplicate exception grouping also has no measurement identity.

Expected behavior:

  • Preserve finite, nonnegative measurements and units through JSON/MCP, terminal, Markdown and SARIF completeness diagnostics.
  • Retain distinct measurements when grouping exceptions, including valid zero values.
  • Reject malformed or unsafe diagnostic payloads and retain public-output bounds.
  • Preserve incomplete analysis, execution status and security findings.
  • Report unknown measurements as unknown without placeholder zeros.

This issue covers reporting and accounting rather than changing parser algorithms or budget thresholds.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions