[PR #1935] [MERGED] fix(long-term-memory): register the runtime service host-only (1.5.17) #2037

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

📋 Pull Request Information

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

Base: staging ← Head: fix(long-term-memory)/host-only-runtime-service


📝 Commits (2)

  • 1608087 fix(long-term-memory): register the runtime service host-only (#1934)
  • d693e5c chore(long-term-memory): release 1.5.17 (#1934)

📊 Changes

14 files changed (+83 additions, -60 deletions)

View changed files

➕ artifacts/long-term-memory-1.5.17.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 (+2 -1)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/server.mjs (+1 -1)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/server-entry.ts (+23 -17)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-runtime.regression.ts (+13 -1)

📄 Description

Pull request

Linked issue

Closes #1934

Why this change

Long-Term Memory registers long-term-memory:runtime, and any installed package can read it through runtime.services.get. That service gives recall for any chat id, recordPromptAccepted and the vault lock (withVaultMutation). Only the Engine should call it (generation and backup restore). Engine #8413 (Capability API 1.388) added a hostOnly option to api.registerService that hides a service from packages while the Engine still reaches it.

What changed

  • server-entry.ts: the local registerService type accepts options?: { hostOnly?: boolean }, and long-term-memory:runtime is registered with { hostOnly: true }. long-term-memory:recall is unchanged, so Slurp and Noodle keep their recall.
  • docs/ARCHITECTURE.md: states the runtime service is host-only from Capability API 1.388.
  • tests/long-term-memory-runtime.regression.ts: the fake registerService records each key's options and asserts runtime is host-only and recall is not.
  • Release: long-term-memory 1.5.17 (patch), rebuilt server.mjs, manifest, artifact zip and catalog lanes.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none; no engine.min change. An Engine before 1.388 ignores the third argument, so the service stays readable there as today.
  • New or changed permissions/entrypoints: none; narrows who can read an existing service.
  • Restart, storage, update, or uninstall impact: none beyond the normal package update.

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

🤖 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/1935 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/host-only-runtime-service` --- ### 📝 Commits (2) - [`1608087`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1608087d362bf74e16b5ec84840030dbb990f11f) fix(long-term-memory): register the runtime service host-only (#1934) - [`d693e5c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d693e5c75b021bf25b7e4a82d6e986420750c127) chore(long-term-memory): release 1.5.17 (#1934) ### 📊 Changes **14 files changed** (+83 additions, -60 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.5.17.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` (+2 -1) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/server.mjs` (+1 -1) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/server-entry.ts` (+23 -17) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-runtime.regression.ts` (+13 -1) </details> ### 📄 Description # Pull request ## Linked issue Closes #1934 ## Why this change Long-Term Memory registers `long-term-memory:runtime`, and any installed package can read it through `runtime.services.get`. That service gives recall for any chat id, `recordPromptAccepted` and the vault lock (`withVaultMutation`). Only the Engine should call it (generation and backup restore). Engine #8413 (Capability API 1.388) added a `hostOnly` option to `api.registerService` that hides a service from packages while the Engine still reaches it. ## What changed - `server-entry.ts`: the local `registerService` type accepts `options?: { hostOnly?: boolean }`, and `long-term-memory:runtime` is registered with `{ hostOnly: true }`. `long-term-memory:recall` is unchanged, so Slurp and Noodle keep their recall. - `docs/ARCHITECTURE.md`: states the runtime service is host-only from Capability API 1.388. - `tests/long-term-memory-runtime.regression.ts`: the fake `registerService` records each key's options and asserts `runtime` is host-only and `recall` is not. - Release: long-term-memory 1.5.17 (patch), rebuilt `server.mjs`, manifest, artifact zip and catalog lanes. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none; no `engine.min` change. An Engine before 1.388 ignores the third argument, so the service stays readable there as today. - New or changed permissions/entrypoints: none; narrows who can read an existing service. - Restart, storage, update, or uninstall impact: none beyond the normal package update. ## 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 🤖 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:57 +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#2037
No description provided.