mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1568] [MERGED] feat(long-term-memory): let other Agents recall memories about the characters they write as (1.4.84) #1569
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#1569
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/1568
Author: @Promansis
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/22/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/recall-service📝 Commits (4)
b23c054feat(long-term-memory): let other Agents recall memories about the characters they write as (#1567)7a92c21chore(long-term-memory): release 1.4.84 (#1567)d3dc67cMerge upstream/staging into feature(long-term-memory)/recall-service; release long-term-memory 1.4.8404d7f3fMerge upstream/staging into feature(long-term-memory)/recall-service; release long-term-memory 1.4.84📊 Changes
25 files changed (+487 additions, -124 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.84.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/client.js(+17 -17)📝
packages/long-term-memory/docs/ARCHITECTURE.md(+48 -7)📝
packages/long-term-memory/manifest.json(+5 -5)📝
packages/long-term-memory/server.mjs(+41 -40)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/api.ts(+1 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+6 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/ActivityView.tsx(+3 -1)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx(+28 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/recall/retrieval.ts(+3 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes/settings.ts(+2 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/server-entry.ts(+3 -0)➕
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/services/recall.ts(+116 -0)...and 5 more files
📄 Description
Pull request
Linked issue
Closes #1567
Why this change
What changed
long-term-memory: a new Engine service,long-term-memory:recall(version 1), and a setting, "Other Agents can read memories" (longTermMemoryShareWithPackages, on by default), that gates it and the #1565 storage read.services/recall.ts: input checked with zod (callerup to 64 letters, digits and. _ : -, dropped when malformed;queryText1-8,000 characters; up to 20 character ids;personaId;mode;maxTokens50-4,000, default 800; anAbortSignal).nullfor invalid input, an aborted call or reads turned off;{ version: 1, sections: [] }when nothing matches. Recall receipts and usage are untouched.recall/retrieval.tsgains one option,noteIds, which limits the candidates to the listed memories, so the service reuses chat recall's ranking.services/storage-read.ts: the storage read returns[]when the switch is off and logs each read; helpers record and list the readers.calleris the name a package gives itself; the Engine doesn't say who looks a service up. The reader line lists the ten names that read most lately, from what the debug log holds (1.5 to 2 MB since #1556); Clear log empties it.Toggleand the reader line under it. Activity labels both actions "Read by another Agent". English strings only.docs/ARCHITECTURE.mdgains "Services for Other Packages": the call, the result, the rules and the versioning rule (a new section field can be added without a version change; removing or renaming one raisesversion).tests/long-term-memory-runtime.regression.ts; the routes regression lists the new route. CHANGELOG entry; rebuiltpackages/long-term-memorybundles, manifest, artifact and catalog entries as 1.4.84.Package and security impact
long-term-memoryapi.runtime.services.getfinds the new key; older Engines simply don't offer the lookup to packages.long-term-memory:recall, read-only; one new read-only route,GET /settings/package-readers.[]and falls back as for an empty vault. Rolling back to 1.4.83 drops the service; 1.4.83 reads settings leniently, so it ignores the new field and keeps it in the file for the next upgrade.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
char-aand checks:toneto the recalled types, a storage read that ignores the switch.b23c05489: package typecheck, format and lint, the feature build, the typecheck regression, the host runtime overlay regression and every CI-listed Long-Term Memory suite run one by one (31, plus the regression helpers) passed, including runtime, routes, storage, debug-activity, browser and installation.7a92c215a(1.4.84), and again ond3dc67c3dand04d7f3f42after merging staging (CI, Dottore and tooling changes only; the rebuilt bundles and archive are byte-identical): the rebuild is clean, and the fast checks, the package typecheck, the runtime, routes, storage, debug-activity, feedback-clarity-ui, browser 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.mdgains "Services for Other Packages", the contract for other packages.UI evidence (if applicable)
No screenshot. At the end of Memory Settings' Recall tab:
Help text: "Lets other Agents, such as Slurp, use memories about the character they write as. They get only memories available to that character everywhere: never memories limited to a chat or group, archived memories or suggestions, and they can't change anything."
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.