mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6527] [MERGED] fix(memory): identify blocked corrections and recover missing scenes #7214
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#7214
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/6527
Author: @SpicyMarinara
Created: 9/22/2026
Status: ✅ Merged
Merged: 9/22/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/sept22-memory-repair📝 Commits (6)
2a8b7a7docs: track Advanced Memory recovery fixa1b9cb4fix(memory): preserve indexes and recover missing scene summariesd47e2fafix(memory): make completed scene repairs safe to retryd714467Merge remote-tracking branch 'origin/staging' into codex/sept22-memory-repair1378052fix(memory): announce recovery notices and strengthen UI proofbfb062bMerge remote-tracking branch 'origin/staging' into codex/sept22-memory-repair📊 Changes
10 files changed (+479 additions, -40 deletions)
View changed files
📝
CHANGELOG.md(+3 -0)📝
e2e/advanced-memory.e2e.ts(+94 -0)📝
packages/client/src/components/chat/AdvancedMemoryInspector.tsx(+39 -0)📝
packages/client/src/hooks/use-advanced-memory.ts(+2 -1)📝
packages/client/src/localization/locales/en.json(+4 -0)📝
packages/server/src/routes/advanced-memory.routes.ts(+2 -0)📝
packages/server/src/services/advanced-memory.ts(+165 -30)📝
packages/shared/src/types/advanced-memory.ts(+6 -0)📝
scripts/regressions/advanced-memory-core.regression.ts(+156 -9)📝
scripts/regressions/advanced-memory-inspector.regression.ts(+8 -0)📄 Description
Linked issue
Closes #6526
Why this change
Preparing Advanced Memory could reject a manually corrected scene after an ordinary message edit, swipe, illustration, or live context cutoff, without identifying the affected memory. A closed scene whose summary was never completed could also disappear from the inspector, leaving an unexplained gap such as Messages 948–992.
What changed
Validation
Completed automated checks:
pnpm check(localization, formatting, lint, TypeScript, and production builds).node scripts/run-regressions.mjs --filter advanced-memory: 8/8 passed, including 800-message preparation/resume, edits and swipe recall, access isolation, imports, stale in-flight work, missing scaffolds, targeted recovery, correction preservation, and the 1,000-message inspector performance fixture.pnpm checkand all eight memory regressions also passed after merging the latest staging base.node scripts/smoke-container.mjs marinara-6527-check full arm64(API/frontend, native dependencies, non-root runtime, persistence, clean shutdown).Human verification checklist (left unchecked for the maintainer):
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Manually verify on the affected chat after updating/restarting staging: open Chat Settings → Access memories for this chat, prepare the missing range, and confirm existing corrections/summaries remain. If a correction genuinely needs review, follow its Review button, save the correction, and resume. Confirm an edited message and alternate swipe are recalled using their current text. Physical iPhone/PWA testing remains a maintainer check; local mobile proof uses browser emulation and synthetic fixtures.
Docs and release impact
Updated
CHANGELOG.mdand the canonical English UI catalog. No version bump or changes to translated user documentation.UI evidence
Before/after and recovered-state screenshots: desktop and iPhone WebKit, light and dark themes. All screenshots use synthetic test data.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.