[GH-ISSUE #416] [Feature]: Make Long-Term Memory review work recoverable #210

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

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

Originally assigned to: @Promansis on GitHub.

What problem does this solve?

Long-Term Memory review work is currently fragile: changing sources or destinations clears selections and edits, reloads lose unfinished edits, and partial bulk applies report failures without a targeted retry. Review text fields also cap input without showing the limit or remaining capacity.

Proposed package or change

Implement Batch A from scratch/long-term-memory-feedback-validity-plan.md for the Long-Term Memory package:

  • Persist review-local selections and edits only for the current source/draft fingerprint, with stale-source and terminal-state cleanup.
  • Preserve failed draft and mutation IDs in batch results and provide a targeted Retry failed action.
  • Show reviewed/remaining progress and explicit new, merge, and rewrite consequences.
  • Expose the 20,000-character editor limit with a live counter and block invalid submissions.
  • Add focused regression coverage for navigation, reload, stale drafts, partial apply, retry targeting, and editor limits.

Why should this be optional?

This behavior belongs to the optional Long-Term Memory package UI and review routes, not the lightweight Engine core.

Alternatives considered

Do not add a global state framework, undo journal, rollback, or a new review facet engine. Use the existing package UI and browser regression seams.

Additional context

The validity plan identifies this as Batch A, with source changes under packages/long-term-memory/src/engine/ and generated output rebuilt by the feature-package builder.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Aug 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/416 Originally assigned to: @Promansis on GitHub. ## What problem does this solve? Long-Term Memory review work is currently fragile: changing sources or destinations clears selections and edits, reloads lose unfinished edits, and partial bulk applies report failures without a targeted retry. Review text fields also cap input without showing the limit or remaining capacity. ## Proposed package or change Implement Batch A from `scratch/long-term-memory-feedback-validity-plan.md` for the Long-Term Memory package: - Persist review-local selections and edits only for the current source/draft fingerprint, with stale-source and terminal-state cleanup. - Preserve failed draft and mutation IDs in batch results and provide a targeted Retry failed action. - Show reviewed/remaining progress and explicit new, merge, and rewrite consequences. - Expose the 20,000-character editor limit with a live counter and block invalid submissions. - Add focused regression coverage for navigation, reload, stale drafts, partial apply, retry targeting, and editor limits. ## Why should this be optional? This behavior belongs to the optional Long-Term Memory package UI and review routes, not the lightweight Engine core. ## Alternatives considered Do not add a global state framework, undo journal, rollback, or a new review facet engine. Use the existing package UI and browser regression seams. ## Additional context The validity plan identifies this as Batch A, with source changes under `packages/long-term-memory/src/engine/` and generated output rebuilt by the feature-package builder. ## 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#210
No description provided.