[GH-ISSUE #7184] [Issue]: Advanced Memory recall follow-ups found during #7182 (receipts, empty scene audiences, swipe reuse) #4009

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/7184

Originally assigned to: @SpicyMarinara on GitHub.

Summary

While investigating #7182, three investigators reproduced four further Advanced Memory recall problems. They are separate from #7182's fix (shortlist plus two decision passes) and are listed here so they don't get lost. All are verified with runnable reproductions against staging 891d402fc unless marked otherwise.

Expected behavior

Recall diagnostics tell the truth, scene audiences survive small name differences, and swipes can pick up memories the first reply missed.

Actual behavior

  1. Misleading receipt. "decision-recall" is recorded whenever the decision model returned complete scores, even if it selected nothing. The activity panel then shows "The Decision model selected relevant past memories." next to "No relevant earlier scenes or messages were recalled." Separately, "no-relevant-recall" also appears when no candidates existed or there was no budget, which suggests relevance was judged when it never was (advanced-memory.ts ~3151, ~3380; en.json ~257-260).
  2. A scene audience silently becomes empty. If the summary helper returns a participant name that doesn't exactly match the card name (for example "Kaito" for a card named "Kaito Nakamura"), or omits the audience key, the scene is saved with audience [] and no warning. In a 1:1 chat that scene can never be recalled for that character, and the decision model is never asked (advanced-memory.ts ~1116, ~1137-1147).
  3. Older scene summaries count as audience []. Summaries saved before the scene-audience marker existed are treated as having no audience for recall, whatever they store. The automatic after-reply preparation (closedOnly: true) never runs the audience pass that would fix them; only an explicit full preparation does. They also show as "Narrator only" in the inspector (~698-700, ~1786, ~2365). Lower likelihood.
  4. Swipes inherit a missed recall. A swipe or regenerate reuses the first reply's memory snapshot whenever it still validates. validatePrepared checks only the recorded IDs, so newly relevant scenes are never considered (advanced-memory-context.ts ~101-121, advanced-memory.ts ~3852-3894).

Steps to reproduce

See the regression probes described above. Each was run with a fake decision backend in a scratch worktree.

Environment

  • Marinara Engine version: staging (2.5.0+)
  • Install type: any
  • OS + version: any
  • Browser or app shell: any

Additional context

Found during #7182. Not part of its PR. Suggested order: 2 (silent data loss), then 1 (honest diagnostics), then 4, then 3.

Originally created by @SpicyMarinara on GitHub (Oct 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7184 Originally assigned to: @SpicyMarinara on GitHub. ## Summary While investigating #7182, three investigators reproduced four further Advanced Memory recall problems. They are separate from #7182's fix (shortlist plus two decision passes) and are listed here so they don't get lost. All are verified with runnable reproductions against `staging` 891d402fc unless marked otherwise. ## Expected behavior Recall diagnostics tell the truth, scene audiences survive small name differences, and swipes can pick up memories the first reply missed. ## Actual behavior 1. **Misleading receipt.** `"decision-recall"` is recorded whenever the decision model returned complete scores, even if it selected nothing. The activity panel then shows "The Decision model selected relevant past memories." next to "No relevant earlier scenes or messages were recalled." Separately, `"no-relevant-recall"` also appears when no candidates existed or there was no budget, which suggests relevance was judged when it never was (`advanced-memory.ts` ~3151, ~3380; `en.json` ~257-260). 2. **A scene audience silently becomes empty.** If the summary helper returns a participant name that doesn't exactly match the card name (for example "Kaito" for a card named "Kaito Nakamura"), or omits the `audience` key, the scene is saved with audience `[]` and no warning. In a 1:1 chat that scene can never be recalled for that character, and the decision model is never asked (`advanced-memory.ts` ~1116, ~1137-1147). 3. **Older scene summaries count as audience `[]`.** Summaries saved before the scene-audience marker existed are treated as having no audience for recall, whatever they store. The automatic after-reply preparation (`closedOnly: true`) never runs the audience pass that would fix them; only an explicit full preparation does. They also show as "Narrator only" in the inspector (~698-700, ~1786, ~2365). *Lower likelihood.* 4. **Swipes inherit a missed recall.** A swipe or regenerate reuses the first reply's memory snapshot whenever it still validates. `validatePrepared` checks only the recorded IDs, so newly relevant scenes are never considered (`advanced-memory-context.ts` ~101-121, `advanced-memory.ts` ~3852-3894). ## Steps to reproduce See the regression probes described above. Each was run with a fake decision backend in a scratch worktree. ## Environment - Marinara Engine version: `staging` (2.5.0+) - Install type: any - OS + version: any - Browser or app shell: any ## Additional context Found during #7182. Not part of its PR. Suggested order: 2 (silent data loss), then 1 (honest diagnostics), then 4, then 3.
bsakaguchi 2026-10-21 06:09:31 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

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

<!-- gh-comment-id:6030064856 --> @SpicyMarinara commented on GitHub (Oct 7, 2026): Fixed on `staging` by #7203. 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#4009
No description provided.