mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1850] [Feature]: Long-Term Memory: stop offering the old storage read now that Slurp uses recall #1783
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#1783
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?
Originally created by @Promansis on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1850
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
Long-Term Memory still registers
long-term-memory:storage, a second way for other packages to read memories (storage.listNotes). It was kept only for Slurp's flavour brief. Slurp 0.4.9 (#1841, PR #1845) now reads throughlong-term-memory:recall, and no package on staging looks the key up any more. The old service skips recall's subject, mode and persona rules, and like every registered service any installed package can look it up. Keeping it means two read paths to keep private and documented when one is enough.Tracker: SN-6 (design note Q8).
Proposed package or change
Stop registering
long-term-memory:storageand delete its reader.long-term-memoryonly, patch bump with a CHANGELOG line. Nothing changes in the Engine, Slurp or Noodle.Minimal fix
S =
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory.long-term-memory:storageregistration, its import and its release call inS/server-entry.ts.createLtmStorageReadServiceandlistNotesFilterSchemafromS/services/storage-read.ts, with the imports left unused (LongTermMemoryStorage,getLtmGlobalSettings,ltmNoteTypeSchemaif nothing else in the file uses them). The file keeps the shared helpers thatS/services/recall.tsandS/routes/settings.tsimport."package_list"stays inPACKAGE_READ_ACTIONSand in the Activity view's action labels (ActivityView.tsx~93), so debug-log lines written by older reads still count in Memory Settings → Sharing and still show a label.packages/long-term-memory/docs/ARCHITECTURE.md: droplong-term-memory:storagefrom the registration sentence (~13) and delete its paragraph in § "Services for Other Packages" (~250).PRODUCT.md(S/../../../../client/src/features/long-term-memory/PRODUCT.md:29) lists the registered services: namelong-term-memory:recallandlong-term-memory:runtime. Slurp'sDECISIONS.mdmentions the key only as a rejected option, so leave it.## Unreleased: "Long-Term Memory no longer offers the older way other Agents read memories. Slurp 0.4.8 and earlier stop adding memories to Creator posts; update Slurp to keep them."Regression proof
tests/long-term-memory-runtime.regression.ts:assert.equal(services.has("long-term-memory:storage"), false, …). Keep the cleanup assertion (~2991): it still holds and guards a later re-add without a release.sharedRoot/sharedReadblock (~318-360). Recall's own fixtures already cover chat-limited, archived, game-only and other characters' memories, but not imported sources: move thesource_shared_summaryfixture (atype: "source"note forchar-a) into the recall fixtures and assert recall never returns it, ranked orwhole: true.noodlereads withrecall.recall({ caller: "noodle", queryText, characterIds: ["char-a"] })and sum the sections it returned. Drop the last storage assertion, since the recall assertions next to it already cover the switch.Mutations that must fail: registering the storage service again, and dropping
note.type !== "source"fromisLtmNoteShareable.Why should this be optional?
It removes a service. Nothing turns it on or off. Reading memories stays optional through recall, behind Long-Term Memory's "Other Agents can read memories" switch and each reading Agent's own setting.
Alternatives considered
[]: it hides nothing that a missing key doesn't, and it stays one more lookup that any package can make.long-term-memory:runtime. This service has no remaining caller, so deleting it is simpler than guarding it.Additional context
Follows #1840 (
wholerecall, LTM 1.5.8) and #1841 (Slurp on recall, 0.4.9). Slurp 0.4.8 looks the key up withif (!service?.storage?.listNotes) return [](slp-agent-memory-source.ts:97-98), so against this change it loses its memory lines and keeps working. Noodle never used the key. No file overlaps with #1842 (Noodle recall).Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
Local trace
6220f9459(LTM 1.5.8, Slurp 0.4.9).git grep "long-term-memory:storage"outside generated bundles and artifacts:S/server-entry.ts:40,S/services/storage-read.ts:75(comment),tests/long-term-memory-runtime.regression.ts:305,2991, LTMARCHITECTURE.md:13,250,PRODUCT.md:29, SlurpDECISIONS.md:355.packages/slurp2/server.mjshas no match.tests/long-term-memory-runtime.regression.tsdoes.