Expand description
Helpers for recording context updates (single and bulk). MCP-side adapter for context-update writes.
Phase 6 of the single-entrypoint migration: every MCP-driven write
flows through post_cortex_memory::services::MemoryServiceImpl โ
the canonical PostCortexService
implementation. This module only
translates the LLM-friendly wire format (HashMap content + typed
entities / relations arrays) into the canonical
UpdateContextRequest;
validation, persistence, and metadata
shaping all happen inside the service.
Functionsยง
- bulk_
update_ conversation_ context - Record multiple context updates in a single batch via the canonical service. Items that fail translation or persistence are reported in the response payload โ the rest still land, matching the legacy gRPC bulk semantics.
- update_
conversation_ context - Record a single context update via the canonical
PostCortexService::update_contextpath.