mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7240] [MERGED] fix(memory): keep Fix from rewriting hand edits or keeping unconfirmed access #7639
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#7639
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/7240
Author: @SpicyMarinara
Created: 10/7/2026
Status: ✅ Merged
Merged: 10/7/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/advanced-memory-fix-followups-7234📝 Commits (3)
dc95fe3fix(memory): keep Fix from rewriting hand edits or keeping unconfirmed access99e665dfix(memory): Resume continues an ordinary job after a stopped Fix0515e56Merge origin/staging into fix/advanced-memory-fix-followups-7234📊 Changes
6 files changed (+120 additions, -12 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
docs/agents/memory.md(+3 -3)📝
e2e/advanced-memory.e2e.ts(+25 -0)📝
packages/client/src/components/chat/AdvancedMemorySettings.tsx(+2 -1)📝
packages/server/src/services/advanced-memory.ts(+11 -6)📝
scripts/regressions/advanced-memory-fix.regression.ts(+78 -2)📄 Description
Linked issue
Refs #7234 (follow-up to #7236, which merged while it was being verified)
Why this change
An adversarial review of Advanced Memory Fix (#7236) found two cases where it broke its own promises, and one where pausing it made things worse:
What changed
packages/server/src/services/advanced-memory.ts:packages/client/src/components/chat/AdvancedMemorySettings.tsx: Resume processing continues a paused or stopped Fix as a Fix. The Fix job already savesfixResult: nullwhile it runs, so no new state is needed.scripts/regressions/advanced-memory-fix.regression.ts: adds a second chat with both privacy cases. It fails without the server change, because the helper is asked to rewrite the hand edit.e2e/advanced-memory.e2e.ts: extends the Fix test so that Resume processing after a paused Fix sendsfixAll: true. It fails without the client change.docs/agents/memory.mdandCHANGELOG.md: the wording now matches this behavior. The feature is unreleased, so the existing #7234 entry is corrected and no second entry is added.No existing test from
stagingwas edited. Both test changes extend the new Fix tests that #7236 added.Validation
pnpm checkpasses locallyCONTRIBUTING.mdAgent-run checks (for the record, not a substitute for the boxes above):
pnpm checkexited 0 on this branch. It includeslocalization:check, format, lint, e2e types and the build.advanced-memory-*files pass, plusmemory-recall-exclusivity,memory-recall-revectorize,roleplay-user-private-memoryandnative-export-memory.e2e/advanced-memory.e2e.tsande2e/advanced-memory-wizard.e2e.tson desktop-chromium and mobile-webkit:App.tsxwithInvalidStateError: The object is in an invalid state., right after WebKit logged "Unable to get image data from canvas. Requested size was 1 x 1" (syncLiteralBackground'sgetImageData). The failed tests passed when rerun with 1 worker.Manual verification notes
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)docs/agents/memory.mdchanged again. The existing follow-up #7235 covers this file, and a comment there lists the new sentences.UI evidence (if applicable)
No visual change. Resume processing now sends a Fix request after a paused Fix.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.