Remram Cortex is the knowledge authority layer for Remram.
It coordinates policy, hot working continuity, durable semantic memory, operational knowledge, and source-of-record evidence without collapsing them into one storage model.
The architecture is now centered on five layers:
PolicyWorking MemoryDurable MemoryOperational KnowledgeEvidence
The clean authority model is:
- Layer 1 = behavioral truth
- Layer 2 = hot working continuity
- Layer 3 = durable semantic truth
- Layer 4 = operational knowledge truth
- Layer 5 = source-of-record evidence
The active stack direction is:
OpenClawas the chosen agentic framework- Cortex-owned Layer 1 policy
QMDfor Layer 2 hot working memory and notions- a narrow High-Signal
Mambastream as a later always-on supercharge layer Graphiti + Neo4jfor Layer 3 durable memoryPostgresfor the operational middle of the stack- a Layer 5 evidence system, with
runtime_evidence,reference_cache, andauthored_artifactas the main source-of-record classes
Cortex owns:
- policy composition
- Layer 2 notion and high-signal lifecycle rules
- Layer 3 durable-memory contracts
- Layer 4 operational knowledge authority rules
- the split between operational knowledge and source-of-record evidence
- reflection, Dream, reconciliation, and promotion behavior
OpenClaw was not chosen because Cortex benchmarked orchestrators and decided it was the abstract best shell.
It was chosen because it is the framework Remram intends to build around.
That means the architectural rule is:
- do things the OpenClaw way when that path is good enough
- extend OpenClaw cleanly before replacing it
- add memory and knowledge behavior around the framework boundary
The biggest clarifications now are:
- Layer 2 explicitly uses
QMD - Mamba is narrow by design
- Mamba is not required to make the architecture valid and lands later as a Phase 5 supercharge
- Layer 3 stays one Graphiti memory system
- Layer 4 is the operational knowledge authority
- Layer 5 is the evidence layer, with authored canon as a permanent subset rather than the definition of the layer
OpenSearchis not part of the near-term stack
The repository now aims to describe one coherent architecture rather than a stack-comparison process.
Historical alternatives and superseded packages live in the top-level archive.