AgentMemoryPort.recall is a declared optional seam with no shipped implementation (packages/ai/src/ports/memory.ts, E10). eis-chat proves the pattern app-side: cosine recall over embedded memories injected per turn (packages/channel/mod.ts:422-528, routes/api/chat.ts:464-488).
Ship a reference adapter composing EmbeddingProviderPort + a pluggable vector-store seam (KV-backed starter), keeping stores app-owned per the persistence law.
Acceptance criteria
recall returns scored RecallResults; the loop falls back to load when recall is absent (existing behavior, regression-tested).
Found by the beta.5 eis-chat validation gate (charter Step 3). Refs #219.
AgentMemoryPort.recallis a declared optional seam with no shipped implementation (packages/ai/src/ports/memory.ts, E10). eis-chat proves the pattern app-side: cosine recall over embedded memories injected per turn (packages/channel/mod.ts:422-528,routes/api/chat.ts:464-488).Ship a reference adapter composing
EmbeddingProviderPort+ a pluggable vector-store seam (KV-backed starter), keeping stores app-owned per the persistence law.Acceptance criteria
recallreturns scoredRecallResults; the loop falls back toloadwhenrecallis absent (existing behavior, regression-tested).Found by the beta.5 eis-chat validation gate (charter Step 3). Refs #219.