test(config-audit): add Opus 4.7 pattern fixtures (cache, redundant, imports, sonnet-era)
This commit is contained in:
parent
350cebc39c
commit
94ce70186c
11 changed files with 255 additions and 0 deletions
16
plugins/config-audit/tests/fixtures/opus-47/redundant-tools/.claude/settings.json
vendored
Normal file
16
plugins/config-audit/tests/fixtures/opus-47/redundant-tools/.claude/settings.json
vendored
Normal 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": []
|
||||
}
|
||||
}
|
||||
8
plugins/config-audit/tests/fixtures/opus-47/redundant-tools/CLAUDE.md
vendored
Normal file
8
plugins/config-audit/tests/fixtures/opus-47/redundant-tools/CLAUDE.md
vendored
Normal 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue