mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1225] [Issue]: Long-Term Memory: short names for known characters create duplicate local character identities #625
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#625
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 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1225
Originally assigned to: @Promansis on GitHub.
Summary
During extraction, a short form of a known character's or persona's name (for example "Alex" for a character
named "Alex Rivera") does not resolve to that existing subject. Instead it becomes a new
local_character:subject.This creates duplicate character memories and splits relationship memories across two identities.
Affected package
long-term-memory
Expected behavior
a trusted subject key, or a choice the user has already saved.
Two characters named "Alex" must never be merged without the user's confirmation.
Actual behavior
bound to
character:andpersona:subjects, and no explicit aliases), extracted units naming "Alex" and "Sam"resolve to new
local_character:<family>:alexandlocal_character:<family>:samsubjects.existing
character:andpersona:subjects.Steps to reproduce
character:<cardId>) anda persona named "Sam Carter" (
persona:<personaId>), with no aliases set.local_character:, not the existing subjects.Environment
ef64aeb7bLogs, screenshots, or video
The resolver emits:
Additional context
Where the behavior comes from (at
ef64aeb7b):subject-identity.ts:1403-1455: names with no exact or alias match become provisional local subjects.subject-identity.ts:1724-1731:matchTrustedNameRelationcompares only the full name and explicit aliases,so "Alex" does not relate to "Alex Rivera".
Investigate reusing the existing ambiguity and recovery machinery (
ambiguous_subject_identitydiagnostics,recovery candidates, persisted subject choices) before adding anything new. The local-characters regression
already covers ambiguous aliases and saved choices.
Not in scope:
Regression proof (each case must fail before the fix):
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: