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
7
plugins/config-audit/tests/fixtures/opus-47/sonnet-era/.claude/settings.json
vendored
Normal file
7
plugins/config-audit/tests/fixtures/opus-47/sonnet-era/.claude/settings.json
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
||||
"permissions": {
|
||||
"allow": ["Bash(npm run *)"],
|
||||
"deny": ["Read(./.env)"]
|
||||
}
|
||||
}
|
||||
19
plugins/config-audit/tests/fixtures/opus-47/sonnet-era/CLAUDE.md
vendored
Normal file
19
plugins/config-audit/tests/fixtures/opus-47/sonnet-era/CLAUDE.md
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Sonnet-Era Clean Config
|
||||
|
||||
## Overview
|
||||
|
||||
Negative-control fixture for the TOK scanner. Contains no cache-breaking
|
||||
volatility, no redundant permissions, no deep import chains. Represents
|
||||
a clean, Sonnet-era configuration that pre-dates Opus 4.7 features — the
|
||||
TOK scanner should emit zero medium/high severity findings here (info
|
||||
severity is acceptable for pattern D).
|
||||
|
||||
## Commands
|
||||
|
||||
- `npm test`
|
||||
- `npm run build`
|
||||
|
||||
## Conventions
|
||||
|
||||
- TypeScript strict
|
||||
- Conventional Commits
|
||||
Loading…
Add table
Add a link
Reference in a new issue