Prune .claude/settings.local.json: drop accumulated one-off allows #12
Labels
No labels
burndown-2026-06
coherence-core
consult
headless
interactive
P0
P1
P2
P3
P4
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
coilyco-flight-deck/gauntlet#12
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
.claude/settings.local.jsonhas 66 allow entries accumulated from one-off "Always allow" clicks. Many are dead allows that the coily PreToolUse hook denies anyway (Bash(pytest),Bash(python3),Bash(pip install:*),Bash(python -m pytest ...), bareBash(.venv/bin/pytest ...)). Others are sed/perl one-shots with embedded conflict-marker strings (Bash(sed -i '' '/>>>>>>> worktree-agent-a813cb1f/d' ...)).Why now
The PreToolUse hook (
.claude/lockdown-deny.sh→coily hook pre-tool-use) does authoritative enforcement on every Bash call. The Claude Codepermissions.allowlist is UX-only - it suppresses the "Allow this?" modal but does not grant capability beyond what the hook permits. Allowlist entries for barepython/pytest/pipare dead because the hook blocks them; they should route throughcoily exec testoruv run.Plan
Rewrite
.claude/settings.local.jsonkeeping only repeating-pattern allows:git add/commit/push/checkout/merge/stash/rm/mv:*gh repo/api/search/pr:*uv run/lock/sync/pip:*docker compose:*WebSearch,WebFetch(domain:github.com),WebFetch(domain:www.npmjs.com)python3 -m json.toolDrop ~49 entries: bare
pytest/python3/pip install:*(dead - hook blocks them),.venv/bin/*invocations (also bypass coily),python -c "<long blob>"one-shots, sed-with-conflict-marker pipelines,chmod +x specific-pathone-shots,git -C /Users/kai/projects/coilysiren/flux-gate ...cross-repo one-shot.Out of scope
settings.jsondenyblock prune (53 identical entries duplicating coily lockdown). Separate sweep, needs coily template change.git add/commit/push/...+gh repo/api/search/prrecurring across every coilysiren repo's local file should promote to the canonical lockdown template instead of being re-listed per repo. Separate issue.coily execverbs so.venv/bin/*allowlist entries stop accumulating. Separate issue.Done. Rewrote .claude/settings.local.json from 66 entries to 21 (git add/commit/push/checkout/merge/stash/rm/mv, gh repo/api/search/pr, uv run/lock/sync/pip, docker compose, python3 -m json.tool, WebSearch, WebFetch github.com + npmjs.com). Dropped 45 entries: dead bare-python/pytest/pip allows the coily hook denies anyway, .venv/bin/* bypasses, sed-with-conflict-marker pipelines, python -c blobs. File is gitignored, closing manually.