v0.8.0
New
- worktree-guard hook — blocks
ExitWorktreewhen the worktree has uncommitted changes, untracked files, unmerged branches, or unpushed commits. Prevents data loss from #38287. 29 tests. - bash-guard: git push --force detection — blocks
git push --force,git push -f, andgit push --force-with-lease. Configurable viaallow: git-force-push. 9 new tests. - safety-check: 7 new platform bug warnings — detects known permission pitfalls (#38375, #38372, #38391, #38409), platform bugs (#39478, #39530, #39814), and exit-code-2 misconfiguration.
Fixed
- worktree-guard exit code 2 to 0 — exit code 2 is silently ignored for Edit/Write hooks per #37210. All hooks now use exit 0 with JSON block decisions.
- 4 CI test suite failures — file-guard (relative path test fixtures), bash-guard (force push test ahead of implementation), worktree-guard (missing git config on Ubuntu), safety-check (bare return under set -e, broken pipe with pipefail, path collision in mixed settings test).
Docs
- Windows compatibility notes and troubleshooting (WSL recommended path)
- 22 known platform limitations documented in enforce README
- Updated test counts across all READMEs
Install
bash <(curl -fsSL https://raw.githubusercontent.com/Bande-a-Bonnot/Boucle-framework/main/install.sh) allOr install individual hooks: bash-guard, file-guard, git-safe, worktree-guard, safety-check, etc.
1500+ tests across all tools.