mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1909] [MERGED] fix(long-term-memory): relate short and full names of LTM's own characters (1.5.13) #2024
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#2024
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1909
Author: @Promansis
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/local-character-name-relation📝 Commits (7)
08991cafix(long-term-memory): relate short and full names of LTM's own characters (#1905)53f8951Merge upstream/staging into fix(long-term-memory)/local-character-name-relation; release long-term-memory 1.5.12208c5f7Merge upstream/staging into fix(long-term-memory)/local-character-name-relation; release long-term-memory 1.5.12810e998fix(long-term-memory): type the source scope on mutable catalog identities (#1905)ad84157Merge upstream/staging into fix(long-term-memory)/local-character-name-relation; release long-term-memory 1.5.13dbd0b42fix(long-term-memory): relate local names on whole name parts, not camel-case splits (#1905)45823e6Merge branch 'staging' into fix(long-term-memory)/local-character-name-relation📊 Changes
17 files changed (+331 additions, -100 deletions)
View changed files
➕
artifacts/long-term-memory-1.5.13.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/server.mjs(+44 -44)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/identity/subject-catalog.ts(+16 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/identity/subject-identity.ts(+37 -5)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/identity/subject-matching.ts(+27 -4)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/identity/subject-names.ts(+14 -3)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-extraction-graph.regression.ts(+122 -0)📝
tests/long-term-memory-local-characters.regression.ts(+27 -3)📄 Description
Pull request
Linked issue
Closes #1905
Why this change
When a chat calls one of Long-Term Memory's own characters by part of their name ("Preston" for "Preston Farraday", or the reverse), extraction started a second note instead of joining the existing one. The two names are now related on whole name parts (Hangul given-name suffix included), so the memory joins the saved character's note.
What changed
subject-names.ts:nameTokensRelatedrelates names in both directions on whole name parts.subject-matching.ts:matchTrustedNameRelationfalls back to LTM's own characters in the same chat family and skips source-name entries. One match giveslocal_name_relation; several go to review.subject-identity.ts: a local binding is made only after the batch's longer names exist; two unrelated names that fit one saved character both go to review.subject-catalog.ts: a source name does not create its own identity when a saved local note in the same chat relates to it.long-term-memory1.5.12 (rebuiltmanifest.json,server.mjs, artifact zip and catalog entries).Known limits: the relation persists no alias (that would feed
set_titleand rename notes), and two partial names with no recorded alias are not merged across pieces.Package and security impact
long-term-memoryValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Documentation impact
UI evidence (if applicable)
None; no UI change.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.