mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1041] [Issue]: LTM subject resolution must preserve explicit identity and fail closed #532
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#532
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 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1041
Originally assigned to: @Promansis on GitHub.
Summary
Long-term memory subject resolution can assign the wrong identity or reject recoverable candidates. Make explicit keys authoritative, prefer exact trusted names over conflicting aliases, resolve only unique aliases automatically, and keep ambiguous or fuzzy matches from silently selecting an identity.
Affected package
long-term-memory(server-side subject identity resolution)Expected behavior
subjectKeysare authoritative; invalid explicit keys fail closed without falling back to names.subjectIddoes not discard a candidate when validsubjectNamesresolve it.Actual behavior
Identity resolution may choose an alias over an exact name, auto-assign fuzzy or inferred name matches, reject names due to ASCII-only or case/punctuation eligibility rules, or discard candidates because an incidental ID is malformed. Ambiguous aliases lack a reusable scoped choice.
Steps to reproduce
MariaandMarie.subjectNamesplus a malformed incidentalsubjectId.Environment
Logs, screenshots, or video
Use synthetic regression fixtures only; no private chat, vault, or user data.
Additional context
staging.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: