Repository navigation
CodeGraphy v2.2.0 — Context Intelligence, Quality Scoring & Graphite UI
CodeGraphy v2.2.0 shifts from simple AST compression to verified context quality for AI coding agents (Cursor, Claude Code, Codex, OpenCode, Antigravity).
What's New
- 3 Context Compression Levels (
full/behavioral/structural) +get_symbol_body:behavioralmode keeps control flow (if/match),raise,return,assert,await, function calls, and state mutations (self.x = ...) while stripping logging and local noise.get_symbol_bodylets agents fetch a single function, class, or method on demand.
- Dynamic Blind-Spot Detection (
[DYNAMIC_LOOKUP]):- Automatically flags files using
os.getenv,os.environ,getattr,importlib,globals(), or__getattr__so agents never blindly trust incomplete static skeletons.
- Automatically flags files using
- Task-Scoped BM25 Context Builder (
build_task_context) +ContextQualityReport:- Pure-Python BM25 entry-file discovery with strict 0/1/2-hop token budgeting (never exceeds
max_tokens). - Returns an explicit
confidence_score,missing_dependencies(budget_exceeded,dynamic_import,unresolved_alias), and actionable warnings.
- Pure-Python BM25 entry-file discovery with strict 0/1/2-hop token budgeting (never exceeds
- Typed Dependency Edges & Incremental Freshness:
- Lazy
mtime→sha256freshness tracking (fresh/stale),tsconfig.json&pyproject.tomlalias resolution, and FastAPI ↔fetch/axiosapi_linkdetection.
- Lazy
- Security Guardrails:
- Strict workspace path sandbox (
safe_path) and automatic secret scrubbing (.env,*.pem,*.key,sk-,ghp_,AKIA) across all 16 STDIO MCP tools.
- Strict workspace path sandbox (
- Standalone CI Architecture Linter (
ci-lint) &snapshot:- Deterministic
graph_snapshot.jsonexport, Tarjan SCC cycle detection, and GitHub Actions annotations (::error/::warning).
- Deterministic
- Graphite UI & Faster Startup:
- Monochrome Graphite dark theme (Electron + React Flow v12) and Nuitka
--standalonebackend packaging (~726 ms cold backend start).
- Monochrome Graphite dark theme (Electron + React Flow v12) and Nuitka
- Offline Ed25519 Licensing:
- Zero-network license verification.
Benchmark Highlights (httpx, rich, typer)
httpx(132,795 base tokens) → 3,655–4,996 tokens (96.2–97.3% reduction)rich(388,659 base tokens) → 3,996–4,871 tokens (98.7–99.0% reduction)typer(146,612 base tokens) → 4,067–5,000 tokens (96.7–97.2% reduction)
Downloads & SHA-256 Checksums
CodeGraphy Setup 2.2.0.exe(Recommended for fast startup — Windows Installer, includes bundled backend)- SHA-256:
7b3600f33ea0083e1c9f164b105d8fe8f9965d36b2fb7677f00f9cfd1a1c849d
- SHA-256:
CodeGraphy Portable 2.2.0.exe(No installation required — extracts to temp on launch)- SHA-256:
c1ec345c5373555922455070ab8f4e6f8eb6ed9468e472039bd44e5fe40e9846
- SHA-256:
Website & Playground: https://codegraphy.software
Open-Source Lite (pip install codegraphy-lite): https://github.com/Vindettobkb/codegraphy-lite