mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1139] [MERGED] fix(long-term-memory): 1.3.32 — keep flat-summary timeline events and stop structured backfill duplicates #1312
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#1312
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/1139
Author: @Promansis
Created: 9/29/2026
Status: ✅ Merged
Merged: 9/29/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/1137-summary-normalization-timeline-units📝 Commits (3)
c41f418fix(long-term-memory): 1.3.32 — keep flat-summary timeline events and stop structured backfill duplicates3c661a2fix(long-term-memory): 1.3.32 review fixes — require symmetric provider coverage for structured character backfill7469306Merge branch 'staging' into fix(long-term-memory)/1137-summary-normalization-timeline-units📊 Changes
13 files changed (+290 additions, -111 deletions)
View changed files
➕
artifacts/long-term-memory-1.3.32.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(+5 -0)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/server.mjs(+36 -36)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/structured-summary-normalizer.ts(+54 -9)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-extraction-graph.regression.ts(+155 -26)📄 Description
Pull request
Linked issue
Closes #1137
Why this change
##headings, because normalization only repaired the event section when the source parsed into structured sections.What changed
structured-summary-normalizer.ts: normalizetimeline_eventunits tosectionKey: "event"on the flat (zero-section) path so valid events and the memories that link to them survive; close the current structured section when a heading-shaped line maps to no known bucket; treat a same-subject/same-section backfill character fact as covered only when a pre-backfill unit shares at least 0.8 token overlap in both directions, so a provider fact that only partially covers a richer structured fact no longer hides it.tests/long-term-memory-extraction-graph.regression.ts: regression coverage for the flat-summary timeline event, the unrecognized-heading boundary, provider-vs-backfill duplicate suppression, and the richer sibling structured fact that must survive a provider holding only the shorter fact.long-term-memory:manifest.json,server.mjs,catalog/**(catalog.json,notes.json,v2,v3), andartifacts/long-term-memory-1.3.32.zip.Package and security impact
long-term-memory(1.3.31 to 1.3.32)engine.min2.4.1,engine.maxExclusive4.0.0,builtAgainstunchanged (Engine 2.4.1, commitc0ce4d88)restartRequired: trueunchanged; no storage or data migrationValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
MARINARA_AGENTS_ROOT=<worktree> MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine bash test-ltm.sh extraction-graphpassed; the same runner passed forlocal-charactersandextraction-reliability.npm run checkpassed;git diff --checkwas clean.node scripts/test-catalog-lanes.mjs,node scripts/validate-package-locales.mjs,node scripts/tests/catalog-release-notes.regression.mjs, andnode scripts/validate-catalog.mjsall passed.node scripts/build-feature-packages.mjs long-term-memory; the manifest hashes/sizes, the working-tree payloads, and the archive member hash agree.characterFactCoversnow requires symmetric ≥0.8 overlap in both directions; re-ranextraction-graph,local-characters,extraction-reliability,npm run check,git diff --check, and the catalog validators, and rebuilt the package outputs.Documentation impact
UI evidence (if applicable)
Not applicable: no UI changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.