Micro Tools Hub
Io Most API breaking changes don’t happen because someone wrote bad code.
They happen because line-by-line diff tools are blind to semantics.
Consider this classic deployment scenario:
You reorder dictionary keys in an OpenAPI / JSON Schema definition, update formatting, or adjust indentation.
To git diff or Myers diff, this registers as massive textual drift. Reviewers drown in hundreds of lines of noise, rubber-stamp the PR—and miss the one critical change buried on line 140: a field narrowed from optional to required.
The result?
Client libraries crash, downstream microservices fail, and integration pipelines halt in production.
This structural failure is why we built SpecDiff inside the PyForge ecosystem.
SpecDiff is an AST-native semantic specification diffing engine engineered to eliminate breaking changes before they reach staging:
🔹 Topological Invariance: Ignores key order and formatting noise.
🔹 Polymorphic Evaluation: Tracks complex schema mutations (allOf, oneOf, enum variants).
🔹 Deterministic Classification: Categorizes changes instantly into BREAKING or NON-BREAKING with machine-readable JSON output.…