[PR #1106] [MERGED] fix(long-term-memory): bound the vault unsaved-changes and rename dialogs (1.3.26) (#1102) #1296

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/1106
Author: @Promansis
Created: 9/27/2026
Status: ✅ Merged
Merged: 9/27/2026
Merged by: @Promansis

Base: staging ← Head: fix(long-term-memory)/unsaved-dialog-max-w


📝 Commits (1)

  • 93ffbb9 fix(long-term-memory): bound the vault unsaved-changes and rename dialogs (1.3.26) (#1102)

📊 Changes

13 files changed (+42 additions, -37 deletions)

View changed files

➕ artifacts/long-term-memory-1.3.26.zip (+0 -0)
📝 catalog/catalog.json (+4 -4)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+4 -4)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+4 -4)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/long-term-memory/CHANGELOG.md (+4 -0)
📝 packages/long-term-memory/client.js (+1 -1)
📝 packages/long-term-memory/manifest.json (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+2 -2)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+2 -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 #1102

Why this change

  • In the Long-Term Memory Memory Vault, clicking Close after editing a memory opened an unsaved-changes confirmation whose card stretched across almost the whole screen. The same broken card class was used by the vault's Rename-details dialog.
  • The Engine builds capability-package classes from capability-package-safelist.html, and max-w-72 is not in that safelist, so no max-width was emitted and the card fell back to w-full. The shell's equivalent dialog (LongTermMemoryDetail.tsx) already used the safelisted max-w-md and rendered correctly.

What changed

  • Affected package: long-term-memory (client UI).
  • MemoryVault.tsx: both the unsaved-navigation dialog and the rename-details dialog card changed from max-w-72 to max-w-md, matching the already-correct shell dialog.
  • tests/long-term-memory-feedback-clarity-ui.regression.mjs: asserts the new max-w-md class and rejects any remaining max-w-72.
  • scripts/build-feature-packages.mjs: Long-Term Memory version 1.3.24 → 1.3.26 so installed users receive the rebuilt client through the normal update flow. 1.3.25 is reserved for an unrelated in-flight task; a patch release does not require a changelog entry, but one is included because the release-notes sidecar must lead with the published version.
  • packages/long-term-memory/CHANGELOG.md: added the 1.3.26 entry.
  • Rebuilt generated outputs: client.js, manifest.json, artifacts/long-term-memory-1.3.26.zip, and catalog/{catalog,notes,v2/catalog,v2/notes,v3/catalog,v3/notes}.json.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none. engine.min/engine.maxExclusive (>=2.4.1 <4.0.0) and capabilityApi are unchanged; no lane routing changes.
  • New or changed permissions/entrypoints: none. Permissions and entrypoints are unchanged.
  • Restart, storage, update, or uninstall impact: restartRequired remains true. Storage schema, install, update, and uninstall behavior are unchanged; only the client bundle bytes and the version/artifact hash changed. No unsafe archive handling or permission expansion.

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

  • Base/HEAD: upstream/staging at 6af99c7db1788188e4d8516d90efcf9e1983f99d; feature HEAD 93ffbb9fb10fa3d62e9d688940c22b43d4227ca4 (staging is an ancestor; no merge needed).
  • Commands run on the committed revision (all exit 0): npm run check; node tests/long-term-memory-feedback-clarity-ui.regression.mjs; node scripts/test-catalog-lanes.mjs; node scripts/validate-package-locales.mjs; node scripts/validate-catalog.mjs; node scripts/tests/catalog-release-notes.regression.mjs; git diff --check upstream/staging...HEAD.
  • Rebuild determinism: re-ran node scripts/build-feature-packages.mjs long-term-memory with MARINARA_AGENTS_ROOT/MARINARA_ENGINE_ROOT set; git status --porcelain stayed empty, so the committed client.js, manifest hashes, artifact ZIP, and catalogs are reproducible from source.
  • Static bundle check: generated client.js contains two max-w-md space-y-3 p-3 shadow-xl cards and zero max-w-72.
  • Not performed locally (human/Engine tasks, boxes left unchecked): Engine install/update against a live instance, and browser screenshot evidence. This is a CSS class correction validated by static analysis and the catalog validators, not by a browser render.

Documentation impact

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

UI evidence (if applicable)

  • No screenshot captured. The change aligns the vault dialogs with the existing bounded shell dialog; a browser render remains a manual verification step.

Summary by CodeRabbit

  • Bug Fixes
    • Memory Vault unsaved-changes and rename-details dialogs now appear as compact, centered cards instead of stretching across the screen.
  • Release
    • Long-Term Memory updated to version 1.3.26.

