[GH-ISSUE #7234] [Feature]: Tell users about Advanced Memory problems and fix them in one click #4037

Closed
opened 2026-10-21 06:09:44 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Users of Advanced Memory Recall don't find out when something in a chat's memory is broken, and fixing it is tedious (maintainer request, 2026-10-07):

  • Problems are only visible in places users rarely look. Scenes with unclear participants, older scenes that were never checked, summaries withheld after message visibility or character names changed, missing scene summaries and hand-edited summaries that no longer match are recorded while the job still says Memory is ready. The only live signal is a server log line (e.g. [advanced-memory] Scene … participants: no chat character matches …), which the maintainer sees in her server console. Desktop launcher, installer, Android and Termux users never see that console.
  • The in-app warning is a muted grey line inside Chat Settings → Memory Recall, covers only unmatched participants, and only loads while Chat Settings is open. Per-scene markers exist only inside Access memories for this chat, which is closed by default.
  • Error toasts only fire from the live generation stream or while Chat Settings / Agent activity is open.
  • Repair is manual and scene by scene: open each scene, edit character access, save. Prepare existing history doesn't recheck unmatched participants and stops at the first hand-edited summary that needs review, so those come up one at a time across reruns.

Proposed solution

  • Notice: while Chat Settings is closed, a steady accent dot on the Chat Settings button (and on Access memories for this chat) whenever the open chat has memory problems, plus one non-repeating notice per new set of problem scenes with a Fix action.
  • Fix (fix all): one action that repairs every flagged scene using the existing preparation machinery (same queue, progress, Pause):
    • asks the Helper model again about unclear participants and checks older unchecked scenes; a clear answer is saved, an unclear answer never widens access and stays listed for the user;
    • re-prepares summaries whose sources, visibility or character names changed, and missing scene summaries (never blindly acknowledging old text);
    • resumes stopped work;
    • never rewrites hand-edited summaries: they are listed under "need your review" while every other scene is still processed.
  • Result: "Fixed N scenes: #12, #45 …" and "N need your review: #3, #9", where each number opens that scene in Access memories.
  • Works in light/dark, phone/desktop, keyboard and screen reader.

Alternatives considered

  • Acknowledging flagged recaps without regenerating them: rejected, because it could let private details reach characters who shouldn't see them.
  • Auto-running Fix in the background: rejected; Fix spends helper tokens, so the user starts it.

Additional context

Related: #7184 (participants / Check who was there), #7203 (older-scene participant checks), #7224.

Template check

Please uncheck (untick) 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 @SpicyMarinara on GitHub (Oct 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7234 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Users of **Advanced Memory Recall** don't find out when something in a chat's memory is broken, and fixing it is tedious (maintainer request, 2026-10-07): - Problems are only visible in places users rarely look. Scenes with unclear participants, older scenes that were never checked, summaries withheld after message visibility or character names changed, missing scene summaries and hand-edited summaries that no longer match are recorded while the job still says **Memory is ready**. The only live signal is a server log line (e.g. `[advanced-memory] Scene … participants: no chat character matches …`), which the maintainer sees in her server console. Desktop launcher, installer, Android and Termux users never see that console. - The in-app warning is a muted grey line inside **Chat Settings → Memory Recall**, covers only unmatched participants, and only loads while Chat Settings is open. Per-scene markers exist only inside **Access memories for this chat**, which is closed by default. - Error toasts only fire from the live generation stream or while Chat Settings / Agent activity is open. - Repair is manual and scene by scene: open each scene, edit character access, save. **Prepare existing history** doesn't recheck unmatched participants and stops at the first hand-edited summary that needs review, so those come up one at a time across reruns. ## Proposed solution - **Notice**: while Chat Settings is closed, a steady accent dot on the Chat Settings button (and on **Access memories for this chat**) whenever the open chat has memory problems, plus one non-repeating notice per new set of problem scenes with a **Fix** action. - **Fix** (fix all): one action that repairs every flagged scene using the existing preparation machinery (same queue, progress, Pause): - asks the Helper model again about unclear participants and checks older unchecked scenes; a clear answer is saved, an unclear answer never widens access and stays listed for the user; - re-prepares summaries whose sources, visibility or character names changed, and missing scene summaries (never blindly acknowledging old text); - resumes stopped work; - never rewrites hand-edited summaries: they are listed under "need your review" while every other scene is still processed. - **Result**: "Fixed N scenes: #12, #45 …" and "N need your review: #3, #9", where each number opens that scene in **Access memories**. - Works in light/dark, phone/desktop, keyboard and screen reader. ## Alternatives considered - Acknowledging flagged recaps without regenerating them: rejected, because it could let private details reach characters who shouldn't see them. - Auto-running Fix in the background: rejected; Fix spends helper tokens, so the user starts it. ## Additional context Related: #7184 (participants / Check who was there), #7203 (older-scene participant checks), #7224. ## Template check Please **uncheck (untick)** 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-21 06:09:44 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Oct 7, 2026):

Fixed on staging by #7236. Ships to main with the next promotion.

<!-- gh-comment-id:6036308358 --> @SpicyMarinara commented on GitHub (Oct 7, 2026): Fixed on `staging` by #7236. Ships to `main` with the next promotion.
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#4037
No description provided.