mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6160] [MERGED] fix(memory): clarify automatic setup and improve preparation reliability #7073
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#7073
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/6160
Author: @SpicyMarinara
Created: 9/13/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/advanced-memory-setup-reliability📝 Commits (5)
063afd3chore: start advanced memory setup and reliability workceb721efix(memory): clarify automatic setup and preserve scene context reliablyacce9b9fix(memory): check scenes after generation and preserve settings edits3cf2777fix(memory): preserve tracker cadence and queued settings limitsbbf33affix(ui): preserve numeric input selection during saved updates📊 Changes
31 files changed (+3213 additions, -262 deletions)
View changed files
📝
CHANGELOG.md(+7 -0)📝
docs/agents/memory.md(+9 -7)➕
e2e/advanced-memory-wizard.e2e.ts(+306 -0)📝
e2e/advanced-memory.e2e.ts(+115 -5)📝
e2e/core-flows.e2e.ts(+18 -4)📝
e2e/game-native-dice.e2e.ts(+1 -1)📝
packages/client/public/sprites/mari/generated/professor-mari-memory-wheel.png(+0 -0)📝
packages/client/src/components/chat/AdvancedMemoryInspector.tsx(+138 -39)📝
packages/client/src/components/chat/AdvancedMemoryProgress.tsx(+12 -4)📝
packages/client/src/components/chat/AdvancedMemorySettings.tsx(+75 -24)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+9 -4)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+48 -37)📝
packages/client/src/components/presets/ChoiceSelectionModal.tsx(+9 -2)📝
packages/client/src/components/ui/DraftNumberInput.tsx(+2 -2)📝
packages/client/src/hooks/use-advanced-memory.ts(+27 -6)📝
packages/client/src/lib/chat-wizard-defaults.ts(+15 -3)📝
packages/client/src/localization/locales/en.json(+24 -6)📝
packages/server/src/routes/advanced-memory.routes.ts(+15 -2)📝
packages/server/src/routes/generate.routes.ts(+97 -6)📝
packages/server/src/services/advanced-memory.ts(+539 -84)...and 11 more files
📄 Description
Linked issue
Closes #6159
Why this change
Advanced Memory should let Roleplay users continue their story without managing context cutoffs manually. Its settings did not explain the compression threshold, raw recall excerpts appeared beside scene summaries under the same title, and the desired short summary length could exhaust a reasoning model’s entire completion allowance before it wrote usable text.
What changed
Validation
Automated validation:
pnpm check— passed (localization, formatting, TypeScript/ESLint, E2E types and production build).pnpm regression:prompt— passed.pnpm smoke:ui— 16/16 passed: fifteen cases across desktop Chromium, Android-sized Chromium and iPhone-sized WebKit, plus the affected WebKit dark native-dice case. Includes held-response autosave ordering, stale-status cancellation, related limits when context increases/decreases, queued minimum/maximum edits, persisted scene interval and 0/0 excerpts, delayed resume acknowledgment, disabled duplicate action, archive search/reset cancellation, source inspection, timeframe labels, button/panel geometry, and the delayed preset-None save.bbf33af8— 263/263 Node regressions and all ten browser shards passed (desktop Chromium, mobile Chromium and mobile WebKit). Required validation, container build, CodeQL and the completed CodeRabbit review also passed; no unresolved review threads remain. Full regression run.Boxes below remain human verification tasks.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Manually verify preparation and resume with the affected GPT-6 Astra connection and a representative existing Individual group chat, including character knowledge ranges. Manually inspect the four-frame animation on a physical phone. Automated browser coverage uses desktop Chromium, Android-sized Chromium and iPhone-sized WebKit; provider regressions use the real Astra adapter against a local response fixture, not paid remote generations.
Docs and release impact
User-facing changes are recorded in CHANGELOG.md and the Advanced Memory guide is aligned with the new controls and scene-check flow. Translation synchronization is tracked in #6163. No release version or install/update behavior changes.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUI evidence (if applicable)
Automated light/dark drawer and wizard screenshots were captured and inspected. Final local evidence is under
/private/tmp/marinara-6160-selection-browser-finaland/private/tmp/marinara-6160-dice-capture-final. Physical-device and live-provider verification remain listed above.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.