mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #809] [Feature]: Deterministic recovery for eligible rejected LTM suggestions #417
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#417
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?
Originally created by @Promansis on GitHub (Sep 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/809
What problem does this solve?
Some rejected Long-Term Memory suggestions contain enough trustworthy information to be repaired deterministically, but the current ledger stores only a bounded display preview and diagnostics. Users must manually recreate suggestions even when a safe correction is provable.
Proposed package or change
Add per-suggestion deterministic recovery for Long-Term Memory. A successful recovery creates one ordinary pending Review Queue draft and never writes directly to the Memory Vault. Recovery must use complete preserved candidate content and evidence, rerun relevant validators and draft preflight, preserve existing pending review work, and remove the rejected ledger entry only after the linked draft is durable. Recovery is idempotent and retains manual recovery for all uncertain cases.
Approved product decisions:
Why should this be optional?
This is package-owned Long-Term Memory server, shared schema, and Review Queue behavior, not lightweight Engine core behavior.
Alternatives considered
Additional context
Related diagnostics work: #719 / PR #722, merged as
fc5efce8. Related rejected-suggestion persistence work: #140 / PR #141, merged as5175d21d.Required prerequisite evidence: identify remaining diagnostics work, trace one genuine rejection through original validators and prove one exact correction, and preserve a bounded complete recovery payload including original evidence, source hash, extraction context, and available candidate metadata. Legacy preview-only records remain manual-only.
Template check
@Promansis commented on GitHub (Sep 13, 2026):
What problem does this solve?
Some rejected Long-Term Memory suggestions contain enough trustworthy information to be repaired deterministically, but the current ledger stores only a bounded display preview and diagnostics. Users must manually recreate suggestions even when a safe correction is provable.
Proposed package or change
Add per-suggestion deterministic recovery for Long-Term Memory. A successful recovery creates one ordinary pending Review Queue draft and never writes directly to the Memory Vault. Recovery must use complete preserved candidate content and evidence, rerun relevant validators and draft preflight, preserve existing pending review work, and remove the rejected ledger entry only after the linked draft is durable. Recovery is idempotent and retains manual recovery for all uncertain cases.
Approved product decisions:
Why should this be optional?
This is package-owned Long-Term Memory server, shared schema, and Review Queue behavior, not lightweight Engine core behavior.
Alternatives considered
Additional context
Related diagnostics work: #719 / PR #722, merged as
fc5efce8. Related rejected-suggestion persistence work: #140 / PR #141, merged as5175d21d.Required prerequisite evidence: identify remaining diagnostics work, trace one genuine rejection through original validators and prove one exact correction, and preserve a bounded complete recovery payload including original evidence, source hash, extraction context, and available candidate metadata. Legacy preview-only records remain manual-only.
Template check