[GH-ISSUE #719] [Feature]: Clear rejected LTM suggestions and show precise diagnostics #367

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

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

Originally assigned to: @Promansis on GitHub.

What problem does this solve?

Long-Term Memory users can delete rejected suggestions one at a time, but cannot clear the rejected suggestions for one source in a single deliberate action. Rejection messages are also often too broad to explain what needs correcting.

Proposed package or change

Improve the existing Long-Term Memory package with source-scoped rejected-suggestion clearing and more precise diagnostics in the Review Queue.

Approved decisions:

  • Clear only rejected suggestions belonging to the source currently being viewed.
  • Require confirmation that names the source and item count, then report the actual deleted count.
  • Persist an optional exact validation code, show the server's exact rejection message when available, and retain a general fallback for older records.
  • Rename recovery metadata to Suggested destination rather than presenting it as the failed rule.
  • Show a correction based on the exact failure, with parser details in an expandable section when relevant.

The operation must be atomic, idempotent, count-reporting, and failure-safe. It must preserve rejected suggestions from other sources and remain compatible with existing ledgers and backups.

Why should this be optional?

This changes the user interface and storage behavior of the downloadable Long-Term Memory package, not the lightweight Engine core. Long-Term Memory owns the rejected-suggestion ledger, API routes, Review Queue, and localization.

Alternatives considered

  • Deleting all Long-Term Memory data is too broad because it also removes memories and drafts.
  • Calling the existing per-item delete repeatedly would repeatedly read and rewrite the ledger.
  • Keeping broad reason labels as the primary explanation would continue hiding the exact validation failure.

Additional context

Implementation plan: scratch/ltm-rejected-suggestions-clear-and-diagnostics-plan.md

Regression proof will cover extraction, storage, routes, backup compatibility, and the existing Review Queue browser fixture, including cancel and failure paths.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Sep 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/719 Originally assigned to: @Promansis on GitHub. ## What problem does this solve? Long-Term Memory users can delete rejected suggestions one at a time, but cannot clear the rejected suggestions for one source in a single deliberate action. Rejection messages are also often too broad to explain what needs correcting. ## Proposed package or change Improve the existing Long-Term Memory package with source-scoped rejected-suggestion clearing and more precise diagnostics in the Review Queue. Approved decisions: - Clear only rejected suggestions belonging to the source currently being viewed. - Require confirmation that names the source and item count, then report the actual deleted count. - Persist an optional exact validation code, show the server's exact rejection message when available, and retain a general fallback for older records. - Rename recovery metadata to `Suggested destination` rather than presenting it as the failed rule. - Show a correction based on the exact failure, with parser details in an expandable section when relevant. The operation must be atomic, idempotent, count-reporting, and failure-safe. It must preserve rejected suggestions from other sources and remain compatible with existing ledgers and backups. ## Why should this be optional? This changes the user interface and storage behavior of the downloadable Long-Term Memory package, not the lightweight Engine core. Long-Term Memory owns the rejected-suggestion ledger, API routes, Review Queue, and localization. ## Alternatives considered - Deleting all Long-Term Memory data is too broad because it also removes memories and drafts. - Calling the existing per-item delete repeatedly would repeatedly read and rewrite the ledger. - Keeping broad reason labels as the primary explanation would continue hiding the exact validation failure. ## Additional context Implementation plan: `scratch/ltm-rejected-suggestions-clear-and-diagnostics-plan.md` Regression proof will cover extraction, storage, routes, backup compatibility, and the existing Review Queue browser fixture, including cancel and failure paths. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:26:55 +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#367
No description provided.