[GH-ISSUE #707] [Feature]: Scoped Roleplay local characters in Long-Term Memory #362

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

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

Originally assigned to: @Promansis on GitHub.

What problem does this solve?

Long-Term Memory currently turns source-visible Roleplay names that are not Engine characters into unscoped npc: identities. This can merge same-name people across conversations, prevents safe Memory Vault selection, and risks confusing Game Mode's dynamic NPC metadata with durable Roleplay identities.

Proposed package or change

Extend the Long-Term Memory feature package with conversation-family-scoped local_character subjects. Resolve source-visible proper names from scoped Roleplay evidence, keep generic, ambiguous, and unseen names rejected, make first-time local mutations reviewable, expose scoped local targets separately from Engine characters/personas, and support them in the Memory Vault picker. Explicitly exclude chat.metadata.gameNpcs.

Why should this be optional?

This is behavior within the optional Long-Term Memory package and does not require a new Engine capability or permission.

Alternatives considered

Using Engine character resources or globally scoped npc:<slug> identities would either violate the package boundary or merge unrelated same-name Roleplay identities.

Additional context

Implementation map: scratch/ltm-roleplay-local-characters-implementation-plan.md. Preserve one-subject character and two-distinct-subject relationship cardinality rules.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Sep 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/707 Originally assigned to: @Promansis on GitHub. ## What problem does this solve? Long-Term Memory currently turns source-visible Roleplay names that are not Engine characters into unscoped `npc:` identities. This can merge same-name people across conversations, prevents safe Memory Vault selection, and risks confusing Game Mode's dynamic NPC metadata with durable Roleplay identities. ## Proposed package or change Extend the Long-Term Memory feature package with conversation-family-scoped `local_character` subjects. Resolve source-visible proper names from scoped Roleplay evidence, keep generic, ambiguous, and unseen names rejected, make first-time local mutations reviewable, expose scoped local targets separately from Engine characters/personas, and support them in the Memory Vault picker. Explicitly exclude `chat.metadata.gameNpcs`. ## Why should this be optional? This is behavior within the optional Long-Term Memory package and does not require a new Engine capability or permission. ## Alternatives considered Using Engine character resources or globally scoped `npc:<slug>` identities would either violate the package boundary or merge unrelated same-name Roleplay identities. ## Additional context Implementation map: `scratch/ltm-roleplay-local-characters-implementation-plan.md`. Preserve one-subject character and two-distinct-subject relationship cardinality rules. ## 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#362
No description provided.