codegraph-engine 2.2.1__tar.gz → 2.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/PKG-INFO +126 -20
  2. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/README.md +125 -19
  3. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/pyproject.toml +1 -1
  4. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/__init__.py +1 -1
  5. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/agent_capabilities.py +245 -4
  6. codegraph_engine-2.3.0/src/codegraph/branch_comparison.py +197 -0
  7. codegraph_engine-2.3.0/src/codegraph/change_impact.py +337 -0
  8. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/cli.py +238 -0
  9. codegraph_engine-2.3.0/src/codegraph/context_freshness.py +349 -0
  10. codegraph_engine-2.3.0/src/codegraph/git_state.py +543 -0
  11. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/mcp/server.py +69 -0
  12. codegraph_engine-2.3.0/src/codegraph/semantic_conflicts.py +270 -0
  13. codegraph_engine-2.3.0/src/codegraph/structural_diff.py +540 -0
  14. codegraph_engine-2.3.0/src/codegraph/symbol_history.py +275 -0
  15. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/PKG-INFO +126 -20
  16. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/SOURCES.txt +7 -0
  17. codegraph_engine-2.3.0/tests/test_git_intelligence.py +574 -0
  18. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_phase13_agent_brain_and_rc.py +5 -5
  19. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v216_installer.py +1 -1
  20. codegraph_engine-2.2.1/tests/test_git_intelligence.py +0 -118
  21. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/LICENSE +0 -0
  22. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/setup.cfg +0 -0
  23. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/agent.py +0 -0
  24. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/agent_brain.py +0 -0
  25. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/agent_rules.py +0 -0
  26. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/architecture.py +0 -0
  27. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/audit.py +0 -0
  28. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/binding_resolver.py +0 -0
  29. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/cache.py +0 -0
  30. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/cli_output.py +0 -0
  31. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/config.py +0 -0
  32. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/constraints.py +0 -0
  33. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/context.py +0 -0
  34. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/database/__init__.py +0 -0
  35. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/database/extractor.py +0 -0
  36. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/database/interrogation.py +0 -0
  37. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/database/models.py +0 -0
  38. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/epistemic.py +0 -0
  39. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/errors.py +0 -0
  40. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/evidence/__init__.py +0 -0
  41. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/evidence/citations.py +0 -0
  42. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/evidence_contract.py +0 -0
  43. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/frameworks.py +0 -0
  44. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/freshness.py +0 -0
  45. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/git.py +0 -0
  46. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/graph/__init__.py +0 -0
  47. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/graph/models.py +0 -0
  48. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/graph/traversal.py +0 -0
  49. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/__init__.py +0 -0
  50. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/classifier.py +0 -0
  51. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/indexer.py +0 -0
  52. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/models.py +0 -0
  53. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/parser.py +0 -0
  54. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/scanner.py +0 -0
  55. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/telemetry.py +0 -0
  56. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/test_framework.py +0 -0
  57. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/installer.py +0 -0
  58. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/interrogation.py +0 -0
  59. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/llm/__init__.py +0 -0
  60. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/llm/base.py +0 -0
  61. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/llm/context.py +0 -0
  62. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/mcp/__init__.py +0 -0
  63. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/mcp_diagnostics.py +0 -0
  64. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/memory/__init__.py +0 -0
  65. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/memory/store.py +0 -0
  66. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/models.py +0 -0
  67. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/monorepo.py +0 -0
  68. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/observability.py +0 -0
  69. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/optimizer.py +0 -0
  70. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/planner.py +0 -0
  71. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/process_lifecycle.py +0 -0
  72. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/py.typed +0 -0
  73. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/query_expansion.py +0 -0
  74. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/ranking.py +0 -0
  75. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resolver.py +0 -0
  76. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/__init__.py +0 -0
  77. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/cache.py +0 -0
  78. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/coalescer.py +0 -0
  79. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/debouncer.py +0 -0
  80. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/governor.py +0 -0
  81. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/monitor.py +0 -0
  82. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/policy.py +0 -0
  83. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/retrieval_policy.py +0 -0
  84. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/route_composer.py +0 -0
  85. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/runtime/__init__.py +0 -0
  86. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/runtime/ingestor.py +0 -0
  87. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/runtime/models.py +0 -0
  88. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/runtime/reconciliation.py +0 -0
  89. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/runtime/runner.py +0 -0
  90. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/search/__init__.py +0 -0
  91. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/search/hybrid.py +0 -0
  92. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/search/semantic.py +0 -0
  93. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/security/__init__.py +0 -0
  94. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/security/paths.py +0 -0
  95. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/security/redaction.py +0 -0
  96. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/semantic_decorators.py +0 -0
  97. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/target_resolver.py +0 -0
  98. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/task.py +0 -0
  99. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/tool_selection_eval.py +0 -0
  100. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/dependency_links.txt +0 -0
  101. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/entry_points.txt +0 -0
  102. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/requires.txt +0 -0
  103. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/top_level.txt +0 -0
  104. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_active_coding_protection.py +0 -0
  105. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_adaptive_planning.py +0 -0
  106. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_adversarial_edge_cases.py +0 -0
  107. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_agent_ux_hardening.py +0 -0
  108. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_agent_ux_text_search_file_inspection.py +0 -0
  109. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_artifact_classification.py +0 -0
  110. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_artifact_retrieval_policy.py +0 -0
  111. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_benchmark_infra.py +0 -0
  112. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_bounded_caches.py +0 -0
  113. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_change_impact.py +0 -0
  114. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_cli_doctor_privacy.py +0 -0
  115. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_conservative_binding.py +0 -0
  116. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_context_budget.py +0 -0
  117. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_context_cache.py +0 -0
  118. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_context_compiler_v2.py +0 -0
  119. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_core.py +0 -0
  120. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_database_integrity.py +0 -0
  121. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_database_runtime_intelligence_and_security.py +0 -0
  122. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_debouncer.py +0 -0
  123. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_dependency_injection.py +0 -0
  124. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_determinism_and_soak.py +0 -0
  125. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_developer_audit.py +0 -0
  126. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_epistemic_relationships.py +0 -0
  127. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_evaluation_framework.py +0 -0
  128. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_framework_analyzers.py +0 -0
  129. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_framework_routes_persistence.py +0 -0
  130. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_hardening.py +0 -0
  131. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_interrogation_contracts.py +0 -0
  132. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_latency_modes_and_parallel.py +0 -0
  133. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_mcp_integration.py +0 -0
  134. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_monorepo_packages.py +0 -0
  135. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_package_boundaries.py +0 -0
  136. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_phase10_context_optimization.py +0 -0
  137. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_phase11_agent_integration.py +0 -0
  138. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_phase12_hardening.py +0 -0
  139. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_phase2.py +0 -0
  140. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_platform_resources.py +0 -0
  141. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_ranking_engine.py +0 -0
  142. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_reference_resolution.py +0 -0
  143. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_registries_and_dispatch.py +0 -0
  144. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_request_coalescer.py +0 -0
  145. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_resource_governor.py +0 -0
  146. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_retrieval_planner.py +0 -0
  147. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_route_composition.py +0 -0
  148. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_scanner_security.py +0 -0
  149. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_semantic_decorators.py +0 -0
  150. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_single_pass_parser.py +0 -0
  151. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_symbol_identity.py +0 -0
  152. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_task_ambiguity.py +0 -0
  153. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_task_mcp_tools.py +0 -0
  154. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_task_normalization.py +0 -0
  155. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_task_spec.py +0 -0
  156. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_test_intelligence.py +0 -0
  157. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v211_factory_resolution.py +0 -0
  158. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v211_features.py +0 -0
  159. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v211_imports_dependents_cli.py +0 -0
  160. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v211_recursive_frameworks.py +0 -0
  161. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v215_external_feedback.py +0 -0
  162. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v217_large_repo_indexing.py +0 -0
  163. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v21_diagnostics.py +0 -0
  164. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v21_hard_exclusions.py +0 -0
  165. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v21_query_expansion.py +0 -0
  166. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v21_retrieval_policy.py +0 -0
  167. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v21_target_resolver.py +0 -0
  168. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v22_enterprise_concurrency_and_runtime.py +0 -0
  169. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_verify_evidence.py +0 -0
  170. {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_windows_and_process_lifecycle.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: codegraph-engine
3
- Version: 2.2.1
3
+ Version: 2.3.0
4
4
  Summary: Deep deterministic repository intelligence for AI coding agents (code, dependencies, databases, and runtime observations)
5
5
  Author: CodeGraph contributors
6
6
  License-Expression: MIT
@@ -35,52 +35,104 @@ Dynamic: license-file
35
35
  <img src="docs/assets/codegraph_logo.jpg" alt="CodeGraph MCP — Deep Deterministic Repository Intelligence for AI Coding Agents" width="500" />
36
36
  </p>
37
37
 
38
- <h1 align="center">CodeGraph MCP Engine (v2.2.1)</h1>
38
+ <h1 align="center">CodeGraph MCP Engine (v2.3.0)</h1>
39
39
 
40
40
  <p align="center">
41
- <strong>Deep deterministic repository intelligence for AI coding agents.</strong>
41
+ <strong>Deterministic Codebase Intelligence for AI Coding Agents.</strong><br>
42
+ <em>High-performance Model Context Protocol (MCP) server for Claude Code, Cursor, Antigravity, Cline, and Codex.</em>
42
43
  </p>
43
44
 
44
45
  <p align="center">
45
- <a href="https://pypi.org/project/codegraph-engine/2.2.1/"><img src="https://img.shields.io/badge/pypi-codegraph--engine%20v2.2.1-blue.svg" alt="PyPI: codegraph-engine v2.2.1" /></a>
46
+ <a href="https://pypi.org/project/codegraph-engine/2.3.0/"><img src="https://img.shields.io/badge/pypi-codegraph--engine%20v2.3.0-blue.svg" alt="PyPI: codegraph-engine v2.3.0" /></a>
46
47
  <a href="pyproject.toml"><img src="https://img.shields.io/badge/python-3.12%20%7C%203.13-3776AB.svg" alt="Python 3.12 | 3.13" /></a>
47
- <a href="src/codegraph/mcp/server.py"><img src="https://img.shields.io/badge/MCP-14%20default%20%7C%2056%20full%20tools-2ea043.svg" alt="MCP Tools: 14 default | 56 full" /></a>
48
- <a href="tests/"><img src="https://img.shields.io/badge/pytest-861%20passed-brightgreen.svg" alt="Tests: 861 passed" /></a>
48
+ <a href="src/codegraph/mcp/server.py"><img src="https://img.shields.io/badge/MCP-14%20default%20%7C%2062%20full%20tools-2ea043.svg" alt="MCP Tools: 14 default | 62 full" /></a>
49
+ <a href="tests/"><img src="https://img.shields.io/badge/pytest-871%20passed-brightgreen.svg" alt="Tests: 871 passed" /></a>
49
50
  <a href="pyproject.toml"><img src="https://img.shields.io/badge/ruff-0%20errors-success.svg" alt="Ruff: 0 errors" /></a>
50
- <a href="src/codegraph/"><img src="https://img.shields.io/badge/mypy-0%20issues%20(80%20files)-blue.svg" alt="Mypy: strict" /></a>
51
+ <a href="src/codegraph/"><img src="https://img.shields.io/badge/mypy-0%20issues%20(87%20files)-blue.svg" alt="Mypy: strict" /></a>
52
+ <a href="https://raghurammrsd.github.io/CODE_GRAPH_MCP/"><img src="https://img.shields.io/badge/docs-GitHub%20Pages-0969da.svg" alt="Documentation: GitHub Pages" /></a>
51
53
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT" /></a>
52
54
  </p>
53
55
 
54
56
  <p align="center">
55
- <a href="https://pypi.org/project/codegraph-engine/2.2.1/"><strong>PyPI (v2.2.1)</strong></a> •
56
- <a href="#1-whats-new-in-v220"><strong>What's New in v2.2.1</strong></a> •
57
+ <a href="https://raghurammrsd.github.io/CODE_GRAPH_MCP/"><strong>Documentation Site</strong></a> •
58
+ <a href="https://pypi.org/project/codegraph-engine/2.3.0/"><strong>PyPI Package</strong></a> •
59
+ <a href="#overview"><strong>Overview</strong></a> •
60
+ <a href="#1-whats-new-in-v230-git-aware-intelligence"><strong>What's New in v2.3.0</strong></a> •
57
61
  <a href="#2-quickstart-30-second-setup"><strong>Quickstart</strong></a> •
58
- <a href="#4-real-world-cli-outputs"><strong>Real-World Outputs</strong></a> •
62
+ <a href="#4-real-world-cli-outputs"><strong>CLI Outputs</strong></a> •
59
63
  <a href="#6-database-intelligence"><strong>Database Intelligence</strong></a> •
60
64
  <a href="#7-zero-friction-runtime-intelligence--static-reconciliation"><strong>Runtime Evidence</strong></a> •
61
- <a href="#9-measured-performance-and-scaling-benchmarks"><strong>Measured Performance</strong></a> •
62
- <a href="docs/agent-brain.md"><strong>56-Tool Reference</strong></a> •
65
+ <a href="#8-git-aware-repository-intelligence"><strong>Git Intelligence</strong></a> •
66
+ <a href="#10-measured-performance-and-scaling-benchmarks"><strong>Benchmarks</strong></a> •
67
+ <a href="docs/agent-brain.md"><strong>62-Tool Reference</strong></a> •
63
68
  <a href="https://github.com/raghurammrsd/CODE_GRAPH_MCP"><strong>GitHub</strong></a>
64
69
  </p>
65
70
 
71
+ ---
72
+
73
+ ## Overview
74
+
75
+ ### The Problem
76
+
77
+ When AI coding agents (such as Claude Code, Cursor, or Antigravity) explore complex enterprise repositories, text-based search (grep/ripgrep) forces them to parse large, multi-thousand-line files to reconstruct call chains, router mounts, dependency injection graphs, and ORM schemas. This consumes 60% to 80% of the LLM context window with irrelevant code and frequently leads to hallucinations regarding entity relationships and database structures.
78
+
79
+ ### The Solution: CodeGraph MCP
80
+
81
+ **CodeGraph MCP provides deterministic, compiler-grade repository intelligence through the Model Context Protocol.** Instead of guessing based on lexical approximations, the AI agent queries a local, persistent SQLite index for verified AST relationships, framework router trees, database lineages, and live runtime observations—resolved in sub-5ms latency.
82
+
66
83
  ```text
67
- The AI reasons.
68
- CodeGraph MCP interrogates the repository.
69
- The evidence stays traceable.
84
+ ┌─────────────────────────────────────────────────────────────┐
85
+ │ AI CODING AGENT │
86
+ │ (Claude Code • Cursor • Antigravity) │
87
+ └──────────────────────────────┬──────────────────────────────┘
88
+ │ Model Context Protocol (stdio / SSE)
89
+ ▼
90
+ ┌─────────────────────────────────────────────────────────────┐
91
+ │ CODEGRAPH MCP ENGINE │
92
+ ├──────────────────────────────┬──────────────────────────────┤
93
+ │ AST Code Relationships │ Framework Route Hierarchy │
94
+ │ (Callers, Callees, DI) │ (FastAPI, Django, Express) │
95
+ ├──────────────────────────────┼──────────────────────────────┤
96
+ │ Database Lineage & Schemas │ Non-Invasive Dev Tracing │
97
+ │ (SQLAlchemy, Prisma, ORM) │ (HTTP metrics, exceptions) │
98
+ └──────────────────────────────┴──────────────────────────────┘
99
+ │
100
+ ▼
101
+ Deterministic • Local-First • Verified Evidence
70
102
  ```
71
103
 
72
- **CodeGraph MCP gives AI coding agents an evidence-backed understanding of code, dependencies, databases, and optional runtime observations.**
73
- > **Supported Languages & Frameworks:** First-class **Python** (`FastAPI`, `Flask`, `Django`, `SQLAlchemy`, `Celery`, `pytest`) + **TypeScript / JavaScript** (`.ts`, `.tsx`, `.js`, `.jsx`) & **Express.js** support.
104
+ ### Core Architecture Capabilities
105
+
106
+ - **Zero Hallucination Guarantee**: Every returned entity and relationship is statically verified via Abstract Syntax Trees or explicitly flagged as `UNKNOWN` / `POSSIBLE`.
107
+ - **Sub-5ms Freshness Verification**: Monotonic commit tracking validates `git rev-parse HEAD` and porcelain status instantly, avoiding full-tree re-indexing on unchanged codebases.
108
+ - **Context Window Optimization**: Yields 65% to 85% token reduction by returning structured, bounded source slices rather than entire file dumps.
109
+ - **Zero-Friction Dev Interception (`codegraph run`)**: Wraps local development servers (e.g., `codegraph run npm run dev`, `codegraph run uvicorn main:app`) to capture real HTTP routes, latencies, and stack traces without application code changes.
110
+ - **Multi-Agent Setup (`codegraph install`)**: Automatically detects, configures, and verifies integrations for Claude Code, Cursor, Antigravity, and Cline.
74
111
 
75
- When an AI coding agent works inside a complex Python or full-stack codebase, raw text search forces it to open dozens of files and mentally reconstruct call chains, router prefixes, dependency injection providers, and ORM table mappings inside its context window. CodeGraph MCP eliminates blind exploration by interrogating the codebase for deterministic, AST-verified facts.
112
+ > **Supported Languages & Frameworks:** Python (`FastAPI`, `Flask`, `Django`, `SQLAlchemy`, `Celery`, `pytest`) and TypeScript / JavaScript (`.ts`, `.tsx`, `.js`, `.jsx`, `Express.js`).
76
113
 
77
114
  ![CodeGraph MCP v2.2.1 Architecture & Concurrency Pipeline](docs/assets/v22_concurrency_runtime_pipeline.svg)
78
115
 
79
116
  ---
80
117
 
81
- ## 1. What's New in v2.2.1
118
+ ## 1. What's New in v2.3.0 (Git-Aware Intelligence)
82
119
 
83
- Version `2.2.1` solves the core operational, concurrency, context saturation, and developer friction bottlenecks in the Agent-MCP ecosystem:
120
+ Version `2.3.0` introduces compiler-grade **Git-Aware Repository Intelligence**, allowing AI agents and CI/CD pipelines to understand how code evolves across branches, commits, and working tree edits:
121
+
122
+ | Capability | CLI Command | MCP Tool | How It Solves Agent Failure Modes |
123
+ | :--- | :--- | :--- | :--- |
124
+ | **Working-Tree Freshness** | `codegraph git-state` | `get_git_state` | Tracks branch, HEAD vs indexed commit, modified/staged files with sub-millisecond status caching. Surfaces `CLEAN`, `DIRTY`, `STALE`, `REINDEXING`, `ERROR`. |
125
+ | **Structural AST Diff** | `codegraph git-diff [base] [head]` | `compare_git` | Semantic diff across Git revisions: identifies added/removed/modified functions, changed parameter signatures, and affected routes—not merely raw line diffs. |
126
+ | **Deep Impact & Visual Tree** | `codegraph git-impact --tree` | `get_change_impact` | Traverses downstream callers, callees, framework routes, DB writers, and affected test suites with token-bounded ranking and terminal ASCII tree visualization. |
127
+ | **Semantic Merge Conflicts** | `codegraph git-conflicts [base] [head]` | `detect_semantic_conflicts` | Detects silent contract breaks before merge: invoking functions or route handlers that were deleted or modified on the target branch. |
128
+ | **Context Freshness Gate** | `codegraph check-freshness [task]` | `check_context_freshness` | Determines whether previously compiled context remains `VALID`, `PARTIALLY_STALE`, or `STALE` without re-running full graph queries if unrelated files changed. |
129
+ | **Deterministic Symbol History** | `codegraph symbol-history <sym>` | `trace_symbol_history` | Reconstructs the exact commit lifecycle of any symbol (introduced, modified, moved, renamed, or deleted) with confidence labels. |
130
+
131
+ ---
132
+
133
+ ## 1.1 What's New in v2.2.1
134
+
135
+ Version `2.2.1` introduced runtime telemetry reconciliation, SQLite WAL concurrency, and multi-transport SSE resilience:
84
136
 
85
137
  | Bottleneck Solved | How It Worked Before | CodeGraph MCP v2.2.1 Solution | Impact |
86
138
  | :--- | :--- | :--- | :--- |
@@ -404,6 +456,60 @@ UNRESOLVED_REFERENCE / POSSIBLE_CALLS (status = "UNKNOWN" | "POSSIBLE")
404
456
 
405
457
  ---
406
458
 
459
+ ## 8. Git-Aware Repository Intelligence & Merge Conflict Safety
460
+
461
+ CodeGraph MCP v2.3.0 tracks the exact evolution of repository code across commits, branches, and working tree changes:
462
+
463
+ ```text
464
+ Repository state
465
+ ↓
466
+ Git change detection (CLEAN / DIRTY / STALE)
467
+ ↓
468
+ Structural AST diff (functions, parameters, routes)
469
+ ↓
470
+ Downstream impact analysis (callers, callees, tests, DB)
471
+ ↓
472
+ Context freshness validation (VALID / PARTIALLY_STALE / STALE)
473
+ ↓
474
+ Evidence-backed answer
475
+ ```
476
+
477
+ ### 1. Working Tree & Index Freshness (`codegraph git-state`)
478
+ Tracks current branch, current HEAD commit, indexed commit, and modified/staged files with sub-millisecond status caching:
479
+ ```bash
480
+ codegraph git-state
481
+ ```
482
+ Never silently serves stale repository facts. Explicitly reports `CLEAN`, `DIRTY`, `STALE`, `REINDEXING`, or `ERROR`.
483
+
484
+ ### 2. Deep Visual Downstream Impact Tree (`codegraph git-impact --tree`)
485
+ Traverses affected callers, routes, tests, and DB writers with token-bounded results and visual ASCII hierarchy:
486
+ ```bash
487
+ codegraph git-impact --tree
488
+ ```
489
+
490
+ ### 3. Semantic & Contract Merge Conflicts (`codegraph git-conflicts`)
491
+ Detects silent merge conflicts before git merge or pull request landing—such as branch A invoking a function or route handler that branch B deleted or altered:
492
+ ```bash
493
+ codegraph git-conflicts main HEAD
494
+ ```
495
+
496
+ ### 4. Structural AST Diff (`codegraph git-diff`)
497
+ Computes semantic AST differences between Git revisions (added/removed/modified symbols, changed parameter signatures):
498
+ ```bash
499
+ codegraph git-diff HEAD~1 HEAD
500
+ ```
501
+
502
+ ### 5. Deterministic Symbol History (`codegraph symbol-history`)
503
+ Traces symbol lifecycle across commits (introduced, modified, moved, renamed, or deleted):
504
+ ```bash
505
+ codegraph symbol-history resolve_target
506
+ ```
507
+
508
+ ### 6. GitHub Action for Pull Request Impact
509
+ Automate change impact directly in your CI pipeline with `.github/workflows/codegraph-pr-impact.yml` and `.github/actions/codegraph-impact/action.yml`.
510
+
511
+ ---
512
+
407
513
  ## 9. Measured Performance and Scaling Benchmarks
408
514
 
409
515
  ### 4-Tier Scaling Summary (`54` → `2,504` Files)
@@ -2,52 +2,104 @@
2
2
  <img src="docs/assets/codegraph_logo.jpg" alt="CodeGraph MCP — Deep Deterministic Repository Intelligence for AI Coding Agents" width="500" />
3
3
  </p>
4
4
 
5
- <h1 align="center">CodeGraph MCP Engine (v2.2.1)</h1>
5
+ <h1 align="center">CodeGraph MCP Engine (v2.3.0)</h1>
6
6
 
7
7
  <p align="center">
8
- <strong>Deep deterministic repository intelligence for AI coding agents.</strong>
8
+ <strong>Deterministic Codebase Intelligence for AI Coding Agents.</strong><br>
9
+ <em>High-performance Model Context Protocol (MCP) server for Claude Code, Cursor, Antigravity, Cline, and Codex.</em>
9
10
  </p>
10
11
 
11
12
  <p align="center">
12
- <a href="https://pypi.org/project/codegraph-engine/2.2.1/"><img src="https://img.shields.io/badge/pypi-codegraph--engine%20v2.2.1-blue.svg" alt="PyPI: codegraph-engine v2.2.1" /></a>
13
+ <a href="https://pypi.org/project/codegraph-engine/2.3.0/"><img src="https://img.shields.io/badge/pypi-codegraph--engine%20v2.3.0-blue.svg" alt="PyPI: codegraph-engine v2.3.0" /></a>
13
14
  <a href="pyproject.toml"><img src="https://img.shields.io/badge/python-3.12%20%7C%203.13-3776AB.svg" alt="Python 3.12 | 3.13" /></a>
14
- <a href="src/codegraph/mcp/server.py"><img src="https://img.shields.io/badge/MCP-14%20default%20%7C%2056%20full%20tools-2ea043.svg" alt="MCP Tools: 14 default | 56 full" /></a>
15
- <a href="tests/"><img src="https://img.shields.io/badge/pytest-861%20passed-brightgreen.svg" alt="Tests: 861 passed" /></a>
15
+ <a href="src/codegraph/mcp/server.py"><img src="https://img.shields.io/badge/MCP-14%20default%20%7C%2062%20full%20tools-2ea043.svg" alt="MCP Tools: 14 default | 62 full" /></a>
16
+ <a href="tests/"><img src="https://img.shields.io/badge/pytest-871%20passed-brightgreen.svg" alt="Tests: 871 passed" /></a>
16
17
  <a href="pyproject.toml"><img src="https://img.shields.io/badge/ruff-0%20errors-success.svg" alt="Ruff: 0 errors" /></a>
17
- <a href="src/codegraph/"><img src="https://img.shields.io/badge/mypy-0%20issues%20(80%20files)-blue.svg" alt="Mypy: strict" /></a>
18
+ <a href="src/codegraph/"><img src="https://img.shields.io/badge/mypy-0%20issues%20(87%20files)-blue.svg" alt="Mypy: strict" /></a>
19
+ <a href="https://raghurammrsd.github.io/CODE_GRAPH_MCP/"><img src="https://img.shields.io/badge/docs-GitHub%20Pages-0969da.svg" alt="Documentation: GitHub Pages" /></a>
18
20
  <a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT" /></a>
19
21
  </p>
20
22
 
21
23
  <p align="center">
22
- <a href="https://pypi.org/project/codegraph-engine/2.2.1/"><strong>PyPI (v2.2.1)</strong></a> •
23
- <a href="#1-whats-new-in-v220"><strong>What's New in v2.2.1</strong></a> •
24
+ <a href="https://raghurammrsd.github.io/CODE_GRAPH_MCP/"><strong>Documentation Site</strong></a> •
25
+ <a href="https://pypi.org/project/codegraph-engine/2.3.0/"><strong>PyPI Package</strong></a> •
26
+ <a href="#overview"><strong>Overview</strong></a> •
27
+ <a href="#1-whats-new-in-v230-git-aware-intelligence"><strong>What's New in v2.3.0</strong></a> •
24
28
  <a href="#2-quickstart-30-second-setup"><strong>Quickstart</strong></a> •
25
- <a href="#4-real-world-cli-outputs"><strong>Real-World Outputs</strong></a> •
29
+ <a href="#4-real-world-cli-outputs"><strong>CLI Outputs</strong></a> •
26
30
  <a href="#6-database-intelligence"><strong>Database Intelligence</strong></a> •
27
31
  <a href="#7-zero-friction-runtime-intelligence--static-reconciliation"><strong>Runtime Evidence</strong></a> •
28
- <a href="#9-measured-performance-and-scaling-benchmarks"><strong>Measured Performance</strong></a> •
29
- <a href="docs/agent-brain.md"><strong>56-Tool Reference</strong></a> •
32
+ <a href="#8-git-aware-repository-intelligence"><strong>Git Intelligence</strong></a> •
33
+ <a href="#10-measured-performance-and-scaling-benchmarks"><strong>Benchmarks</strong></a> •
34
+ <a href="docs/agent-brain.md"><strong>62-Tool Reference</strong></a> •
30
35
  <a href="https://github.com/raghurammrsd/CODE_GRAPH_MCP"><strong>GitHub</strong></a>
31
36
  </p>
32
37
 
38
+ ---
39
+
40
+ ## Overview
41
+
42
+ ### The Problem
43
+
44
+ When AI coding agents (such as Claude Code, Cursor, or Antigravity) explore complex enterprise repositories, text-based search (grep/ripgrep) forces them to parse large, multi-thousand-line files to reconstruct call chains, router mounts, dependency injection graphs, and ORM schemas. This consumes 60% to 80% of the LLM context window with irrelevant code and frequently leads to hallucinations regarding entity relationships and database structures.
45
+
46
+ ### The Solution: CodeGraph MCP
47
+
48
+ **CodeGraph MCP provides deterministic, compiler-grade repository intelligence through the Model Context Protocol.** Instead of guessing based on lexical approximations, the AI agent queries a local, persistent SQLite index for verified AST relationships, framework router trees, database lineages, and live runtime observations—resolved in sub-5ms latency.
49
+
33
50
  ```text
34
- The AI reasons.
35
- CodeGraph MCP interrogates the repository.
36
- The evidence stays traceable.
51
+ ┌─────────────────────────────────────────────────────────────┐
52
+ │ AI CODING AGENT │
53
+ │ (Claude Code • Cursor • Antigravity) │
54
+ └──────────────────────────────┬──────────────────────────────┘
55
+ │ Model Context Protocol (stdio / SSE)
56
+ ▼
57
+ ┌─────────────────────────────────────────────────────────────┐
58
+ │ CODEGRAPH MCP ENGINE │
59
+ ├──────────────────────────────┬──────────────────────────────┤
60
+ │ AST Code Relationships │ Framework Route Hierarchy │
61
+ │ (Callers, Callees, DI) │ (FastAPI, Django, Express) │
62
+ ├──────────────────────────────┼──────────────────────────────┤
63
+ │ Database Lineage & Schemas │ Non-Invasive Dev Tracing │
64
+ │ (SQLAlchemy, Prisma, ORM) │ (HTTP metrics, exceptions) │
65
+ └──────────────────────────────┴──────────────────────────────┘
66
+ │
67
+ ▼
68
+ Deterministic • Local-First • Verified Evidence
37
69
  ```
38
70
 
39
- **CodeGraph MCP gives AI coding agents an evidence-backed understanding of code, dependencies, databases, and optional runtime observations.**
40
- > **Supported Languages & Frameworks:** First-class **Python** (`FastAPI`, `Flask`, `Django`, `SQLAlchemy`, `Celery`, `pytest`) + **TypeScript / JavaScript** (`.ts`, `.tsx`, `.js`, `.jsx`) & **Express.js** support.
71
+ ### Core Architecture Capabilities
72
+
73
+ - **Zero Hallucination Guarantee**: Every returned entity and relationship is statically verified via Abstract Syntax Trees or explicitly flagged as `UNKNOWN` / `POSSIBLE`.
74
+ - **Sub-5ms Freshness Verification**: Monotonic commit tracking validates `git rev-parse HEAD` and porcelain status instantly, avoiding full-tree re-indexing on unchanged codebases.
75
+ - **Context Window Optimization**: Yields 65% to 85% token reduction by returning structured, bounded source slices rather than entire file dumps.
76
+ - **Zero-Friction Dev Interception (`codegraph run`)**: Wraps local development servers (e.g., `codegraph run npm run dev`, `codegraph run uvicorn main:app`) to capture real HTTP routes, latencies, and stack traces without application code changes.
77
+ - **Multi-Agent Setup (`codegraph install`)**: Automatically detects, configures, and verifies integrations for Claude Code, Cursor, Antigravity, and Cline.
41
78
 
42
- When an AI coding agent works inside a complex Python or full-stack codebase, raw text search forces it to open dozens of files and mentally reconstruct call chains, router prefixes, dependency injection providers, and ORM table mappings inside its context window. CodeGraph MCP eliminates blind exploration by interrogating the codebase for deterministic, AST-verified facts.
79
+ > **Supported Languages & Frameworks:** Python (`FastAPI`, `Flask`, `Django`, `SQLAlchemy`, `Celery`, `pytest`) and TypeScript / JavaScript (`.ts`, `.tsx`, `.js`, `.jsx`, `Express.js`).
43
80
 
44
81
  ![CodeGraph MCP v2.2.1 Architecture & Concurrency Pipeline](docs/assets/v22_concurrency_runtime_pipeline.svg)
45
82
 
46
83
  ---
47
84
 
48
- ## 1. What's New in v2.2.1
85
+ ## 1. What's New in v2.3.0 (Git-Aware Intelligence)
49
86
 
50
- Version `2.2.1` solves the core operational, concurrency, context saturation, and developer friction bottlenecks in the Agent-MCP ecosystem:
87
+ Version `2.3.0` introduces compiler-grade **Git-Aware Repository Intelligence**, allowing AI agents and CI/CD pipelines to understand how code evolves across branches, commits, and working tree edits:
88
+
89
+ | Capability | CLI Command | MCP Tool | How It Solves Agent Failure Modes |
90
+ | :--- | :--- | :--- | :--- |
91
+ | **Working-Tree Freshness** | `codegraph git-state` | `get_git_state` | Tracks branch, HEAD vs indexed commit, modified/staged files with sub-millisecond status caching. Surfaces `CLEAN`, `DIRTY`, `STALE`, `REINDEXING`, `ERROR`. |
92
+ | **Structural AST Diff** | `codegraph git-diff [base] [head]` | `compare_git` | Semantic diff across Git revisions: identifies added/removed/modified functions, changed parameter signatures, and affected routes—not merely raw line diffs. |
93
+ | **Deep Impact & Visual Tree** | `codegraph git-impact --tree` | `get_change_impact` | Traverses downstream callers, callees, framework routes, DB writers, and affected test suites with token-bounded ranking and terminal ASCII tree visualization. |
94
+ | **Semantic Merge Conflicts** | `codegraph git-conflicts [base] [head]` | `detect_semantic_conflicts` | Detects silent contract breaks before merge: invoking functions or route handlers that were deleted or modified on the target branch. |
95
+ | **Context Freshness Gate** | `codegraph check-freshness [task]` | `check_context_freshness` | Determines whether previously compiled context remains `VALID`, `PARTIALLY_STALE`, or `STALE` without re-running full graph queries if unrelated files changed. |
96
+ | **Deterministic Symbol History** | `codegraph symbol-history <sym>` | `trace_symbol_history` | Reconstructs the exact commit lifecycle of any symbol (introduced, modified, moved, renamed, or deleted) with confidence labels. |
97
+
98
+ ---
99
+
100
+ ## 1.1 What's New in v2.2.1
101
+
102
+ Version `2.2.1` introduced runtime telemetry reconciliation, SQLite WAL concurrency, and multi-transport SSE resilience:
51
103
 
52
104
  | Bottleneck Solved | How It Worked Before | CodeGraph MCP v2.2.1 Solution | Impact |
53
105
  | :--- | :--- | :--- | :--- |
@@ -371,6 +423,60 @@ UNRESOLVED_REFERENCE / POSSIBLE_CALLS (status = "UNKNOWN" | "POSSIBLE")
371
423
 
372
424
  ---
373
425
 
426
+ ## 8. Git-Aware Repository Intelligence & Merge Conflict Safety
427
+
428
+ CodeGraph MCP v2.3.0 tracks the exact evolution of repository code across commits, branches, and working tree changes:
429
+
430
+ ```text
431
+ Repository state
432
+ ↓
433
+ Git change detection (CLEAN / DIRTY / STALE)
434
+ ↓
435
+ Structural AST diff (functions, parameters, routes)
436
+ ↓
437
+ Downstream impact analysis (callers, callees, tests, DB)
438
+ ↓
439
+ Context freshness validation (VALID / PARTIALLY_STALE / STALE)
440
+ ↓
441
+ Evidence-backed answer
442
+ ```
443
+
444
+ ### 1. Working Tree & Index Freshness (`codegraph git-state`)
445
+ Tracks current branch, current HEAD commit, indexed commit, and modified/staged files with sub-millisecond status caching:
446
+ ```bash
447
+ codegraph git-state
448
+ ```
449
+ Never silently serves stale repository facts. Explicitly reports `CLEAN`, `DIRTY`, `STALE`, `REINDEXING`, or `ERROR`.
450
+
451
+ ### 2. Deep Visual Downstream Impact Tree (`codegraph git-impact --tree`)
452
+ Traverses affected callers, routes, tests, and DB writers with token-bounded results and visual ASCII hierarchy:
453
+ ```bash
454
+ codegraph git-impact --tree
455
+ ```
456
+
457
+ ### 3. Semantic & Contract Merge Conflicts (`codegraph git-conflicts`)
458
+ Detects silent merge conflicts before git merge or pull request landing—such as branch A invoking a function or route handler that branch B deleted or altered:
459
+ ```bash
460
+ codegraph git-conflicts main HEAD
461
+ ```
462
+
463
+ ### 4. Structural AST Diff (`codegraph git-diff`)
464
+ Computes semantic AST differences between Git revisions (added/removed/modified symbols, changed parameter signatures):
465
+ ```bash
466
+ codegraph git-diff HEAD~1 HEAD
467
+ ```
468
+
469
+ ### 5. Deterministic Symbol History (`codegraph symbol-history`)
470
+ Traces symbol lifecycle across commits (introduced, modified, moved, renamed, or deleted):
471
+ ```bash
472
+ codegraph symbol-history resolve_target
473
+ ```
474
+
475
+ ### 6. GitHub Action for Pull Request Impact
476
+ Automate change impact directly in your CI pipeline with `.github/workflows/codegraph-pr-impact.yml` and `.github/actions/codegraph-impact/action.yml`.
477
+
478
+ ---
479
+
374
480
  ## 9. Measured Performance and Scaling Benchmarks
375
481
 
376
482
  ### 4-Tier Scaling Summary (`54` → `2,504` Files)
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "codegraph-engine"
7
- version = "2.2.1"
7
+ version = "2.3.0"
8
8
  description = "Deep deterministic repository intelligence for AI coding agents (code, dependencies, databases, and runtime observations)"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.12"
@@ -1,6 +1,6 @@
1
1
  """CodeGraph MCP: local, evidence-backed codebase intelligence."""
2
2
 
3
- __version__ = "2.2.1"
3
+ __version__ = "2.3.0"
4
4
  from codegraph.errors import (
5
5
  CodeGraphError,
6
6
  ErrorCode,