[PR #800] [MERGED] fix(long-term-memory): preserve renamed scope labels #1142

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

📋 Pull Request Information

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

Base: staging ← Head: fix(long-term-memory)/scope-picker-branch-renames


📝 Commits (3)

  • 6dc900c fix(long-term-memory): preserve renamed scope labels (#799)
  • 6d88ab9 test(long-term-memory): cover destination display-name search (#799)
  • 7f28dbf Merge remote-tracking branch 'upstream/staging' into fix(long-term-memory)/scope-picker-branch-renames

📊 Changes

21 files changed (+279 additions, -119 deletions)

View changed files

➕ artifacts/long-term-memory-1.2.27.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/long-term-memory/CHANGELOG.md (+4 -0)
📝 packages/long-term-memory/client.js (+14 -14)
📝 packages/long-term-memory/manifest.json (+5 -5)
📝 packages/long-term-memory/server.mjs (+41 -41)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx (+13 -9)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/chat-scope.ts (+21 -0)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/interop.ts (+7 -4)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/legacy-adoption.ts (+2 -12)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes.ts (+2 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-browser.regression.ts (+28 -8)
📝 tests/long-term-memory-conversation-summary-import.regression.ts (+48 -0)
📝 tests/long-term-memory-routes.regression.ts (+22 -0)

...and 1 more files

📄 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 #799

Why this change

  • Long-Term Memory scope pickers and imported summary evidence could show internal chat or branch identifiers instead of renamed branch display names, while the pinned Current target could disappear from filtered results.

What changed

  • Centralized chat metadata parsing and display-name resolution across LTM scope targets, branch-family search, legacy adoption, and conversation-summary imports.
  • Preserved the pinned Current target and its display-name context in Sources and Memory Vault flows.
  • Added route, browser, and import regression coverage.
  • Bumped long-term-memory to 1.2.27 and rebuilt package bundles, archive, manifests, catalogs, and release-note sidecars.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: LTM runtime source and generated package outputs updated; no Engine source changes.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: Existing package install/update/uninstall paths covered by the LTM installation regression.

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

  • MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine test-ltm.sh all passed.
  • test-ci.sh passed formatting, security, catalog, package, and PR workflow gates.
  • git diff --check upstream/staging...HEAD and git diff --check passed.
  • Final proof captured at merge commit 7f28dbf0fa6033f5f2d0bbcc5f196946cf3f3682, with the Agents workspace clean and the Engine checkout recorded separately at fca60517070b2be46e8b68bc632f03d47a334bbd.
  • Lint reported 68 warnings and no errors; warnings are pre-existing repository warnings.

Documentation impact

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

UI evidence (if applicable)

  • Browser regression coverage exercises the renamed scope labels and search behavior; no screenshot artifact is required for this regression-only UI change.

🔄 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/800 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 9/12/2026 **Status:** ✅ Merged **Merged:** 9/12/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/scope-picker-branch-renames` --- ### 📝 Commits (3) - [`6dc900c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6dc900c4336510fa7d406ddb292cbb4c6c6d59a4) fix(long-term-memory): preserve renamed scope labels (#799) - [`6d88ab9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6d88ab9a5507482516e59d2d5c3f57d024738030) test(long-term-memory): cover destination display-name search (#799) - [`7f28dbf`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7f28dbf0fa6033f5f2d0bbcc5f196946cf3f3682) Merge remote-tracking branch 'upstream/staging' into fix(long-term-memory)/scope-picker-branch-renames ### 📊 Changes **21 files changed** (+279 additions, -119 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.2.27.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/long-term-memory/CHANGELOG.md` (+4 -0) 📝 `packages/long-term-memory/client.js` (+14 -14) 📝 `packages/long-term-memory/manifest.json` (+5 -5) 📝 `packages/long-term-memory/server.mjs` (+41 -41) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx` (+13 -9) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/chat-scope.ts` (+21 -0) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/interop.ts` (+7 -4) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/legacy-adoption.ts` (+2 -12) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes.ts` (+2 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-browser.regression.ts` (+28 -8) 📝 `tests/long-term-memory-conversation-summary-import.regression.ts` (+48 -0) 📝 `tests/long-term-memory-routes.regression.ts` (+22 -0) _...and 1 more files_ </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`. ## Linked issue Closes #799 ## Why this change - Long-Term Memory scope pickers and imported summary evidence could show internal chat or branch identifiers instead of renamed branch display names, while the pinned Current target could disappear from filtered results. ## What changed - Centralized chat metadata parsing and display-name resolution across LTM scope targets, branch-family search, legacy adoption, and conversation-summary imports. - Preserved the pinned Current target and its display-name context in Sources and Memory Vault flows. - Added route, browser, and import regression coverage. - Bumped `long-term-memory` to `1.2.27` and rebuilt package bundles, archive, manifests, catalogs, and release-note sidecars. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: LTM runtime source and generated package outputs updated; no Engine source changes. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: Existing package install/update/uninstall paths covered by the LTM installation regression. ## 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 - `MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine test-ltm.sh all` passed. - `test-ci.sh` passed formatting, security, catalog, package, and PR workflow gates. - `git diff --check upstream/staging...HEAD` and `git diff --check` passed. - Final proof captured at merge commit `7f28dbf0fa6033f5f2d0bbcc5f196946cf3f3682`, with the Agents workspace clean and the Engine checkout recorded separately at `fca60517070b2be46e8b68bc632f03d47a334bbd`. - Lint reported 68 warnings and no errors; warnings are pre-existing repository warnings. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - Browser regression coverage exercises the renamed scope labels and search behavior; no screenshot artifact is required for this regression-only UI change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:03:47 +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#1142
No description provided.