hookset

Changelog

Every release of hookset, newest first, from its CHANGELOG.md — what changed and the pull request it came from.

1.0.0

Major Changes

  • #1808 068c76b Thanks @ofri-peretz! - hookset is 1.0. Its . entry, the hookset bin with init and check, their --json shape and exit codes, the lefthook presets (commit-msg, pre-commit, pre-push) and the steps each one runs, the Claude pack (guard-bash, stop-after-3) and the .claude/hookset.json fields it reads are now a semver contract: a station is removed, or a preset step starts failing where it passed, only in a 2.0. This also moves hookset past the 0.3.0 that npm will not take again. The evidence is D-20261124-hookset-triggerlist-1-0: 100% coverage, every spec row built, and a first full mutation run with no surviving mutant.

Minor Changes

  • #1801 d2ec721 Thanks @ofri-peretz! - guard-bash denies Edit/Write on a generated file listed under generated in .claude/hookset.json (glob to the command that writes it) and names that command, so a repo drops its "regenerate, don't hand-edit" prose.

  • #1805 0ad24f0 Thanks @ofri-peretz! - A new enforced commit-msg station, hookset-provedone, runs npm run hook:provedone -- {1}: a commit with no Verified-by: receipt fails. hookset check reports a repo that does not declare hook:provedone. Declare it as "hook:provedone": "provedone gate --mode enforce" with provedone as a devDependency.

Patch Changes

  • #1802 a2f44f4 Thanks @ofri-peretz! - guard-bash closes hook-skip and publish bypasses: --no-veri (git takes abbreviated options), export LEFTHOOK=0 before the commit, lefthook uninstall and rm/mv/chmod on .git/hooks, GIT_CONFIG_KEY_n=core.hooksPath, for/watch CI polling, and yarn/bun publish, unpublish, deprecate, dist-tag add|rm, lerna publish, /usr/bin/npm publish. It now asks before a force push, +ref, --delete, :ref, --mirror or --prune.

  • #1800 2311f8b Thanks @ofri-peretz! - Ships the 0.3.0 release as 0.3.1. npm refuses 0.3.0 for hookset because an earlier package under that name published and then removed it, and npm never lets a removed version number be used again.

0.3.0

Minor Changes

  • #1796 be786b0 Thanks @ofri-peretz! - First npm releases. hookset ships the verification stations as lefthook presets and a Claude Code hook pack; triggerlist hands a reviewer only the checklist items a diff fires.

Patch Changes

  • #1794 3e107e3 Thanks @ofri-peretz! - guard-bash asks before pnpm -F pkg publish: a single-dash option can take the next word as its value, the same as --filter pkg, so the publish after it is found.

0.2.2

Patch Changes

  • #1790 40903e7 Thanks @ofri-peretz! - guard-bash: git push --dry-run still needs the long timeout (it runs pre-push; only git commit --dry-run skips hooks), npm/pnpm options before publish still ask a person, and dot segments in an edited path cannot step around a frozen glob. stop-after-3: an interrupted test run keeps the failure count instead of resetting it.

0.2.1

Patch Changes

  • #1777 1c6440d Thanks @ofri-peretz! - guard-bash gives a command a repo lists under ask in .claude/hookset.json its own reason (rule id repo-ask) instead of the publish message, so a listed -- --force sync is not described as a release.

0.2.0

Minor Changes

  • #1774 70f4252 Thanks @ofri-peretz! - guard-bash denies a foreground git commit or git push under a 5-minute timeout: their hooks are the repo's gate and outlive Claude Code's default 2 minutes. The denial names the fix (timeout: 600000 or run_in_background: true), so a repo's CLAUDE.md no longer has to say "not a hang".

On this page