mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-22 18:52:28 +01:00
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
16 lines
865 B
JSON
16 lines
865 B
JSON
{
|
|
"title": "token_audit v2 + repo contract in testsAndMisc",
|
|
"objective": "token_audit measures deduplicated, subagent-inclusive, per-model USD spend over the window since the last snapshot and scores ledger levers; testsAndMisc satisfies the shared repo contract.",
|
|
"acceptance_criteria": [
|
|
"python_pkg/token_audit at 100% branch coverage, no suppressions, every file <= 250 lines",
|
|
"Tests never write to ~/.claude/token-report (autouse conftest redirect)",
|
|
"python3 -m python_pkg.token_audit --no-write runs and reports the window since the previous snapshot",
|
|
"check_repo_contract.sh passes; dependency freshness --all passes"
|
|
],
|
|
"out_of_scope": [
|
|
"~/.claude hooks and the /token-optimization skill (separate repo)",
|
|
"Other packages' coverage"
|
|
],
|
|
"verifier": "pytest --cov-branch, pre-commit on changed files, CI on push"
|
|
}
|