CortexDB · docs

CortexDB 0.9.4 — the new Admin UI

Feature release headlined by a ground-up redesign of the embedded admin console, plus answer-stage determinism fixes, a facts-plane consolidation pipeline, and a new query-shape classifier. No storage format changes, no migration: 0.9.x data directories work as-is. The only new on-disk state is two sidecar files in the data directory (feature_overrides.json, settings_overrides.json) written when you change things from the UI.

The new Admin UI (the headline)

The bundled web console was rewritten from a single-page memories view into a full sidebar application — still zero-dependency, still embedded in the binary (no CDN, works air-gapped), served at / on the API port.

The UI is backed by a new internal API under /internal/ui/* (authenticated, not part of the stable v1 surface, deliberately kept out of the OpenAPI spec; surfaces will be promoted to /v1 as they prove out). Asset URLs are versioned so browsers can never pin a stale UI across server upgrades.

Answer-stage determinism

Two chronic classes of quantitative questions now answer deterministically instead of via LLM re-counting:

Facts plane

The derived facts layer gained a real consolidation pipeline: a background fact consolidator merges per-session extractions into canonical facts, a fact sweeper compacts oversized ledgers, question-shaped fact keys (with bounded embedding backfill) make cross-session attribute lookups retrievable, and fact ranking is grade-aware. Belief building now reads post-consolidation facts only. consolidation_backlog is reported in layer stats for ops visibility.

New: query-shape classifier

A new cortex-shape-classifier crate classifies incoming recall/answer queries into shapes (enumeration, temporal endpoint, attribute lookup, …) using prototype scoring with a LinUCB bandit and an escalation path, feeding the answer planner. Wired into the server; shadow-mode telemetry ships in this release.

LLM gateway

Compatibility