mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
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#1541
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/1548
Author: @Promansis
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/prefix-word-name-id📝 Commits (5)
eedeed5fix(long-term-memory): save facts for names starting with Char or Rel to the chosen memory (#1543)e14c898Merge upstream/staging into fix(long-term-memory)/prefix-word-name-id; release long-term-memory 1.4.77fc6ba10docs(long-term-memory): write the 1.4.77 release note as plain textb3a72b8fix(long-term-memory): find a summary's character section for an id that repeats its prefixa3faa8cchore(long-term-memory): rebuild 1.4.77 with the summary section fix📊 Changes
15 files changed (+314 additions, -91 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.77.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(+40 -40)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/evidence-unit-validation.ts(+9 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/structured-summary-normalizer.ts(+15 -8)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/identity/subject-identity.ts(+6 -3)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-extraction-graph.regression.ts(+200 -0)📄 Description
Pull request
Linked issue
Closes #1543
Why this change
char_char_aznablebut saved the facts underchar_aznable. Events about the character then pointed at a memory that did not exist and were dropped as "linked to a memory this extraction could not find", and where a memory with the full id already existed, extraction proposed a second memory for the same character.What changed
long-term-memory: a new helperunprefixedSubjectId(besideprefixed()inextraction/evidence-unit-validation.ts) removes a note prefix only when the result maps back to the same note. Identity'ssubjectIdForTargetand the structured-summary normalizer's character and relationship branches that handle identity's output use it; the relationship branch still matches summary hints with the id stripped once, so a summary's relationship dimensions are kept. Matching keys, model-chosen ids and other buckets are unchanged.tests/long-term-memory-extraction-graph.regression.ts.character_id: char_char_aznableis keyedchar_aznable. Without this, keeping the whole id made that lookup miss and the fact fell back to text classification (for examplefactsinstead of a declaredcore). The regression covers it.long-term-memory1.4.77 on staging79d45f80e, with the CHANGELOG entry, version, manifest, rebuiltserver.mjs, artifact and catalog entries.Package and security impact
long-term-memoryValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
staging(new memorieschar_aznableandrel_varga_sayla_mass) and passes with the fix: an empty vault getschar_char_aznableandrel_rel_varga_sayla_mass, nothing is dropped, and the event links tochar_char_aznable; with those memories already present, a structured summary updates them instead of creating copies, and the summary's relationship dimensions (trust: 80) reach the relationship update. Reverting any changed call site fails the case.char_char_maralinked to Mara (for example from an import) used to get a second memorychar_maraand now has the facts added tochar_char_mara. That is an improvement, but it changes what extraction does on existing vaults. A vault that already holdschar_aznablebound to the character keeps updating it. A shorter-id memory that was never linked to the character, and isn't titled with the full name, no longer receives that character's facts; merge it in the app if it was the same person. A vault with both memories bound to the character is held as ambiguous before and after, and needs a merge in the app.93dc35a3d): typecheck,npm run check,test-fast.sh,test-ci.sh, the missing-tsc regression, every Long-Term Memory regression suite (browser on the rebuilt client) and the catalog checks pass. On the release head: the package rebuild leaves the tree clean, the catalog, locale and release-notes checks and the typecheck pass, and the extraction-graph suite passes. The release note was then rewritten as plain text (no backticks; the Engine shows notes verbatim); that commit changes only the note and its three generatednotes.jsoncopies, and the quick checks, including the release-notes check, pass on it. After review, the character section lookup was fixed (the new summary case lands infactswithout it andcorewith it) and 1.4.77 rebuilt; typecheck, the extraction-graph suite and the quick land checks pass on that head. Hosted CI runs the full suite list on this head.Documentation impact
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.