[GH-ISSUE #7271] [Issue]: Decision diagnostics still show another character's recall via {{prompt}} or for inactive characters #4056

Closed
opened 2026-10-21 06:09:54 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Follow-up to #7264. In a Roleplay group chat where characters reply one by one, Peek Prompt → Decision diagnostics can still show another character's Advanced Memory recall in two cases that #7267 did not cover.

Expected behavior

The "Advanced Memory activity" section shows the saved recall of the character whose reply the Peek Prompt window displays. If that character never had anything to recall, it says "No saved recall yet".

Actual behavior

  • Typing {{prompt}} in the chat input opens the latest reply's saved prompt (for example Cyno's), but the diagnostics preview the first active character in the chat and show that character's recall (for example Tighnari's).
  • Opening Peek Prompt on a reply from a character who has since been set inactive or removed from the chat also shows the first active character's recall instead of that character's own.

Steps to reproduce

  1. Open a Roleplay group chat where characters reply one by one, with Advanced Memory and a Decision model on. Let an established character reply with recall, then a newly added character (with no earlier memories) reply last.
  2. Type {{prompt}} in the chat input and send it. Open Decision diagnostics: the recall shown is the first character's, not the newcomer's.
  3. Set the newcomer inactive, open Peek Prompt on the newcomer's reply and open Decision diagnostics: the first active character's recall appears again.

Environment

  • Marinara Engine version: 2.5.0 (staging at 3d2cdea77)
  • Install type: source
  • OS + version: macOS
  • Browser or app shell: any

Logs, screenshots, or video

Reproduced by an added assertion in scripts/regressions/advanced-memory-post-generation.regression.ts: peek-prompt without a selected reply returns no characterId, and dryRun with an inactive forCharacterId returns Dottore's saved recall for Cyno.

Additional context

Found while verifying #7267. Recall itself is unaffected: the Decision model is still never asked about memories a character cannot access.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7271 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Follow-up to #7264. In a Roleplay group chat where characters reply one by one, **Peek Prompt → Decision diagnostics** can still show another character's Advanced Memory recall in two cases that #7267 did not cover. ## Expected behavior The "Advanced Memory activity" section shows the saved recall of the character whose reply the Peek Prompt window displays. If that character never had anything to recall, it says "No saved recall yet". ## Actual behavior - Typing `{{prompt}}` in the chat input opens the latest reply's saved prompt (for example Cyno's), but the diagnostics preview the first active character in the chat and show that character's recall (for example Tighnari's). - Opening Peek Prompt on a reply from a character who has since been set inactive or removed from the chat also shows the first active character's recall instead of that character's own. ## Steps to reproduce 1. Open a Roleplay group chat where characters reply one by one, with Advanced Memory and a Decision model on. Let an established character reply with recall, then a newly added character (with no earlier memories) reply last. 2. Type `{{prompt}}` in the chat input and send it. Open **Decision diagnostics**: the recall shown is the first character's, not the newcomer's. 3. Set the newcomer inactive, open Peek Prompt on the newcomer's reply and open **Decision diagnostics**: the first active character's recall appears again. ## Environment - Marinara Engine version: 2.5.0 (`staging` at 3d2cdea77) - Install type: source - OS + version: macOS - Browser or app shell: any ## Logs, screenshots, or video Reproduced by an added assertion in `scripts/regressions/advanced-memory-post-generation.regression.ts`: `peek-prompt` without a selected reply returns no `characterId`, and `dryRun` with an inactive `forCharacterId` returns Dottore's saved recall for Cyno. ## Additional context Found while verifying #7267. Recall itself is unaffected: the Decision model is still never asked about memories a character cannot access. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:09:54 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

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

#7273 has since fixed both cases described here: {{prompt}} and replies from inactive characters. #7272 covers what was left: once a one-by-one group shrinks to one character, Peek Prompt on a reply from the character who left still showed the remaining character's recall. It also adds a regression for the {{prompt}} request.

<!-- gh-comment-id:6048465490 --> @SpicyMarinara commented on GitHub (Oct 7, 2026): #7273 has since fixed both cases described here: `{{prompt}}` and replies from inactive characters. #7272 covers what was left: once a one-by-one group shrinks to one character, Peek Prompt on a reply from the character who left still showed the remaining character's recall. It also adds a regression for the `{{prompt}}` request.
Author
Owner

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

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

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