mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-10 04:36:40 +00:00
Adds `Bash(pkill -f *)` to the allowlist so stuck background commands (pre-commit hooks, `make test`, `git commit`) can be aborted without an approval prompt. Broad wildcard consciously accepted — narrow per-pattern entries required repeated allowlist edits for every new abort scenario. Adds `Read(~/.cache/pre-commit/**)` so pre-commit's stashed patch files can be reapplied via `git apply` after a manually killed hook run, and uses `~` instead of a hardcoded username path. Documents both entries in docs/contributing/tools/agents/claude.md, including the explicit risk note that `pkill -f` with a regex can terminate every user-owned process and should use the narrowest pattern possible. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contribution documentation 🤝
This directory contains contributor-facing repository rules and workflows. Its scope is how humans and agents set up the environment, write documentation, communicate, define requirements, and contribute safely through the project lifecycle.