mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6679] [Issue]: Advanced Memory misses distinctive cues and excludes partial scene participants #3740
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3740
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Environment
a5f338ee7; reported installed version 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