mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1211] [Feature]: Complete Long-Term Memory recall explanations (scope, index snapshot, semantic outcome) #619
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#619
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 (Oct 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1211
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
Even after the Debug page cleanup, recall explanations cannot answer why an expected memory never became a candidate.
Findings from a read-only pass at
324446533:retrieval.ts:104-123). Exclusions from this stage never appear in the rejection list.recall_explanationevent (generation-injection.ts:127) does not record effectiveincludeResolved, mode, exclusive character targeting, context-message count, indexed/eligible chunk counts, or a recall-time index snapshot.embeddingsAvailablecannot distinguish disabled / unavailable / incompatible index / no positive matches / contributed.rejectedis capped at 20 andcounts.rejectedis the same capped number, so truncation cannot be detected from the UI.Proposed package or change
Extend the existing
recall_explanationevent (schema, producer, and UI):includeResolved, exclusive character targeting, and context-message count.disabled,unavailable,incompatible,no_matches,contributed.Do not record query text, source text, or out-of-scope content.
Why should this be optional?
This is package-owned diagnostics for a downloadable Agent package (
long-term-memory). It ships with the package and should not become Engine core behavior.Alternatives considered
A separate retrieval-trace store was rejected; extending the existing bounded
recall_explanationevent keeps the current storage caps and privacy boundaries.Additional context
Owner files:
generation-injection.ts,retrieval.ts,schema.ts,ActivityView.tsx. Existing coverage:tests/long-term-memory-runtime.regression.ts(recall explanation and retrieval receipts). Evidence from a read-only investigation at324446533; no code changed yet. This is independent of the confirmed-injection correlation issue, but should land alongside the UI cleanup.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: