Skip to content

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 12 Jun 13:20
v0.11.0
b8bc956

Added

  • project_overview MCP tool and codesage overview CLI command: one-call project orientation (languages, structural+semantic freshness, feature summary by kind, top-risk files, trust-boundary clusters, per-language test conventions, sample entrypoints, suggested next calls).
  • review_rehearsal MCP tool and codesage rehearse CLI command: predict severity-ranked review objections for a patch (missing tests, high-risk/blast-radius/fix-prone/hotspot files, import cycles, trust-boundary expansion, feature-test gaps, and scope-spread when a patch touches ≥4 unrelated feature areas) from assess_risk_diff + recommend_tests + drift + feature mapping. High-risk objections list the file's hottest symbols. CLI falls back to working-tree changes vs HEAD when no files are given.

Changed

  • impact_analysis gains opt-in include_forward (forward dependencies), include_siblings (same-file symbols), limit, and summary_only controls; the result is now an object with results plus the requested extras (codesage impact --forward --siblings --limit --summary-only). Reading .results is unchanged.
  • find_references now populates each reference's from_symbol with the enclosing caller symbol (null at file scope), and impact_analysis walks the call graph at symbol precision via that field instead of re-deriving callers from line numbers. Requires a reindex (codesage index --full) to backfill existing projects.
  • Live filesystem watcher: the daemon auto-starts a per-project watcher on first tool call that reindexes (structural + semantic) on edit, debounced (default 1s, REINDEX_DEBOUNCE), reusing the daemon's pooled embedder. Honors .gitignore and [index].exclude_patterns and skips ignored top-level trees (target/, .git/, node_modules/) from the watch set. On by default; disable with [index] watch = false or CODESAGE_WATCH=0. Self-exits after idle (CODESAGE_WATCH_IDLE_SECS, default 1800; 0 disables).
  • codesage watch run|status|stop|start [project] to manually control the live watcher (run is a foreground instance with its own embedder).

Fixed

  • CUDA verification now fails when neither cuDNN nor cuBLAS is loaded after GPU session creation.
  • recommend_tests now finds primary sibling tests from the structural file index, independent of git-history rows.
  • CMake target_sources feature mapping no longer records later PUBLIC / INTERFACE scope keywords as owned files.
  • CMake add_executable / add_library feature mapping no longer records option keywords (WIN32, MACOSX_BUNDLE, EXCLUDE_FROM_ALL) as owned files.
  • The live watcher now applies nested .gitignore files consistently with indexing discovery.