mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1884] [MERGED] fix(long-term-memory): read quoted scores and fail all-malformed pieces (1.5.11) #2014
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#2014
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/1884
Author: @Promansis
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/quoted-score-drops-piece📝 Commits (3)
6bbd14ffix(long-term-memory): read quoted scores and fail all-malformed pieces (#1881)c78f1e1chore(long-term-memory): release 1.5.11 (#1881)d726bdeMerge branch 'staging' into fix(long-term-memory)/quoted-score-drops-piece📊 Changes
13 files changed (+152 additions, -84 deletions)
View changed files
➕
artifacts/long-term-memory-1.5.11.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(+38 -38)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/evidence-unit-extraction.ts(+21 -3)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-extraction-reliability.regression.ts(+49 -3)📄 Description
Pull request
Linked issue
Closes #1881
Why this change
salienceorconfidenceas quoted text ("0.5"), Long-Term Memory rejected that memory as malformed. Once a model starts quoting, it tends to do it on every memory, so the whole chat piece was lost.succeededwith nothing kept, so the player never learned part of the chat was skipped and nothing offered a retry. Seen on 2026-10-29 in 1 of 124 extraction calls in a whole-chat measurement run.What changed
evidence-unit-extraction.ts:ltmProviderEvidenceUnitSchemanow reads a trimmed numeric string forconfidenceandsalienceas that number, then applies the existing 0-1 check."",nulland text such as"high"still fail. The stored-unit schema innotes.tsand the JSON schema sent to the model are unchanged.ltm_model_output_unusableerror instead of succeeding. An answer with no candidates (units: []) still succeeds.tests/long-term-memory-extraction-reliability.regression.ts: quoted scores are kept;"high","","1.5"andnullare still dropped for both fields; an all-malformed answer throws without a repair call;units: []succeeds; one valid plus one malformed unit keeps the valid one.server.mjs, manifest, archive and catalog entries (v2, v3 and the legacy alias) forlong-term-memoryonly.Package and security impact
long-term-memoryengine.min/engine.maxExclusiveunchanged.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Documentation impact
UI evidence (if applicable)
No UI change: a failed piece uses the existing Retry.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.