🔄 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/1106 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 9/27/2026 **Status:** ✅ Merged **Merged:** 9/27/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/unsaved-dialog-max-w` --- ### 📝 Commits (1) - [`93ffbb9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/93ffbb9fb10fa3d62e9d688940c22b43d4227ca4) fix(long-term-memory): bound the vault unsaved-changes and rename dialogs (1.3.26) (#1102) ### 📊 Changes **13 files changed** (+42 additions, -37 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.3.26.zip` (+0 -0) 📝 `catalog/catalog.json` (+4 -4) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+4 -4) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+4 -4) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/long-term-memory/CHANGELOG.md` (+4 -0) 📝 `packages/long-term-memory/client.js` (+1 -1) 📝 `packages/long-term-memory/manifest.json` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+2 -2) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+2 -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`. <!-- Open as a draft while implementation is in progress. Mark Ready for review only after validation and self-review. --> ## Linked issue <!-- Every PR should reference an issue or feature request. --> Closes #1102 ## Why this change <!-- What user problem, package bug, or catalog goal does this solve? --> - In the Long-Term Memory **Memory Vault**, clicking **Close** after editing a memory opened an unsaved-changes confirmation whose card stretched across almost the whole screen. The same broken card class was used by the vault's Rename-details dialog. - The Engine builds capability-package classes from `capability-package-safelist.html`, and `max-w-72` is not in that safelist, so no `max-width` was emitted and the card fell back to `w-full`. The shell's equivalent dialog (`LongTermMemoryDetail.tsx`) already used the safelisted `max-w-md` and rendered correctly. ## What changed <!-- Include affected package IDs and generated outputs. --> - Affected package: `long-term-memory` (client UI). - `MemoryVault.tsx`: both the unsaved-navigation dialog and the rename-details dialog card changed from `max-w-72` to `max-w-md`, matching the already-correct shell dialog. - `tests/long-term-memory-feedback-clarity-ui.regression.mjs`: asserts the new `max-w-md` class and rejects any remaining `max-w-72`. - `scripts/build-feature-packages.mjs`: Long-Term Memory version `1.3.24` → `1.3.26` so installed users receive the rebuilt client through the normal update flow. `1.3.25` is reserved for an unrelated in-flight task; a patch release does not require a changelog entry, but one is included because the release-notes sidecar must lead with the published version. - `packages/long-term-memory/CHANGELOG.md`: added the `1.3.26` entry. - Rebuilt generated outputs: `client.js`, `manifest.json`, `artifacts/long-term-memory-1.3.26.zip`, and `catalog/{catalog,notes,v2/catalog,v2/notes,v3/catalog,v3/notes}.json`. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none. `engine.min`/`engine.maxExclusive` (`>=2.4.1 <4.0.0`) and `capabilityApi` are unchanged; no lane routing changes. - New or changed permissions/entrypoints: none. Permissions and entrypoints are unchanged. - Restart, storage, update, or uninstall impact: `restartRequired` remains `true`. Storage schema, install, update, and uninstall behavior are unchanged; only the client bundle bytes and the version/artifact hash changed. No unsafe archive handling or permission expansion. ## 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 <!-- Describe exactly what you tested, step by step. --> - Base/HEAD: `upstream/staging` at `6af99c7db1788188e4d8516d90efcf9e1983f99d`; feature HEAD `93ffbb9fb10fa3d62e9d688940c22b43d4227ca4` (staging is an ancestor; no merge needed). - Commands run on the committed revision (all exit 0): `npm run check`; `node tests/long-term-memory-feedback-clarity-ui.regression.mjs`; `node scripts/test-catalog-lanes.mjs`; `node scripts/validate-package-locales.mjs`; `node scripts/validate-catalog.mjs`; `node scripts/tests/catalog-release-notes.regression.mjs`; `git diff --check upstream/staging...HEAD`. - Rebuild determinism: re-ran `node scripts/build-feature-packages.mjs long-term-memory` with `MARINARA_AGENTS_ROOT`/`MARINARA_ENGINE_ROOT` set; `git status --porcelain` stayed empty, so the committed `client.js`, manifest hashes, artifact ZIP, and catalogs are reproducible from source. - Static bundle check: generated `client.js` contains two `max-w-md space-y-3 p-3 shadow-xl` cards and zero `max-w-72`. - Not performed locally (human/Engine tasks, boxes left unchecked): Engine install/update against a live instance, and browser screenshot evidence. This is a CSS class correction validated by static analysis and the catalog validators, not by a browser render. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) <!-- Add before/after screenshots or recordings for package UI changes. --> - No screenshot captured. The change aligns the vault dialogs with the existing bounded shell dialog; a browser render remains a manual verification step. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Memory Vault unsaved-changes and rename-details dialogs now appear as compact, centered cards instead of stretching across the screen. * **Release** * Long-Term Memory updated to version 1.3.26. <!-- 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#1296
No description provided.