Permission posture: ask-list mutation surfaces so they PROMPT (not classifier-deny)
Root cause (claude-code-guide, doc-cited): in auto mode, unmatched mutations
fall to the classifier and get HARD-DENIED (no approval prompt). ask/deny rules
are evaluated BEFORE the classifier, so ask-listing the mutation surfaces forces
an approve/deny/adjust prompt -- the intended gating.

.claude/settings.json (operator-applied; editing the permission file is itself
gated): + ask for *opnsense-api.sh POST, *opnsense-plugins.sh apply, *tofu
apply/destroy/import/state rm, *--commit, Edit(.claude/settings*.json); + allow
for the edge GET + opnsense-plugins.sh list. deny + guard hook unchanged.

Changelog + ledger note + carry-forward (verify prompts post-reload) added.

Revert: git revert this commit, or cp .claude/settings.json.bak over it.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JUBUyinU4sBAT4HV1b9vSz
1 parent 4cefa8b commit fee137fe9942cb9dcb6408c1f809e5030f3b062c
@JANeumatrix JANeumatrix authored 17 hours ago
Showing 3 changed files
View
.claude/settings.json
View
docs/changelog-20260718-permission-posture-ask-preempts-classifier.md 0 → 100644
View
docs/session-ledger.md