[PR #706] [MERGED] fix(long-term-memory): bound source destinations and scopes #1099

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/706
Author: @Promansis
Created: 9/4/2026
Status: ✅ Merged
Merged: 9/4/2026
Merged by: @Promansis

Base: staging ← Head: fix(long-term-memory)/sources-destination-imported-scope


📝 Commits (2)

  • 046ae37 fix(long-term-memory): bound source destinations and scopes
  • 28ae34e docs(long-term-memory): add changelog heading

📊 Changes

17 files changed (+116 additions, -77 deletions)

View changed files

➕ artifacts/long-term-memory-1.2.19.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+10 -0)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+10 -0)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+10 -0)
➕ packages/long-term-memory/CHANGELOG.md (+6 -0)
📝 packages/long-term-memory/client.js (+2 -2)
📝 packages/long-term-memory/manifest.json (+5 -5)
📝 packages/long-term-memory/server.mjs (+30 -30)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx (+1 -0)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx (+3 -1)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/interop.ts (+6 -7)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+1 -1)
📝 tests/long-term-memory-routes.regression.ts (+7 -6)

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #705

Why this change

  • Long-Term Memory source previews and imported counts could treat an existing destination match as source-scope visibility, causing imported sources to appear in unrelated Current chat scopes. The bulk destination panel also needed a bounded mobile-safe layout.

What changed

  • Restricted Long-Term Memory preview, details, lorebook, and import candidate filtering to the selected source scope.
  • Added mobile visibility overrides for package-owned Settings and Sources tab rails hidden by the host narrow-layout stylesheet.
  • Capped the Sources destination panel at calc(100vh - 12rem) and updated the route/UI regressions.
  • Bumped Long-Term Memory to 1.2.19, added release notes, and rebuilt its manifest, client, server, artifact, and catalog entries.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: None; minimum Engine version remains 2.4.1.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: No storage schema or cleanup changes; rebuilt package lifecycle verified.

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

  • tests/long-term-memory-lifecycle.regression.ts passed: install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation.
  • tests/long-term-memory-routes.regression.ts passed.
  • tests/long-term-memory-feedback-clarity-ui.regression.mjs passed.
  • npm run check passed with existing lint warnings and zero errors.
  • Catalog lane, package locale, catalog, release-note, ZIP integrity, and git diff --check validations passed.

Documentation impact

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

UI evidence (if applicable)

The lifecycle browser regression verified mobile Settings and Sources navigation, tab visibility, responsive layout, and bounded destination-list scrolling behavior.

Summary by CodeRabbit

  • Bug Fixes

    • Updated Long-Term Memory to version 1.2.19.
    • Sources destination panels are now bounded, with page scrolling preserved when hovering over source lists.
    • Already imported counts and rows now reflect only the selected source scope.
    • Import previews and source details now consistently honor the selected scope.
  • Documentation

    • Added release notes and catalog information for version 1.2.19.

🔄 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/706 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 9/4/2026 **Status:** ✅ Merged **Merged:** 9/4/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/sources-destination-imported-scope` --- ### 📝 Commits (2) - [`046ae37`](https://github.com/Pasta-Devs/Marinara-Agents/commit/046ae37c3f5a796f41957bc6e4a81ae9e51fb749) fix(long-term-memory): bound source destinations and scopes - [`28ae34e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/28ae34ee57d50ce36f6b7619cce3ba487a002823) docs(long-term-memory): add changelog heading ### 📊 Changes **17 files changed** (+116 additions, -77 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.2.19.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+10 -0) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+10 -0) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+10 -0) ➕ `packages/long-term-memory/CHANGELOG.md` (+6 -0) 📝 `packages/long-term-memory/client.js` (+2 -2) 📝 `packages/long-term-memory/manifest.json` (+5 -5) 📝 `packages/long-term-memory/server.mjs` (+30 -30) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx` (+1 -0) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx` (+3 -1) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/interop.ts` (+6 -7) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+1 -1) 📝 `tests/long-term-memory-routes.regression.ts` (+7 -6) </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. <!-- Open as a draft while implementation is in progress. Mark Ready for review only after validation and self-review. --> ## Linked issue Closes #705 ## Why this change - Long-Term Memory source previews and imported counts could treat an existing destination match as source-scope visibility, causing imported sources to appear in unrelated Current chat scopes. The bulk destination panel also needed a bounded mobile-safe layout. ## What changed - Restricted Long-Term Memory preview, details, lorebook, and import candidate filtering to the selected source scope. - Added mobile visibility overrides for package-owned Settings and Sources tab rails hidden by the host narrow-layout stylesheet. - Capped the Sources destination panel at `calc(100vh - 12rem)` and updated the route/UI regressions. - Bumped Long-Term Memory to `1.2.19`, added release notes, and rebuilt its manifest, client, server, artifact, and catalog entries. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: None; minimum Engine version remains `2.4.1`. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: No storage schema or cleanup changes; rebuilt package lifecycle verified. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [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 - `tests/long-term-memory-lifecycle.regression.ts` passed: install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation. - `tests/long-term-memory-routes.regression.ts` passed. - `tests/long-term-memory-feedback-clarity-ui.regression.mjs` passed. - `npm run check` passed with existing lint warnings and zero errors. - Catalog lane, package locale, catalog, release-note, ZIP integrity, and `git diff --check` validations passed. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) The lifecycle browser regression verified mobile Settings and Sources navigation, tab visibility, responsive layout, and bounded destination-list scrolling behavior. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Updated Long-Term Memory to version 1.2.19. - Sources destination panels are now bounded, with page scrolling preserved when hovering over source lists. - Already imported counts and rows now reflect only the selected source scope. - Import previews and source details now consistently honor the selected scope. - **Documentation** - Added release notes and catalog information for version 1.2.19. <!-- 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:41 +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#1099
No description provided.