GitSentinel
Built a CLI that reviews git diffs with Claude, using Tree-sitter to find the function around each change and local RAG to pull related code from the rest of the repo; Wrote a unified-diff parser from scratch that tracks file and hunk boundaries, captures real hunk content, and detects added, deleted, and renamed files; Indexed code by chunking along Tree-sitter symbol boundaries, embedding with Voyage AI, and storing vectors in SQLite instead of a hosted vector database; Enforced structured findings with Anthropic tool use and Pydantic validation; verified each suggested fix by applying it to a sandboxed repo copy and running the test suite.
