0
Fork 0
mirror of https://github.com/mastra-ai/mastra.git synced 2026-11-17 08:44:46 +00:00

Compare commits

...

4 commits

Author SHA1 Message Date
Jamie Nichols
5d5da1f2f6
Merge branch 'main' into fix/call-only-om-saves 2026-11-16 21:49:44 -08:00
Jamie Lee Nichols
b996d28107 test(memory): cover the regular agent with instance OM; narrow the per-call OM docs
Co-Authored-By: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-11-16 13:20:51 -05:00
Jamie Lee Nichols
df97b75d7e fix(memory,core): ignore call-only OM opt-ins with a warning and keep durable saving
Round 2: normalized opt-in predicate (opt-outs untouched), one-time warning,
durable flag requires the merged config to keep OM on so call-only runs flush
and title in finalize, JSDoc that OM must be configured on the instance,
and tests asserting OM artifacts for instance-level controls.

Co-Authored-By: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-11-16 13:20:51 -05:00
Jamie Lee Nichols
db21791925 fix(memory): save turns when observational memory is enabled only per call
The OM engine is built from the Memory instance config, so a call-only
observationalMemory opt-in had no engine, yet memory processors and the
durable finalize gate still treated OM as active and skipped message
history. The regular agent stored nothing and durable stored only the
user message. Resolve the merged config to OM-off in that case.

Co-Authored-By: mastracode <284800079+mastra-platform[bot]@users.noreply.github.com>
2026-11-16 13:20:51 -05:00
7 changed files with 211 additions and 1 deletions