[PR #1999] [MERGED] feat(long-term-memory): let recall leave out records an Agent added itself (1.5.24) #2066

Closed
opened 2026-11-07 16:39:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1999
Author: @Promansis
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @Promansis

Base: staging ← Head: feature(long-term-memory)/recall-exclude-package-records


📝 Commits (4)

  • fa805ca feat(long-term-memory): let recall leave out records an Agent added itself (#1998)
  • 2a99f9e chore(long-term-memory): release 1.5.24 (#1998)
  • 24dbab6 fix(long-term-memory): filter excluded intake chunks before ranked recall budgets them (#1998)
  • 6aba55b Merge upstream/staging into feature(long-term-memory)/recall-exclude-package-records; release long-term-memory 1.5.24

📊 Changes

17 files changed (+245 additions, -91 deletions)

View changed files

➕ artifacts/long-term-memory-1.5.24.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 (+6 -0)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/server.mjs (+44 -44)
📝 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/services/intake.ts (+1 -1)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/services/recall.ts (+35 -2)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/services/storage-read.ts (+3 -4)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-runtime.regression.ts (+109 -0)

📄 Description

Pull request

Linked issue

Closes #1998

Why this change

  • An Agent that adds memories through the intake service (Slurp, from 1.5.23) then recalls memories and gets its own facts back as if they were new. Recall needs a way to leave out what a given Agent added itself.

What changed

  • recall takes an optional excludeFrom list of Agent ids (strict ids, max 10, default empty). Notes and note sections written through the intake service by those Agents are skipped in whole-memory and ranked recall. A malformed entry makes the call return null.
  • ltmPackageCallerIdSchema is exported and ltmPackageSourceNotePrefix accepts any excluded name.
  • Documented in docs/ARCHITECTURE.md; regression cases added to tests/long-term-memory-runtime.regression.ts.
  • Affected package: long-term-memory 1.5.24 (rebuilt manifest, server.mjs, artifact zip and catalog entries). No client change.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none; engine range unchanged
  • New or changed permissions/entrypoints: none; one optional input on an existing service
  • Restart, storage, update, or uninstall impact: none; no stored data changes

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

Not applicable.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/1999 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/recall-exclude-package-records` --- ### 📝 Commits (4) - [`fa805ca`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fa805ca931e3cce61b8866e6e4768966062f6705) feat(long-term-memory): let recall leave out records an Agent added itself (#1998) - [`2a99f9e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2a99f9ed87bd9c2b8da77b53de112e91de3540b8) chore(long-term-memory): release 1.5.24 (#1998) - [`24dbab6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/24dbab6ef2155df407166ab0f7117d53a1b8afd0) fix(long-term-memory): filter excluded intake chunks before ranked recall budgets them (#1998) - [`6aba55b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6aba55b0098e7e091ac4e269c03564c73312011a) Merge upstream/staging into feature(long-term-memory)/recall-exclude-package-records; release long-term-memory 1.5.24 ### 📊 Changes **17 files changed** (+245 additions, -91 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.5.24.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` (+6 -0) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/server.mjs` (+44 -44) 📝 `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/services/intake.ts` (+1 -1) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/services/recall.ts` (+35 -2) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/services/storage-read.ts` (+3 -4) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-runtime.regression.ts` (+109 -0) </details> ### 📄 Description # Pull request ## Linked issue Closes #1998 ## Why this change - An Agent that adds memories through the intake service (Slurp, from 1.5.23) then recalls memories and gets its own facts back as if they were new. Recall needs a way to leave out what a given Agent added itself. ## What changed - `recall` takes an optional `excludeFrom` list of Agent ids (strict ids, max 10, default empty). Notes and note sections written through the intake service by those Agents are skipped in whole-memory and ranked recall. A malformed entry makes the call return `null`. - `ltmPackageCallerIdSchema` is exported and `ltmPackageSourceNotePrefix` accepts any excluded name. - Documented in `docs/ARCHITECTURE.md`; regression cases added to `tests/long-term-memory-runtime.regression.ts`. - Affected package: `long-term-memory` 1.5.24 (rebuilt manifest, `server.mjs`, artifact zip and catalog entries). No client change. ## Package and security impact - Affected package IDs: long-term-memory - Engine compatibility impact: none; `engine` range unchanged - New or changed permissions/entrypoints: none; one optional input on an existing service - Restart, storage, update, or uninstall impact: none; no stored data changes ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Not applicable. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:39:12 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#2066
No description provided.