mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1035] [Issue]: Prevent imported LTM sources from forking character identities #529
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#529
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 (Sep 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1035
Originally assigned to: @Promansis on GitHub.
Summary
Long-Term Memory 1.3.11 still forks equivalent character name variants when imported source notes pre-populate the trusted subject catalog. The same production catalog path can also reject the full name with
Dropped a candidate whose subject matches more than one trusted roster identity.Affected package
long-term-memoryExpected behavior
Source-visible short, first-name, and full-name variants for one character should resolve to one trusted subject and one memory target. A source-derived local identity that duplicates a roster identity should not compete with it. Genuinely distinct characters sharing a name must continue to fail closed.
Actual behavior
buildTrustedLtmSubjectCatalogcreates local-character entries for each proper-name surface found in imported source notes before subject-name canonicalization runs. With a roster character namedAshleigh Kestrel, a source containingAsh,Ashleigh, andAshleigh Kestrelcreates local identities for those forms. The short forms target separate memories, while the full name collides with the roster identity and is dropped as ambiguous.Without a matching roster character, all three forms remain separate local subjects and memory targets.
Steps to reproduce
Ashleigh Kestreland a Roleplay source note containingAsh,Ashleigh, andAshleigh Kestrel.character_factcandidates whosesubjectNamesuse those respective source-visible forms.AshandAshleigh, plus anambiguous_subject_identityrejection forAshleigh Kestrelcompeting with the roster and source-derived identities.Environment
Logs, screenshots, or video
Synthetic reproduction on current
upstream/staging(48c3b3cb) produced the exact reported diagnostic. No private chat data is included.Additional context
Follow-up to #1026 and merged PR #1032. The existing
long-term-memory-local-characters.regression.tsname-variant cases use hand-built catalogs and pass; coverage must exercise production catalog construction with imported source notes.The fix should preserve fail-closed handling for genuinely ambiguous identities. Existing persisted duplicate memories require separate safe reconciliation and are outside this issue unless explicitly scoped in.
Template check