codecortex-context-engine 0.1.0a1__tar.gz → 0.1.0a5__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.
- codecortex_context_engine-0.1.0a5/.gitattributes +21 -0
- codecortex_context_engine-0.1.0a5/.github/workflows/bootstrap-release.yml +36 -0
- codecortex_context_engine-0.1.0a5/.github/workflows/ci.yml +134 -0
- codecortex_context_engine-0.1.0a5/.github/workflows/dependency-docs-live.yml +47 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/workflows/live-agent-e2e.yml +18 -5
- codecortex_context_engine-0.1.0a5/.github/workflows/longitudinal-performance.yml +62 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/workflows/release.yml +11 -3
- codecortex_context_engine-0.1.0a5/.github/workflows/structural-engine.yml +61 -0
- codecortex_context_engine-0.1.0a5/.github/workflows/web-console.yml +27 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.gitignore +3 -0
- codecortex_context_engine-0.1.0a5/CHANGELOG.md +43 -0
- codecortex_context_engine-0.1.0a5/Dockerfile +43 -0
- codecortex_context_engine-0.1.0a5/HARDENING_REPORT.md +305 -0
- codecortex_context_engine-0.1.0a5/NOTICE +40 -0
- codecortex_context_engine-0.1.0a5/PKG-INFO +1945 -0
- codecortex_context_engine-0.1.0a5/README.md +1697 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/ROADMAP.md +21 -6
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/SECURITY.md +11 -0
- codecortex_context_engine-0.1.0a5/THIRD_PARTY_NOTICES.md +154 -0
- codecortex_context_engine-0.1.0a5/compose.yaml +46 -0
- codecortex_context_engine-0.1.0a5/deploy/nginx.conf +19 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/docs/ARCHITECTURE.md +11 -2
- codecortex_context_engine-0.1.0a5/docs/DISTRIBUTED.md +68 -0
- codecortex_context_engine-0.1.0a5/docs/EVIDENCE_FUSION.md +282 -0
- codecortex_context_engine-0.1.0a5/docs/LICENSING.md +47 -0
- codecortex_context_engine-0.1.0a5/docs/QUALITY.md +26 -0
- codecortex_context_engine-0.1.0a5/docs/TESTING.md +27 -0
- codecortex_context_engine-0.1.0a5/docs/platform/README.md +40 -0
- codecortex_context_engine-0.1.0a5/docs/platform/admin.md +26 -0
- codecortex_context_engine-0.1.0a5/docs/platform/api-compatibility.md +11 -0
- codecortex_context_engine-0.1.0a5/docs/platform/api.md +17 -0
- codecortex_context_engine-0.1.0a5/docs/platform/architecture-invariants.md +11 -0
- codecortex_context_engine-0.1.0a5/docs/platform/definition-of-done.md +9 -0
- codecortex_context_engine-0.1.0a5/docs/platform/development.md +21 -0
- codecortex_context_engine-0.1.0a5/docs/provenance/dependency-documentation.md +74 -0
- codecortex_context_engine-0.1.0a5/docs/provenance/graphify.md +12 -0
- codecortex_context_engine-0.1.0a5/docs/provenance/headroom.md +12 -0
- codecortex_context_engine-0.1.0a5/docs/provenance/precision-intelligence.md +95 -0
- codecortex_context_engine-0.1.0a5/docs/provenance/serena.md +12 -0
- codecortex_context_engine-0.1.0a5/docs/provenance/structural-intelligence.md +70 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/mkdocs.yml +1 -0
- codecortex_context_engine-0.1.0a5/platform/architecture_rules.json +10 -0
- codecortex_context_engine-0.1.0a5/platform/definition_of_done.json +17 -0
- codecortex_context_engine-0.1.0a5/platform/layout.json +35 -0
- codecortex_context_engine-0.1.0a5/platform/milestones.json +12 -0
- codecortex_context_engine-0.1.0a5/platform/priorities.json +11 -0
- codecortex_context_engine-0.1.0a5/platform/roadmap_completion.json +7 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/pyproject.toml +32 -5
- codecortex_context_engine-0.1.0a5/scripts/check_feature_done.py +29 -0
- codecortex_context_engine-0.1.0a5/scripts/check_platform_architecture.py +37 -0
- codecortex_context_engine-0.1.0a5/scripts/check_platform_priorities.py +14 -0
- codecortex_context_engine-0.1.0a5/scripts/check_readme.py +92 -0
- codecortex_context_engine-0.1.0a5/scripts/compact_readme.py +54 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/scripts/demo.py +3 -1
- codecortex_context_engine-0.1.0a5/scripts/export_openapi.py +21 -0
- codecortex_context_engine-0.1.0a5/scripts/generate_readme.py +565 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/scripts/live_agent_e2e.py +4 -1
- codecortex_context_engine-0.1.0a5/scripts/platform_milestones.py +14 -0
- codecortex_context_engine-0.1.0a5/scripts/record_performance_history.py +59 -0
- codecortex_context_engine-0.1.0a5/scripts/refresh_upstream_fixtures.py +94 -0
- codecortex_context_engine-0.1.0a5/scripts/regenerate_real_index_fixtures.sh +74 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/scripts/run_agent_matrix.py +6 -2
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/scripts/run_production_benchmark.py +3 -1
- codecortex_context_engine-0.1.0a5/scripts/write_real_index_provenance.py +96 -0
- codecortex_context_engine-0.1.0a5/sdk/typescript/package.json +10 -0
- codecortex_context_engine-0.1.0a5/sdk/typescript/src/index.ts +13 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/__init__.py +5 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/app.py +241 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/auth.py +40 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/cli.py +30 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/feature_loader.py +56 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/hardening.py +92 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/__init__.py +1 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/audit.py +43 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/backends.py +67 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/cluster.py +52 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/code_actions.py +121 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/git.py +64 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/integrations.py +92 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/manifest.py +19 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/memory_center.py +88 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/notifications.py +82 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/observability.py +72 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/organization.py +112 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/performance.py +63 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/pr.py +54 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/quality.py +46 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/repository.py +157 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/routes/versioning.py +19 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/schemas.py +56 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/api/versioning.py +31 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/application/__init__.py +5 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/application/architecture.py +45 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/application/context_lab.py +34 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/application/contracts.py +46 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/application/impact.py +36 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/application/safe_edit.py +106 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/application/search.py +37 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/application/service.py +163 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/application/traces.py +41 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/architecture/drift.py +6 -4
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/base.py +1 -5
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/factory.py +1 -3
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/manager.py +11 -3
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/mcp_client.py +4 -2
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/spec.py +1 -6
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/benchmark.py +34 -17
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/cli.py +222 -10
- codecortex_context_engine-0.1.0a5/src/codecortex/config.py +165 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/context/budget.py +61 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/context/pipeline.py +284 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/context/slicing.py +119 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/context/tokenizer.py +59 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/core/models.py +6 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/dashboard.py +49 -8
- codecortex_context_engine-0.1.0a5/src/codecortex/dependencies/__init__.py +45 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/dependencies/cache.py +169 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/dependencies/contracts.py +40 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/dependencies/manifests.py +554 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/dependencies/models.py +195 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/dependencies/provider.py +89 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/dependencies/remote.py +579 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/dependencies/resolver.py +58 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/dependencies/service.py +285 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/dependencies/versions.py +137 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/__init__.py +43 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/cli.py +124 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/cluster.py +92 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/graph_store.py +157 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/memory_sync.py +237 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/organization.py +335 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/performance.py +195 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/remote_mcp.py +315 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/service.py +172 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/vector_store.py +208 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/distributed/workers.py +356 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/engines/builtin/factory.py +4 -2
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/engines/builtin/repository.py +14 -4
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/engines/builtin/symbols.py +41 -29
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/engines/builtin/validation.py +4 -1
- codecortex_context_engine-0.1.0a5/src/codecortex/engines/registry.py +35 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/entrypoint.py +4 -2
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/evaluation/__init__.py +13 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/evaluation/baseline.py +73 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/evaluation/evidence_benchmark.py +310 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/evaluation/external.py +21 -7
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/evaluation/production.py +38 -32
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/evaluation/regression.py +4 -3
- codecortex_context_engine-0.1.0a5/src/codecortex/evaluation/retrieval_quality.py +82 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/evaluation/scale.py +75 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/evidence/__init__.py +33 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/evidence/contracts.py +26 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/evidence/fusion.py +194 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/evidence/models.py +207 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/feedback.py +92 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/gateway.py +12 -4
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/git_intelligence.py +8 -5
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/indexing/graph.py +7 -15
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/indexing/impact.py +74 -7
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/indexing/incremental.py +15 -37
- codecortex_context_engine-0.1.0a5/src/codecortex/indexing/incremental_graph.py +239 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/indexing/indexer.py +64 -56
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/indexing/relationships.py +10 -3
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/integrations/agents.py +24 -6
- codecortex_context_engine-0.1.0a5/src/codecortex/jobs/__init__.py +6 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/jobs/manager.py +93 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/jobs/store.py +208 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/languages/registry.py +42 -23
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/mcp/extended.py +28 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/mcp/server.py +468 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/mcp/validation.py +75 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/memory/json_store.py +21 -17
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/memory/knowledge.py +4 -2
- codecortex_context_engine-0.1.0a5/src/codecortex/notifications.py +137 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/observability.py +103 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/orchestrator.py +244 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/performance.py +18 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/persistence/__init__.py +5 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/persistence/sqlite.py +230 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/platform.py +47 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/platform_audit.py +33 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/platform_dod.py +33 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/platform_governance.py +58 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/platform_layout.py +24 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/platform_manifest.py +51 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/platform_milestones.py +42 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/pr_intelligence.py +4 -4
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/__init__.py +49 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/compatibility.py +113 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/generator.py +95 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/identity.py +235 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/importer.py +269 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/index.py +330 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/merge.py +208 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/models.py +343 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/positions.py +126 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/provider.py +423 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/schema.py +126 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/precision/wire.py +203 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/projects/__init__.py +24 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/projects/context.py +53 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/projects/runtime_manager.py +40 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/py.typed +0 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/realtime.py +61 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/retrieval/hybrid.py +3 -1
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/retrieval/index.py +30 -28
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/retrieval/providers.py +1 -2
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/retrieval/repository.py +27 -10
- codecortex_context_engine-0.1.0a5/src/codecortex/router/__init__.py +6 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/router/evidence_plan.py +129 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/router/router.py +43 -10
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/runtime.py +11 -4
- codecortex_context_engine-0.1.0a5/src/codecortex/sdk/__init__.py +5 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/sdk/client.py +101 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/setup.py +1 -3
- codecortex_context_engine-0.1.0a5/src/codecortex/state.py +120 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/structural/__init__.py +34 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/structural/engine.py +290 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/structural/models.py +100 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/structural/provider.py +110 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/structural/rewrite.py +427 -0
- codecortex_context_engine-0.1.0a5/src/codecortex/structural/search.py +130 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/symbols/providers.py +17 -8
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/tracing/task_trace.py +1 -2
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/workspace/federation.py +69 -12
- codecortex_context_engine-0.1.0a5/tests/fixtures/precision_index.py +193 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/proto_schema.py +93 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/README.md +58 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/python_project/PROVENANCE.json +21 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/python_project/app/__init__.py +0 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/python_project/app/auth.py +16 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/python_project/app/billing.py +13 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/python_project/app/service.py +9 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/python_project/app/shapes.py +11 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/python_project/expected.json +1 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/python_project/index.scip +0 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/typescript_project/PROVENANCE.json +21 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/typescript_project/expected.json +1 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/typescript_project/index.scip +0 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/typescript_project/package.json +6 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/typescript_project/src/auth.ts +11 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/typescript_project/src/billing.ts +9 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/typescript_project/src/service.ts +12 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/typescript_project/src/store.ts +20 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/real_index/typescript_project/tsconfig.json +12 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/structural_engine.py +132 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/upstream/README.md +22 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/upstream/scip/LICENSE +201 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/upstream/scip/PROVENANCE.json +25 -0
- codecortex_context_engine-0.1.0a5/tests/fixtures/upstream/scip/scip.proto +962 -0
- codecortex_context_engine-0.1.0a5/tests/test_api_security_hardening.py +114 -0
- codecortex_context_engine-0.1.0a5/tests/test_api_versioning.py +14 -0
- codecortex_context_engine-0.1.0a5/tests/test_backend_manager_coverage.py +212 -0
- codecortex_context_engine-0.1.0a5/tests/test_cli_public_surface.py +104 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_context.py +3 -2
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_context_pipeline.py +2 -2
- codecortex_context_engine-0.1.0a5/tests/test_coverage_adapters_and_bridge.py +436 -0
- codecortex_context_engine-0.1.0a5/tests/test_coverage_dashboard_entrypoint.py +423 -0
- codecortex_context_engine-0.1.0a5/tests/test_coverage_final_push.py +612 -0
- codecortex_context_engine-0.1.0a5/tests/test_dashboard_observability_coverage.py +98 -0
- codecortex_context_engine-0.1.0a5/tests/test_dependency_contract.py +815 -0
- codecortex_context_engine-0.1.0a5/tests/test_dependency_intelligence.py +666 -0
- codecortex_context_engine-0.1.0a5/tests/test_dependency_live_smoke.py +78 -0
- codecortex_context_engine-0.1.0a5/tests/test_distributed_memory_vector_remote.py +202 -0
- codecortex_context_engine-0.1.0a5/tests/test_distributed_security_regressions.py +25 -0
- codecortex_context_engine-0.1.0a5/tests/test_distributed_service.py +64 -0
- codecortex_context_engine-0.1.0a5/tests/test_distributed_v2.py +95 -0
- codecortex_context_engine-0.1.0a5/tests/test_distributed_workers_performance_org.py +196 -0
- codecortex_context_engine-0.1.0a5/tests/test_evidence_acceptance.py +339 -0
- codecortex_context_engine-0.1.0a5/tests/test_evidence_benchmark.py +141 -0
- codecortex_context_engine-0.1.0a5/tests/test_evidence_fusion.py +396 -0
- codecortex_context_engine-0.1.0a5/tests/test_evidence_invariants.py +295 -0
- codecortex_context_engine-0.1.0a5/tests/test_evidence_security.py +280 -0
- codecortex_context_engine-0.1.0a5/tests/test_evidence_surfaces.py +604 -0
- codecortex_context_engine-0.1.0a5/tests/test_feature_stage_10.py +117 -0
- codecortex_context_engine-0.1.0a5/tests/test_incremental_graph.py +57 -0
- codecortex_context_engine-0.1.0a5/tests/test_invariant_suite.py +128 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_mcp.py +2 -6
- codecortex_context_engine-0.1.0a5/tests/test_mcp_hardening.py +74 -0
- codecortex_context_engine-0.1.0a5/tests/test_mcp_public_surface.py +143 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_native_parsers.py +16 -4
- codecortex_context_engine-0.1.0a5/tests/test_native_provider_unit.py +101 -0
- codecortex_context_engine-0.1.0a5/tests/test_orchestrator_reliability.py +76 -0
- codecortex_context_engine-0.1.0a5/tests/test_platform_acceptance.py +30 -0
- codecortex_context_engine-0.1.0a5/tests/test_platform_architecture_rules.py +17 -0
- codecortex_context_engine-0.1.0a5/tests/test_platform_dod.py +19 -0
- codecortex_context_engine-0.1.0a5/tests/test_platform_edge_coverage.py +753 -0
- codecortex_context_engine-0.1.0a5/tests/test_platform_governance.py +15 -0
- codecortex_context_engine-0.1.0a5/tests/test_platform_layout.py +8 -0
- codecortex_context_engine-0.1.0a5/tests/test_platform_manifest.py +14 -0
- codecortex_context_engine-0.1.0a5/tests/test_platform_milestones.py +17 -0
- codecortex_context_engine-0.1.0a5/tests/test_platform_runtime_coverage.py +326 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_pr_intelligence.py +3 -1
- codecortex_context_engine-0.1.0a5/tests/test_precision_conformance.py +266 -0
- codecortex_context_engine-0.1.0a5/tests/test_precision_generator.py +88 -0
- codecortex_context_engine-0.1.0a5/tests/test_precision_intelligence.py +544 -0
- codecortex_context_engine-0.1.0a5/tests/test_precision_semantics.py +622 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_production_benchmark.py +29 -6
- codecortex_context_engine-0.1.0a5/tests/test_production_evaluation_coverage.py +244 -0
- codecortex_context_engine-0.1.0a5/tests/test_real_index_conformance.py +459 -0
- codecortex_context_engine-0.1.0a5/tests/test_retrieval_v2.py +60 -0
- codecortex_context_engine-0.1.0a5/tests/test_runtime_config_contract.py +47 -0
- codecortex_context_engine-0.1.0a5/tests/test_sdk_client.py +26 -0
- codecortex_context_engine-0.1.0a5/tests/test_stabilization_coverage.py +303 -0
- codecortex_context_engine-0.1.0a5/tests/test_state_concurrency.py +55 -0
- codecortex_context_engine-0.1.0a5/tests/test_structural_conformance.py +267 -0
- codecortex_context_engine-0.1.0a5/tests/test_structural_intelligence.py +435 -0
- codecortex_context_engine-0.1.0a5/tests/test_unified_language_pipeline.py +34 -0
- codecortex_context_engine-0.1.0a5/web/index.html +13 -0
- codecortex_context_engine-0.1.0a5/web/package.json +25 -0
- codecortex_context_engine-0.1.0a5/web/playwright.config.ts +2 -0
- codecortex_context_engine-0.1.0a5/web/src/App.tsx +192 -0
- codecortex_context_engine-0.1.0a5/web/src/api/index.ts +1 -0
- codecortex_context_engine-0.1.0a5/web/src/app/index.ts +1 -0
- codecortex_context_engine-0.1.0a5/web/src/components/ArchitecturePanel.css +1 -0
- codecortex_context_engine-0.1.0a5/web/src/components/ArchitecturePanel.tsx +4 -0
- codecortex_context_engine-0.1.0a5/web/src/components/AuditCenter.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/BackendCenter.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/ClusterCenter.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/CodeActions.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/ContextLab.css +1 -0
- codecortex_context_engine-0.1.0a5/web/src/components/ContextLab.tsx +5 -0
- codecortex_context_engine-0.1.0a5/web/src/components/GitIntelligence.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/GraphExplorer.css +1 -0
- codecortex_context_engine-0.1.0a5/web/src/components/GraphExplorer.tsx +56 -0
- codecortex_context_engine-0.1.0a5/web/src/components/ImpactAnalyzer.css +1 -0
- codecortex_context_engine-0.1.0a5/web/src/components/ImpactAnalyzer.tsx +4 -0
- codecortex_context_engine-0.1.0a5/web/src/components/IntegrationsCenter.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/MemoryCenter.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/NotificationCenter.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/ObservabilityCenter.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/OrganizationAdmin.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/PRIntelligence.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/PerformanceCenter.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/PlatformCenters.tsx +31 -0
- codecortex_context_engine-0.1.0a5/web/src/components/PlatformManifest.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/QualityCenter.tsx +3 -0
- codecortex_context_engine-0.1.0a5/web/src/components/RepositoryExplorer.tsx +9 -0
- codecortex_context_engine-0.1.0a5/web/src/components/RoutingLab.css +1 -0
- codecortex_context_engine-0.1.0a5/web/src/components/RoutingLab.tsx +4 -0
- codecortex_context_engine-0.1.0a5/web/src/components/SearchInspector.css +1 -0
- codecortex_context_engine-0.1.0a5/web/src/components/SearchInspector.tsx +6 -0
- codecortex_context_engine-0.1.0a5/web/src/components/TraceExplorer.css +1 -0
- codecortex_context_engine-0.1.0a5/web/src/components/TraceExplorer.tsx +4 -0
- codecortex_context_engine-0.1.0a5/web/src/components/WorkspaceManager.tsx +45 -0
- codecortex_context_engine-0.1.0a5/web/src/features/index.ts +1 -0
- codecortex_context_engine-0.1.0a5/web/src/main.tsx +10 -0
- codecortex_context_engine-0.1.0a5/web/src/pages/index.ts +1 -0
- codecortex_context_engine-0.1.0a5/web/src/styles.css +1 -0
- codecortex_context_engine-0.1.0a5/web/src/vite-env.d.ts +3 -0
- codecortex_context_engine-0.1.0a5/web/tests/e2e/console.spec.ts +22 -0
- codecortex_context_engine-0.1.0a5/web/tsconfig.json +21 -0
- codecortex_context_engine-0.1.0a5/web/vite.config.ts +11 -0
- codecortex_context_engine-0.1.0a1/.github/workflows/bootstrap-release.yml +0 -28
- codecortex_context_engine-0.1.0a1/.github/workflows/ci.yml +0 -61
- codecortex_context_engine-0.1.0a1/CHANGELOG.md +0 -28
- codecortex_context_engine-0.1.0a1/Dockerfile +0 -37
- codecortex_context_engine-0.1.0a1/NOTICE +0 -2
- codecortex_context_engine-0.1.0a1/PKG-INFO +0 -381
- codecortex_context_engine-0.1.0a1/README.md +0 -141
- codecortex_context_engine-0.1.0a1/compose.yaml +0 -27
- codecortex_context_engine-0.1.0a1/docs/QUALITY.md +0 -21
- codecortex_context_engine-0.1.0a1/docs/TESTING.md +0 -9
- codecortex_context_engine-0.1.0a1/src/codecortex/config.py +0 -27
- codecortex_context_engine-0.1.0a1/src/codecortex/context/budget.py +0 -62
- codecortex_context_engine-0.1.0a1/src/codecortex/context/pipeline.py +0 -223
- codecortex_context_engine-0.1.0a1/src/codecortex/engines/registry.py +0 -26
- codecortex_context_engine-0.1.0a1/src/codecortex/indexing/incremental_graph.py +0 -189
- codecortex_context_engine-0.1.0a1/src/codecortex/mcp/server.py +0 -473
- codecortex_context_engine-0.1.0a1/src/codecortex/orchestrator.py +0 -153
- codecortex_context_engine-0.1.0a1/src/codecortex/router/__init__.py +0 -5
- codecortex_context_engine-0.1.0a1/tests/test_incremental_graph.py +0 -21
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.dockerignore +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/CODEOWNERS +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/ISSUE_TEMPLATE/bug.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/ISSUE_TEMPLATE/feature.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/dependabot.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/pull_request_template.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/workflows/backend-conformance.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/workflows/codeql.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/workflows/docker.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/workflows/docs.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/workflows/parser-providers.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/workflows/production-benchmark.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/workflows/scorecard.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/.github/workflows/security.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/CITATION.cff +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/CODE_OF_CONDUCT.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/COMMERCIAL.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/CONTRIBUTING.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/GOVERNANCE.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/LICENSE +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/SUPPORT.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/benchmarks/README.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/benchmarks/cases.json +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/benchmarks/external/sample-suite.json +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/benchmarks/production/README.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/benchmarks/production/spec.json +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/benchmarks/regression-policy.json +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/codecov.yml +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/docs/ADVANCED_INTELLIGENCE.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/docs/BRAND.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/docs/INTEGRATIONS.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/docs/OPENSSF.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/docs/PACKAGING.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/docs/RELEASE.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/docs/index.md +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/examples/demo_project/api.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/examples/demo_project/auth/service.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/examples/demo_project/auth/tokens.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/examples/demo_project/tests/test_auth.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/scripts/backend_conformance.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/scripts/install.ps1 +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/scripts/install.sh +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/scripts/release_check.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/architecture/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/architecture/inference.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/context.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/contracts.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/graph.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/pool.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/backends/symbols.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/context/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/context/integrated.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/core/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/core/contracts.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/core/errors.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/editing.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/engines/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/engines/builtin/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/engines/builtin/memory.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/indexing/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/indexing/resolution.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/integrations/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/interfaces/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/interfaces/mcp_bridge.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/languages/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/languages/native.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/mcp/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/memory/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/memory/team_store.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/retrieval/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/symbols/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/telemetry/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/telemetry/collector.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/tracing/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/src/codecortex/workspace/__init__.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/fixtures/fake_mcp_server.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_agent_configurator.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_architecture_drift.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_architecture_inference.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_backend_contracts.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_backend_factory.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_backend_manager.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_backend_session_pool.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_benchmark.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_context_backend_adapter.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_dashboard.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_external_evaluation.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_git_intelligence.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_graph.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_graph_backend_adapter.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_impact.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_incremental.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_integrated_context.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_knowledge.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_languages.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_mcp_edit_surface.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_mcp_stdio_client.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_memory.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_orchestrator_concurrency.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_regression_gate.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_relationships.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_repository_semantic.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_resolution.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_retrieval.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_router.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_runtime.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_security_boundaries.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_setup.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_symbol_backend_adapter.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_symbol_history.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_symbols.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_task_trace.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_team_memory.py +0 -0
- {codecortex_context_engine-0.1.0a1 → codecortex_context_engine-0.1.0a5}/tests/test_workspace.py +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Conformance fixtures must reach every checkout byte-for-byte.
|
|
2
|
+
#
|
|
3
|
+
# Without this, Git's autocrlf translation rewrites LF to CRLF on a Windows
|
|
4
|
+
# checkout. That silently breaks two guarantees these fixtures exist to make:
|
|
5
|
+
#
|
|
6
|
+
# * `tests/fixtures/upstream/` is vendored byte-identical to a pinned
|
|
7
|
+
# upstream revision, and its SHA-256 is recorded in a provenance manifest.
|
|
8
|
+
# A rewritten line ending makes the committed file no longer the upstream
|
|
9
|
+
# file, and the digest check that proves it correctly fails.
|
|
10
|
+
#
|
|
11
|
+
# * `tests/fixtures/real_index/` holds indexes produced by real indexers from
|
|
12
|
+
# the source files beside them. Those indexes encode byte offsets computed
|
|
13
|
+
# over LF text, so rewriting the sources would desynchronise the index from
|
|
14
|
+
# the code it describes.
|
|
15
|
+
#
|
|
16
|
+
# `-text` disables all end-of-line conversion in both directions.
|
|
17
|
+
tests/fixtures/upstream/** -text
|
|
18
|
+
tests/fixtures/real_index/** -text
|
|
19
|
+
|
|
20
|
+
# A serialized index is protobuf, not text, in any location.
|
|
21
|
+
*.scip binary
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
name: Bootstrap Release
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
paths:
|
|
7
|
+
- .github/workflows/bootstrap-release.yml
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: write
|
|
11
|
+
actions: write
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
release:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
18
|
+
with:
|
|
19
|
+
fetch-depth: 0
|
|
20
|
+
persist-credentials: true
|
|
21
|
+
- name: Create v0.1.0a5 release tag from validated main
|
|
22
|
+
shell: bash
|
|
23
|
+
run: |
|
|
24
|
+
set -euo pipefail
|
|
25
|
+
git config user.name "Behnam Jalali"
|
|
26
|
+
git config user.email "behnamjalalico@gmail.com"
|
|
27
|
+
if git rev-parse -q --verify refs/tags/v0.1.0a5 >/dev/null; then
|
|
28
|
+
echo "v0.1.0a5 already exists"
|
|
29
|
+
else
|
|
30
|
+
git tag -a v0.1.0a5 -m "CodeCortex Context Engine v0.1.0a5"
|
|
31
|
+
git push origin refs/tags/v0.1.0a5
|
|
32
|
+
fi
|
|
33
|
+
- name: Dispatch release workflow
|
|
34
|
+
env:
|
|
35
|
+
GH_TOKEN: ${{ github.token }}
|
|
36
|
+
run: gh workflow run release.yml --ref main -f tag=v0.1.0a5
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main, stabilization-1-10]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
permissions:
|
|
15
|
+
contents: read
|
|
16
|
+
id-token: write
|
|
17
|
+
strategy:
|
|
18
|
+
fail-fast: false
|
|
19
|
+
matrix:
|
|
20
|
+
python-version: ["3.11", "3.12", "3.13"]
|
|
21
|
+
steps:
|
|
22
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
23
|
+
with:
|
|
24
|
+
persist-credentials: false
|
|
25
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
|
|
26
|
+
with:
|
|
27
|
+
python-version: ${{ matrix.python-version }}
|
|
28
|
+
cache: pip
|
|
29
|
+
- run: python -m pip install --upgrade pip
|
|
30
|
+
- run: pip install -e ".[dev,web]"
|
|
31
|
+
- run: ruff check .
|
|
32
|
+
- run: mypy
|
|
33
|
+
- name: Tests
|
|
34
|
+
run: |
|
|
35
|
+
if [ "${{ matrix.python-version }}" = "3.13" ]; then
|
|
36
|
+
pytest -q --cov=codecortex --cov-report=xml --cov-report=term-missing --cov-fail-under=90
|
|
37
|
+
else
|
|
38
|
+
pytest -q
|
|
39
|
+
fi
|
|
40
|
+
- name: Upload coverage
|
|
41
|
+
if: matrix.python-version == '3.13' && !cancelled()
|
|
42
|
+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
|
|
43
|
+
with:
|
|
44
|
+
use_oidc: true
|
|
45
|
+
files: ./coverage.xml
|
|
46
|
+
fail_ci_if_error: false
|
|
47
|
+
|
|
48
|
+
invariants:
|
|
49
|
+
runs-on: ubuntu-latest
|
|
50
|
+
steps:
|
|
51
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
52
|
+
with:
|
|
53
|
+
persist-credentials: false
|
|
54
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
|
|
55
|
+
with:
|
|
56
|
+
python-version: "3.13"
|
|
57
|
+
cache: pip
|
|
58
|
+
- run: python -m pip install --upgrade pip
|
|
59
|
+
- run: pip install -e ".[dev]"
|
|
60
|
+
- name: Correctness and fault invariants
|
|
61
|
+
run: >-
|
|
62
|
+
pytest -q
|
|
63
|
+
tests/test_invariant_suite.py
|
|
64
|
+
tests/test_incremental_graph.py
|
|
65
|
+
tests/test_state_concurrency.py
|
|
66
|
+
tests/test_mcp_hardening.py
|
|
67
|
+
tests/test_distributed_security_regressions.py
|
|
68
|
+
tests/test_distributed_v2.py
|
|
69
|
+
tests/test_unified_language_pipeline.py
|
|
70
|
+
tests/test_retrieval_v2.py
|
|
71
|
+
tests/test_evidence_fusion.py
|
|
72
|
+
tests/test_evidence_invariants.py
|
|
73
|
+
tests/test_evidence_acceptance.py
|
|
74
|
+
tests/test_evidence_security.py
|
|
75
|
+
tests/test_evidence_surfaces.py
|
|
76
|
+
tests/test_precision_intelligence.py
|
|
77
|
+
tests/test_precision_semantics.py
|
|
78
|
+
tests/test_precision_conformance.py
|
|
79
|
+
tests/test_real_index_conformance.py
|
|
80
|
+
tests/test_precision_generator.py
|
|
81
|
+
tests/test_dependency_intelligence.py
|
|
82
|
+
tests/test_dependency_contract.py
|
|
83
|
+
tests/test_structural_intelligence.py
|
|
84
|
+
|
|
85
|
+
platform-contracts:
|
|
86
|
+
runs-on: ubuntu-latest
|
|
87
|
+
steps:
|
|
88
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
89
|
+
with:
|
|
90
|
+
persist-credentials: false
|
|
91
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
|
|
92
|
+
with:
|
|
93
|
+
python-version: "3.13"
|
|
94
|
+
cache: pip
|
|
95
|
+
- run: python -m pip install --upgrade pip
|
|
96
|
+
- run: pip install -e ".[dev,web]"
|
|
97
|
+
- run: python scripts/check_platform_architecture.py
|
|
98
|
+
- run: python scripts/check_platform_priorities.py
|
|
99
|
+
- run: pytest -q tests/test_platform_acceptance.py tests/test_platform_layout.py tests/test_platform_manifest.py tests/test_platform_milestones.py tests/test_platform_governance.py tests/test_platform_dod.py tests/test_api_versioning.py tests/test_api_security_hardening.py tests/test_sdk_client.py
|
|
100
|
+
|
|
101
|
+
windows-compat:
|
|
102
|
+
runs-on: windows-latest
|
|
103
|
+
steps:
|
|
104
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
105
|
+
with:
|
|
106
|
+
persist-credentials: false
|
|
107
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
|
|
108
|
+
with:
|
|
109
|
+
python-version: "3.11"
|
|
110
|
+
cache: pip
|
|
111
|
+
- run: python -m pip install --upgrade pip
|
|
112
|
+
- run: pip install -e ".[dev,web]"
|
|
113
|
+
- run: ruff check .
|
|
114
|
+
- run: pytest -q
|
|
115
|
+
- run: cortex --help
|
|
116
|
+
- run: cortex version
|
|
117
|
+
|
|
118
|
+
package:
|
|
119
|
+
runs-on: ubuntu-latest
|
|
120
|
+
steps:
|
|
121
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
122
|
+
with:
|
|
123
|
+
persist-credentials: false
|
|
124
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
|
|
125
|
+
with:
|
|
126
|
+
python-version: "3.13"
|
|
127
|
+
- run: python scripts/check_readme.py
|
|
128
|
+
- run: python -m pip install --upgrade pip build twine
|
|
129
|
+
- run: python -m build
|
|
130
|
+
- run: python -m twine check dist/*
|
|
131
|
+
- run: pip install dist/*.whl
|
|
132
|
+
- run: cortex --help
|
|
133
|
+
- run: cortex version
|
|
134
|
+
- run: cortex-remote --help
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
name: Dependency Docs Live Smoke
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
paths:
|
|
7
|
+
- "src/codecortex/dependencies/**"
|
|
8
|
+
- "tests/test_dependency_live_smoke.py"
|
|
9
|
+
- ".github/workflows/dependency-docs-live.yml"
|
|
10
|
+
- "README.md"
|
|
11
|
+
workflow_dispatch:
|
|
12
|
+
|
|
13
|
+
permissions:
|
|
14
|
+
contents: read
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
live-documentation:
|
|
18
|
+
runs-on: ubuntu-latest
|
|
19
|
+
timeout-minutes: 10
|
|
20
|
+
env:
|
|
21
|
+
CODECORTEX_DEPENDENCY_DOCS_API_KEY: ${{ secrets.CODECORTEX_DEPENDENCY_DOCS_API_KEY }}
|
|
22
|
+
steps:
|
|
23
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
24
|
+
with:
|
|
25
|
+
persist-credentials: false
|
|
26
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
|
|
27
|
+
with:
|
|
28
|
+
python-version: "3.13"
|
|
29
|
+
cache: pip
|
|
30
|
+
- run: python -m pip install --upgrade pip
|
|
31
|
+
- run: pip install -e ".[dev]"
|
|
32
|
+
- name: Check credential availability
|
|
33
|
+
id: credential
|
|
34
|
+
shell: bash
|
|
35
|
+
run: |
|
|
36
|
+
if [ -n "${CODECORTEX_DEPENDENCY_DOCS_API_KEY:-}" ]; then
|
|
37
|
+
echo "available=true" >> "$GITHUB_OUTPUT"
|
|
38
|
+
else
|
|
39
|
+
echo "available=false" >> "$GITHUB_OUTPUT"
|
|
40
|
+
fi
|
|
41
|
+
- name: Run real documentation smoke tests
|
|
42
|
+
if: steps.credential.outputs.available == 'true'
|
|
43
|
+
run: pytest -q tests/test_dependency_live_smoke.py -rs
|
|
44
|
+
- name: Record credential-gated skip
|
|
45
|
+
if: steps.credential.outputs.available != 'true'
|
|
46
|
+
run: |
|
|
47
|
+
echo "SKIPPED — CODECORTEX_DEPENDENCY_DOCS_API_KEY unavailable" | tee -a "$GITHUB_STEP_SUMMARY"
|
|
@@ -12,6 +12,10 @@ jobs:
|
|
|
12
12
|
live-agent:
|
|
13
13
|
runs-on: ubuntu-latest
|
|
14
14
|
timeout-minutes: 45
|
|
15
|
+
env:
|
|
16
|
+
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
17
|
+
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
18
|
+
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
|
15
19
|
strategy:
|
|
16
20
|
fail-fast: false
|
|
17
21
|
matrix:
|
|
@@ -54,14 +58,23 @@ jobs:
|
|
|
54
58
|
run: |
|
|
55
59
|
${{ matrix.configure }}
|
|
56
60
|
command -v ${{ matrix.agent }} || true
|
|
61
|
+
- name: Check live credential availability
|
|
62
|
+
id: credential
|
|
63
|
+
shell: bash
|
|
64
|
+
env:
|
|
65
|
+
KEY_ENV: ${{ matrix.key_env }}
|
|
66
|
+
run: |
|
|
67
|
+
value="${!KEY_ENV:-}"
|
|
68
|
+
if [ -n "$value" ]; then
|
|
69
|
+
echo "available=true" >> "$GITHUB_OUTPUT"
|
|
70
|
+
else
|
|
71
|
+
echo "available=false" >> "$GITHUB_OUTPUT"
|
|
72
|
+
fi
|
|
57
73
|
- name: Run live MCP tool-use check
|
|
58
|
-
if:
|
|
74
|
+
if: steps.credential.outputs.available == 'true'
|
|
59
75
|
env:
|
|
60
|
-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
|
61
|
-
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
|
62
|
-
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
|
|
63
76
|
CODECORTEX_SOURCE_ROOT: ${{ github.workspace }}
|
|
64
77
|
run: python scripts/live_agent_e2e.py --agent "${{ matrix.agent }}" --command "${{ matrix.command }}"
|
|
65
78
|
- name: Record credential-gated skip
|
|
66
|
-
if:
|
|
79
|
+
if: steps.credential.outputs.available != 'true'
|
|
67
80
|
run: echo "${{ matrix.agent }} installed/configured; live model call skipped because its API secret is not configured." >> "$GITHUB_STEP_SUMMARY"
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
name: Longitudinal Performance
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
schedule:
|
|
6
|
+
- cron: "17 4 * * 1"
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
env:
|
|
12
|
+
HISTORY_DB: .codecortex/performance/history.db
|
|
13
|
+
|
|
14
|
+
jobs:
|
|
15
|
+
benchmark-history:
|
|
16
|
+
runs-on: ubuntu-latest
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
19
|
+
with:
|
|
20
|
+
persist-credentials: false
|
|
21
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
|
|
22
|
+
with:
|
|
23
|
+
python-version: "3.13"
|
|
24
|
+
cache: pip
|
|
25
|
+
- name: Restore longitudinal database
|
|
26
|
+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
|
|
27
|
+
with:
|
|
28
|
+
path: .codecortex/performance
|
|
29
|
+
key: longitudinal-performance-${{ github.repository_id }}-${{ github.run_id }}
|
|
30
|
+
restore-keys: |
|
|
31
|
+
longitudinal-performance-${{ github.repository_id }}-
|
|
32
|
+
- run: python -m pip install --upgrade pip
|
|
33
|
+
- run: pip install -e ".[dev]"
|
|
34
|
+
- name: Run reproducible baseline scenario
|
|
35
|
+
run: >-
|
|
36
|
+
python scripts/run_production_benchmark.py
|
|
37
|
+
--scenario vanilla
|
|
38
|
+
--output benchmarks/production/results.json
|
|
39
|
+
- name: Append and export history
|
|
40
|
+
run: >-
|
|
41
|
+
python scripts/record_performance_history.py
|
|
42
|
+
--result benchmarks/production/results.json
|
|
43
|
+
--database "$HISTORY_DB"
|
|
44
|
+
--output benchmarks/production/performance-history.json
|
|
45
|
+
--suite production-vanilla
|
|
46
|
+
--commit "${GITHUB_SHA}"
|
|
47
|
+
- name: Publish public workflow artifact
|
|
48
|
+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
|
|
49
|
+
with:
|
|
50
|
+
name: performance-history-${{ github.run_number }}
|
|
51
|
+
path: |
|
|
52
|
+
benchmarks/production/results.json
|
|
53
|
+
benchmarks/production/performance-history.json
|
|
54
|
+
if-no-files-found: error
|
|
55
|
+
retention-days: 90
|
|
56
|
+
- name: Publish run summary
|
|
57
|
+
shell: bash
|
|
58
|
+
run: |
|
|
59
|
+
echo "## CodeCortex longitudinal performance" >> "$GITHUB_STEP_SUMMARY"
|
|
60
|
+
echo "Commit: \`${GITHUB_SHA}\`" >> "$GITHUB_STEP_SUMMARY"
|
|
61
|
+
echo "Suite: \`production-vanilla\`" >> "$GITHUB_STEP_SUMMARY"
|
|
62
|
+
echo "The complete accumulated history is attached as a public workflow artifact." >> "$GITHUB_STEP_SUMMARY"
|
|
@@ -35,7 +35,7 @@ jobs:
|
|
|
35
35
|
with:
|
|
36
36
|
python-version: ${{ matrix.python-version }}
|
|
37
37
|
- run: python -m pip install --upgrade pip
|
|
38
|
-
- run: pip install -e ".[dev]"
|
|
38
|
+
- run: pip install -e ".[dev,web]"
|
|
39
39
|
- run: python scripts/release_check.py --tag "${{ env.RELEASE_TAG }}"
|
|
40
40
|
- run: ruff check .
|
|
41
41
|
- run: pytest -q
|
|
@@ -106,10 +106,18 @@ jobs:
|
|
|
106
106
|
with:
|
|
107
107
|
name: release-assets
|
|
108
108
|
path: dist
|
|
109
|
-
- name: Create
|
|
109
|
+
- name: Create or update GitHub release
|
|
110
110
|
env:
|
|
111
111
|
GH_TOKEN: ${{ github.token }}
|
|
112
|
-
|
|
112
|
+
shell: bash
|
|
113
|
+
run: |
|
|
114
|
+
set -euo pipefail
|
|
115
|
+
if gh release view "${{ env.RELEASE_TAG }}" --repo "${{ github.repository }}" >/dev/null 2>&1; then
|
|
116
|
+
gh release upload "${{ env.RELEASE_TAG }}" dist/* --repo "${{ github.repository }}" --clobber
|
|
117
|
+
gh release edit "${{ env.RELEASE_TAG }}" --repo "${{ github.repository }}" --title "CodeCortex Context Engine ${{ env.RELEASE_TAG }}"
|
|
118
|
+
else
|
|
119
|
+
gh release create "${{ env.RELEASE_TAG }}" dist/* --repo "${{ github.repository }}" --verify-tag --generate-notes --title "CodeCortex Context Engine ${{ env.RELEASE_TAG }}"
|
|
120
|
+
fi
|
|
113
121
|
|
|
114
122
|
publish-pypi:
|
|
115
123
|
if: vars.PYPI_PUBLISH_ENABLED == 'true'
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
name: Structural Engine
|
|
2
|
+
|
|
3
|
+
# The structural engine is an optional extra. Core CI runs the structural tests
|
|
4
|
+
# against an in-repository stub, so this workflow is the one place the real,
|
|
5
|
+
# version-pinned binary is exercised. No credentials are required.
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
workflow_dispatch:
|
|
9
|
+
push:
|
|
10
|
+
branches: [main]
|
|
11
|
+
paths:
|
|
12
|
+
- "src/codecortex/structural/**"
|
|
13
|
+
- "tests/test_structural_intelligence.py"
|
|
14
|
+
- "tests/fixtures/structural_engine.py"
|
|
15
|
+
- "pyproject.toml"
|
|
16
|
+
- ".github/workflows/structural-engine.yml"
|
|
17
|
+
pull_request:
|
|
18
|
+
paths:
|
|
19
|
+
- "src/codecortex/structural/**"
|
|
20
|
+
- "tests/test_structural_intelligence.py"
|
|
21
|
+
- "tests/fixtures/structural_engine.py"
|
|
22
|
+
- "pyproject.toml"
|
|
23
|
+
- ".github/workflows/structural-engine.yml"
|
|
24
|
+
|
|
25
|
+
permissions:
|
|
26
|
+
contents: read
|
|
27
|
+
|
|
28
|
+
jobs:
|
|
29
|
+
structural-engine:
|
|
30
|
+
strategy:
|
|
31
|
+
fail-fast: false
|
|
32
|
+
matrix:
|
|
33
|
+
python-version: ["3.11", "3.13"]
|
|
34
|
+
runs-on: ubuntu-latest
|
|
35
|
+
steps:
|
|
36
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
|
|
37
|
+
with:
|
|
38
|
+
persist-credentials: false
|
|
39
|
+
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
|
|
40
|
+
with:
|
|
41
|
+
python-version: ${{ matrix.python-version }}
|
|
42
|
+
cache: pip
|
|
43
|
+
- run: python -m pip install --upgrade pip
|
|
44
|
+
- run: pip install -e ".[dev,structural]"
|
|
45
|
+
- name: Confirm the pinned engine is installed
|
|
46
|
+
run: |
|
|
47
|
+
ast-grep --version
|
|
48
|
+
ast-grep --version | grep -qF "$(python -c 'from codecortex.structural.engine import TESTED_ENGINE_VERSION as v; print(v)')"
|
|
49
|
+
- name: Structural search, preview, and guarded apply
|
|
50
|
+
run: pytest -q tests/test_structural_intelligence.py tests/test_evidence_benchmark.py
|
|
51
|
+
- name: Real-binary conformance
|
|
52
|
+
run: pytest -q tests/test_structural_conformance.py
|
|
53
|
+
- name: Measured evidence benchmark
|
|
54
|
+
run: |
|
|
55
|
+
cortex evidence-benchmark --output benchmarks/evidence.json
|
|
56
|
+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
|
|
57
|
+
if: always()
|
|
58
|
+
with:
|
|
59
|
+
name: evidence-benchmark-${{ matrix.python-version }}
|
|
60
|
+
path: benchmarks/evidence.json
|
|
61
|
+
if-no-files-found: warn
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
name: Web Console
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches: [main, platform-roadmap-1-47]
|
|
5
|
+
pull_request:
|
|
6
|
+
permissions:
|
|
7
|
+
contents: read
|
|
8
|
+
jobs:
|
|
9
|
+
web:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
defaults:
|
|
12
|
+
run:
|
|
13
|
+
working-directory: web
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
with:
|
|
17
|
+
persist-credentials: false
|
|
18
|
+
- uses: actions/setup-node@v4
|
|
19
|
+
with:
|
|
20
|
+
node-version: '22'
|
|
21
|
+
cache: npm
|
|
22
|
+
cache-dependency-path: web/package.json
|
|
23
|
+
- run: npm install
|
|
24
|
+
- run: npm run typecheck
|
|
25
|
+
- run: npm run build
|
|
26
|
+
- run: npx playwright install --with-deps chromium
|
|
27
|
+
- run: npm run test:e2e
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to CodeCortex are documented here. The project follows semantic versioning while in alpha; breaking changes may occur before 1.0 and will be called out explicitly.
|
|
4
|
+
|
|
5
|
+
## Unreleased
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Revision-pinned isolated graph, semantic-symbol/LSP, and context-optimization backends behind stable CodeCortex contracts.
|
|
10
|
+
- Guarded language-server rename, replace-body, insert-before, and insert-after operations in CLI and MCP.
|
|
11
|
+
- Warm backend MCP session pooling, health caching, failure recovery, and concurrent orchestration.
|
|
12
|
+
- Native Tree-sitter parser provider with conservative fallback.
|
|
13
|
+
- Expanded reproducible real-repository benchmark corpus and live coding-agent E2E harness.
|
|
14
|
+
- Docker Core/Full integration CI.
|
|
15
|
+
- CodeQL, dependency review, Bandit, dependency audit, SBOM generation, and security-boundary tests.
|
|
16
|
+
- Production observability dashboard with traces, graph hotspots, architecture drift, benchmark history, latency, token savings, and PR-risk API.
|
|
17
|
+
- Signed release pipeline with checksums, Sigstore bundles, GitHub provenance attestations, PyPI Trusted Publishing, and GHCR publishing.
|
|
18
|
+
- Unified evidence model with categorical trust tiers, provenance, and a central ranking, deduplication, and conflict policy.
|
|
19
|
+
- Precision code intelligence: exact definition, reference, implementation, and occurrence resolution from a compiler/indexer-grade index, with symbol-identity decomposition, staleness detection, incremental caching, and graph fusion.
|
|
20
|
+
- Dependency intelligence: manifest and lockfile discovery across Python, Node, Rust, Go, JVM, and .NET, separating declared constraints from resolved versions, behind an optional documentation-provider contract.
|
|
21
|
+
- Structural search and guarded structural rewrite with typed matches, captures, expiring previews, content-hash transactions, rollback, post-apply reindexing, and validation.
|
|
22
|
+
- New MCP tools: `cortex_precise_definition`, `cortex_precise_references`, `cortex_precise_implementations`, `cortex_symbol_occurrences`, `cortex_precision_status`, `cortex_dependency_info`, `cortex_dependency_docs`, `cortex_dependency_context`, `cortex_structural_search`, `cortex_rewrite_preview`, and `cortex_rewrite_apply` (mutating surface only).
|
|
23
|
+
- New CLI commands: `definition`, `references`, `implementations`, `precision-status`, `dependency`, `dependency-docs`, `structural-search`, `rewrite-preview`, `rewrite-apply`, and `evidence-benchmark`.
|
|
24
|
+
- Measured heuristic-versus-evidence benchmark cases for duplicate symbol names, resolved dependency versions, and mechanical migrations; unmeasurable strategies are reported as skipped.
|
|
25
|
+
- `docs/EVIDENCE_FUSION.md`, plus provenance records for the integrated protocol and optional dependencies under `docs/provenance/`.
|
|
26
|
+
|
|
27
|
+
### Changed
|
|
28
|
+
|
|
29
|
+
- Python distribution identity is now `codecortex-context-engine`; the public brand remains CodeCortex Context Engine and the recommended CLI remains `cortex`.
|
|
30
|
+
- Optional backend processes remain isolated from the Core Python dependency environment and are pinned to exact compatible revisions.
|
|
31
|
+
- Documentation now treats benchmark output as evidence only after reproducible execution; missing metrics are never synthesized.
|
|
32
|
+
- Impact analysis weighs exact relationships above inferred ones and reports the evidence mix; `cortex doctor` reports the state of each optional evidence layer.
|
|
33
|
+
- The context pipeline accepts ranked evidence and keeps the stronger record when two providers point at the same location.
|
|
34
|
+
- The package now ships a `py.typed` marker, so `mypy --strict` runs against the distribution and is green across all source files; it is enforced in CI.
|
|
35
|
+
|
|
36
|
+
### Security
|
|
37
|
+
|
|
38
|
+
- Semantic edit paths are constrained to the repository root and reject path traversal, absolute escape, and symlink escape.
|
|
39
|
+
- Security reporting now uses GitHub's private vulnerability-reporting flow.
|
|
40
|
+
- Optional external engines run with an explicit argument vector, a resolved absolute executable, bounded runtime, and bounded output; no shell is ever used and nothing is downloaded implicitly.
|
|
41
|
+
- Dependency documentation is disabled by default, transmits only a library name, resolved version, and question, and reads its API key solely from a configured environment variable; credentials are redacted from diagnostics and never persisted.
|
|
42
|
+
- Structural rewrites require an unexpired preview, re-verify every file's content hash before writing, enforce file/match/byte limits, write atomically, and roll back on partial failure.
|
|
43
|
+
- Structural matches and paths are constrained to the repository root, rejecting traversal, absolute escape, and symlink escape.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# syntax=docker/dockerfile:1.7
|
|
2
|
+
FROM python:3.13-slim@sha256:7ce4b6dfe35e55397b7cda544f8a13f191b7ae28dc5aad71fe664dbc9bc2623f AS base
|
|
3
|
+
ENV PYTHONDONTWRITEBYTECODE=1 PYTHONUNBUFFERED=1 PIP_DISABLE_PIP_VERSION_CHECK=1 CODECORTEX_BACKEND_HOME=/opt/codecortex/backends CODECORTEX_BACKENDS=builtin
|
|
4
|
+
RUN apt-get update && apt-get install -y --no-install-recommends git build-essential ca-certificates && rm -rf /var/lib/apt/lists/* && python -m pip install --no-cache-dir uv
|
|
5
|
+
WORKDIR /app
|
|
6
|
+
COPY pyproject.toml README.md LICENSE NOTICE ./
|
|
7
|
+
COPY src ./src
|
|
8
|
+
RUN python -m pip install --no-cache-dir .
|
|
9
|
+
|
|
10
|
+
FROM base AS core
|
|
11
|
+
RUN useradd --create-home --uid 10001 cortex && mkdir -p /workspace /opt/codecortex/backends && chown -R cortex:cortex /workspace /opt/codecortex/backends
|
|
12
|
+
USER cortex
|
|
13
|
+
WORKDIR /workspace
|
|
14
|
+
ENTRYPOINT ["cortex"]
|
|
15
|
+
CMD ["--help"]
|
|
16
|
+
|
|
17
|
+
FROM base AS full
|
|
18
|
+
RUN python -m pip install --no-cache-dir ".[semantic,parsers]" && useradd --create-home --uid 10001 cortex && mkdir -p /workspace /opt/codecortex/backends && chown -R cortex:cortex /workspace /opt/codecortex/backends
|
|
19
|
+
USER cortex
|
|
20
|
+
WORKDIR /workspace
|
|
21
|
+
ENTRYPOINT ["cortex"]
|
|
22
|
+
CMD ["--help"]
|
|
23
|
+
|
|
24
|
+
FROM base AS api
|
|
25
|
+
RUN python -m pip install --no-cache-dir ".[web,parsers]" && useradd --create-home --uid 10001 cortex && mkdir -p /workspace /var/lib/codecortex /opt/codecortex/backends && chown -R cortex:cortex /workspace /var/lib/codecortex /opt/codecortex/backends
|
|
26
|
+
USER cortex
|
|
27
|
+
WORKDIR /workspace
|
|
28
|
+
EXPOSE 7340
|
|
29
|
+
ENTRYPOINT ["cortex-api"]
|
|
30
|
+
CMD ["--host", "0.0.0.0", "--port", "7340", "--state-dir", "/var/lib/codecortex"]
|
|
31
|
+
|
|
32
|
+
FROM node:22-alpine AS web-build
|
|
33
|
+
WORKDIR /web
|
|
34
|
+
COPY web/package.json ./
|
|
35
|
+
RUN npm install
|
|
36
|
+
COPY web ./
|
|
37
|
+
RUN npm run build
|
|
38
|
+
|
|
39
|
+
FROM nginx:1.27-alpine AS console
|
|
40
|
+
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
|
|
41
|
+
COPY --from=web-build /web/dist /usr/share/nginx/html
|
|
42
|
+
EXPOSE 8080
|
|
43
|
+
HEALTHCHECK --interval=15s --timeout=3s --retries=5 CMD wget -q -O /dev/null http://127.0.0.1:8080/ || exit 1
|