codescope is a Rust CLI for source-symbol extraction. Keep changes small, tested, and aligned with the existing backend boundaries.
Run the same checks as CI before pushing:
cargo fmt --check
cargo clippy --all-targets -- -D warnings
cargo test
cargo audit
cargo package --no-verifyUse --allow-dirty only for local package checks before committing.
The release workflow builds Linux, macOS x86_64, macOS arm64, and Windows archives. A non-tag workflow dispatch validates artifact packaging and SHA256SUMS generation without publishing. Tags matching v* publish a GitHub release.
- Python behavior is structural and tree-sitter based.
- C-family
--backend lspfailures must be visible and exit non-zero. - C-family
--backend autoshould fall back per file where practical. - JSON output fields are part of the CLI contract and should remain stable.