Repository navigation
push-guard--v0.4.0
·
16 commits
to main
since this release
- New: a push whose commits change existing tests is held, even when the tests pass. When a test
file loses lines, is deleted or is renamed between where the branch left its upstream (or the
remote's default branch, for a new branch) andHEAD, Claude is told which files changed and to
ask you. Type/push-guard allowto let that commit through; it only counts when a person runs
it, not Claude, another plugin orclaude -p. New test files, and lines only added
to a test file, go through with a note. - New: the
testChangesoption:block(default),warnoroff. - New:
"pushGuard": { "testFiles": [globs] }inpackage.jsonadds a project's own test paths
(*,?and**). - Limits: it counts removed lines, it does not read them; tests outside the usual names and folders
are not seen unless named; only the checked-out branch's commits are judged. See the README.
Suggested by u/kaijurules on r/ClaudeCode.