[GH-ISSUE #7182] [Issue]: Advanced Memory recall with a decision model skips scenes that mention a name the user just used #4010

Closed
opened 2026-10-21 06:09:31 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7182

Originally assigned to: @SpicyMarinara on GitHub.

Summary

With Advanced Memory recall on and Jev as the decision model, mentioning a name that several saved scene summaries contain ("Shiro", the persona's cat) recalled none of those scenes for the next reply.

Expected behavior

Scene summaries that contain past events about something the user just named are recalled for the next reply, or there is a clear reason they were not.

Actual behavior

None of the scenes that mention "Shiro" were included in the memory recall for the following message.

Steps to reproduce

  1. Turn on Advanced Memory recall and choose Jev as the decision model.
  2. Have several scene summaries that mention a distinctive name (here, a pet's name).
  3. Mention that name in a user message.
  4. Check which scenes were recalled for the next reply.

Environment

  • Marinara Engine version: 2.5.0 / staging
  • Install type: Docker
  • OS + version: n/a
  • Browser or app shell: n/a

Additional context

Reported by the maintainer. Early code reading (packages/server/src/services/advanced-memory.ts ~3122-3219, advanced-memory-decisions.ts):

  • When a decision model returns scores, recall ranks candidates only by those scores. Keyword overlap and semantic similarity are not used, and the query embedding is not computed.
  • The decision question tells the model: "Shared names or similar wording alone are insufficient."
  • Recall uses a 10 s budget for all decision batches. A timeout or a failed batch falls back to keyword/semantic recall, which needs a relevance of at least 0.12.

To find out: whether the scenes were candidates at all, what Jev scored them (the reply's recall diagnostics), and whether keyword or semantic recall would have found them.

Originally created by @SpicyMarinara on GitHub (Oct 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7182 Originally assigned to: @SpicyMarinara on GitHub. ## Summary With **Advanced Memory** recall on and Jev as the decision model, mentioning a name that several saved scene summaries contain ("Shiro", the persona's cat) recalled none of those scenes for the next reply. ## Expected behavior Scene summaries that contain past events about something the user just named are recalled for the next reply, or there is a clear reason they were not. ## Actual behavior None of the scenes that mention "Shiro" were included in the memory recall for the following message. ## Steps to reproduce 1. Turn on Advanced Memory recall and choose Jev as the decision model. 2. Have several scene summaries that mention a distinctive name (here, a pet's name). 3. Mention that name in a user message. 4. Check which scenes were recalled for the next reply. ## Environment - Marinara Engine version: 2.5.0 / `staging` - Install type: Docker - OS + version: n/a - Browser or app shell: n/a ## Additional context Reported by the maintainer. Early code reading (`packages/server/src/services/advanced-memory.ts` ~3122-3219, `advanced-memory-decisions.ts`): - When a decision model returns scores, recall ranks candidates **only** by those scores. Keyword overlap and semantic similarity are not used, and the query embedding is not computed. - The decision question tells the model: "Shared names or similar wording alone are insufficient." - Recall uses a 10 s budget for all decision batches. A timeout or a failed batch falls back to keyword/semantic recall, which needs a relevance of at least 0.12. To find out: whether the scenes were candidates at all, what Jev scored them (the reply's recall diagnostics), and whether keyword or semantic recall would have found them.
bsakaguchi 2026-10-21 06:09:31 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Oct 6, 2026):

Fixed on staging by #7187. Ships to main with the next promotion.

<!-- gh-comment-id:6026894468 --> @SpicyMarinara commented on GitHub (Oct 6, 2026): Fixed on `staging` by #7187. Ships to `main` with the next promotion.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#4010
No description provided.