mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6451] [MERGED] fix: prepare full memory history and share equivalent scene summaries #7181
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#7181
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/6451
Author: @SpicyMarinara
Created: 9/20/2026
Status: ✅ Merged
Merged: 9/20/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/sept20-advanced-memory-recall-fixes📝 Commits (4)
2aa008dchore: start focused advanced memory regression fixes2eb8960fix: backfill roleplay history and share equivalent scene memories5e3b0dftest: cover shared memory controls and default system placement1382d3ffix: let the narrator reuse shared scene memories📊 Changes
9 files changed (+446 additions, -64 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
e2e/advanced-memory.e2e.ts(+54 -6)📝
packages/client/src/components/chat/AdvancedMemoryInspector.tsx(+22 -9)📝
packages/client/src/localization/locales/en.json(+3 -3)📝
packages/server/src/services/advanced-memory.ts(+128 -41)📝
scripts/regressions/advanced-memory-core.regression.ts(+54 -2)📝
scripts/regressions/advanced-memory-post-generation.regression.ts(+3 -3)📝
scripts/regressions/advanced-memory-summary.regression.ts(+158 -0)📝
scripts/regressions/prompt.regression.ts(+22 -0)📄 Description
Linked issue
Addresses #6450. The original iPhone-app spacing symptom still needs confirmation on the reporter's device.
Why this change
Automatic Advanced Memory preparation skipped historical scene detection, while later tracker checks only inspected recent messages. Character audiences with identical eligible history also received independently generated scene copies, making the archive look duplicated and increasing generation costs.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdExecuted by Codex (checkboxes deliberately remain for a human):
pnpm checkpassed, including localization, types, lint and production builds.chat-branch-lineage.regression.tspassed for memory branch/import behavior.pnpm regression:promptpassed; default system placement is explicitly verified in XML, Markdown and plain formats./api/healthresponse. GitHub's full Docker build remains a merge gate.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedCHANGELOG and canonical English memory help were updated. No documentation under
docs/, dependency, version or downloadable-agent changes.UI evidence
Synthetic light/dark archive screenshots cover desktop Chromium, mobile Chromium and mobile WebKit. Download an HTML file and open it locally to view the embedded, unmodified browser captures. The original before screenshot contains private chat content and is not republished.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.