the Code Intelligence Plane
The largest release since 0.9.0: CortexDB now has a code plane — a typed, versioned memory of your source code that recall and answers draw on. Plus the 10X performance campaign (boot in seconds, ~50% artifact-compile cost cut, a two-tier LLM response cache), answer-free context preview, and cortexdb-connectors 0.2.15 with a tl;dv bug-fix batch.
Full notesHide notes21 notes
The Code Intelligence Plane
- Registered repositories are indexed into a content-addressed, generation-pinned code graph (definitions, imports, calls, resources) served with honest precision labels: every fact carries a precision tier (Syntax/Manifest/Compiler/History/Runtime) and a resolution status, and both travel into the answer. No global name-match fallback anywhere — "never guess" is a permanent regression test.
- 43+ languages via sandboxed, budgeted tree-sitter extraction with a universal text fallback; never-guess per-language resolvers plus a SCIP compiler tier (compiler facts supersede, never rewrite).
- New code_index RocksDB posting engine: delta segments, Roaring overlays, hard query budgets (unplanned deep traversal is refused, never silently truncated), as_of time-travel, freshness proofs, GC.
- Opt-in semantic code search (CORTEX_CODE_EMBEDDING_*) with TQ2 HNSW, persistent-vector reranking, learned region selection; degrades to path/graph/BM25 on provider failure.
- ~21 new /v1/code/* routes: symbol search/resolve, calls, impact, bounded graph query + export in nine formats, workspace context, history/for-symbol, tests/for-change, hash-verified certified answers (list-implementations, count-call-sites), SCIP + lcov import, export/import index bundles. Tenant isolation absolute.
- Surfaces everywhere: code-memory feature bundle + Admin UI page, ten
cortexdb code CLI verbs, client.code.* in Python/TS SDKs, four read-only MCP tools with --tool-profile code. - Benchmarked honestly under benchmarks/codeplane/ (blind, pinned competitors, append-only manifests): SWE-bench any@10 0.818 with p50 18 ms queries, 26/26 dynamic-multilang, ~22 bytes index/LOC, 25M LOC in 93 s.
- Off by default and free when off: without CORTEX_CODE_PLANE nothing is constructed and /v1/code/* answers 503 CODE_PLANE_DISABLED.
10X performance campaign
- Boot in seconds: binary snapshots (FSN3/BTP2/LYS3) + mutation journals, HNSW journal-replay warm boot, parallel hydration of all eleven stores. 26 s warm boot at 6.2M events.
- Artifact lite profile (~-50% compile cost), deterministic no-LLM triage for signal-free turns, two-tier LLM response cache (46/48 calls replayed on a recompile), provider fleets with per-task routing and timeouts, fp16 side-CF embeddings (out of WAL/layer rows).
Answers & recall
- POST /v1/answer accepts skip_answer_llm for answer-free context preview with route/certification diagnostics; certified deterministic reducers extended (temporal deltas, fail-closed date recovery).
- Focused lexical views fused for noisy code tasks; direct/derived evidence interleaving; bounded derived-vector backfill.
Connectors 0.2.15
- GitHub emits code_anchors (PR files, issue<->PR links, push shas) -> discussed_in/changed_by bridge facts against the code graph.
- tl;dv real-data fixes (L1-L6): clean failure + held cursor on list 4xx; solo recordings labeled RESTRICTED; 24h cursor lookback ends silent drops of late-transcribed meetings; TranscriptReady stamps the meeting's happenedAt, not delivery time; real organizer names; locale-independent date parsing.
Compatibility
- /v1 surface additive only; 0.9.x data dirs load with no migration (new snapshot formats write-forward with legacy read-compat).
- CORTEX_ARTIFACT_WORKERS now gates artifact workers directly (unset = historical behavior; 0 = immutable read-only artifact mode).