gabriel / muse public
feat patch check-attr task/supercharge-check-attr #1 / 1
AI Agent gabriel · 60 days ago · Apr 17, 2026 · Diff

feat(check-attr): add elapsed_seconds, exit_code, summary block, --unmatched-only

- elapsed_seconds: wall-clock timing in all JSON output paths (default, --rules-only, --all-rules). Absent from text output. - exit_code: always 0 on success in all JSON output paths. Agents can parse the payload without inspecting the process exit code separately. - summary block (default mode): total/matched/unmatched/by_strategy counts over the (possibly filtered) result set. Absent from --rules-only and --all-rules which have different semantics. - --unmatched-only: filter results to paths with no matching rule (strategy=auto). Useful for attribute gap analysis before a merge. Incompatible with --rules-only (exit 1).

19 new tests across TestElapsed, TestExitCode, TestSummary, TestUnmatchedOnly. 64/64 passing.

sha256:4dcbe75fe6edeea1b9f1cdb7b3b5042116c28e49c341a247dbd7d74d77936cc6 sha
sha256:56ef562fa57426d4fc71313a54fc715dc17016d8e0f02bddaa23e6e1287734ae snapshot
← Older Oldest on task/supercharge-check-attr
All commits
Newer → Latest on task/supercharge-check-attr

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:4dcbe75fe6edeea1b9f1cdb7b3b5042116c28e49c341a247dbd7d74d77936cc6 --body "your comment"