[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

Closed
opened 2026-10-20 17:30:54 +07:00 by bsakaguchi · 1 comment
Owner

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

  1. Start a brand-new roleplay chat (no summaries generated yet).
  2. Open the chat summary panel / summaries editor.
  3. Observe day/week summaries from other RPs listed, with a ~1000-token usage shown.
  4. Confirm the current story's generation does not actually include that
    other-RP content.

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: not provided
  • Run mode: not specified
  • OS + version: not specified
  • 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

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) reads
daySummaries / weekSummaries from 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 be
related 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:

  • 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/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 1. Start a brand-new roleplay chat (no summaries generated yet). 2. Open the chat summary panel / summaries editor. 3. Observe day/week summaries from other RPs listed, with a ~1000-token usage shown. 4. Confirm the current story's generation does not actually include that other-RP content. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [x] Roleplay mode - [ ] Game mode - [x] 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: not provided - Run mode: not specified - OS + version: not specified - 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 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`) reads `daySummaries` / `weekSummaries` from 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 be related 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: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:30:54 +07:00
Author
Owner

@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.

<!-- gh-comment-id:4555720881 --> @SpicyMarinara commented on GitHub (May 27, 2026): Fixed on refactor in 8058f66dd4affb1e74e4bdbce3b7d4580554fb9b: 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.
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#626
No description provided.