[PR #143] [MERGED] fix(ltm): improve responsive vault health #827

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/143
Author: @Promansis
Created: 7/30/2026
Status: ✅ Merged
Merged: 7/30/2026
Merged by: @Promansis

Base: staging ← Head: fix/ltm-mobile-vault-health-guidance


📝 Commits (3)

  • 7e6448e fix(ltm): improve responsive vault health
  • 2b831da fix(ltm): hide redundant healthy status
  • e4d2f31 test(ltm): cover healthy navigation layout

📊 Changes

9 files changed (+200 additions, -100 deletions)

View changed files

📝 artifacts/long-term-memory-1.0.2.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 (+11 -11)
📝 packages/long-term-memory/manifest.json (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+103 -72)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryNavigation.tsx (+3 -2)
📝 tests/long-term-memory-lifecycle.regression.ts (+70 -2)

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

Why this change

  • Long-Term Memory's detail view used a permanent Memory Status panel and a desktop side rail that did not fit the Phase 2 responsive workflow.
  • Mobile users could see actionable Vault health states without access to the repair guidance exposed by the desktop status control.

What changed

  • Replaced the desktop side rail with a horizontal, overflow-capable navigation row while preserving Vault, Review, Sources, Settings, icons, badges, and current-page semantics.
  • Preserved the mobile bottom navigation below md.
  • Removed the permanent healthy Memory Status panel.
  • Added compact desktop Vault health status and actionable warning strips for building, degraded, stale, corrupt, and failed states.
  • Added indexed chunk counts and repair guidance to the warning popover so the guidance is available on mobile.
  • Added responsive and degraded-health browser regression coverage.
  • Rebuilt the long-term-memory package payload, manifest, ZIP artifact, and generated catalog lanes: catalog/catalog.json, catalog/v2/catalog.json, and catalog/v3/catalog.json.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: None; existing compatibility range retained.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: No storage or lifecycle contract changes; generated package metadata and artifact hashes were refreshed.

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: 31 packages, with valid v2 and v3 lanes and legacy alias.
  • git diff --check passed.
  • Engine-backed Long-Term Memory storage regression passed, covering restart, recovery, self-check, cleanup, and stable root behavior.
  • Engine-backed Long-Term Memory routes regression passed.
  • Engine-backed lifecycle/browser regression passed, covering install, offline restart, backup inclusion, uninstall, reinstall, durable-byte preservation, desktop navigation, mobile navigation, degraded Vault warnings, and mobile repair guidance.
  • Impeccable UI detector returned no findings for the changed detail and navigation components.
  • The validation checklist remains unchecked because those boxes are reserved for human verification.

Documentation impact

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

UI evidence (if applicable)

The lifecycle browser regression exercises the desktop and mobile layouts and the mobile health-guidance popover. No screenshot or recording is attached.

Summary by CodeRabbit

  • New Features
    • Enhanced long-term memory vault health UI with clearer attention states, indexed-chunk counts, and actionable recall guidance.
    • Streamlined the detail layout and improved navigation presentation across desktop and smaller screens (including horizontal scrolling where needed).
  • Bug Fixes
    • Improved detection and presentation of non-healthy rebuild/health states with appropriate warning styling.
    • Kept published asset integrity metadata up to date.
  • Tests
    • Expanded regression coverage for degraded/healthy transitions and validated the warning/info contents.

🔄 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/143 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 7/30/2026 **Status:** ✅ Merged **Merged:** 7/30/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix/ltm-mobile-vault-health-guidance` --- ### 📝 Commits (3) - [`7e6448e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7e6448ecb96515afc2a8478537957f694a7c6b5a) fix(ltm): improve responsive vault health - [`2b831da`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2b831da406fb9c4b814496e1956a0a1a278c37db) fix(ltm): hide redundant healthy status - [`e4d2f31`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e4d2f3124d70a03155a871d45f4a7231f3e5efad) test(ltm): cover healthy navigation layout ### 📊 Changes **9 files changed** (+200 additions, -100 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/long-term-memory-1.0.2.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` (+11 -11) 📝 `packages/long-term-memory/manifest.json` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+103 -72) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryNavigation.tsx` (+3 -2) 📝 `tests/long-term-memory-lifecycle.regression.ts` (+70 -2) </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 #142 ## Why this change - Long-Term Memory's detail view used a permanent Memory Status panel and a desktop side rail that did not fit the Phase 2 responsive workflow. - Mobile users could see actionable Vault health states without access to the repair guidance exposed by the desktop status control. ## What changed - Replaced the desktop side rail with a horizontal, overflow-capable navigation row while preserving Vault, Review, Sources, Settings, icons, badges, and current-page semantics. - Preserved the mobile bottom navigation below `md`. - Removed the permanent healthy Memory Status panel. - Added compact desktop Vault health status and actionable warning strips for building, degraded, stale, corrupt, and failed states. - Added indexed chunk counts and repair guidance to the warning popover so the guidance is available on mobile. - Added responsive and degraded-health browser regression coverage. - Rebuilt the `long-term-memory` package payload, manifest, ZIP artifact, and generated catalog lanes: `catalog/catalog.json`, `catalog/v2/catalog.json`, and `catalog/v3/catalog.json`. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: None; existing compatibility range retained. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: No storage or lifecycle contract changes; generated package metadata and artifact hashes were refreshed. ## 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 - `node scripts/test-catalog-lanes.mjs` passed. - `node scripts/validate-catalog.mjs` passed: 31 packages, with valid v2 and v3 lanes and legacy alias. - `git diff --check` passed. - Engine-backed Long-Term Memory storage regression passed, covering restart, recovery, self-check, cleanup, and stable root behavior. - Engine-backed Long-Term Memory routes regression passed. - Engine-backed lifecycle/browser regression passed, covering install, offline restart, backup inclusion, uninstall, reinstall, durable-byte preservation, desktop navigation, mobile navigation, degraded Vault warnings, and mobile repair guidance. - Impeccable UI detector returned no findings for the changed detail and navigation components. - The validation checklist remains unchecked because those boxes are reserved for human verification. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) The lifecycle browser regression exercises the desktop and mobile layouts and the mobile health-guidance popover. No screenshot or recording is attached. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Enhanced long-term memory vault health UI with clearer attention states, indexed-chunk counts, and actionable recall guidance. * Streamlined the detail layout and improved navigation presentation across desktop and smaller screens (including horizontal scrolling where needed). * **Bug Fixes** * Improved detection and presentation of non-healthy rebuild/health states with appropriate warning styling. * Kept published asset integrity metadata up to date. * **Tests** * Expanded regression coverage for degraded/healthy transitions and validated the warning/info contents. <!-- 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:22 +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#827
No description provided.