r/coolgithubprojects • u/Significant-Log-4272 • 7m ago
[Update #3] Athena v1.4.0: A local-first CLI & MCP server that catches breaking API changes across callers, verifies fixes with real compilers, and rolls back bit-for-bit on failure
GitHub: https://github.com/aaryanrwt/athena
This is my 3rd update on r/coolgithubprojects for Athena, and v1.4.0 takes it from catching breaking changes to full closed-loop repair and verification.
Every developer (and AI coding assistant) has seen git diff look completely clean while a renamed function or added required parameter silently breaks callers across three other files. Athena runs locally on your machine with zero cloud uploads or vector DBs to catch those breaks before they land.
What Athena v1.4.0 does
- Trace callers across 14 languages: Maps exports and call sites using Python
astand Tree-sitter (Python,TS/JS,Go,Rust,C#,Java,Kotlin,Swift,PHP,C/C++,Ruby,Scala). - Safe deterministic codemods first:
athena fixhandles unambiguous refactors (1-to-1 renames, keyword renames, 2-arg swaps,Noneguards, docstring sync) and sends tricky semantic breaks toreview_required. - Bounded AI repair + fail-closed checks:
athena repairworks with local Ollama models, hosted APIs, or your active MCP client (Claude Code,Cursor,Codexvia18MCP tools). It includes full definition diffs and dynamic compiler/test error slices, runsathena verify-fixagainst real compilers and tests, and restores every byte bit-for-bit (CRLFandBOMpreserved) if checks fail.
Quick start:
git clone https://github.com/aaryanrwt/athena.git
cd athena
pip install -e ".[ast]"
athena check --staged
athena verify-fix . --base main --target WORKING_TREEHonest benchmarks (no cherry-picking)
- Deterministic fixes & safety:
0wrong edits across94real historical breaking commits,0false passes,13 of 14live language toolchains verified (Swiftstayedunverified_missing_toolchaincleanly), and 100% bit-exact rollbacks (92/92,34/34,18/18). - AI auto-repair: Reached up to
50.0%Pass@1 on12curated cross-language commits, and8.0%Pass@3 individually (10.0%union) across50raw, unfiltered Python breaking commits (11OSS repos) tested with both a hosted 550B model and localqwen3:8b. - Why the 50-commit number is low: Most raw upstream commits edit multiple modules and test assertions at the same time, so fixing only callers cannot pass the suite. Whenever an AI patch was incomplete, Athena rejected it cleanly with zero false greens.
Looking for collaborators
Would love feedback, stars, and PRs from anyone who cares about safer open-source tooling and AI guardrails:
- Run
athena breaking-changesorathena repairon your own repos and report real-world edge cases - Help test external agent adapters (
codex,cursor,hermes,pi) end-to-end - Contribute caller-fix patterns across the 14 supported languages or help extend safe test-call-site updates
If you find the idea useful, starring the repo helps a lot and keeps visibility going for contributors: https://github.com/aaryanrwt/athena


