[PR #466] [MERGED] feat(long-term-memory): expose row actions and archive undo #984

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

📋 Pull Request Information

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

Base: staging ← Head: feature(long-term-memory)/archive-undo-row-actions


📝 Commits (3)

  • ff70eb0 feat(long-term-memory): add archive undo actions
  • b2047f9 fix(long-term-memory): make archive undo retryable
  • d9e04c7 fix(long-term-memory): refresh failed archive undo

📊 Changes

3 files changed (+153 additions, -9 deletions)

View changed files

📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+121 -9)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+6 -0)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+26 -0)

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

Why this change

Memory Vault desktop archive and delete actions were discoverable only through hover, and archive had no immediate recovery affordance. This change makes existing row actions stable and provides bounded undo for the most recent successful archive operation.

What changed

  • Affected package: long-term-memory.
  • Made desktop archive/delete icon actions visible without hover while preserving mobile overflow actions and permanent-delete confirmation.
  • Added one bounded shared-feedback undo action that restores the previous status for every successfully archived note, including fully successful batches only.
  • Added focused regression assertions and English UI strings.
  • Package version remains 1.2.9 as requested. No artifact, generated bundle, manifest, catalog, or checksum was added.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: None; manifest remains >=2.4.1 <4.0.0.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: None; archive undo uses existing note batch mutations.

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

  • Focused UI regression passed: node tests/long-term-memory-feedback-clarity-ui.regression.mjs.
  • Repository checks, catalog lane validation, locale validation, catalog validation, and git diff --check passed before commit.
  • Disposable long-term-memory package build passed without modifying tracked generated output.
  • Neighboring Engine Long-Term Memory regression suite passed for storage, extraction, runtime, routes, import, debug log, lifecycle, feedback clarity UI, and chat settings UI.
  • Human installation and browser verification remain unchecked.

Documentation impact

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

UI evidence (if applicable)

The focused regression covers stable desktop action markup and preserved mobile action hooks. No screenshots were captured.

Summary by CodeRabbit

  • New Features

    • Added an Undo option after archiving notes, allowing archived notes to be restored.
    • Preserved original note statuses during archive and restoration.
    • Added localized success and error feedback for archive and undo actions.
    • Desktop note actions are now consistently visible.
  • Bug Fixes

    • Improved archive undo reliability with validation, session checks, and rollback handling.
  • Tests

    • Added regression coverage for archive feedback, undo behavior, note actions, completion handling, and translations.

🔄 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/466 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/20/2026 **Status:** ✅ Merged **Merged:** 8/20/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/archive-undo-row-actions` --- ### 📝 Commits (3) - [`ff70eb0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ff70eb0ef5b32bd9b02a70f5cf3606df4b4dc9e5) feat(long-term-memory): add archive undo actions - [`b2047f9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b2047f933a6199f5da2fa6f36f817437e06273e3) fix(long-term-memory): make archive undo retryable - [`d9e04c7`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d9e04c73c59349df9449008a7f14012332c78078) fix(long-term-memory): refresh failed archive undo ### 📊 Changes **3 files changed** (+153 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+121 -9) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+6 -0) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+26 -0) </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 #464 ## Why this change Memory Vault desktop archive and delete actions were discoverable only through hover, and archive had no immediate recovery affordance. This change makes existing row actions stable and provides bounded undo for the most recent successful archive operation. ## What changed - Affected package: `long-term-memory`. - Made desktop archive/delete icon actions visible without hover while preserving mobile overflow actions and permanent-delete confirmation. - Added one bounded shared-feedback undo action that restores the previous status for every successfully archived note, including fully successful batches only. - Added focused regression assertions and English UI strings. - Package version remains `1.2.9` as requested. No artifact, generated bundle, manifest, catalog, or checksum was added. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: None; manifest remains `>=2.4.1 <4.0.0`. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: None; archive undo uses existing note batch mutations. ## 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 - Focused UI regression passed: `node tests/long-term-memory-feedback-clarity-ui.regression.mjs`. - Repository checks, catalog lane validation, locale validation, catalog validation, and `git diff --check` passed before commit. - Disposable `long-term-memory` package build passed without modifying tracked generated output. - Neighboring Engine Long-Term Memory regression suite passed for storage, extraction, runtime, routes, import, debug log, lifecycle, feedback clarity UI, and chat settings UI. - Human installation and browser verification remain unchecked. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) The focused regression covers stable desktop action markup and preserved mobile action hooks. No screenshots were captured. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added an Undo option after archiving notes, allowing archived notes to be restored. - Preserved original note statuses during archive and restoration. - Added localized success and error feedback for archive and undo actions. - Desktop note actions are now consistently visible. - **Bug Fixes** - Improved archive undo reliability with validation, session checks, and rollback handling. - **Tests** - Added regression coverage for archive feedback, undo behavior, note actions, completion handling, and translations. <!-- 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:32:59 +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#984
No description provided.