mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #907] [Issue]: Preserve durable facts during LTM normalization and validation #476
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#476
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?
Originally created by @Promansis on GitHub (Sep 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/907
Summary
Long-Term Memory normalization can misclassify durable character or world facts as event-like changes, and validation can reject durable character claims merely because their wording contains an incidental past-tense action verb. This can discard valid durable memory candidates or force them into the wrong lifecycle.
Affected package
long-term-memoryExpected behavior
claimKind: "static"unless the source explicitly asserts an actual state transition, acquisition, loss, or development.metortold.Actual behavior
structured-summary-normalizer.tsuses a broad token pattern to movefacts,core, andprofilecontent intodevelopments; idiomatic static wording can match tokens such asdecidedorlostwithout asserting a durable transition.evidence-unit-validation.tsrejectsfacts,core, andprofilecharacter facts when their text contains a broad event-verb match, even when the statement establishes a durable status or affiliation.Steps to reproduce
character_factin thefacts,core, orprofilesection that establishes a durable status or affiliation while using incidental narrative wording such asmetortold.Environment
2.4.1compatibility baseline1.3.2Logs, screenshots, or video
No private runtime traces or user data are included. Reproduction should use synthetic fixtures only.
Additional context
The implementation scope is limited to the repository-side normalizer and validator plus focused regression coverage. Prompt/configuration changes belong to the Marinara Engine and are out of scope for this issue.
Relevant paths:
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/structured-summary-normalizer.tspackages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/evidence-unit-validation.tstests/long-term-memory-extraction-graph.regression.tstests/long-term-memory-extraction-reliability.regression.tsAcceptance criteria:
event_shaped_character_fact.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: