mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
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#1453
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/1422
Author: @Promansis
Created: 10/16/2026
Status: ✅ Merged
Merged: 10/16/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/1415-settings-unknown-fields📝 Commits (3)
6e1e6e3fix(long-term-memory): settings fields from a newer version no longer stop activation (#1415)e0d31d8Merge upstream/staging into fix(long-term-memory)/1415-settings-unknown-fields; release long-term-memory 1.4.395d3ba80fix(long-term-memory): retention settings from a newer version no longer stop activation (#1415)📊 Changes
18 files changed (+256 additions, -125 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.39.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(+52 -50)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/backup-restore.ts(+6 -4)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction-config.ts(+14 -9)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/retention.ts(+6 -3)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/runtime.ts(+5 -4)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/settings.ts(+52 -5)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/storage.ts(+5 -3)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-storage.regression.ts(+72 -7)📄 Description
Pull request
Linked issue
Closes #1415
Why this change
Long-Term Memory parsed its settings files strictly, so one field written by a newer version stopped an older version from activating. Every chat then had no recall and no extraction until someone edited the file by hand. This bites after a failed update: the Engine rolls back to the previous version, and that version can't read the settings the newer one already saved. Backup export and saving settings failed the same way.
What changed
long-term-memory1.4.38 → 1.4.39 (patch). Rebuiltserver.mjs,manifest.json,artifacts/long-term-memory-1.4.39.zip, the catalogs and catalog notes.client.jsis unchanged.storage.tsinitializeLtmStoreis the first step of the activation check, and it also parsed and rewrotesettings.jsonstrictly. Without this change, activation still failed. A lenient read that dropped the field would also have stripped it on every startup.retention.jsonis read the same way at startup and in the retention run (retention.ts). Every retention field has a default and startup rewrites the file, so a retention field added by a newer version reaches disk without any user action. It was the most likely way to hit this bug.extractionMode, so those are still dropped silently, not logged or kept.PUT /settings,PUT /extraction-settings).upstream/staging(fab3bcf3f, #1421) for the release.Package and security impact
long-term-memory>=2.4.1 <4.0.0)Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Run locally by the author. This is informational; the boxes above are left for a human.
test-ltm.sh storageon the unfixed source exits 1, withZodError unrecognized_keysatactivateLongTermMemoryStorage.tests/long-term-memory-storage.regression.ts, replacing "self-check must reject malformed settings"):test-ltm.sh storageexits 1 (unrecognized_keysat activation); with the fix it exits 0.5d3ba80de, against Engine2039583ca:test-ltm.shstorage, runtime, routes, routes-backup and installation (1.4.39) all exit 0.npm run check,typecheck-packages long-term-memory,test-catalog-lanes,validate-package-locales,validate-catalog, thecatalog-release-notesregression andgit diff --checkall exit 0.tsc --noEmitrun on the six changed server files shows the same 14 errors asstagingand no new ones.Documentation impact
UI evidence (if applicable)
Not applicable.
🤖 Generated with Claude Code
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.