Expand description
HTTP / gRPC / SSE / stdio daemon for post-cortex.
Hosts:
- the rmcp Model Context Protocol surface (streaming-HTTP +
stdio transports) via
daemon::rmcp_serveranddaemon::mcp_service; - the tonic gRPC API (canonical post-cortex wire surface) via
daemon::grpc_service; - the axum HTTP server with REST endpoints for the
pcxCLI client and the Server-Sent Events broadcast plumbing viadaemon::serveranddaemon::sse; - the stdio bridge that lets MCP hosts spawn the daemon as a
child process via
daemon::stdio_proxy; - the unified
pcxCLI binary ([[bin]]) undersrc/bin/pcx.
The daemon owns no domain logic — every read / write / search /
manage operation delegates downward into
post_cortex_memory::ConversationMemorySystem (and, from Phase 7
onwards, through the
post_cortex_core::services::PostCortexService trait). Validation
that was historically duplicated between the gRPC and MCP layers
migrates to the trait impl in post-cortex-memory::MemoryServiceImpl.
Re-exports§
pub use daemon::config::DaemonConfig;pub use error::Error;pub use error::Result;