[PR #1109] [MERGED] feat(long-term-memory): align bulk availability with the single-memory editor (1.3.29) #1298

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

📋 Pull Request Information

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

Base: staging ← Head: feature/long-term-memory/bulk-availability-align


📝 Commits (2)

  • 3894aaf feat(long-term-memory): align bulk availability with the single-memory editor (1.3.29)
  • e142854 Merge remote-tracking branch 'upstream/staging' into feature/long-term-memory/bulk-availability-align

📊 Changes

15 files changed (+184 additions, -123 deletions)

View changed files

➕ artifacts/long-term-memory-1.3.29.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/client.js (+17 -17)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+87 -64)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+8 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-browser.regression.ts (+6 -0)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+22 -1)

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

Why this change

  • The Long-Term Memory Memory Vault has two availability editors. The bulk Change Availability workbench used a separate Add/Remove button pair, kept its target picker permanently expanded, and presented Chat Modes and selected places differently from the single-memory Memory Availability editor. That made bulk scope hard to scan and left the mode-eligibility versus place-scope distinction implicit.

What changed

  • long-term-memory client UI (MemoryVault.tsx, BulkAvailabilityWorkbench): aligned with the single-memory editor — Chat Modes first, then an Available in heading with place pills and the target rail moved inside a collapsible <details data-ltm-availability-picker>; kept the Add/Remove action toggle; removed the redundant trailing mode list.
  • Clarified copy: selecting Chat Modes changes which modes can recall the selected memories and does not make them available in every chat for that mode; leaving chats or branches unselected keeps each memory's existing chat and branch scope rather than applying All chats / All branches.
  • Preserved the backend contract: bulk mode changes still send incremental enableModes / disableModes; place changes still send addScope / removeScope; final-place and final-mode safeguards unchanged. No server, schema, route, or storage change.
  • Version 1.3.26 → 1.3.29 with a CHANGELOG.md entry (avoids 1.3.27 from #1107 and 1.3.28 from #1101). Rebuilt client.js, manifest.json, catalog entries (catalog/catalog.json, catalog/v2, catalog/v3), notes sidecars, and artifacts/long-term-memory-1.3.29.zip.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none; engine.min 2.4.1 / maxExclusive 4.0.0 and builtAgainst unchanged.
  • New or changed permissions/entrypoints: none; permissions and entrypoints unchanged.
  • Restart, storage, update, or uninstall impact: none; client-only UI and copy change.

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

Commands run on final commit 3894aaf3 (upstream staging base fff7151a; Agents root this worktree; MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine):

  • test-ltm.sh feedback-clarity-ui — passed
  • test-ltm.sh browser — passed (onboarding, review, availability, re-extraction, mobile, and loading)
  • test-fast.sh — passed; 0 errors (pre-existing unrelated ESLint warnings only)
  • node scripts/validate-package-locales.mjs — passed
  • node scripts/test-catalog-lanes.mjs — passed
  • node scripts/validate-catalog.mjs — passed (Catalog valid: 38 packages; lanes v2=38, v3=38)
  • node scripts/tests/catalog-release-notes.regression.mjs — passed
  • Rebuilt with node scripts/build-feature-packages.mjs long-term-memory; client.js sha256 b1212c2f9c9e352e809dbb9cf04ac00d0d0529d87e6bf670ef02828b4af4dfd2 matches the manifest; artifact sha256 ce40635be102ace6b32b959106b897a0c7b2e44b9ec006d09d9b3666e5ecff1d.
  • Publish proof inputs captured before and after the checks on 3894aaf3 (repository digest 7420c060437501cfa8d917049cb16e2de472b765e9855f3fdc4f090b87b82a70); both snapshots matched.

Not performed here (left for human verification): installing/updating the package through Marinara Engine and manual restart/uninstall checks.

Documentation impact

  • No documentation changes needed.

UI evidence (if applicable)

  • Bulk Memory Availability aligned with the single-memory editor (Chat Modes first, Available in pills, collapsible place picker). Before/after screenshots not attached.

Summary by CodeRabbit

  • Improvements
    • Updated the bulk Change Availability workbench to match the single-memory editor’s “Available in” heading and pills.
    • Added a collapsible place picker and clearer guidance separating chat-mode eligibility from place scope.
    • The workbench now shows the number of selected memories and clarifies that leaving chats or branches unselected preserves each memory’s existing scope. When no places are selected, adding applies to all places; removing has no places selected.
  • Release
    • Updated Long-Term Memory to version 1.3.29.

🔄 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/1109 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 9/27/2026 **Status:** ✅ Merged **Merged:** 9/28/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature/long-term-memory/bulk-availability-align` --- ### 📝 Commits (2) - [`3894aaf`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3894aaf322828ac231a5567d33efbcb184f06696) feat(long-term-memory): align bulk availability with the single-memory editor (1.3.29) - [`e142854`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e14285469e0ce1bc2f4e89600b656f5d27b5b738) Merge remote-tracking branch 'upstream/staging' into feature/long-term-memory/bulk-availability-align ### 📊 Changes **15 files changed** (+184 additions, -123 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.3.29.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/client.js` (+17 -17) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+87 -64) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+8 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-browser.regression.ts` (+6 -0) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+22 -1) </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 #1105 ## Why this change - The Long-Term Memory Memory Vault has two availability editors. The bulk Change Availability workbench used a separate Add/Remove button pair, kept its target picker permanently expanded, and presented Chat Modes and selected places differently from the single-memory Memory Availability editor. That made bulk scope hard to scan and left the mode-eligibility versus place-scope distinction implicit. ## What changed - `long-term-memory` client UI (`MemoryVault.tsx`, `BulkAvailabilityWorkbench`): aligned with the single-memory editor — Chat Modes first, then an `Available in` heading with place pills and the target rail moved inside a collapsible `<details data-ltm-availability-picker>`; kept the Add/Remove action toggle; removed the redundant trailing mode list. - Clarified copy: selecting Chat Modes changes which modes can recall the selected memories and does not make them available in every chat for that mode; leaving chats or branches unselected keeps each memory's existing chat and branch scope rather than applying All chats / All branches. - Preserved the backend contract: bulk mode changes still send incremental `enableModes` / `disableModes`; place changes still send `addScope` / `removeScope`; final-place and final-mode safeguards unchanged. No server, schema, route, or storage change. - Version `1.3.26` → `1.3.29` with a `CHANGELOG.md` entry (avoids `1.3.27` from #1107 and `1.3.28` from #1101). Rebuilt `client.js`, `manifest.json`, catalog entries (`catalog/catalog.json`, `catalog/v2`, `catalog/v3`), notes sidecars, and `artifacts/long-term-memory-1.3.29.zip`. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none; `engine.min 2.4.1` / `maxExclusive 4.0.0` and `builtAgainst` unchanged. - New or changed permissions/entrypoints: none; permissions and entrypoints unchanged. - Restart, storage, update, or uninstall impact: none; client-only UI and copy change. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `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 Commands run on final commit `3894aaf3` (upstream `staging` base `fff7151a`; Agents root this worktree; `MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine`): - `test-ltm.sh feedback-clarity-ui` — passed - `test-ltm.sh browser` — passed (onboarding, review, availability, re-extraction, mobile, and loading) - `test-fast.sh` — passed; 0 errors (pre-existing unrelated ESLint warnings only) - `node scripts/validate-package-locales.mjs` — passed - `node scripts/test-catalog-lanes.mjs` — passed - `node scripts/validate-catalog.mjs` — passed (Catalog valid: 38 packages; lanes v2=38, v3=38) - `node scripts/tests/catalog-release-notes.regression.mjs` — passed - Rebuilt with `node scripts/build-feature-packages.mjs long-term-memory`; `client.js` sha256 `b1212c2f9c9e352e809dbb9cf04ac00d0d0529d87e6bf670ef02828b4af4dfd2` matches the manifest; artifact sha256 `ce40635be102ace6b32b959106b897a0c7b2e44b9ec006d09d9b3666e5ecff1d`. - Publish proof inputs captured before and after the checks on `3894aaf3` (repository digest `7420c060437501cfa8d917049cb16e2de472b765e9855f3fdc4f090b87b82a70`); both snapshots matched. Not performed here (left for human verification): installing/updating the package through Marinara Engine and manual restart/uninstall checks. ## Documentation impact - No documentation changes needed. ## UI evidence (if applicable) - Bulk Memory Availability aligned with the single-memory editor (Chat Modes first, `Available in` pills, collapsible place picker). Before/after screenshots not attached. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Improvements** * Updated the bulk Change Availability workbench to match the single-memory editor’s “Available in” heading and pills. * Added a collapsible place picker and clearer guidance separating chat-mode eligibility from place scope. * The workbench now shows the number of selected memories and clarifies that leaving chats or branches unselected preserves each memory’s existing scope. When no places are selected, adding applies to all places; removing has no places selected. * **Release** * Updated Long-Term Memory to version 1.3.29. <!-- 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:07:48 +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#1298
No description provided.