What's New
Engram now supports best-effort prompt context capture directly from mem_save. Human-driven memories can retain the user prompt that generated them without requiring every agent protocol to manually pair every observation with a separate prompt save.
Changes
Features
mem_save.capture_prompt: Added optionalcapture_promptboolean, defaulting totrue.- Prompt-aware saves: When the MCP process has current prompt context for the same project/session,
mem_saverecords that prompt alongside the observation. - Pipeline opt-out: Automated artifacts such as SDD progress/spec/design saves can pass
capture_prompt=falseto avoid noisy prompt rows. - Prompt dedupe: Reuses existing prompt rows for the same project + session + exact content instead of inserting duplicates.
Integration Notes
mem_savedoes not invent prompt content. Plugins or protocols still need to feed prompt context, typically throughmem_save_prompt, before automatic capture can attach it to later saves.mem_save_promptnow feeds MCP session activity in-process, so a latermem_savecan auto-capture the same prompt without duplicating it.
Upgrade
brew upgrade engram