mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #964] [Issue]: LTM actionable retryability and deterministic batch caching #507
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#507
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 20, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/964
Originally assigned to: @Promansis on GitHub.
Summary
Long-Term Memory batch imports flatten extraction and finalization failures into generic retryable results, so permanent failures can be offered for retry without preserving their actionable service codes. Deterministic Game Mode batch preparation also scans the full vault once per source item instead of reusing a batch-scoped note snapshot.
Affected package
long-term-memoryExpected behavior
Actual behavior
processLongTermMemorySourceBatch()routes preparation and finalization errors throughfailed(), which emits onlyextract_failedorfinalize_failedand sets every such result toretryable: true.listNotes()for each item. A deterministic batch therefore repeats a full vault directory scan for every source.Steps to reproduce
extract_failedwithretryable: trueinstead of preserving an actionable permanent classification.LongTermMemoryStorage.listNotes()calls. Observe one full-vault scan per prepared item.Environment
Logs, screenshots, or video
No private source data, live-provider calls, screenshots, builds, or test executions were used. The report is based on source inspection at
d64911d7a7c709939ab2838bc130f04a56afc197.Additional context
Scope is limited to phase seven's actionable retryability contract and deterministic batch read reuse. Preserve source-write conflict handling added before this issue, source order, batch concurrency bounds, abort behavior, incomplete-result retryability, finalization serialization, scope isolation, and accounting.
Focused proof should cover permanent versus transient extraction failures, cancellation and incomplete siblings, source-write conflict compatibility, one snapshot read for a multi-item deterministic batch, filtered target reuse, and unchanged single-source/LLM paths. Generated bundles, artifacts, manifests, and catalogs must be changed only through the package builder during a later authorized implementation phase.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: