[GH-ISSUE #418] [Feature]: Long-Term Memory recall and health observability #212

Closed
opened 2026-10-20 17:25:26 +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/418

Originally assigned to: @Promansis on GitHub.


name: Feature request
about: Suggest a new Agent package or an improvement to an existing package
title: "[Feature]: Long-Term Memory recall and health observability"
labels: "enhancement"
assignees: ""

What problem does this solve?

Long-Term Memory recall and vault health surfaces are currently too opaque. Users cannot tell which recalled memory a summary came from, whether a negative or zero-recall outcome happened and why, whether a saved memory is currently unsearchable because embeddings are unavailable or an index rebuild failed, and the memory count shown in navigation mixes saved memories with source-note records.

Proposed package or change

Batch C of scratch/long-term-memory-feedback-validity-plan.md. Package server/client/shared changes, all inside packages/long-term-memory/src/engine/:

  1. Keep explicit negative/zero recall state and add timestamp/reason data where the current recall receipt already supports it.
  2. Show source/evidence attribution for recalled items in the existing recall detail and activity surfaces, without inventing exact line attribution if the chunk schema lacks it.
  3. Surface embedding-unavailable and failed-index-rebuild states as actionable health states with a direct Reindex/repair action and honest index-level scope (no fabricated per-note attribution).
  4. Replace notes.total memory wording with separate source-note vs saved-memory counts in the status contract and the navigation memory badge; keep source notes visible in Sources/workbench surfaces.

Files likely touched: generation-injection.ts, receipt/status schema and routes only if current response data cannot carry attribution, LastInjectionSummary.tsx, ActivityView.tsx, LongTermMemoryDetail.tsx, MemorySettings.tsx, locales/en.json, plus focused runtime/route/UI regression coverage.

Why should this be optional?

This is an observability improvement to an existing downloadable package, not a new Engine core capability. It changes only Long-Term Memory package-owned UI, server routes, and status/schema contracts.

Alternatives considered

  • A dedicated fifth "recall history" destination or a new in-world chronology schema (deferred in the plan; not part of this batch).
  • Per-note embedding attribution when the status contract cannot identify affected notes (rejected as fabrication; show index-level scope honestly instead).

Additional context

Part of the Long-Term Memory feedback-validity plan. Batches A and B (review reliability, server-authoritative preflight) precede this. Batch D (imported-mode policy) remains blocked on a product decision; Batch E (dedup comparison ceiling) is independent.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • 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/418 Originally assigned to: @Promansis on GitHub. --- name: Feature request about: Suggest a new Agent package or an improvement to an existing package title: "[Feature]: Long-Term Memory recall and health observability" labels: "enhancement" assignees: "" --- ## What problem does this solve? Long-Term Memory recall and vault health surfaces are currently too opaque. Users cannot tell which recalled memory a summary came from, whether a negative or zero-recall outcome happened and why, whether a saved memory is currently unsearchable because embeddings are unavailable or an index rebuild failed, and the memory count shown in navigation mixes saved memories with source-note records. ## Proposed package or change Batch C of `scratch/long-term-memory-feedback-validity-plan.md`. Package server/client/shared changes, all inside `packages/long-term-memory/src/engine/`: 1. Keep explicit negative/zero recall state and add timestamp/reason data where the current recall receipt already supports it. 2. Show source/evidence attribution for recalled items in the existing recall detail and activity surfaces, without inventing exact line attribution if the chunk schema lacks it. 3. Surface embedding-unavailable and failed-index-rebuild states as actionable health states with a direct Reindex/repair action and honest index-level scope (no fabricated per-note attribution). 4. Replace `notes.total` memory wording with separate source-note vs saved-memory counts in the status contract and the navigation memory badge; keep source notes visible in Sources/workbench surfaces. Files likely touched: `generation-injection.ts`, receipt/status schema and routes only if current response data cannot carry attribution, `LastInjectionSummary.tsx`, `ActivityView.tsx`, `LongTermMemoryDetail.tsx`, `MemorySettings.tsx`, `locales/en.json`, plus focused runtime/route/UI regression coverage. ## Why should this be optional? This is an observability improvement to an existing downloadable package, not a new Engine core capability. It changes only Long-Term Memory package-owned UI, server routes, and status/schema contracts. ## Alternatives considered - A dedicated fifth "recall history" destination or a new in-world chronology schema (deferred in the plan; not part of this batch). - Per-note embedding attribution when the status contract cannot identify affected notes (rejected as fabrication; show index-level scope honestly instead). ## Additional context Part of the Long-Term Memory feedback-validity plan. Batches A and B (review reliability, server-authoritative preflight) precede this. Batch D (imported-mode policy) remains blocked on a product decision; Batch E (dedup comparison ceiling) is independent. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] 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#212
No description provided.