[PR #183] [MERGED] refactor(long-term-memory): introduce workspace UI #841

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

📋 Pull Request Information

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

Base: staging ← Head: refactor/ltm-ui


📝 Commits (6)

  • 6cdfb48 fix(long-term-memory): humanize review queue labels
  • 0d0b5bd fix(long-term-memory): restore review target navigation
  • 3b4ab7a fix(long-term-memory): align workspace with editor chrome
  • aa28d18 build(long-term-memory): release workspace UI as 1.0.8
  • 136621d fix(long-term-memory): address review findings
  • 361594b fix(long-term-memory): refine review UI

📊 Changes

22 files changed (+2177 additions, -819 deletions)

View changed files

📝 README.md (+1 -1)
➕ artifacts/long-term-memory-1.0.8.zip (+0 -0)
📝 catalog/catalog.json (+7 -7)
📝 catalog/v2/catalog.json (+7 -7)
📝 catalog/v3/catalog.json (+7 -7)
📝 packages/long-term-memory/client.js (+68 -48)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ExtractionPromptTemplates.tsx (+1 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LastInjectionSummary.tsx (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+51 -12)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryNavigation.tsx (+18 -44)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LtmWorkspace.tsx (+18 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx (+6 -6)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+12 -6)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx (+1418 -628)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx (+43 -12)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+17 -4)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/shared-controls.tsx (+15 -8)
📝 scripts/build-feature-packages.mjs (+1 -1)

...and 2 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 #182

Why this change

Long-Term Memory's existing UI uses separate, inconsistent layouts for vault, review, sources, and settings. That makes the package harder to scan on desktop and mobile and leaves controls, focus behavior, and panel styling inconsistent.

What changed

  • Refactored the long-term-memory package into a shared navigator/workbench/inspector workspace.
  • Aligned Long-Term Memory editor chrome, panel primitives, control sizing, focus states, responsive pane switching, and reduced-motion behavior.
  • Added or restored review source and target navigation required by the workspace.
  • Updated vault, review, sources, settings, activity, onboarding, and shared controls to use the workspace UI.
  • Rebuilt and published Long-Term Memory 1.0.8 without overwriting 1.0.7.
  • Regenerated client.js, the manifest hashes, artifacts/long-term-memory-1.0.8.zip, and all catalog lanes.
  • Updated the README Long-Term Memory catalog description.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: remains >=2.3.5 <4.0.0; no compatibility range or permissions changed.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: package payload version advances to 1.0.8; lifecycle behavior was regression-tested, including install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation.

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

Executed locally against /home/damo/dev/Marinara-Engine:

  • node scripts/test-catalog-lanes.mjs passed.
  • node scripts/validate-catalog.mjs passed: 31 packages; v2=31, v3=31, legacy=v2.
  • git diff --check passed.
  • long-term-memory-storage.regression.ts passed.
  • long-term-memory-extraction-graph.regression.ts passed.
  • long-term-memory-runtime.regression.ts passed.
  • long-term-memory-routes.regression.ts passed with exit code 0.
  • long-term-memory-debug-log.regression.ts passed.
  • long-term-memory-lifecycle.regression.ts passed for Long-Term Memory 1.0.8: install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation.
  • Existing artifacts/long-term-memory-1.0.7.zip was verified unchanged.

The regression suite exercises the generated 1.0.8 package. A separate interactive manual check through Agents -> Download Agents was not performed.

Documentation impact

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

The README catalog description was updated. Linked Marinara Engine documentation was not changed.

UI evidence (if applicable)

The lifecycle regression captured /tmp/opencode/ltm-review-mobile-final.png during local verification; it was not attached to this draft PR.

Summary by CodeRabbit

  • New Features

    • Redesigned the review queue with source and draft navigation, detailed mutation previews, inline editing, recovery controls, and clearer diagnostics.
    • Added responsive mobile and desktop navigation with improved workspace layouts.
    • Added warning states, clearer extraction details, and more accessible controls.
  • Improvements

    • Refreshed panels and status surfaces for a consistent visual style.
    • Improved reduced-motion support and mobile usability.
  • Documentation

    • Clarified that Roleplay is the supported Long-Term Memory mode.
  • Maintenance

    • Updated Long-Term Memory to version 1.0.8.

🔄 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/183 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/2/2026 **Status:** ✅ Merged **Merged:** 8/2/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `refactor/ltm-ui` --- ### 📝 Commits (6) - [`6cdfb48`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6cdfb48123c5c04256a8088b3ea498d3f5242433) fix(long-term-memory): humanize review queue labels - [`0d0b5bd`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0d0b5bd46aab48f769f06b04e3e1a6e96acd9707) fix(long-term-memory): restore review target navigation - [`3b4ab7a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3b4ab7ad3e0316a542e6a08045519d3aebc5dad3) fix(long-term-memory): align workspace with editor chrome - [`aa28d18`](https://github.com/Pasta-Devs/Marinara-Agents/commit/aa28d18ee63190c4ce9acb20a5a46107d4a1becc) build(long-term-memory): release workspace UI as 1.0.8 - [`136621d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/136621d78dcbf6160ed811981222125a4422ef9f) fix(long-term-memory): address review findings - [`361594b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/361594b3061503874cf4dce381c546638e4ee744) fix(long-term-memory): refine review UI ### 📊 Changes **22 files changed** (+2177 additions, -819 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) ➕ `artifacts/long-term-memory-1.0.8.zip` (+0 -0) 📝 `catalog/catalog.json` (+7 -7) 📝 `catalog/v2/catalog.json` (+7 -7) 📝 `catalog/v3/catalog.json` (+7 -7) 📝 `packages/long-term-memory/client.js` (+68 -48) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ExtractionPromptTemplates.tsx` (+1 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LastInjectionSummary.tsx` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+51 -12) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryNavigation.tsx` (+18 -44) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LtmWorkspace.tsx` (+18 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx` (+6 -6) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+12 -6) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx` (+1418 -628) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx` (+43 -12) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+17 -4) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/shared-controls.tsx` (+15 -8) 📝 `scripts/build-feature-packages.mjs` (+1 -1) _...and 2 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 #182 ## Why this change Long-Term Memory's existing UI uses separate, inconsistent layouts for vault, review, sources, and settings. That makes the package harder to scan on desktop and mobile and leaves controls, focus behavior, and panel styling inconsistent. ## What changed - Refactored the `long-term-memory` package into a shared navigator/workbench/inspector workspace. - Aligned Long-Term Memory editor chrome, panel primitives, control sizing, focus states, responsive pane switching, and reduced-motion behavior. - Added or restored review source and target navigation required by the workspace. - Updated vault, review, sources, settings, activity, onboarding, and shared controls to use the workspace UI. - Rebuilt and published Long-Term Memory `1.0.8` without overwriting `1.0.7`. - Regenerated `client.js`, the manifest hashes, `artifacts/long-term-memory-1.0.8.zip`, and all catalog lanes. - Updated the README Long-Term Memory catalog description. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: remains `>=2.3.5 <4.0.0`; no compatibility range or permissions changed. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: package payload version advances to `1.0.8`; lifecycle behavior was regression-tested, including install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation. ## 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 Executed locally against `/home/damo/dev/Marinara-Engine`: - `node scripts/test-catalog-lanes.mjs` passed. - `node scripts/validate-catalog.mjs` passed: 31 packages; v2=31, v3=31, legacy=v2. - `git diff --check` passed. - `long-term-memory-storage.regression.ts` passed. - `long-term-memory-extraction-graph.regression.ts` passed. - `long-term-memory-runtime.regression.ts` passed. - `long-term-memory-routes.regression.ts` passed with exit code 0. - `long-term-memory-debug-log.regression.ts` passed. - `long-term-memory-lifecycle.regression.ts` passed for Long-Term Memory `1.0.8`: install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation. - Existing `artifacts/long-term-memory-1.0.7.zip` was verified unchanged. The regression suite exercises the generated `1.0.8` package. A separate interactive manual check through **Agents -> Download Agents** was not performed. ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation The README catalog description was updated. Linked Marinara Engine documentation was not changed. ## UI evidence (if applicable) The lifecycle regression captured `/tmp/opencode/ltm-review-mobile-final.png` during local verification; it was not attached to this draft PR. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Redesigned the review queue with source and draft navigation, detailed mutation previews, inline editing, recovery controls, and clearer diagnostics. - Added responsive mobile and desktop navigation with improved workspace layouts. - Added warning states, clearer extraction details, and more accessible controls. - **Improvements** - Refreshed panels and status surfaces for a consistent visual style. - Improved reduced-motion support and mobile usability. - **Documentation** - Clarified that Roleplay is the supported Long-Term Memory mode. - **Maintenance** - Updated Long-Term Memory to version 1.0.8. <!-- 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:31:32 +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#841
No description provided.