mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1566] [MERGED] fix(long-term-memory): share only a character-scoped memory read with other packages (1.4.83) #1568
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#1568
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/1566
Author: @Promansis
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/22/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/storage-service-read📝 Commits (2)
9cea17dfix(long-term-memory): share only a character-scoped memory read with other packages (#1565)0f10c9dchore(long-term-memory): release 1.4.83 (#1565)📊 Changes
16 files changed (+219 additions, -99 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.83.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/docs/ARCHITECTURE.md(+13 -6)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/server.mjs(+43 -43)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/server-entry.ts(+5 -5)➕
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/services/storage-read.ts(+42 -0)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-routes.regression.ts(+12 -4)📝
tests/long-term-memory-runtime.regression.ts(+60 -1)📄 Description
Pull request
Linked issue
Closes #1565
Why this change
long-term-memory:storage, since 1.0.0. It hands out{ root, storage, drafts }: the vault folder, the whole memory store and the suggestion store. Since Engine 2.5.1 any installed package can look up another package's service, so any package can list every memory, including memories limited to one chat, and create, change or delete memories and suggestions.What changed
long-term-memory: the storage service now offers one read, the memories available to a character everywhere. The service key and the call Slurp makes keep their shape.services/storage-read.ts: the filter is checked with zod, and onlytypeandcharacterIdsreach the store, so a chat or group id in the filter can't open chat-limited memories. Malformed vault files are skipped, as in chat recall.server-entry.tsregisters the read in place of{ root, storage, drafts }. The routes regression took the store from the service; it now opens the store on the same folder directly.docs/ARCHITECTURE.mdnames the newservices/folder and the rule that anything handed to other packages lists only memories available everywhere.tests/long-term-memory-runtime.regression.ts. CHANGELOG entry; rebuiltpackages/long-term-memoryserver bundle, manifest, artifact and catalog entries as 1.4.83.Package and security impact
long-term-memorylong-term-memory:storageshrinks from{ root, storage, drafts }to{ storage: { listNotes } }.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
server-entry.ts, the new regression fails at "the storage service must not hand out the vault folder or drafts". With the fix it passes. Letting imported sources through, or allowing an empty character list, fails the matching assertion.9cea17dce: package typecheck, format and lint, the feature build, the typecheck regression and every CI-listed Long-Term Memory suite run one by one (31, plus the regression helpers) passed, including runtime, routes, browser and installation.0f10c9d7b(1.4.83): the rebuild is clean, and the fast checks, the package typecheck, the runtime, routes and installation suites, and the catalog-lane, locale, catalog and release-notes checks pass. Hosted CI runs the full regression set.Documentation impact
packages/long-term-memory/docs/ARCHITECTURE.mddescribes the shared read.UI evidence (if applicable)
No UI change.
🤖 Generated with Claude Code
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.