test(config-audit): add Opus 4.7 pattern fixtures (cache, redundant, imports, sonnet-era)

This commit is contained in:
Kjell Tore Guttormsen 2026-04-19 22:34:41 +02:00
commit 94ce70186c
11 changed files with 255 additions and 0 deletions

View file

@ -0,0 +1,16 @@
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"permissions": {
"allow": [
"Read",
"Read(**)",
"Read(src/**)",
"Bash",
"Bash(*)",
"Bash(npm *)",
"Bash(npm run *)",
"Bash(npm test)"
],
"deny": []
}
}

View file

@ -0,0 +1,8 @@
# Redundant Tool Declarations
## Overview
Fixture designed to trip the TOK scanner's redundant-permissions detector
(CA-TOK-002). The `.claude/settings.json` contains overlapping tool
patterns that inflate the tool-schema payload sent to Opus 4.7 on every
turn without adding expressive power.