mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7152] [MERGED] Fix memory controls, character titles and All lorebook sorting #7503
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#7503
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/7152
Author: @SpicyMarinara
Created: 10/6/2026
Status: ✅ Merged
Merged: 10/6/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/open-issues-7149-7151📝 Commits (5)
ca4fb3cchore: start fixes for Echo, memory recall and persona pickerc7aa6b1Merge branch 'staging' into fix/open-issues-7149-7151f11b4e9fix: keep memory recall modes exclusive and show character titles324596dMerge remote-tracking branch 'origin/fix/open-issues-7149-7151' into fix/open-issues-7149-7151a291d8ffix: persist memory pause and keep All lorebooks sorted📊 Changes
19 files changed (+898 additions, -145 deletions)
View changed files
📝
CHANGELOG.md(+8 -0)📝
e2e/advanced-memory.e2e.ts(+148 -11)📝
e2e/mobile-echo-window.e2e.ts(+85 -0)📝
e2e/play-as-character-folder.e2e.ts(+22 -4)📝
packages/client/src/components/chat/AdvancedMemoryProgress.tsx(+9 -8)📝
packages/client/src/components/chat/AdvancedMemorySettings.tsx(+1 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+11 -6)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+5 -3)📝
packages/client/src/components/chat/QuickPersonaSwitcher.tsx(+4 -3)📝
packages/client/src/components/chat/QuickSwitcherMobile.tsx(+4 -3)📝
packages/client/src/components/panels/LorebooksPanel.tsx(+1 -29)📝
packages/client/src/hooks/use-chats.ts(+43 -1)📝
packages/client/src/localization/locales/en.json(+1 -1)📝
packages/server/src/routes/chats.routes.ts(+70 -52)📝
packages/server/src/services/advanced-memory.ts(+65 -20)📝
packages/server/src/services/storage/chats.storage.ts(+27 -3)📝
packages/shared/src/types/advanced-memory.ts(+2 -0)📝
scripts/regressions/advanced-memory-core.regression.ts(+174 -0)➕
scripts/regressions/memory-recall-exclusivity.regression.ts(+218 -0)📄 Description
Linked issue
Closes #7150
Closes #7151
Refs #7149
Refs #7154
Why this change
Basic Memory Recall and Advanced Memory could remain enabled together, and an enabled Advanced switch became unavailable during processing or a status failure. Changing modes could also leave Advanced work running or be undone by a delayed settings save. The resumable processing control was labelled Cancel, and its Resume action was easy to miss. Character persona pickers showed the generic Character label instead of titles, making same-name cards difficult to distinguish. The lorebook All view regrouped already-sorted books by category, breaking their global sort order.
What changed
Validation
Completed local evidence:
pnpm install,pnpm check,pnpm regression:prompt,pnpm version:check, and diff checks passed. The full check includes localization, formatting, lint/type checks and the production build.pnpm smoke:ui: 7 passed;pnpm smoke:production: 3 passed.marinara-engine:pr-7152built and ran: health, production HTML, reciprocal recall-mode changes and fixture cleanup passed. Disposable container and volume removed.Human checklist remains unchecked:
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
daa5a3f60; current large-archive regressions pass, but the reporter's data and physical device were unavailable.Docs and release impact
User-focused entries added to CHANGELOG. No user-facing docs changed, and no version bump is included.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUI evidence (if applicable)
Before/after screenshot gallery · GitHub gist
Baseline picker cases fail on missing titles; baseline recovery controls fail because they are disabled. Both pass with the fix. Running/unavailable status UI cases use controlled status responses while toggles hit the real API; the held-provider cancellation proof separately exercises the server operation. The gallery also includes light-theme desktop/iPhone quick pickers and light/dark Pause/Resume controls. Echo evidence shows successful existing behavior, not a before/after fix.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.