code-review-graph v2.4.0
Review deleted symbols together with the callers and tests that still depend on them.
Before you upgrade to v2.4.0
9 to fixCall, reference and test edges report confidence tiers; unresolved targets remain guesses, and `resolution='direct'` excludes name-only matches.
Read the evidence
Run `code-review-graph build` once to apply new formats, import/call fixes and confidence metadata to unchanged files; rebuild again after repointing Python module shims or npm aliases.
Read the evidence
Java, Ruby and PHP test finding improves; guessed coverage is excluded from risk, test ordering is deterministic, unknown paths carry unknown risk and migration lifecycle methods are exempt from gaps.
Read the evidence
The Action cache key changes from `schema13` to `schema15`; the first upgraded run rebuilds rather than restoring the older graph cache.
Read the evidence
Search favors production code over tests unless the query asks for tests, and lowers JSON ranking unless explicitly requested.
Read the evidence
After rebuilding or updating renamed C# nodes, run `code-review-graph embed` to refresh embeddings and purge old vectors; a refresh on an empty index now warns to run `embed` first.
Read the evidence
Install adds branch-checkout, merge and post-rebase update hooks; linked worktrees remain opt-in. Source folders named `vendor` are retained unless dependency manifests justify exclusion.
Read the evidence
Build and install the separately packaged extension 0.4.0 for schema 15; extension 0.3.0 rejects the migrated database, and a Python-package upgrade does not update it.
Read the evidence
Schema 13→15 migrates automatically on opening. To roll back to 2.3.9, delete `.code-review-graph/graph.db` and rebuild with the older release; migrations cannot run backward.
Read the evidence
Update dependency pins to at least `mcp` 1.29.0, `anyio` 4.8.0, `tree-sitter` 0.26.0, `tree-sitter-language-pack` 0.13.0 and `pyyaml` 6.0.2.
Read the evidence
Remove reliance on build-result fields `summaries_computed` and `summaries_s`; both are gone.
Read the evidence
Handle writer contention as CLI exit `75` or `status: contended`; use `--wait` when build, update, postprocess, forget or embed must wait for another writer.
Read the evidence
Use positive non-boolean `limit` and `token_budget` values; zero, negatives and booleans are rejected by large-function, semantic-search and traversal tools.
Read the evidence
Large-function, semantic-search and traversal responses have hard ceilings; `result_count` describes the count before truncation, and large-function queries accept `detail_level`.
Read the evidence
What changed in v2.4.0
Deletion-only diffs now report removed symbols and their risk. New indexing formats, confidence-aware relationship queries and optional context/history modes extend graph review; schema 15 requires an updated VS Code extension.
Also: Adds template and configuration indexing, multi-worktree reviews, shared HTTP serving and source-bearing search; schema and integration upgrades need attention.
Install code-review-graph 2.4.0 with pip; Python 3.10+ required. Rebuild existing graphs and refresh generated integrations; optional enrichment and embedding features need extras.
New things you can do
Trace scripts and snippet dependencies in HTML, XSLT and Liquid templates.
Read the evidence
Inspect JSON and YAML key paths and report which paths changed.
Read the evidence
Include Robot Framework tests and resources in the code graph.
Read the evidence
Build and query a repository graph using Docker or Podman.
Read the evidence
Review linked Git worktrees in parallel through one stdio MCP session.
Read the evidence
Fixed and improved
Adds MiMo Code and DeepSeek Harness installation, a global Codex skill, opt-in `--steering` context hooks and `--gitignore` for newly created untracked integration files.
Read the evidence
Install previews per-file diffs before writing, preserves JSONC hook settings, and supports OpenCode 1.x/2.x plugin APIs; Claude Code plugin hooks load again.
Read the evidence
`path_to` finds a route between symbols or files, reports confidence per hop and prefers bound routes; opt-in `--enrich` uses the Jedi extra for Python receiver calls.
Read the evidence
Resolves workspace/npm alias imports, inherited methods, tsconfig `baseUrl`/`extends`, Python re-exports and literal module shims; fixes nested-class and C# identities and exact-name lookup.
Read the evidence
Indexes `.cjs`, `.kts`, guarded Elixir functions, wrapped JS/TS components, generators and abstract classes; Python property reads and restored PowerShell extraction contribute relationships.
Read the evidence
Oracle PL/SQL parsing includes packages, procedures, functions and their calls, with multiline string and package-boundary handling.
Read the evidence
Terraform provider aliases remain distinct and references reach the correct provider.
Read the evidence
Static Laravel routes yield endpoint/handler links; Spring AOP advice reaches targets through supported annotation and execution pointcuts.
Read the evidence
Knowledge-gap reports include import cycles, a representative loop with import lines and whether the loop can fail during loading.
Read the evidence
Deletion-only hunks report removed symbols still used and raise risk instead of reporting zero changes; whole deleted files remain unsupported, and old-file reads are capped.
Read the evidence
Compact impact reports return ranked relative file paths and counts, with `max_files` and `unmatched_files`; MCP now honors `CRG_MAX_IMPACT_NODES`.
Read the evidence
Optional `details` sections add risk terms, communities, hubs, coupling, impact, gaps and graph metadata to folded PR comments; removal reports include a removed-symbols table.
Read the evidence
`include_source=True` attaches bounded source snippets and `expand_neighbors=True` includes direct callers/callees; source is omitted at minimal detail.
Read the evidence
Opt-in `CRG_VECTOR_CACHE=1` retains vectors between searches, using additional RAM and a persistent read connection that prevents database deletion or replacement on Windows.
Read the evidence
Search applies `kind` before truncating hits, including cross-repository search, so other node kinds no longer crowd out matching functions.
Read the evidence
Opt-in `CRG_CONTEXT_HISTORY=1` records local token estimates without source or paths; `context-history` summarizes by UTC day or tool, with day filtering and JSON output.
Read the evidence
`serve --http --multi-repo` shares one server across registered repositories; each call requires an absolute registered `repo_root`. It rejects `--repo`, auto-watch, multi-worktree and `CRG_DATA_DIR`.
Read the evidence
With fastmcp 4, clients can use `server/discover` and the 2026-07-28 MCP protocol; older initialization remains supported.
Read the evidence
Opt-in `--follow-symlinks` follows directory links, including external targets, under repository-relative paths; capped at 10,000 files by default. Symlinked files remain excluded.
Read the evidence
Updates include untracked files and repair stale search, flows and communities; partial graphs recover without repeated full rebuilds, and edit hooks select the edited repository.
Read the evidence
Daemon stop clears killed-watcher state and stops surviving watchers; Windows logs handle Unicode and vanished PIDs, and daemon termination ends child watchers.
Read the evidence
Rename includes supported import/re-export sites and exact columns, preserves aliases and text encoding, and skips stale edits; qualified targets select a specific symbol.
Read the evidence
Seeded visualizations load nearby edges instead of the entire graph, reducing memory for bounded views; path searches still load the full graph.
Read the evidence
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.