mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1164] [MERGED] fix(long-term-memory): identify exact memories in permanent-delete confirmation #1326
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1326
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1164
Author: @Promansis
Created: 10/1/2026
Status: ✅ Merged
Merged: 10/1/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/1163-delete-confirmation-targets📝 Commits (3)
40035f5fix(long-term-memory): identify exact memories in permanent-delete confirmationefa4790fix(long-term-memory): hold the delete flow while confirmation targets resolve8af400afix(long-term-memory): clear the delete busy token after session changes📊 Changes
10 files changed (+362 additions, -65 deletions)
View changed files
📝
artifacts/long-term-memory-1.3.34.zip(+0 -0)📝
catalog/catalog.json(+4 -4)📝
catalog/v2/catalog.json(+4 -4)📝
catalog/v3/catalog.json(+4 -4)📝
packages/long-term-memory/client.js(+30 -27)📝
packages/long-term-memory/manifest.json(+2 -2)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx(+123 -22)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+12 -2)📝
tests/long-term-memory-browser.regression.ts(+154 -0)📝
tests/long-term-memory-feedback-clarity-ui.regression.mjs(+29 -0)📄 Description
Pull request
Linked issue
Closes #1163
Why this change
Long-Term Memory used one generic confirmation ("Permanently delete selected memories?" followed by "This cannot be undone.") for both single-row and bulk permanent deletion. It identified no target and stated no count, so a user with several identically-titled memories had no way to tell what was about to be destroyed, and a bulk selection could include memories hidden by the active filters. Permanent deletion is not recoverable through the UI, so the dialog itself has to be the verification step.
What changed
long-term-memoryMemory Vault now resolves the permanent-delete targets from the submitted IDs and shows each memory's title, a short content excerpt, availability, creation date, and memory ID, with explicit singular/plural headings and destructive-button labels.packages/long-term-memory/client.js),packages/long-term-memory/manifest.json, theartifacts/long-term-memory-1.3.34.zipartifact, and thecatalog/catalog.json,catalog/v2/catalog.json,catalog/v3/catalog.jsonentries.Package and security impact
long-term-memory1.3.34engine.min/engine.maxExclusiverange is unchanged and lane membership is unchanged.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Automated checks run at HEAD
8af400a8cand passed:npm run check;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; and the Long-Term Memoryfeedback-clarity-uiandbrowserregressions. The browser regression additionally covers a held target lookup whose selection changes mid-flight and asserts no confirmation opens and no deletion request is sent; the feedback-clarity-ui regression asserts the delete flow clears only its own busy token. Publish proof inputs: repository digestef28e129e2ac59ae49b2a17e53f050b94e727a0e40866e6173078bad7bf4cb15, Engine digest8c0171291e89169ba4a318f893350b60a3c998f8c39005f1b571b918311fd0c8.Manual Engine install/update, mode, restart, offline, and uninstall checks were not performed in this session, so the template's checkboxes are intentionally left unchecked.
Known unresolved finding: the host Engine confirmation dialog initially focuses its Close control rather than Cancel, which does not meet requirement 4 of the issue. That behavior is owned by the Engine dialog host (
Modalplususe-dialog-focus-scope); this package only supplies the dialog title, message, and confirm label, so it is not repairable inside this repository.Documentation impact
UI evidence (if applicable)
No screenshots were captured. The change is confirmation content covered by the browser regression described above.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.