mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1279] [Issue]: Chat summary panel shows day/week summaries from other RPs in a brand-new chat (display only, not used in generation) #626
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#626
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 @GetBeholder on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1279
Originally assigned to: @SpicyMarinara on GitHub.
Summary
In a brand-new roleplay chat, opening the chat summary panel shows day/week
summaries that belong to other RPs, along with a ~1000-token usage count. The
reporter verified that this other-RP content does not actually leak into the
current story's generation — it only appears in the panel. A second reporter
confirmed the same behavior. The reporter asks whether the panel is intended to
show all summaries rather than only the current chat's.
Expected behavior
A brand-new chat's summary panel should show only that chat's own summaries
(i.e. none for a brand-new chat), and the token count should reflect only the
current chat.
Actual behavior
The panel displays summaries from other RPs and reports ~1000 tokens, even in a
brand-new chat. The other RPs' content does not appear in the current story's
generated output (display-only).
Steps to reproduce
other-RP content.
Impact area
Environment
Logs, screenshots, or video
The reporter attached an image of the summary panel ("Image" in the post). It
was not provided here as a file or URL, so it is not attached. Adding the
screenshot would help confirm exactly which summaries are shown.
Regression notes
Not provided.
Additional context
Source: forum report by Era [GS] (2-Star), ~7:13 AM yesterday; a second reporter
(vis, 1-Star) confirmed "same" at 4:32 AM. (vis also reported a separate
"modified prompt not working" problem; that is being tracked separately and is
not part of this issue.)
The reporter frames this partly as a question — whether showing all summaries is
intended. Given the implementation it reads as a bug rather than intended
behavior (see below).
Triage pointer (from a scan, not from the reporter): the summaries panel
SummariesEditorModal(
src/features/modes/shared/chat-ui/components/SummariesEditorModal.tsx) readsdaySummaries/weekSummariesfrom the passed chat's own metadata(
chat.metadata), and the displayed token total is summed from those entries.So for a brand-new chat to show other RPs' summaries, that chat's metadata
appears to be carrying summaries that belong to other chats — pointing at a
summary write/scoping issue (e.g. summaries keyed to the character/group rather
than the specific chat) rather than the panel deliberately aggregating across
chats. Auto day/week summaries are written by
src/engine/modes/chat/core/summaries/auto-summary.service.ts. This may berelated in theme to the awareness-memory scoping reported in #1274 (cross-chat
continuity content appearing where it shouldn't), though this case is
display-only.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (May 27, 2026):
Fixed on refactor in
8058f66dd4: chat presets now sanitize chat-specific summary metadata on save/apply/import paths so day/week/rolling summaries cannot bleed into brand-new chats. Added focused Vitest coverage and ran pnpm check.