[PR #1851] [MERGED] feat(noodle): timeline posts can use Long-Term Memory recall (1.5.11) #1997

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

📋 Pull Request Information

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

Base: staging ← Head: feature(noodle)/ltm-recall


📝 Commits (3)

  • caf1ccd feature(noodle): let timeline posts use Long-Term Memory recall (#1842)
  • 97ef755 Merge upstream/staging into feature(noodle)/ltm-recall; release noodle 1.5.11
  • 253da00 fix(noodle): call the registered Long-Term Memory recall service's recall method (#1842)

📊 Changes

22 files changed (+621 additions, -164 deletions)

View changed files

➕ artifacts/noodle-1.5.11.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/noodle/CHANGELOG.md (+4 -0)
📝 packages/noodle/client.js (+12 -12)
📝 packages/noodle/manifest.json (+5 -5)
📝 packages/noodle/server.mjs (+94 -93)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx (+77 -0)
📝 packages/noodle/src/engine/packages/client/src/components/noodle/noodle-settings-defaults.ts (+21 -1)
📝 packages/noodle/src/engine/packages/client/src/hooks/use-noodle.ts (+19 -2)
📝 packages/noodle/src/engine/packages/client/src/localization/locales/en.json (+12 -0)
📝 packages/noodle/src/engine/packages/server/src/routes/noodle.routes.ts (+2 -0)
➕ packages/noodle/src/engine/packages/server/src/services/noodle/noodle-ltm-recall.ts (+64 -0)
📝 packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-prompt.service.ts (+29 -8)
📝 packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts (+8 -0)
📝 scripts/build-feature-packages.mjs (+2 -1)

...and 2 more files

📄 Description

Pull request

Linked issue

Closes #1842

Why this change

Noodle writes timeline posts for characters but knows nothing about their chats beyond the opted-in chat context and older Noodle posts. Long-Term Memory already keeps ongoing threads, past events and relationships, and shares them with other Agents through long-term-memory:recall (since LTM 1.4.84). This lets Noodle use that, only when the user opts in. Tracker: SN-2.

What changed

  • New off-by-default setting Use memories from Long-Term Memory (Advanced), with a first-time confirmation, a choice of whole memories or only the parts that fit the posts, and a status line shown only when something is wrong.
  • noodle-ltm-recall.ts asks the recall service once per timeline refresh for the selected characters' memories (and the persona's only when the persona account takes part). The result goes into the built prompt under # What Long-Term Memory remembers, before # Recent Noodle Timeline.
  • GET /api/noodle/memory-status reports the last outcome. Settings useLtmMemories, ltmMemoriesConfirmed and ltmMemoryRecall are stored with the other public settings.
  • scripts/build-feature-packages.mjs registers the new source file as Noodle-owned so the build does not capture it into the Engine snapshot.
  • Regression tests/noodle-ltm-recall.regression.ts; noodle-writer-images harness gains one field.
  • Rebuilt: packages/noodle client/server payloads, artifacts/noodle-1.5.11.zip, catalog lanes.

Package and security impact

  • Affected package IDs: noodle (1.5.10 → 1.5.11)
  • Engine compatibility impact: none. No Engine change; the server imports the Engine's capability-service registry, which the Noodle build's host gates accept as host-provided.
  • New or changed permissions/entrypoints: none in the manifest.
  • Restart, storage, update, or uninstall impact: three new keys in Noodle's settings; nothing else is stored. Without Long-Term Memory, or with its "Other Agents can read memories" switch off, posts are written without memories.

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

Local runs on 97ef7556c, all exit 0: npm run check, test-catalog-lanes, validate-package-locales, validate-catalog, catalog-release-notes regression, git diff --check, and the noodle-ltm-recall, noodle-settings-structure and noodle-writer-images regressions. Not run: browser e2e, and a real recall against a live Engine (an installed Long-Term Memory ignores whole mode until its separate issue ships; it answers ranked meanwhile).

Five other Noodle regressions (noodle-public-only, noodler-content-formats, noodler-disclosure-contract, noodler-fictional-prices, noodler-generation-guidance-default) fail on the unchanged base as well.

Documentation impact

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

Release notes are in packages/noodle/CHANGELOG.md.

🤖 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/1851 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(noodle)/ltm-recall` --- ### 📝 Commits (3) - [`caf1ccd`](https://github.com/Pasta-Devs/Marinara-Agents/commit/caf1ccdbb17e8aa6c50722bc4adbe53eacd95654) feature(noodle): let timeline posts use Long-Term Memory recall (#1842) - [`97ef755`](https://github.com/Pasta-Devs/Marinara-Agents/commit/97ef7556c9f22556a96efff0a20db3dae596563a) Merge upstream/staging into feature(noodle)/ltm-recall; release noodle 1.5.11 - [`253da00`](https://github.com/Pasta-Devs/Marinara-Agents/commit/253da00383fd45049da604a028fafa6a2f7cf326) fix(noodle): call the registered Long-Term Memory recall service's recall method (#1842) ### 📊 Changes **22 files changed** (+621 additions, -164 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/noodle-1.5.11.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/noodle/CHANGELOG.md` (+4 -0) 📝 `packages/noodle/client.js` (+12 -12) 📝 `packages/noodle/manifest.json` (+5 -5) 📝 `packages/noodle/server.mjs` (+94 -93) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/NoodleHome.tsx` (+77 -0) 📝 `packages/noodle/src/engine/packages/client/src/components/noodle/noodle-settings-defaults.ts` (+21 -1) 📝 `packages/noodle/src/engine/packages/client/src/hooks/use-noodle.ts` (+19 -2) 📝 `packages/noodle/src/engine/packages/client/src/localization/locales/en.json` (+12 -0) 📝 `packages/noodle/src/engine/packages/server/src/routes/noodle.routes.ts` (+2 -0) ➕ `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-ltm-recall.ts` (+64 -0) 📝 `packages/noodle/src/engine/packages/server/src/services/noodle/noodle-public-prompt.service.ts` (+29 -8) 📝 `packages/noodle/src/engine/packages/server/src/services/storage/noodle.storage.ts` (+8 -0) 📝 `scripts/build-feature-packages.mjs` (+2 -1) _...and 2 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1842 ## Why this change Noodle writes timeline posts for characters but knows nothing about their chats beyond the opted-in chat context and older Noodle posts. Long-Term Memory already keeps ongoing threads, past events and relationships, and shares them with other Agents through `long-term-memory:recall` (since LTM 1.4.84). This lets Noodle use that, only when the user opts in. Tracker: SN-2. ## What changed - New off-by-default setting **Use memories from Long-Term Memory** (Advanced), with a first-time confirmation, a choice of whole memories or only the parts that fit the posts, and a status line shown only when something is wrong. - `noodle-ltm-recall.ts` asks the recall service once per timeline refresh for the selected characters' memories (and the persona's only when the persona account takes part). The result goes into the built prompt under `# What Long-Term Memory remembers`, before `# Recent Noodle Timeline`. - `GET /api/noodle/memory-status` reports the last outcome. Settings `useLtmMemories`, `ltmMemoriesConfirmed` and `ltmMemoryRecall` are stored with the other public settings. - `scripts/build-feature-packages.mjs` registers the new source file as Noodle-owned so the build does not capture it into the Engine snapshot. - Regression `tests/noodle-ltm-recall.regression.ts`; `noodle-writer-images` harness gains one field. - Rebuilt: `packages/noodle` client/server payloads, `artifacts/noodle-1.5.11.zip`, catalog lanes. ## Package and security impact - Affected package IDs: `noodle` (1.5.10 → 1.5.11) - Engine compatibility impact: none. No Engine change; the server imports the Engine's capability-service registry, which the Noodle build's host gates accept as host-provided. - New or changed permissions/entrypoints: none in the manifest. - Restart, storage, update, or uninstall impact: three new keys in Noodle's settings; nothing else is stored. Without Long-Term Memory, or with its "Other Agents can read memories" switch off, posts are written without memories. ## 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 Local runs on `97ef7556c`, all exit 0: `npm run check`, `test-catalog-lanes`, `validate-package-locales`, `validate-catalog`, `catalog-release-notes` regression, `git diff --check`, and the `noodle-ltm-recall`, `noodle-settings-structure` and `noodle-writer-images` regressions. Not run: browser e2e, and a real recall against a live Engine (an installed Long-Term Memory ignores whole mode until its separate issue ships; it answers ranked meanwhile). Five other Noodle regressions (`noodle-public-only`, `noodler-content-formats`, `noodler-disclosure-contract`, `noodler-fictional-prices`, `noodler-generation-guidance-default`) fail on the unchanged base as well. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation Release notes are in `packages/noodle/CHANGELOG.md`. 🤖 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:38:38 +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#1997
No description provided.