0.4.3 (66a6efcc) -> 0.5.1 (a7303c89, main). The adopted range is
66a6efc..a7303c8:
#8 f936bfe _busy() no longer reads a bare .git/REBASE_HEAD as a rebase in
progress. On git 2.55 a finished `rebase --continue` leaves that
file behind on a clean tree and `rebase --abort`/`--quit` will
not remove it, so the worktree stayed busy for good and the hook
skipped its whole fetch/commit path for it.
#2 280c57c A direct push the remote refuses on policy grounds (branch
protection, a PR-required ruleset, GH013/GH006) no longer
strands a commit: the hook drops only its own unpushed commit,
leaves the edit staged and dirty, stops committing on that
branch and reports it once, instead of re-pushing and re-logging
the same remote error every pass.
#4 a7303c8 A dead cwd fails open instead of refusing the tool call.
capabilities: unchanged -- the same four hooks (pre_tool_call,
post_tool_call, post_llm_call, on_session_end), no tools, no middleware, no
env vars.
description: adds the refusal clause to the existing disclosure -- a branch
whose direct push the remote refuses on policy grounds is never committed to
again, and the edit stays staged and dirty.
v0.4.2's merge commit ran red on 3.11: the test teardown raced git's background
maintenance. #7 fixes the fixture and CI is green on the merged commit.