Repository navigation
feat(repo): repo budget --out writes the inventory as JSON - #9
Closed
vchamarthi wants to merge 1 commit into
Closed
vchamarthi wants to merge 1 commit into
vchamarthi wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Oct 21, 2026
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
--out FILEtorepo budget, matchingrepo scanandrepo inspect, so a CI job can keep the inventory without parsing stdout.Evidence
experiment_safe.pyrunningcheck.py(parsesrepo budget <dir> --out <file>, runs it, reads the file) against a copy of the treedokimi: error: unrecognized arguments: --out ..., exit 2{'start': 1, 'lazy': 0, 'on demand': 0, 'off': 0}totalstest_cli_out_writes_the_inventorywas not run green. The sandbox denies/dev/null, so every test that calls git fails there, before and after (4 of 4 CLI tests in that file).make ci-localwas not run. The check script stubbed the git tree listing.Blast radius
repo budgetonly: one optional flag, default off. Output without--outis unchanged. Docs usage line and a changelog fragment updated. A write failure exits 1 withcannot write.Overlap
repo fetch --json; different subcommand, same filerepo.pyand contract doc, no conflicting hunk expected.Created with claude-sonnet-5-5.