[PR #1639] [MERGED] fix(long-term-memory): keep the archive Undo caption in its own element (1.4.90) #1637

Closed
opened 2026-10-25 04:02:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1639
Author: @Promansis
Created: 10/24/2026
Status: ✅ Merged
Merged: 10/24/2026
Merged by: @Promansis

Base: staging ← Head: fix/ltm-undo-caption


📝 Commits (2)

  • 063e0d1 fix(long-term-memory): keep the archive Undo caption in its own element (#1638)
  • 72bf243 chore(long-term-memory): release 1.4.90 (#1638)

📊 Changes

14 files changed (+113 additions, -78 deletions)

View changed files

➕ artifacts/long-term-memory-1.4.90.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+6 -6)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/long-term-memory/CHANGELOG.md (+4 -0)
📝 packages/long-term-memory/client.js (+27 -27)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/vault/MemoryVault.tsx (+15 -6)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-browser.regression.ts (+22 -0)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+5 -5)

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

Why this change

  • After an archive, the "N memories archived." message shared the single notice slot with every other message. Saving another memory while the Undo banner was showing overwrote or cleared it, so the banner still offered Undo but no longer said how many memories it would restore.

What changed

  • Package: long-term-memory 1.4.90 (client only).
  • MemoryVault.tsx: ArchiveUndoState now holds the archive message as caption, and the banner renders it in its own data-ltm-archive-undo-caption element next to Undo. The notice stays empty while Undo is offered. Without an Undo offer the message is still the notice. Saving clears the notice unconditionally.
  • undoArchive clears the Undo state after the reload, just before the "restored" notice, so the feedback region stays mounted during the reload.
  • Behaviour note: the archive text now disappears (instead of lingering as a notice) when the target switches or a later batch or delete starts, because it lives in the Undo state.
  • Tests: the feedback-clarity static test now expects the caption element and an unconditional setNotice(""). The Archive Undo browser case asserts the caption, an empty notice, and that a save with Undo showing keeps the caption and Undo.
  • Generated outputs rebuilt with reland.mjs and the package builder: client.js, manifest.json, artifacts/long-term-memory-1.4.90.zip, catalog lanes and notes.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none

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

  • Local runs on the release commit (not a substitute for the checklist above): npm run check, git diff --check, test-catalog-lanes, validate-package-locales, validate-catalog, catalog-release-notes regression, and test-ltm.sh feedback-clarity-ui and browser.
  • Known, not repaired: a standing caption takes the warning tone and icon when a warning notice appears beside it, and the two spans have no separator. Both need a styling change outside this fix.

Documentation impact

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

UI evidence (if applicable)

None attached.

🤖 Generated with Claude Code


🔄 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/1639 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/24/2026 **Status:** ✅ Merged **Merged:** 10/24/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix/ltm-undo-caption` --- ### 📝 Commits (2) - [`063e0d1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/063e0d1a70df1c0fb2d9c9fa707a266857f64d7f) fix(long-term-memory): keep the archive Undo caption in its own element (#1638) - [`72bf243`](https://github.com/Pasta-Devs/Marinara-Agents/commit/72bf2432850a2ed8d20af0b3f053b9c77a38d56b) chore(long-term-memory): release 1.4.90 (#1638) ### 📊 Changes **14 files changed** (+113 additions, -78 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.4.90.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/long-term-memory/CHANGELOG.md` (+4 -0) 📝 `packages/long-term-memory/client.js` (+27 -27) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/vault/MemoryVault.tsx` (+15 -6) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-browser.regression.ts` (+22 -0) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+5 -5) </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 #1638 ## Why this change - After an archive, the "N memories archived." message shared the single notice slot with every other message. Saving another memory while the Undo banner was showing overwrote or cleared it, so the banner still offered Undo but no longer said how many memories it would restore. ## What changed - Package: `long-term-memory` 1.4.90 (client only). - `MemoryVault.tsx`: `ArchiveUndoState` now holds the archive message as `caption`, and the banner renders it in its own `data-ltm-archive-undo-caption` element next to Undo. The notice stays empty while Undo is offered. Without an Undo offer the message is still the notice. Saving clears the notice unconditionally. - `undoArchive` clears the Undo state after the reload, just before the "restored" notice, so the feedback region stays mounted during the reload. - Behaviour note: the archive text now disappears (instead of lingering as a notice) when the target switches or a later batch or delete starts, because it lives in the Undo state. - Tests: the feedback-clarity static test now expects the caption element and an unconditional `setNotice("")`. The Archive Undo browser case asserts the caption, an empty notice, and that a save with Undo showing keeps the caption and Undo. - Generated outputs rebuilt with `reland.mjs` and the package builder: `client.js`, `manifest.json`, `artifacts/long-term-memory-1.4.90.zip`, catalog lanes and notes. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none ## 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 - Local runs on the release commit (not a substitute for the checklist above): `npm run check`, `git diff --check`, `test-catalog-lanes`, `validate-package-locales`, `validate-catalog`, `catalog-release-notes` regression, and `test-ltm.sh feedback-clarity-ui` and `browser`. - Known, not repaired: a standing caption takes the warning tone and icon when a warning notice appears beside it, and the two spans have no separator. Both need a styling change outside this fix. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) None attached. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-25 04:02:21 +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#1637
No description provided.