CatoandClaude Opus 5.5 a5f401571b fix(hooks): a branch name can no longer trip the force-push guard
Two faults stacked in pre-tool-use.sh:

- The force-push alternation matched the flag letters anywhere after
  "push", so a branch like fix/role-walk-findings was read as a force push.
  The flag must now be its own token (space before, space or end after);
  --force-with-lease is named explicitly.
- The warning sound was backgrounded with stdout still attached, so the
  harness saw stdio go quiet mid-document and refused the WHOLE command
  ("stdio went quiet before end-of-stream") instead of asking. paplay now
  goes to /dev/null.

Checked against 8 cases: three ordinary pushes with the flag letters inside
branch names pass; four real force pushes and a recursive delete still block.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-02 18:49:53 +02:00
2026-02-26 13:35:28 +01:00
2026-02-26 19:30:03 +01:00

dotfiles

George's Linux environment. Nothing else.

.bashrc, .ssh/config, .editorconfig, and .config/ (kitty, starship, zellij, git hooks). Installed by symlink:

git clone git@github.com:bitbaum/dotfiles.git ~/dev/dotfiles
cd ~/dev/dotfiles && ./install.sh

.claude/hooks/ holds the thin per-session Claude Code edge — see CLAUDE.md for which hooks are alive and which are deliberate no-ops.

What does not live here

Fleet automation — the cross-repo audits, the golden CI templates, the shared-package registry (SHARED.md) and the reusable auto-merge sweep moved to bitbaum/fleet on 2026-08-28. A repo holding a .bashrc was the wrong place for machinery gating thirty other repos. The old SHARED.md path and the reusable-workflow path both still resolve here as pointers/shims, so nothing broke — but new work goes to fleet.

Agent dispatch — the stop/notify loop, prompt injection and the PyQt beacon migrated to Loki (Fleet Runner) over 2026-06.

Product and business decisions belong in the repo that owns them.

S
Description
No description provided
Readme MIT
810 KiB
0 Stars 2 Watchers 0 Forks
Languages
Shell 100%