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

feat(check-ignore): add elapsed_seconds, exit_code, summary, patterns_loaded, --ignored-only

- elapsed_seconds: wall-clock timing in all JSON output paths (default, --patterns-only). Absent from text output. - exit_code: always 0 on success in all JSON output paths. - summary block (default mode): total/ignored/not_ignored counts over the (possibly filtered) result set. Absent from --patterns-only. - patterns_loaded: added to --patterns-only JSON (was missing; list length was the only way to get count). - --ignored-only: filter results to paths matched by an ignore pattern. Primary agent workflow for 'what staged files will be excluded?'. Mutually exclusive with --patterns-only and --quiet (exit 1). - Fix test_path_traversal_is_safe: error goes to stderr, not stdout; test was asserting result.output but should assert result.stderr.

20 new tests across TestElapsed, TestExitCode, TestSummary, TestPatternsOnlyCount, TestIgnoredOnly. 65/65 passing.

sha256:aede21eeaf17d1c7fafdd1dc5b725a9716ce62c4a80906f69588c3c854cf5a31 sha
sha256:5c218c5542ab97ce2b2dcfd669d878b916e28ec76311f3d39abea5bc2e91f3f5 snapshot
← Older Oldest on task/supercharge-check-ignore
All commits
Newer → Latest on task/supercharge-check-ignore

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:aede21eeaf17d1c7fafdd1dc5b725a9716ce62c4a80906f69588c3c854cf5a31 --body "your comment"