Current guarantees and hardening targets
intentdiff is conservative by design. It should never hide a meaningful edit just to make a review look clean.
Implemented guarantees
- Pinned tree-sitter parser backends exist for Rust, Python, JavaScript, TypeScript, and TSX.
- Parser failures are non-fatal. Malformed code is reported and token/text fallback remains enabled.
- Formatting, import, comment, move, rename, literal, operator, textual, binary, and generated-file changes remain represented in the structured report.
- npm and PyPI installer shims try cached GitHub release binaries first and fall back to Cargo.
- Default analysis makes no network requests, collects no telemetry, and does not execute project code.
Still intentionally conservative
- Syntax-level equality is not runtime behavioral equivalence.
- Import reorder classifications are conservative for languages where evaluation order can matter.
- Comment directive changes such as linter/type-checker suppressions should stay visible.
Next hardening targets
- Use parsed syntax trees for deeper entity extraction and statement/subtree move matching.
- Add explicitly configured formatter verification adapters.
- Add semantic summaries for more lockfiles and generated files.
- Expand hostile-input, Windows path, Unicode path, and ambiguous-move fixtures.