[GH-ISSUE #623] [Feature]: separate Long-Term Memory source and destination scopes #323

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

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

Originally assigned to: @Promansis on GitHub.

What problem does this solve?

Sources currently has one overloaded scope concept. It cannot clearly find source material in one chat while making extracted memories available in another scope, and the UI does not make the resulting availability explicit.

Proposed package or change

Extend the Long-Term Memory Sources workflow with separate source filtering and memory destination scopes. Keep the current chat as the default source and destination when opened from a chat, provide an explicitly enabled destination picker, and support chat-only, all-branches, character, and persona destinations with their approved availability semantics. Separate sourceScope from destinationScope across preview, import validation, extraction, drafts, retries, fingerprints, and existing-note handling. Preserve source availability on new cross-scope imports and leave existing sources unchanged when a different destination is requested. Add route and browser regression coverage, then rebuild the Long-Term Memory feature package.

Why should this be optional?

Long-Term Memory is an optional downloadable capability package with package-owned storage, extraction, review, and recall behavior. Cross-scope memory availability belongs to that package rather than the lightweight Engine core.

Alternatives considered

Keeping one overloaded scope field would conflate source discovery with memory availability and risks moving or broadening existing notes. Silently copying or duplicating sources would obscure provenance and violate the approved workflow decisions.

Additional context

Implementation plan: scratch/long-term-memory-source-destination-scope-plan.md, Phase 2 and Agreed Phase 2 Decisions.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Aug 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/623 Originally assigned to: @Promansis on GitHub. ## What problem does this solve? Sources currently has one overloaded scope concept. It cannot clearly find source material in one chat while making extracted memories available in another scope, and the UI does not make the resulting availability explicit. ## Proposed package or change Extend the Long-Term Memory Sources workflow with separate source filtering and memory destination scopes. Keep the current chat as the default source and destination when opened from a chat, provide an explicitly enabled destination picker, and support chat-only, all-branches, character, and persona destinations with their approved availability semantics. Separate `sourceScope` from `destinationScope` across preview, import validation, extraction, drafts, retries, fingerprints, and existing-note handling. Preserve source availability on new cross-scope imports and leave existing sources unchanged when a different destination is requested. Add route and browser regression coverage, then rebuild the Long-Term Memory feature package. ## Why should this be optional? Long-Term Memory is an optional downloadable capability package with package-owned storage, extraction, review, and recall behavior. Cross-scope memory availability belongs to that package rather than the lightweight Engine core. ## Alternatives considered Keeping one overloaded scope field would conflate source discovery with memory availability and risks moving or broadening existing notes. Silently copying or duplicating sources would obscure provenance and violate the approved workflow decisions. ## Additional context Implementation plan: `scratch/long-term-memory-source-destination-scope-plan.md`, Phase 2 and Agreed Phase 2 Decisions. ## Template check - [ ] 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#323
No description provided.