mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6466] [MERGED] fix: recover memory preparation and add scene deletion #7190
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#7190
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6466
Author: @SpicyMarinara
Created: 9/20/2026
Status: ✅ Merged
Merged: 9/20/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/sept20-memory-summary-contract📝 Commits (2)
50dcd97chore: coordinate memory summary follow-upc5d9dd9fix: recover memory preparation and add scene deletion📊 Changes
9 files changed (+388 additions, -72 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
docs/agents/memory.md(+7 -5)📝
e2e/advanced-memory.e2e.ts(+38 -2)📝
packages/client/src/components/chat/AdvancedMemoryInspector.tsx(+30 -0)📝
packages/client/src/hooks/use-advanced-memory.ts(+3 -0)📝
packages/client/src/localization/locales/en.json(+3 -1)📝
packages/server/src/routes/advanced-memory.routes.ts(+4 -0)📝
packages/server/src/services/advanced-memory.ts(+81 -36)📝
scripts/regressions/advanced-memory-summary.regression.ts(+219 -28)📄 Description
Linked issue
Closes #6461
Why this change
Preparing a long chat could reject a complete scene recap because it exceeded a hidden 1,024-token limit, even though the request fit the configured context. Summary requests also inherited the ordinary Summaries connection and output allowance instead of the Advanced Memory helper. Updating must preserve the summaries already paid for.
The maintainer also requested a confirmed Delete action inside an individual scene-memory editor.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence:
pnpm checkpassed, including localization, formatting, types, lint, and production builds.pnpm regression:promptpassed.26e2cd0service, reproduced the old compaction error after 19 completed summaries in a 1,000-message chat, closed storage, and reopened it with this patch. All 19 summaries were unchanged; only the unfinished scene generated again, with no repeated classification./api/health.Manual verification notes
Manually verify Resume processing in the affected chat after updating and restarting, without resetting memory. Provider requests and failures were exercised with local fixtures, not a paid model or the maintainer's private chat. Physical iPhone testing remains a maintainer check.
Docs and release impact
Updated
docs/agents/memory.md, English UI copy, andCHANGELOG.md. Translation follow-up: #6467. No storage format or release version changes.docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (seeCONTRIBUTING.md§ Translated documentation)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.