Skip to main content

Module services

Module services 

Source
Expand description

Canonical PostCortexService implementation for post-cortex-memory.

MemoryServiceImpl is a thin adapter over ConversationMemorySystem that fulfils the post_cortex_core::services::PostCortexService trait. Phases 6 + 7 migrate the daemon’s gRPC handlers and the MCP tool layer to call this trait instead of ConversationMemorySystem directly — at that point every read / write / search / manage operation flows through one canonical function (TODO.md:106-117).

Right now this impl is incomplete on purpose: most methods return a SystemError::Internal("not yet wired …") while the legacy transport handlers continue to call ConversationMemorySystem paths directly. The trait surface is stable; the impl fills in incrementally as Phases 6 + 7 migrate their callers. This avoids a single massive commit that’s impossible to bisect.

Structs§

MemoryServiceImpl
Canonical PostCortexService implementation backed by ConversationMemorySystem.