Home / Memory
🧠 Sovereign Memory Graph · moat #2DCS Memory is the Sovereign Memory Graph — a per-customer durable memory
layer with default-deny cross-product consent. Real OpenAI embeddings + pgvector;
/api/memory/* for store / search / revoke / audit. Live in production today.
Store, search, revoke, audit-log. App-layer enforcement — honest about scope.
Write a memory point under a customer + product scope. OpenAI embedding generated inline; the vector + the raw text + the scope live in pgvector.
Vector + text hybrid search across a customer's memory, respecting cross-product consent. Returns the top-K with a consent receipt — default-deny if not granted.
One-click GDPR Article 17 path. The data key shreds; the row disappears from search;
a signed erasure_complete receipt is emitted to the R-Series chain.
Every store / search / consent change / revoke is logged. The log is queryable per customer and signed end-to-end — auditors get a clean trail.
The memory_consent table is the gate every cross-product memory read
must clear. A search from OS asking for a customer's memory written by Platform is
refused unless an explicit consent grant exists. Same-product reads are unaffected.
MEMORY_CONSENT_ENABLED behind a flag — staged rolloutEvery memory point gets an OpenAI embedding inline and lands in pgvector. Hybrid search blends vector similarity with text-keyword matches and consent filtering — the result is "remembered the way a person would," not a brittle exact-match.
text-embedding-3-large for new writesWhat's live: the full /api/memory/* surface (store, search,
revoke, audit-log) on api.dcsai.ai; OpenAI embeddings + pgvector; per-product schema; the
cross-product memory_consent table.
Honest: consent enforcement is app-layer, not a cryptographic guarantee. The gate runs in the API; a compromised backend could in principle bypass it. The R-Series signed receipt chain makes any bypass visible after the fact — auditable, not preventable.
Sovereign mode: inside a Sovereign pod the same graph runs inside your perimeter under your keys; outbound consent grants stay local; the cryptographic-erasure path through Storage applies to memory data the same way it applies to receipts.
text-embedding-3-large for new writes today. The system is
model-agnostic; switching providers requires a re-embed pass, which is wired up for re-runs.erasure_complete receipt is added to the chain. A normal
delete is a row removal — erasure is the GDPR Article 17 path with proof.memory_consent table is default-deny on cross-product reads.
Same-product reads are unaffected (Platform reading its own writes, OS reading its own).@dcsplatform/mcp-server exposes Memory store / search / revoke as
stdio MCP tools. Drop it into Claude Desktop, Cursor or any MCP client.GET /api/memory/audit-log?customer=… returns the full signed
log for that customer. Used for DSAR responses and internal audits alike.Four endpoints · cross-product consent · one-click erasure with a receipt.