[GH-ISSUE #663] [Feature]: Rework Long-Term Memory Sources as an operate workstation #341

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

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

Originally assigned to: @Promansis on GitHub.

What problem does this solve?

Long-Term Memory Sources currently exposes source discovery, preview, importing, extraction, and source management through inconsistent flows. Users need a consistent operate-mode workstation that gives source finding and imported-source maintenance equal weight without losing existing scope, destination, lorebook, recovery, or management behavior.

Proposed package or change

Refactor the Long-Term Memory Sources destination into the approved three-pane workstation described in scratch/long-term-memory-sources-workstation-implementation-plan.md:

  • Add bounded server-side search totals/truncation and on-demand full source details while preserving scope, mode, destination, and import validation.
  • Add one package-level cancellable Import/Refresh/Re-extract task owner with safe current-session results, retry contracts, stale-running recovery, navigation status, and re-extract disconnect cancellation.
  • Move all source types to the shared LtmWorkspace with navigator search/filter/grouping/selection, full lazy previews, lorebook accordions, bulk queues, progress/results, inspector import setup, temporary location editing, source management, and latest-task navigation.
  • Preserve all existing source tabs, handoffs, freshness states, import diagnostics, destination merging, linked-memory operations, accessibility behavior, and Refresh versus Re-extract semantics.
  • Correct compact responsive pane behavior, mobile action placement, focus/live-region behavior, and touch-target/accessibility requirements.
  • Add focused route, lifecycle, UI, schema, and storage regressions; rebuild the Long-Term Memory package outputs after source tests pass.

This supports Conversation, Roleplay, and Game through the existing Long-Term Memory package entrypoints and permissions.

Why should this be optional?

Long-Term Memory is already an optional downloadable capability package. This is an improvement to its package-owned UI and runtime behavior, not a request to move the feature into Marinara Engine core.

Alternatives considered

  • Keep the current Sources-specific layout and add isolated controls. Rejected because it would preserve inconsistent pane responsibilities and duplicate workstation behavior.
  • Add a generic background-job framework or durable task history. Rejected because the approved design requires a small package-level coordinator and keeps detailed durable history in Debug.
  • Add pagination for search results. Rejected for this change; search returns at most 100 matches with full counts and a clear truncation message.

Additional context

The complete implementation and regression/visual proof matrix is recorded in scratch/long-term-memory-sources-workstation-implementation-plan.md. Generated bundles, artifacts, catalogs, hashes, checksums, and sizes must be rebuilt rather than hand-edited.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Aug 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/663 Originally assigned to: @Promansis on GitHub. ## What problem does this solve? Long-Term Memory Sources currently exposes source discovery, preview, importing, extraction, and source management through inconsistent flows. Users need a consistent operate-mode workstation that gives source finding and imported-source maintenance equal weight without losing existing scope, destination, lorebook, recovery, or management behavior. ## Proposed package or change Refactor the Long-Term Memory Sources destination into the approved three-pane workstation described in `scratch/long-term-memory-sources-workstation-implementation-plan.md`: - Add bounded server-side search totals/truncation and on-demand full source details while preserving scope, mode, destination, and import validation. - Add one package-level cancellable Import/Refresh/Re-extract task owner with safe current-session results, retry contracts, stale-running recovery, navigation status, and re-extract disconnect cancellation. - Move all source types to the shared `LtmWorkspace` with navigator search/filter/grouping/selection, full lazy previews, lorebook accordions, bulk queues, progress/results, inspector import setup, temporary location editing, source management, and latest-task navigation. - Preserve all existing source tabs, handoffs, freshness states, import diagnostics, destination merging, linked-memory operations, accessibility behavior, and Refresh versus Re-extract semantics. - Correct compact responsive pane behavior, mobile action placement, focus/live-region behavior, and touch-target/accessibility requirements. - Add focused route, lifecycle, UI, schema, and storage regressions; rebuild the Long-Term Memory package outputs after source tests pass. This supports Conversation, Roleplay, and Game through the existing Long-Term Memory package entrypoints and permissions. ## Why should this be optional? Long-Term Memory is already an optional downloadable capability package. This is an improvement to its package-owned UI and runtime behavior, not a request to move the feature into Marinara Engine core. ## Alternatives considered - Keep the current Sources-specific layout and add isolated controls. Rejected because it would preserve inconsistent pane responsibilities and duplicate workstation behavior. - Add a generic background-job framework or durable task history. Rejected because the approved design requires a small package-level coordinator and keeps detailed durable history in Debug. - Add pagination for search results. Rejected for this change; search returns at most 100 matches with full counts and a clear truncation message. ## Additional context The complete implementation and regression/visual proof matrix is recorded in `scratch/long-term-memory-sources-workstation-implementation-plan.md`. Generated bundles, artifacts, catalogs, hashes, checksums, and sizes must be rebuilt rather than hand-edited. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:26:40 +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#341
No description provided.