mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1528] [MERGED] fix(long-term-memory): keep the source note's own id as a link target (1.4.68) #1531
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#1531
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/1528
Author: @Promansis
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/bare-source-note-link📝 Commits (2)
b738695fix(long-term-memory): keep the source note's own id as a link target (#1524)196c449Merge upstream/staging into fix(long-term-memory)/bare-source-note-link; release long-term-memory 1.4.68📊 Changes
14 files changed (+103 additions, -45 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.68.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(+2 -2)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/evidence-unit-extraction.ts(+6 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/structured-summary-normalizer.ts(+4 -3)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-extraction-graph.regression.ts(+47 -0)📄 Description
Pull request
Linked issue
Closes #1524
Why this change
timeline_source_…), and validation dropped the memory as "linked to a memory this extraction could not find". On a source whose text has section headings, the structured-summary normalizer did the same even to the written-outsource_note:<id>form. With the shorter wording the extraction request has sent since 1.4.65 (#1517), this cost one memory in 4 of 7 live runs; all the dropped memories were static facts, threads or anchors.What changed
long-term-memory: raw parsing keeps the source note's own id as a link target (the id from the request's trustedsource_note:evidence), and the structured-summary normalizer leaves that exact id unchanged. Any othersource_…id is prefixed and dropped as before.tests/long-term-memory-extraction-graph.regression.ts.long-term-memory1.4.68 on staging0d6ca9e54, 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(the fact citing the source note by its id is dropped, none kept) and passes with the fix. It parses and compiles a static fact whose only link is "evidenced by" the bare source note id, on a source with a## world_factheading, and checks that a source id the request didn't name is still prefixed. Removing either guard fails it.Documentation impact
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.