Repository navigation
feat(cli): fix compile-all path resolution + add stats command - #67
Merged
Merged
Conversation
compile-all now auto-detects the repo root by searching for specs/ directory up from CWD (up to 3 parent levels). Also accepts an explicit --specs-dir flag. The stats command shows repository statistics including spec files, functions, tests, invariants, benchmarks, seals, compiler LOC, and fixed point status. Closes #62 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
gHashTag
added a commit
that referenced
this pull request
Jun 1, 2026
feat(cli): fix compile-all path resolution + add stats command
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.
Summary
specs/directory up from CWD (up to 3 parent levels). Previously returned 0 files when run frombootstrap/or any subdirectory. Added--specs-dirflag for explicit override.t27c statsdisplays repository statistics — spec files, functions, tests, invariants, benchmarks, conformance files, seals, backends, CLI commands, compiler LOC, and fixed point ring status.Example output
Closes #62
Test plan
t27c compile-allfrom repo root produces 43 filest27c compile-allfrombootstrap/subdirectory auto-detects and produces 43 filest27c compile-all --specs-dir <path>works with explicit patht27c statsshows correct counts matching actual file/line analysiscargo buildpasses with no errors🤖 Generated with Claude Code