mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6461] [Issue]: Advanced Memory summary compaction gets stuck on Resume processing #3617
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#3617
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 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6461
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Advanced Memory Recall can get stuck after scene summary generation fails. Selecting Resume processing briefly returns to scene-boundary processing, then repeats a compaction error instead of completing the remaining summaries.
Expected behavior
Resume unfinished summaries from saved progress, retain completed work, and summarize only the selected scene messages and applicable corrections. A failed compaction must be retryable without resetting the archive.
Actual behavior
The reported error is: “The summary model could not compact this history within the chosen budget.” Inspection found that failed oversized outputs remain cached and can repeat the same failure on every resume. Initialization also reports the classifying stage even when its completed checkpoint skips detection.
Steps to reproduce
Environment
Logs, screenshots, or video
Memory processing stopped
The summary model could not compact this history within the chosen budget
Additional context
Follow-up to #6450. Implementation owner: @SpicyMarinara, working with Codex in
codex/sept20-memory-resume. Scope is summary recovery and accurate resume progress, without changing source messages or character knowledge boundaries.Template check
@SpicyMarinara commented on GitHub (Sep 20, 2026):
Fixed on staging by #6462. Resume preserves completed scene detection and summaries, retries failed compaction, and reports the memory-summary limit. The regression reproduces the previous failure and now passes; local validation and CodeRabbit review passed. GitHub CI is still finishing.
@SpicyMarinara commented on GitHub (Sep 20, 2026):
Reopening for the follow-up reported on staging
26e2cd0(before #6462): preparation reaches 19 scene entries, then repeats the compaction error. The maintainer wants scene-only summary requests using the Advanced Memory helper and context limit, with existing paid summaries preserved across an update.Implementation owner: @SpicyMarinara with Codex, branch
codex/sept20-memory-summary-contract. This follow-up separates archived scene recaps from the constant-summary size limit, corrects helper routing, and verifies restart/resume from persisted progress. No reset or unrelated issue sweep is planned.@SpicyMarinara commented on GitHub (Sep 20, 2026):
The maintainer also requested deletion of individual scene memories from their editor, with confirmation. This is included in #6466: delete the saved recap, preserve the transcript, and reuse the existing excluded-record handling so maintenance does not regenerate it.
Recovery proof now includes the actual
26e2cd0implementation writing a 1,000-message archive, failing after 19 completed recaps, and the patched implementation reopening that persisted storage: all 19 were unchanged, only the unfinished scene made a new request, and boundary detection did not repeat. The regression uses a local model fixture, not a paid provider.