Expand description
Cross-cutting primitives shared by every post-cortex crate.
Hosts the cache LRU helpers, the
context_update data model, the
error hierarchy (SystemError + Result),
the structured_context projection
types, and the timeout_utils retry helpers.
Pure domain primitives shared by every post-cortex crate.
After Phase 3 the orchestrator (memory_system, content_vectorizer,
semantic_query_engine, query_cache, context_assembly,
scoring, performance) lives in post-cortex-memory; the
embedding engines + HNSW index live in post-cortex-embeddings; the
storage backends live in post-cortex-storage. What remains here is
transport-/IO-free domain logic.
Modules§
- cache
- Generic LRU cache primitives used across the workspace. Lock-free LRU cache backed by DashMap with atomic metrics
- context_
update - Context-update data model —
ContextUpdate,EntityData,EntityRelationship,UpdateType, and supporting types. Core data types for context updates, entities, and relationships - error
- Typed system error hierarchy and
Result<T>alias. Typed error handling for the Post-Cortex system - structured_
context - Structured projection types over a session’s update history. Structured context types for organizing conversation knowledge.
- timeout_
utils - Retry + timeout helpers (
with_storage_timeout,with_mcp_timeout). Timeout utilities with exponential backoff retry support