Skip to content

feat(format): add deterministic stats output - #162

Merged
aram-devdocs merged 1 commit into
mainfrom
feat/46-format-stats-pretty-groups
Apr 30, 2026
Merged

feat(format): add deterministic stats output#162
aram-devdocs merged 1 commit into
mainfrom
feat/46-format-stats-pretty-groups

Conversation

@aram-devdocs

Copy link
Copy Markdown
Owner

Fixes #46

Summary

  • add deterministic formatter stats to pretty and JSON output, including severity counts, distinct viewport count, distinct rule count, and a content-hashed run_id
  • group pretty output by viewport, then rule, then selector while keeping JSON ordering canonical by violation sort key
  • add snapshot and determinism coverage for grouped pretty output and JSON stats, and document the expanded MCP full-detail envelope

Tests Run

  • cargo test -p plumb-format
  • cargo fmt --check
  • cargo check --no-default-features

Coordination

@aram-devdocs
aram-devdocs merged commit f299611 into main Apr 30, 2026
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(format): summary stats block (error/warning/info counts + durations)

1 participant