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#1991
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/1843
Author: @Promansis
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/recall-whole-memories📝 Commits (2)
e039480feat(long-term-memory): let recall return whole memories (#1840)24402eechore(long-term-memory): release 1.5.8 (#1840)📊 Changes
15 files changed (+178 additions, -87 deletions)
View changed files
➕
artifacts/long-term-memory-1.5.8.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(+9 -0)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/server.mjs(+45 -44)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/recall/budget.ts(+1 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/services/recall.ts(+32 -2)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-runtime.regression.ts(+47 -0)📄 Description
Pull request
Linked issue
Closes #1840
Why this change
Slurp and Noodle are about to read memories through
long-term-memory:recall. Recall ranks memories against what the caller is about to write and returns only the best-scoring parts, which suits some setups (large vaults) but not others (small vaults, local models, short memories). The maintainer asked for the choice to be the user's, defaulting to whole memories first so we can check that memories reach the posts at all before tuning ranking. Today the only way to get whole memories islong-term-memory:storage, which skips recall's privacy rules (subjects, mode, persona) and is slated for removal.What changed
long-term-memory1.5.7 → 1.5.8 (patch).recalltakes an optionalwholeboolean (default false). Withwhole: trueit returns every memory that passes the same sharing, mode, persona and subject rules, with its full text, in type order and then newest first. A memory that does not fitmaxTokensis skipped, never cut, so a later smaller one can still fit; at most 20 sections. No retrieval call, so no embeddings are needed.queryTextstays required in both modes, so one call serves both, and an older Long-Term Memory ignoreswholeand answers with ranked parts. Serviceversionstays 1.estimateTokensis exported fromrecall/budget.tsso whole mode uses the same token estimate as ranked recall.docs/ARCHITECTURE.md(Services for Other Packages); CHANGELOG entry added.tests/long-term-memory-runtime.regression.ts: same memories as ranked recall, type-then-newest order, skip-not-cut under a smallmaxTokens, switch off givesnull, conversation mode against roleplay-only memories gives no sections.server.mjs,artifacts/long-term-memory-1.5.8.zip, catalog lanes and notes.Package and security impact
long-term-memoryengine.minunchanged.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Documentation impact
UI evidence (if applicable)
None; no UI change.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.