Add diff-guard — Impact-aware API contract enforcement engine - #146
Open
Aryan0628 wants to merge 2 commits into
Open
Add diff-guard — Impact-aware API contract enforcement engine#146Aryan0628 wants to merge 2 commits into
Aryan0628 wants to merge 2 commits into
Conversation
Collaborator
|
@Aryan0628 Nice work man |
Collaborator
|
@Aryan0628 |
Author
|
Thank you so much sir!!! |
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.
Open Source Hackathon 2026 Project Submission
Participant Details
Full Name:
Aryan Gupta
GitHub Username:
Aryan0628
Team Name:
NULLPOINTER
College/University:
MNNIT Allahabad
Project Details
Project Title:
diff-guard
Project Description:
diff-guard is an impact-aware git diff engine that uses WASM-compiled Tree-Sitter grammars to detect breaking API changes before they ship. Standard
git diffonly shows added or removed text lines — it cannot tell if a required parameter was removed, a return type changed, or a function was made async. diff-guard parses both sides of a git diff into abstract syntax tree (AST) signatures, classifies every structural change against 26 strict production rules, and traces every affected call site across the codebase to show exactly what breaks and who is impacted. It ships with built-in Husky git hooks that blockgit pushandgit mergewhen breaking changes are detected, and auto-posts audit reports as GitHub PR comments in CI. Zero configuration required — install it and it works.Tech Stack Used:
TypeScript, Node.js, WASM Tree-Sitter (tree-sitter-typescript, tree-sitter-javascript, tree-sitter-python, tree-sitter-go, tree-sitter-java, tree-sitter-rust), Vitest, Husky, GitHub Actions, Next.js 16, React 19, Tailwind CSS v4
GitHub Repository Link:
https://github.com/Aryan0628/diffguardian
Live Demo Link:
https://diffguardian.vercel.app/
Presentation / Demo Video Link:
https://drive.google.com/file/d/141_-ZgoLyJterOePAaGIEAGnEQsJqb1P/view?usp=sharing
npm Package:
https://www.npmjs.com/package/@aryan28/diff-guard
Open Source Readiness
Memori Labs Sponsor Task
Please complete these before submitting:
I have starred the Memori Labs GitHub repository
https://github.com/MemoriLabs/Memori
I have followed Memori Labs on LinkedIn
https://www.linkedin.com/company/memorilabs/
I have followed Memori Labs on X
https://x.com/memorilab
I have checked Memori Labs social links
https://linktr.ee/memorilabs
ID Card Verification
Additional Information
For any clarification, feel free to reach out at aryan072806@gmail.com
I can also provide a walkthrough video of the tool in action if required.