[PR #650] [MERGED] fix(long-term-memory): resolve live embeddings #1071

Closed
opened 2026-10-21 05:02:02 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: fix(long-term-memory)/live-embeddings


📝 Commits (4)

  • 5c9e07c fix(long-term-memory): resolve live embeddings
  • d426aed fix(long-term-memory): require live embedding runtime
  • f7ad4fe Merge branch 'staging' into fix(long-term-memory)/live-embeddings
  • 9d91776 Merge branch 'staging' into fix(long-term-memory)/live-embeddings

📊 Changes

15 files changed (+207 additions, -120 deletions)

View changed files

📝 README.md (+1 -1)
📝 artifacts/long-term-memory-1.2.18.zip (+0 -0)
📝 catalog/catalog.json (+10 -10)
📝 catalog/v2/catalog.json (+10 -10)
📝 catalog/v3/catalog.json (+10 -10)
📝 packages/long-term-memory/engine-boundary.json (+3 -3)
📝 packages/long-term-memory/manifest.json (+7 -7)
📝 packages/long-term-memory/server.mjs (+36 -36)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/embedding-adapter.ts (+3 -4)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/package-runtime.ts (+7 -0)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/rebuild.ts (+13 -9)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/retrieval.ts (+3 -3)
📝 scripts/build-feature-packages.mjs (+4 -4)
📝 scripts/validate-catalog.mjs (+1 -1)
📝 tests/long-term-memory-runtime.regression.ts (+99 -22)

📄 Description

Linked issue

Closes #649

Why this change

Long-Term Memory captured the embedding adapter at activation time, so changing the package-specific or global embedding connection required reactivation and could mix index operations across embedding spaces.

What changed

  • Added live capability API 1.15 embedding resolution in the paired Engine contract.
  • Long-Term Memory resolves one adapter per rebuild or retrieval operation, while explicit adapters remain supported for tests.
  • Preserved lexical recall when no embedding source is available.
  • Rebuilt long-term-memory 1.2.18, including server.mjs, manifest, artifact, and catalog lanes.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: Requires Marinara Engine >=2.4.5 <4.0.0; built against Engine commit bcefddbc7477b80143c26437c96e3d3dcee069d2.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: Existing indexes retain their embedding-space validation; adapter changes can trigger the existing rebuild/upgrade path.

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

Automated validation passed before push: npm run check completed with existing warnings and no errors; the Long-Term Memory runtime regression passed; catalog validation and catalog-lane tests passed; and git diff --check passed. Android/Termux and live remote /embeddings smoke tests were not available.

Documentation impact

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

UI evidence (if applicable)

Not applicable: server/runtime and generated package metadata only.

Summary by CodeRabbit

  • New Features

    • Improved Long-Term Memory embedding adapter handling, supporting runtime-provided adapters, asynchronous resolution, and explicit overrides.
    • Lexical retrieval remains available when no embedding adapter is configured.
  • Compatibility

    • Updated Long-Term Memory to version 1.2.18.
    • Requires Marinara Engine 2.4.5 and Capability API 1.15.
  • Documentation

    • Updated package compatibility information to reflect the new engine requirement.

🔄 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/650 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/29/2026 **Status:** ✅ Merged **Merged:** 8/30/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/live-embeddings` --- ### 📝 Commits (4) - [`5c9e07c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5c9e07c8039cf9da28e7746bebbf4db80ed40cc3) fix(long-term-memory): resolve live embeddings - [`d426aed`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d426aed750b2d9b8578579b6b52c055830460f07) fix(long-term-memory): require live embedding runtime - [`f7ad4fe`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f7ad4fe544d5bfeffb4de7a3df939b6871b363e8) Merge branch 'staging' into fix(long-term-memory)/live-embeddings - [`9d91776`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9d917763374e2b464dabeec0337d670d2d1628a7) Merge branch 'staging' into fix(long-term-memory)/live-embeddings ### 📊 Changes **15 files changed** (+207 additions, -120 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `artifacts/long-term-memory-1.2.18.zip` (+0 -0) 📝 `catalog/catalog.json` (+10 -10) 📝 `catalog/v2/catalog.json` (+10 -10) 📝 `catalog/v3/catalog.json` (+10 -10) 📝 `packages/long-term-memory/engine-boundary.json` (+3 -3) 📝 `packages/long-term-memory/manifest.json` (+7 -7) 📝 `packages/long-term-memory/server.mjs` (+36 -36) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/embedding-adapter.ts` (+3 -4) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/package-runtime.ts` (+7 -0) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/rebuild.ts` (+13 -9) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/retrieval.ts` (+3 -3) 📝 `scripts/build-feature-packages.mjs` (+4 -4) 📝 `scripts/validate-catalog.mjs` (+1 -1) 📝 `tests/long-term-memory-runtime.regression.ts` (+99 -22) </details> ### 📄 Description ## Linked issue Closes #649 ## Why this change Long-Term Memory captured the embedding adapter at activation time, so changing the package-specific or global embedding connection required reactivation and could mix index operations across embedding spaces. ## What changed - Added live capability API 1.15 embedding resolution in the paired Engine contract. - Long-Term Memory resolves one adapter per rebuild or retrieval operation, while explicit adapters remain supported for tests. - Preserved lexical recall when no embedding source is available. - Rebuilt `long-term-memory` 1.2.18, including `server.mjs`, manifest, artifact, and catalog lanes. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: Requires Marinara Engine `>=2.4.5 <4.0.0`; built against Engine commit `bcefddbc7477b80143c26437c96e3d3dcee069d2`. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: Existing indexes retain their embedding-space validation; adapter changes can trigger the existing rebuild/upgrade path. ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [x] Installed or updated the affected package through Marinara Engine - [x] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes Automated validation passed before push: `npm run check` completed with existing warnings and no errors; the Long-Term Memory runtime regression passed; catalog validation and catalog-lane tests passed; and `git diff --check` passed. Android/Termux and live remote `/embeddings` smoke tests were not available. ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [x] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Not applicable: server/runtime and generated package metadata only. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Improved Long-Term Memory embedding adapter handling, supporting runtime-provided adapters, asynchronous resolution, and explicit overrides. * Lexical retrieval remains available when no embedding adapter is configured. * **Compatibility** * Updated Long-Term Memory to version 1.2.18. * Requires Marinara Engine 2.4.5 and Capability API 1.15. * **Documentation** * Updated package compatibility information to reflect the new engine requirement. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:02:02 +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#1071
No description provided.