canonical lockdown allow-list for git is narrower than what 8/30 repos actually use #125
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Symptom
Canonical
.claude/settings.jsonfromcoily lockdownsplits git into per-subcommand allows (git blame:*,git branch:*,git diff:*,git log:*,git ls-files:*,git remote:*,git rev-parse:*,git show:*,git status:*,git config --get:*). 8 of ~30 catalog repos have a.claude/settings.local.jsonwhose entire purpose is adding a singleBash(git:*)allow to widen this — eco-mods, infrastructure, galaxy-gen, luca, backend, eco-mods-public, gauntlet, website.The locals are session residue from past prompts that hit a git verb outside the allowed list (probably
git stash,git checkout,git rebase,git fetch, etc.). The pattern is so common it should either be in canonical or there should be a clear story about which verbs route throughcoily git ...instead.Options
Bash(git:*)and rely on the destructive-git denies (git clean -fd:*,git push --force:*,git push -f:*,git reset --hard:*) for safety. Simplest, removes the 8 stub locals.git stash:*,git checkout:*,git fetch:*,git pull:*,git rebase:*,git merge:*,git switch:*,git restore:*,git add:*,git commit:*) to canonical. More surgical but more list-maintenance.coily git ...and provide that route.Context
Surfaced during a sweep to renormalize per-repo settings.json after drift (parent settings.local.json had 20+ ad-hoc allows from past sessions). The per-repo
Bash(git:*)stubs were the only remaining denormalization after re-stamping withcoily lockdown --apply --replace --recursive.Merged into #115 in the 2026-05-29 backlog burn-down. Same lockdown git catch-all / dropped denylist issue Reopen if it should stand alone.