mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1531] [MERGED] fix(long-term-memory): load settings a newer version wrote after a rollback (1.4.69) #1533
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1533
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-Agents/pull/1531
Author: @Promansis
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/settings-rollback-nested📝 Commits (2)
fdf5c94fix(long-term-memory): load settings a newer version wrote after a rollback (#1522)89f1d88Merge upstream/staging into fix(long-term-memory)/settings-rollback-nested; release long-term-memory 1.4.69📊 Changes
17 files changed (+569 additions, -140 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.69.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/server.mjs(+41 -41)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/extraction-config.ts(+23 -16)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/persistence/backup-restore.ts(+27 -8)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/persistence/retention.ts(+8 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/persistence/storage.ts(+3 -3)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/settings.ts(+125 -27)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-storage.regression.ts(+298 -4)📄 Description
Pull request
Linked issue
Closes #1522
Why this change
What changed
long-term-memory: the shared settings loader (settings.ts) now removes, at any depth, keys this version does not know, enum values it does not have and values outside its range, so each falls back to its default; a list keeps its known entries. It logs the paths once, never the values.withNewerLtmSettings, so the newer values stay in the file until the user changes that setting. A field the Settings form sends back unchanged does not replace them. When the user deletes a template, a newer mode's choice of it is dropped, so the newer version can still load the file.version, cross-field rules, request bodies and newer backups stay strict.tests/long-term-memory-storage.regression.ts.long-term-memory1.4.69 on staging04c8dafed, with the CHANGELOG entry, version, manifest, rebuiltserver.mjs, artifact and catalog entries.Package and security impact
long-term-memoryValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
tests/long-term-memory-storage.regression.tsfails onstagingat activation (too_big at receiptRetentionDays) and passes with the fix. Removing the retention pause, the equal-value rule, the template filter, the stop-word comparison or the stored files in Delete all each makes it fail.long-term-memory-runtime,-routesand-routes-backupregressions pass. Typecheck, lint, the package build and every Long-Term Memory regression suite pass on the release head.Documentation impact
UI evidence (if applicable)
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.