Cha
1.13.1 - 2026-04-30
v1.13.1
Apr 30 2026 at 09:48 UTC
Added
abstraction_leak_surgerydetector — files that co-change in git history and share a third-party type in their function signatures. Upgrade of the classicshotgun_surgery: instead of "these files always change together" (agnostic of why), this pinpoints "these files always change together because they all depend on the same external type" — the shared external type is the concrete abstraction leak driving the co-change cascade. SeverityHint.- Inputs: git co-change counts (
git log --name-only -N, threshold ≥ 5 commits in last 100) × per-fileTypeOrigin::Externalsets derived from parameter / return types. Workspace-sibling crates auto-whitelisted (same mechanismcross_boundary_chain/leaky_public_signatureuse), socha_core-internal dependencies betweencha-parser/cha-clidon't fire. - Cha self-baseline: 10 genuine findings, all pointing at the 5 language parsers sharing
tree_sitter::Node— exactly the abstraction leak the detector is designed to find (tree-sitter upgrades ripple across every parser file). lvglsrc/: 0 (C project, no External origins).
- Inputs: git co-change counts (