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#1938
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/1552
Author: @Promansis
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/summary-prefix-word-name📝 Commits (4)
adb4e2efix(long-term-memory): read a summary name starting with Char or Rel as a name (#1550)6ae6388Merge upstream/staging into fix(long-term-memory)/summary-prefix-word-name; release long-term-memory 1.4.790c49100fix(long-term-memory): give a characters-field pair the leading pair's id and name it in its cause event08bceb2chore(long-term-memory): rebuild 1.4.79 with the characters-field and cause event fix📊 Changes
13 files changed (+272 additions, -94 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.79.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/structured-summary-normalizer.ts(+64 -13)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-extraction-graph.regression.ts(+124 -1)📄 Description
Pull request
Linked issue
Closes #1550
Why this change
char_orrel_. A character whose name starts with "Char" (such as "Char Aznable") or a pair whose first name starts with "Rel" lost that word whenever the summary wrote the name: as a leading name or pair (- Char Aznable | …,- Rel Varga, Sayla Mass | …), in acharacter:,subject:orrelationship:field (character: Char Aznable), or as the key (- Char Aznable: …). The summary's section for the character (such as Profile) no longer reached their memory. Those lines were dropped as "not in the trusted chat roster or bound memories", so a fact only the summary held was lost. A relationship only the summary mentioned got no memory.subject: char_aznable), is still read as an id and dropped: telling it apart from Mara'schar_maraneeds the chat's character list, which the parser does not get. This PR does not change that case.What changed
long-term-memory: the structured-summary parser reads a value with a space in it as a name, unless its first word has an underscore (an id followed by a name, such aschar_mara (Mara)), and gives it the subject id identity gives that name's memory ("Char Aznable" →char_char_aznable, "Mara Lee" →mara_lee). Any other value is still read as an id and stripped once. This applies to the character section hint (also kept under the old key, so a memory saved under the shorter id still takes it), to the character line's subject, and to the relationship line's leading pair and id fields (the second strip goes). The event the parser writes for a relationship line's cause drops the prefix once in its text, so it does not read "rel and rel and …".characters:field (characters: Rel Varga, Sayla Mass) now gets the same subject as the leading pair (rel_rel_varga_sayla_mass); it wasvarga_sayla_mass. The event made for a relationship's cause names the pair as the line writes it ("Rel Varga and Sayla Mass relationship changed after the hangar fire."), instead of splitting the id into words ("rel and varga and sayla and mass …"); a pair written as an id keeps the text made from the id. The regression covers both.tests/long-term-memory-extraction-graph.regression.ts. Rebuiltpackages/long-term-memorybundles, artifact and catalog entry.Package and security impact
long-term-memoryValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
staging(no relationship memory for "Rel Varga, Sayla Mass") and passes with the fix. A structured summary withcharacter: Char Aznable/section: profile, acharacter: Marasection and three relationship lines createschar_char_aznable,char_maraandrel_rel_varga_sayla_mass. Both character memories hold only Profile, thecharacter:field line reaches Char Aznable's memory, two Mara lines written aschar_mara (Mara)reach Mara's memory, nothing is dropped, and the cause event reads "Rel Varga and Sayla Mass relationship changed after the hangar fire." Acharacters: Rel Varga, Sayla Massline, normalized on its own, gets the subjectrel_rel_varga_sayla_massReverting any changed line fails the step.char_mara,char_mara (Mara)) give the same subjects as before, with one exception: a relationship id written with the prefix twice (rel_rel_ana_bo) is now stripped once. That relationship still reachesrel_ana_bo, but the event made for its cause is nowtimeline_rel_ana_bo_…instead oftimeline_ana_bo_…. An id written with a space (char mara) now reads as a name. A character with no roster entry whose name starts with "Char" no longer gets a second memory from a summary line; the line joins the model's memory for him. A vault where Char Aznable's memory was saved aschar_aznable(bound) still takes the section hint, and new summary lines for him are now added to it instead of being dropped. A vault with two memories bound to him is held as ambiguous before and after. The event made for a relationship's cause now uses the names as the line writes them for any pair written as names ("Ana and Bo relationship changed after …" instead of "ana and bo …"); its id and links are unchanged.Documentation impact
UI evidence (if applicable)
Not applicable: server-side extraction only.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.