[PR #576] [MERGED] fix(long-term-memory): harden Sources accessibility and lineage errors #1035

Closed
opened 2026-10-20 17:33:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/576
Author: @SpicyMarinara
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/long-term-memory-sources-audit


📝 Commits (3)

  • c0a476e fix(long-term-memory): harden Sources interactions
  • d8c858c chore(long-term-memory): bump package version
  • 5ba2589 build(long-term-memory): publish sources audit

📊 Changes

10 files changed (+100 additions, -69 deletions)

View changed files

➕ artifacts/long-term-memory-1.2.14.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v3/catalog.json (+6 -6)
📝 packages/long-term-memory/client.js (+23 -23)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx (+45 -24)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+1 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+9 -0)

📄 Description

Linked issues

Fixes #543

Why this change

The Long-Term Memory Sources workspace hid desktop actions, used undersized native checkboxes, rendered failed/cancelled results as neutral, and allowed source operations to continue when linked-memory lineage failed to load. Import outcomes also nested framed panels, making the hierarchy heavier than the rest of the workspace.

What changed

  • Give every Sources checkbox a shared 24px accent-aware touch target.
  • Keep desktop row actions visible while preserving the existing mobile overflow menu.
  • Remove the row-action opacity transition and flatten imported result records.
  • Render failed/cancelled statuses with the destructive semantic color.
  • Surface linked-memory query failures and block preview/apply until lineage is available.
  • Use complete dependencies for requested-source navigation.
  • Add a focused static regression for these contracts.

Validation

  • Run Long-Term Memory feedback-clarity regression
  • Run targeted Prettier and ESLint checks
  • Build and validate the Long-Term Memory package
  • Run catalog and security validation
  • Manually verify Sources on desktop, mobile, and reduced-motion settings

Package impact

No new permissions, host APIs, storage changes, or dependencies. The change stays inside the existing Long-Term Memory package and generated artifacts.

Summary by CodeRabbit

  • New Features

    • Improved Long-Term Memory source-operation controls with clearer checkbox styling and more consistent desktop visibility.
    • Added explicit feedback when linked memories cannot be loaded.
    • Preview and apply actions are unavailable until linked-memory data loads successfully.
    • Updated imported-result presentation with a flatter, bordered layout.
  • Bug Fixes

    • Improved source and result state handling when selections or linked-memory loading change.
  • Maintenance

    • Released Long-Term Memory version 1.2.14.

🔄 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/576 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/25/2026 **Status:** ✅ Merged **Merged:** 8/25/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/long-term-memory-sources-audit` --- ### 📝 Commits (3) - [`c0a476e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c0a476e44ca7ee42350a0abb57363b116d93f060) fix(long-term-memory): harden Sources interactions - [`d8c858c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d8c858c0748fb5d437687812c652e0e18922fb9e) chore(long-term-memory): bump package version - [`5ba2589`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5ba258949f411622a216f7174a9a566b5d6a64f6) build(long-term-memory): publish sources audit ### 📊 Changes **10 files changed** (+100 additions, -69 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.2.14.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `packages/long-term-memory/client.js` (+23 -23) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx` (+45 -24) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+1 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+9 -0) </details> ### 📄 Description ## Linked issues Fixes #543 ## Why this change The Long-Term Memory Sources workspace hid desktop actions, used undersized native checkboxes, rendered failed/cancelled results as neutral, and allowed source operations to continue when linked-memory lineage failed to load. Import outcomes also nested framed panels, making the hierarchy heavier than the rest of the workspace. ## What changed - Give every Sources checkbox a shared 24px accent-aware touch target. - Keep desktop row actions visible while preserving the existing mobile overflow menu. - Remove the row-action opacity transition and flatten imported result records. - Render failed/cancelled statuses with the destructive semantic color. - Surface linked-memory query failures and block preview/apply until lineage is available. - Use complete dependencies for requested-source navigation. - Add a focused static regression for these contracts. ## Validation - [ ] Run Long-Term Memory feedback-clarity regression - [ ] Run targeted Prettier and ESLint checks - [ ] Build and validate the Long-Term Memory package - [ ] Run catalog and security validation - [ ] Manually verify Sources on desktop, mobile, and reduced-motion settings ## Package impact No new permissions, host APIs, storage changes, or dependencies. The change stays inside the existing Long-Term Memory package and generated artifacts. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Improved Long-Term Memory source-operation controls with clearer checkbox styling and more consistent desktop visibility. * Added explicit feedback when linked memories cannot be loaded. * Preview and apply actions are unavailable until linked-memory data loads successfully. * Updated imported-result presentation with a flatter, bordered layout. * **Bug Fixes** * Improved source and result state handling when selections or linked-memory loading change. * **Maintenance** * Released Long-Term Memory version 1.2.14. <!-- 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-20 17:33:25 +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#1035
No description provided.