[GH-ISSUE #140] [Issue]: Preserve and recover rejected Long-Term Memory suggestions #69

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

Originally created by @Promansis on GitHub (Jul 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/140

Originally assigned to: @Promansis on GitHub.

Summary

Long-Term Memory extraction candidates that fail validation are only attached to draft diagnostics and can disappear as drafts are accepted, skipped, superseded, or cleared. They need an independent durable review/recovery lifecycle. The recovery flow must also work when Engine is opened from a real phone over a LAN HTTP origin.

Affected package

Long-Term Memory (long-term-memory)

Expected behavior

Rejected extraction suggestions persist independently until explicitly deleted or successfully recovered, survive restart and backup/restore, and remain available through package lifecycle operations. Manual recovery opens a prefilled Vault editor on desktop and mobile without crashing.

Actual behavior

Rejected candidates are coupled to draft diagnostics and can disappear with draft lifecycle transitions. The initial mobile recovery implementation also called secure-context-only crypto.randomUUID(), causing the downloaded interface to stop on phones accessing Engine over plain LAN HTTP.

Steps to reproduce

  1. Produce a Long-Term Memory extraction with a rejected candidate.
  2. Finalize or remove the associated draft and observe that no independent durable recovery record exists.
  3. On a phone using a LAN HTTP Engine URL, choose Recover manually and observe the Long-Term Memory runtime error.

Environment

  • Marinara Engine version: 2.3.5
  • Package version: 1.0.1
  • Install type: source/development package install
  • OS + version: Linux host, mobile client
  • Browser or app shell: Chromium mobile browser over LAN HTTP

Logs, screenshots, or video

The host displays: “Long-Term Memory stopped. The downloaded interface hit an error. Your chat and saved data are unchanged.”

Additional context

The package needs a bounded atomic rejected-suggestion ledger, filtered list/delete routes, backup/restore integration, explicit recovery cleanup ordering, and a patch release artifact.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Jul 30, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/140 Originally assigned to: @Promansis on GitHub. ## Summary Long-Term Memory extraction candidates that fail validation are only attached to draft diagnostics and can disappear as drafts are accepted, skipped, superseded, or cleared. They need an independent durable review/recovery lifecycle. The recovery flow must also work when Engine is opened from a real phone over a LAN HTTP origin. ## Affected package Long-Term Memory (`long-term-memory`) ## Expected behavior Rejected extraction suggestions persist independently until explicitly deleted or successfully recovered, survive restart and backup/restore, and remain available through package lifecycle operations. Manual recovery opens a prefilled Vault editor on desktop and mobile without crashing. ## Actual behavior Rejected candidates are coupled to draft diagnostics and can disappear with draft lifecycle transitions. The initial mobile recovery implementation also called secure-context-only `crypto.randomUUID()`, causing the downloaded interface to stop on phones accessing Engine over plain LAN HTTP. ## Steps to reproduce 1. Produce a Long-Term Memory extraction with a rejected candidate. 2. Finalize or remove the associated draft and observe that no independent durable recovery record exists. 3. On a phone using a LAN HTTP Engine URL, choose Recover manually and observe the Long-Term Memory runtime error. ## Environment - Marinara Engine version: 2.3.5 - Package version: 1.0.1 - Install type: source/development package install - OS + version: Linux host, mobile client - Browser or app shell: Chromium mobile browser over LAN HTTP ## Logs, screenshots, or video The host displays: “Long-Term Memory stopped. The downloaded interface hit an error. Your chat and saved data are unchanged.” ## Additional context The package needs a bounded atomic rejected-suggestion ledger, filtered list/delete routes, backup/restore integration, explicit recovery cleanup ordering, and a patch release artifact. ## Template check - [ ] I DID NOT read this template and provide the requested details.
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#69
No description provided.