[PR #113] [MERGED] fix(ltm): prevent metadata inspector overlap #813

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/113
Author: @SpicyMarinara
Created: 7/28/2026
Status: ✅ Merged
Merged: 7/28/2026
Merged by: @SpicyMarinara

Base: main ← Head: agent/fix-ltm-inspector-overlap


📝 Commits (1)

  • 6080501 fix(ltm): prevent metadata inspector overlap

📊 Changes

8 files changed (+77 additions, -39 deletions)

View changed files

📝 artifacts/long-term-memory-1.0.0.zip (+0 -0)
📝 catalog/catalog.json (+5 -5)
📝 catalog/v2/catalog.json (+5 -5)
📝 catalog/v3/catalog.json (+1 -1)
📝 packages/long-term-memory/client.js (+26 -12)
📝 packages/long-term-memory/manifest.json (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+12 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+26 -12)

📄 Description

Linked issue

Closes #114

Why this change

  • The Long-Term Memory editor combined viewport breakpoints with a width-capped nested workspace. At desktop viewport sizes, the vault and details layouts switched to multi-column modes even when the actual details container was too narrow. The fixed 18rem metadata inspector was consequently forced beside an editor with insufficient space, causing the third-column controls to overlap.

What changed

  • Updated package ID long-term-memory to widen its complex workspace within the standard editor shell.
  • Replaced viewport-driven vault and workbench splits with named CSS container queries.
  • Kept the metadata inspector stacked when its real container is narrow and enabled the side-by-side view only when the workbench itself has enough room.
  • Kept inspector token and field grids single-column in the constrained side panel.
  • Rebuilt client.js, the manifest, the package archive, and every affected catalog lane.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none; the existing >=2.3.5 <2.4.0 range is unchanged
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: client layout payload only; existing package restart behavior and durable storage lifecycle are unchanged

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

  • node scripts/test-catalog-lanes.mjs passed.
  • node scripts/validate-catalog.mjs passed: 30 packages, v2=30, v3=6, and the legacy catalog matches v2.
  • git diff --check passed.
  • Rebuilt only Long-Term Memory with MARINARA_ENGINE_ROOT=../Marinara-Engine node scripts/build-feature-packages.mjs long-term-memory.
  • Audited the generated client bundle for both named container breakpoints and the absence of the legacy viewport/fixed inspector split.
  • Ran long-term-memory-lifecycle.regression.ts against the exact rebuilt artifact: install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation passed.
  • Reproduced the original geometry from the supplied 1920×911 screenshot and verified that the repaired layout leaves approximately 562px for the editor beside the 288px inspector; workbenches below the new threshold stack instead.
  • A live browser screenshot comparison could not be completed because the in-app browser connection failed to initialize in this environment.

Documentation impact

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

No documentation changes are needed because package behavior, setup, compatibility, and catalog membership are unchanged.

UI evidence (if applicable)

The supplied broken-state screenshot shows metadata fields overlapping throughout the third column. The fix is structurally verified from that exact viewport geometry and the generated CSS; no after screenshot is attached because the in-app browser connection was unavailable.

Summary by CodeRabbit

  • New Features

    • Improved long-term memory detail layouts with responsive container-based sizing.
    • Expanded content width constraints for better use of available screen space.
  • Bug Fixes

    • Refined note editor and metadata panel layouts when details are open.
    • Updated package metadata to accurately reflect the latest downloadable content.

🔄 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/113 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/28/2026 **Status:** ✅ Merged **Merged:** 7/28/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `agent/fix-ltm-inspector-overlap` --- ### 📝 Commits (1) - [`6080501`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6080501c8798b4dc398ed3a66f7588f2b3343741) fix(ltm): prevent metadata inspector overlap ### 📊 Changes **8 files changed** (+77 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/long-term-memory-1.0.0.zip` (+0 -0) 📝 `catalog/catalog.json` (+5 -5) 📝 `catalog/v2/catalog.json` (+5 -5) 📝 `catalog/v3/catalog.json` (+1 -1) 📝 `packages/long-term-memory/client.js` (+26 -12) 📝 `packages/long-term-memory/manifest.json` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+12 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+26 -12) </details> ### 📄 Description ## Linked issue Closes #114 ## Why this change - The Long-Term Memory editor combined viewport breakpoints with a width-capped nested workspace. At desktop viewport sizes, the vault and details layouts switched to multi-column modes even when the actual details container was too narrow. The fixed 18rem metadata inspector was consequently forced beside an editor with insufficient space, causing the third-column controls to overlap. ## What changed - Updated package ID `long-term-memory` to widen its complex workspace within the standard editor shell. - Replaced viewport-driven vault and workbench splits with named CSS container queries. - Kept the metadata inspector stacked when its real container is narrow and enabled the side-by-side view only when the workbench itself has enough room. - Kept inspector token and field grids single-column in the constrained side panel. - Rebuilt `client.js`, the manifest, the package archive, and every affected catalog lane. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none; the existing `>=2.3.5 <2.4.0` range is unchanged - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: client layout payload only; existing package restart behavior and durable storage lifecycle are unchanged ## 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 - `node scripts/test-catalog-lanes.mjs` passed. - `node scripts/validate-catalog.mjs` passed: 30 packages, v2=30, v3=6, and the legacy catalog matches v2. - `git diff --check` passed. - Rebuilt only Long-Term Memory with `MARINARA_ENGINE_ROOT=../Marinara-Engine node scripts/build-feature-packages.mjs long-term-memory`. - Audited the generated client bundle for both named container breakpoints and the absence of the legacy viewport/fixed inspector split. - Ran `long-term-memory-lifecycle.regression.ts` against the exact rebuilt artifact: install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation passed. - Reproduced the original geometry from the supplied 1920×911 screenshot and verified that the repaired layout leaves approximately 562px for the editor beside the 288px inspector; workbenches below the new threshold stack instead. - A live browser screenshot comparison could not be completed because the in-app browser connection failed to initialize in this environment. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation No documentation changes are needed because package behavior, setup, compatibility, and catalog membership are unchanged. ## UI evidence (if applicable) The supplied broken-state screenshot shows metadata fields overlapping throughout the third column. The fix is structurally verified from that exact viewport geometry and the generated CSS; no after screenshot is attached because the in-app browser connection was unavailable. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Improved long-term memory detail layouts with responsive container-based sizing. * Expanded content width constraints for better use of available screen space. * **Bug Fixes** * Refined note editor and metadata panel layouts when details are open. * Updated package metadata to accurately reflect the latest downloadable content. <!-- 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:13 +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#813
No description provided.