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.
0 comments
muse hub commit comment sha256:aede21eeaf17d1c7fafdd1dc5b725a9716ce62c4a80906f69588c3c854cf5a31 --body "your comment"
No comments yet. Be the first to start the discussion.