[GH-ISSUE #1274] [Issue]: Convo mode injects awareness memories despite recall disabled, empty bank, and deleted source chats #622

Closed
opened 2026-10-20 17:30:52 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @GetBeholder on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1274

Originally assigned to: @cha1latte on GitHub.

Summary

In conversation (convo) mode, the app hoards awareness memories and inserts them
into the system prompt even when cross-chat awareness is off, there are no
memories in the bank, memory recall is disabled, and prior chats/scenes have
been deleted. It also persists when the character card is duplicated and when the
card is used alone outside the original group chat that the memories came from.

Expected behavior

With cross-chat awareness off, no memories in the bank, memory recall disabled,
and source chats/scenes deleted, no awareness memories should be injected into
the prompt.

Actual behavior

Awareness memories continue to be inserted into the system prompt despite all of
those being disabled/empty/deleted. There are no errors in the debug output — the
injected content only shows up in the system prompt. The only workaround the
reporter found is deleting the character card and recreating it.

Steps to reproduce

  1. Use a character card in a group chat (roleplay/scene) so it accumulates
    awareness memories / scene summaries.
  2. In convo (chat) mode with that card: turn off cross-chat awareness, confirm
    no memories in the bank, disable memory recall, and delete the prior
    chats/scenes.
  3. Start a fresh chat and generate; observe that awareness memories are still
    inserted into the system prompt.
  4. Confirm it also persists when the card is duplicated, and when the card is
    used alone outside the original group chat.
  5. Workaround: delete the card and remake it — the injection stops.

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: mari 1.6.1, built from a git clone
  • Run mode: Windows 11 desktop (cloned via git; likely Tauri desktop — unconfirmed)
  • OS + version: Windows 11
  • Node + pnpm versions: not provided
  • Rust version, if relevant: not provided
  • Remote Runtime URL configured? not specified
  • Provider, model, or integration, if relevant: not specified

Logs, screenshots, or video

Reporter checked the debug output and found no errors; the injected awareness
content only appears in the system prompt. No logs or screenshots were provided.
A copy of the offending system prompt (with personal content redacted) would
help confirm exactly which awareness block is being injected.

Regression notes

The reporter states this was also happening on version 1.5.9, before updating to
1.6.1 — so it predates 1.6.1 and is present in at least 1.5.9 and 1.6.1. Last
known good build is unknown. (On 1.5.9 the reporter just used the
delete-and-remake workaround.)

Additional context

Source: community forum post by "normal human guy [AVTR]" (1-Star), posted
~6:20 PM (yesterday). The reporter is unsure whether this is a bug or a missed
setting, but notes that Professor Mari (the in-app assistant) leaned toward
"bug." The reporter offered to provide more information.

Triage pointer (from a quick scan, not from the reporter): the <awareness>
block (relationship history, conversation context before the scene, previous
scene continuity) and memory recall are assembled in
src/engine/generation/prompt-assembly.ts (awareness block ~L656-663;
memoryRecallEnabled / buildMemoryRecallBlock ~L773-1111), and
enableMemoryRecall is defined on the chat type
(src/engine/contracts/types/chat.ts). The report suggests awareness content is
injected even when recall is disabled and the bank is empty, and that the
underlying data persists with the character card (survives duplication and
removal from the original group chat) until the card is deleted and remade —
pointing at a scoping/persistence issue in how awareness memories are stored and
gated. Storage/catalog ownership left unchecked above because the persistence
boundary is not yet confirmed.

Template check

Please uncheck 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 @GetBeholder on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1274 Originally assigned to: @cha1latte on GitHub. ## Summary In conversation (convo) mode, the app hoards awareness memories and inserts them into the system prompt even when cross-chat awareness is off, there are no memories in the bank, memory recall is disabled, and prior chats/scenes have been deleted. It also persists when the character card is duplicated and when the card is used alone outside the original group chat that the memories came from. ## Expected behavior With cross-chat awareness off, no memories in the bank, memory recall disabled, and source chats/scenes deleted, no awareness memories should be injected into the prompt. ## Actual behavior Awareness memories continue to be inserted into the system prompt despite all of those being disabled/empty/deleted. There are no errors in the debug output — the injected content only shows up in the system prompt. The only workaround the reporter found is deleting the character card and recreating it. ## Steps to reproduce 1. Use a character card in a group chat (roleplay/scene) so it accumulates awareness memories / scene summaries. 2. In convo (chat) mode with that card: turn off cross-chat awareness, confirm no memories in the bank, disable memory recall, and delete the prior chats/scenes. 3. Start a fresh chat and generate; observe that awareness memories are still inserted into the system prompt. 4. Confirm it also persists when the card is duplicated, and when the card is used alone outside the original group chat. 5. Workaround: delete the card and remake it — the injection stops. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [x] Chat mode - [x] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [ ] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [x] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: mari 1.6.1, built from a git clone - Run mode: Windows 11 desktop (cloned via git; likely Tauri desktop — unconfirmed) - OS + version: Windows 11 - Node + pnpm versions: not provided - Rust version, if relevant: not provided - Remote Runtime URL configured? not specified - Provider, model, or integration, if relevant: not specified ## Logs, screenshots, or video Reporter checked the debug output and found no errors; the injected awareness content only appears in the system prompt. No logs or screenshots were provided. A copy of the offending system prompt (with personal content redacted) would help confirm exactly which awareness block is being injected. ## Regression notes The reporter states this was also happening on version 1.5.9, before updating to 1.6.1 — so it predates 1.6.1 and is present in at least 1.5.9 and 1.6.1. Last known good build is unknown. (On 1.5.9 the reporter just used the delete-and-remake workaround.) ## Additional context Source: community forum post by "normal human guy [AVTR]" (1-Star), posted ~6:20 PM (yesterday). The reporter is unsure whether this is a bug or a missed setting, but notes that Professor Mari (the in-app assistant) leaned toward "bug." The reporter offered to provide more information. Triage pointer (from a quick scan, not from the reporter): the `<awareness>` block (relationship history, conversation context before the scene, previous scene continuity) and memory recall are assembled in `src/engine/generation/prompt-assembly.ts` (awareness block ~L656-663; `memoryRecallEnabled` / `buildMemoryRecallBlock` ~L773-1111), and `enableMemoryRecall` is defined on the chat type (`src/engine/contracts/types/chat.ts`). The report suggests awareness content is injected even when recall is disabled and the bank is empty, and that the underlying data persists with the character card (survives duplication and removal from the original group chat) until the card is deleted and remade — pointing at a scoping/persistence issue in how awareness memories are stored and gated. Storage/catalog ownership left unchecked above because the persistence boundary is not yet confirmed. ## Template check Please uncheck 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-20 17:30:52 +07:00
  • closed this issue
  • added the
    shared
    bug
    labels
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#622
No description provided.