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.
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/PKG-INFO +126 -20
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/README.md +125 -19
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/pyproject.toml +1 -1
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/__init__.py +1 -1
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/agent_capabilities.py +245 -4
- codegraph_engine-2.3.0/src/codegraph/branch_comparison.py +197 -0
- codegraph_engine-2.3.0/src/codegraph/change_impact.py +337 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/cli.py +238 -0
- codegraph_engine-2.3.0/src/codegraph/context_freshness.py +349 -0
- codegraph_engine-2.3.0/src/codegraph/git_state.py +543 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/mcp/server.py +69 -0
- codegraph_engine-2.3.0/src/codegraph/semantic_conflicts.py +270 -0
- codegraph_engine-2.3.0/src/codegraph/structural_diff.py +540 -0
- codegraph_engine-2.3.0/src/codegraph/symbol_history.py +275 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/PKG-INFO +126 -20
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/SOURCES.txt +7 -0
- codegraph_engine-2.3.0/tests/test_git_intelligence.py +574 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_phase13_agent_brain_and_rc.py +5 -5
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v216_installer.py +1 -1
- codegraph_engine-2.2.1/tests/test_git_intelligence.py +0 -118
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/LICENSE +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/setup.cfg +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/agent.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/agent_brain.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/agent_rules.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/architecture.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/audit.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/binding_resolver.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/cache.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/cli_output.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/config.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/constraints.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/context.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/database/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/database/extractor.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/database/interrogation.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/database/models.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/epistemic.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/errors.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/evidence/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/evidence/citations.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/evidence_contract.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/frameworks.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/freshness.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/git.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/graph/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/graph/models.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/graph/traversal.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/classifier.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/indexer.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/models.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/parser.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/scanner.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/telemetry.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/indexing/test_framework.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/installer.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/interrogation.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/llm/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/llm/base.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/llm/context.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/mcp/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/mcp_diagnostics.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/memory/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/memory/store.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/models.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/monorepo.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/observability.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/optimizer.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/planner.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/process_lifecycle.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/py.typed +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/query_expansion.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/ranking.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resolver.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/cache.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/coalescer.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/debouncer.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/governor.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/monitor.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/resources/policy.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/retrieval_policy.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/route_composer.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/runtime/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/runtime/ingestor.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/runtime/models.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/runtime/reconciliation.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/runtime/runner.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/search/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/search/hybrid.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/search/semantic.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/security/__init__.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/security/paths.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/security/redaction.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/semantic_decorators.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/target_resolver.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/task.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph/tool_selection_eval.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/dependency_links.txt +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/entry_points.txt +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/requires.txt +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/src/codegraph_engine.egg-info/top_level.txt +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_active_coding_protection.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_adaptive_planning.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_adversarial_edge_cases.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_agent_ux_hardening.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_agent_ux_text_search_file_inspection.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_artifact_classification.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_artifact_retrieval_policy.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_benchmark_infra.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_bounded_caches.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_change_impact.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_cli_doctor_privacy.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_conservative_binding.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_context_budget.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_context_cache.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_context_compiler_v2.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_core.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_database_integrity.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_database_runtime_intelligence_and_security.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_debouncer.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_dependency_injection.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_determinism_and_soak.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_developer_audit.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_epistemic_relationships.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_evaluation_framework.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_framework_analyzers.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_framework_routes_persistence.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_hardening.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_interrogation_contracts.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_latency_modes_and_parallel.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_mcp_integration.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_monorepo_packages.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_package_boundaries.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_phase10_context_optimization.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_phase11_agent_integration.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_phase12_hardening.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_phase2.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_platform_resources.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_ranking_engine.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_reference_resolution.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_registries_and_dispatch.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_request_coalescer.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_resource_governor.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_retrieval_planner.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_route_composition.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_scanner_security.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_semantic_decorators.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_single_pass_parser.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_symbol_identity.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_task_ambiguity.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_task_mcp_tools.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_task_normalization.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_task_spec.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_test_intelligence.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v211_factory_resolution.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v211_features.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v211_imports_dependents_cli.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v211_recursive_frameworks.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v215_external_feedback.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v217_large_repo_indexing.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v21_diagnostics.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v21_hard_exclusions.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v21_query_expansion.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v21_retrieval_policy.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v21_target_resolver.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_v22_enterprise_concurrency_and_runtime.py +0 -0
- {codegraph_engine-2.2.1 → codegraph_engine-2.3.0}/tests/test_verify_evidence.py +0 -0
- {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.
|
|
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.
|
|
38
|
+
<h1 align="center">CodeGraph MCP Engine (v2.3.0)</h1>
|
|
39
39
|
|
|
40
40
|
<p align="center">
|
|
41
|
-
<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.
|
|
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%
|
|
48
|
-
<a href="tests/"><img src="https://img.shields.io/badge/pytest-
|
|
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(
|
|
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://
|
|
56
|
-
<a href="
|
|
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>
|
|
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="#
|
|
62
|
-
<a href="
|
|
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
|
-
|
|
68
|
-
|
|
69
|
-
|
|
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
|
-
|
|
73
|
-
|
|
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
|
-
|
|
112
|
+
> **Supported Languages & Frameworks:** Python (`FastAPI`, `Flask`, `Django`, `SQLAlchemy`, `Celery`, `pytest`) and TypeScript / JavaScript (`.ts`, `.tsx`, `.js`, `.jsx`, `Express.js`).
|
|
76
113
|
|
|
77
114
|

|
|
78
115
|
|
|
79
116
|
---
|
|
80
117
|
|
|
81
|
-
## 1. What's New in v2.
|
|
118
|
+
## 1. What's New in v2.3.0 (Git-Aware Intelligence)
|
|
82
119
|
|
|
83
|
-
Version `2.
|
|
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.
|
|
5
|
+
<h1 align="center">CodeGraph MCP Engine (v2.3.0)</h1>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<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.
|
|
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%
|
|
15
|
-
<a href="tests/"><img src="https://img.shields.io/badge/pytest-
|
|
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(
|
|
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://
|
|
23
|
-
<a href="
|
|
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>
|
|
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="#
|
|
29
|
-
<a href="
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
-
|
|
40
|
-
|
|
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
|
-
|
|
79
|
+
> **Supported Languages & Frameworks:** Python (`FastAPI`, `Flask`, `Django`, `SQLAlchemy`, `Celery`, `pytest`) and TypeScript / JavaScript (`.ts`, `.tsx`, `.js`, `.jsx`, `Express.js`).
|
|
43
80
|
|
|
44
81
|

|
|
45
82
|
|
|
46
83
|
---
|
|
47
84
|
|
|
48
|
-
## 1. What's New in v2.
|
|
85
|
+
## 1. What's New in v2.3.0 (Git-Aware Intelligence)
|
|
49
86
|
|
|
50
|
-
Version `2.
|
|
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.
|
|
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"
|