Repository navigation
v1.4.0
·
17 commits
to main
since this release
- Context budget for CI:
claude-context-cost --budget context-budget.toml [repository]measures everyCLAUDE.md, rule and@importClaude Code
loads from a repository, as Claude Code renders them, and exits with 1 when
a declared limit is passed (per file by glob pattern, and for the start-up
total), with 2 when the budget file is invalid.--jsonworks with it. check_budget,BudgetandBudgetErrorin the API.- On the author's machine the files found are the ones Claude Code loaded in
257 of 257 start-ups and 252 of 252 on-demand loads, with the same bytes in
268 of 268 files (tests/test_corpus.py). - Mutation: 36 mutants, 19 of them in the budget; the tests catch all 36.
- CI checks the budget through the installed package too.