[GH-ISSUE #6679] [Issue]: Advanced Memory misses distinctive cues and excludes partial scene participants #3740

Closed
opened 2026-10-21 06:06:43 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Advanced Memory can miss an archived scene when a new Roleplay message contains a distinctive cue buried in a long recap. A separate all-or-nothing source check excludes a character from an entire shared scene when only a few messages are hidden from them.

Expected behavior

Distinctive cues should help select the relevant eligible scene without extra model calls or noticeable recall latency. Characters who witnessed part of a scene should share its access list. Shared recap events should use plain text; private sections should retain character conditions informed by message visibility. Entirely hidden scenes and absent participants must remain excluded. Constant summaries in Chat Summaries must retain character conditions.

Actual behavior

Literal recall divides matching word counts by the size of the entire query and record, so a rare cue can fall below the relevance threshold. Recent messages and lengthy recaps dilute the match. Disabling excerpt output also excludes indexed original-message chunks from scene discovery. Scene audience assignment, edits, and retrieval require every source message to be visible to a character. Summary inputs also omit explicit per-message visibility information.

Steps to reproduce

  1. Prepare an old scene containing a brief childhood memory involving rosemary among other events, with access granted to the responding character.
  2. Refer naturally to rosemary and a parent in a later message containing unrelated current-scene description.
  3. With no usable semantic match, observe that the scene can fail the literal relevance threshold.
  4. In a shared scene, hide one private conversation from one participant, then try to assign that participant access to the scene recap. The current validation rejects the whole scene.

Environment

  • Marinara Engine version: staging a5f338ee7; reported installed version not supplied.
  • Install type: not supplied.
  • OS + version: not supplied.
  • Browser or app shell: not supplied.

Logs, screenshots, or video

Local inspection of the reported message and summary produced a literal score of 0.0428 against a 0.12 cutoff. This isolates the literal-scoring weakness; it does not replay the original embedding result or full four-message query. Private chat text is intentionally excluded from this public report.

Additional context

Owner: Codex working for @SpicyMarinara. Scope authorized by the maintainer: fix recall and partial scene access in one focused PR, retain private scene conditions and constant-summary conditions, verify retrieval performance, and merge into staging after all required checks and reviews pass.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 25, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6679 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Advanced Memory can miss an archived scene when a new Roleplay message contains a distinctive cue buried in a long recap. A separate all-or-nothing source check excludes a character from an entire shared scene when only a few messages are hidden from them. ## Expected behavior Distinctive cues should help select the relevant eligible scene without extra model calls or noticeable recall latency. Characters who witnessed part of a scene should share its access list. Shared recap events should use plain text; private sections should retain character conditions informed by message visibility. Entirely hidden scenes and absent participants must remain excluded. Constant summaries in Chat Summaries must retain character conditions. ## Actual behavior Literal recall divides matching word counts by the size of the entire query and record, so a rare cue can fall below the relevance threshold. Recent messages and lengthy recaps dilute the match. Disabling excerpt output also excludes indexed original-message chunks from scene discovery. Scene audience assignment, edits, and retrieval require every source message to be visible to a character. Summary inputs also omit explicit per-message visibility information. ## Steps to reproduce 1. Prepare an old scene containing a brief childhood memory involving rosemary among other events, with access granted to the responding character. 2. Refer naturally to rosemary and a parent in a later message containing unrelated current-scene description. 3. With no usable semantic match, observe that the scene can fail the literal relevance threshold. 4. In a shared scene, hide one private conversation from one participant, then try to assign that participant access to the scene recap. The current validation rejects the whole scene. ## Environment - Marinara Engine version: staging `a5f338ee7`; reported installed version not supplied. - Install type: not supplied. - OS + version: not supplied. - Browser or app shell: not supplied. ## Logs, screenshots, or video Local inspection of the reported message and summary produced a literal score of 0.0428 against a 0.12 cutoff. This isolates the literal-scoring weakness; it does not replay the original embedding result or full four-message query. Private chat text is intentionally excluded from this public report. ## Additional context Owner: Codex working for @SpicyMarinara. Scope authorized by the maintainer: fix recall and partial scene access in one focused PR, retain private scene conditions and constant-summary conditions, verify retrieval performance, and merge into staging after all required checks and reviews pass. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:06:43 +07:00
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#3740
No description provided.