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,7 @@
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"permissions": {
"allow": ["Bash(npm run *)"],
"deny": ["Read(./.env)"]
}
}

View 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