Repository navigation
Add list --problems to show only entries and files with problems (#7) - #8
Merged
Merged
Conversation
nrzz
added a commit
that referenced
this pull request
Oct 19, 2026
list --problems shows only the entries and files with a problem, the lint on its own, from the fourth outside pull request, #8 by @yoreva-01, for the good first issue #7. The next good first issue is #9: list --ours, only the entries everyhook wrote, across the agents. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Owner
|
Merged and released as 1.4.0, with your name in the changelog and the release notes. Thank you; the three cuts of The suite was green on this machine (313 tests, 50 of them skipped without the agents' variables) and in CI on all three systems, test and real-agent jobs alike, before the merge. The README's test count you updated matched what If you want the next one, #9 is the fourth cut: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
Fixes #7.
Adds
--problemstoeveryhook listto display only the hook entries and configuration files that have a problem, leaving out everything that is fine:--problemsfilters entries to keep only those withproblems.length > 0, and files with problems of their own or containing problem entries.2 hooks in 3 files, 0 by everyhook; 3 problems).0 hooks in 0 files, 0 by everyhook; 0 problems.--agent,--hook,--event, and--project.--jsonincludesproblems: truealongside filtered entries and files.--problemswith a value or multiple times raises a usage error (exit 2).How it was tested
test/list.test.mjsverifying:--agentand--hook.--problemswith values, duplicates, or unsupported commands.test/readme.test.mjs.test/repo.test.mjs.npm testacross all 328 tests (278 passed, 0 failed, 50 skipped).Checklist
npm testpasses, and the change has a testexplainsaydocs)