mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1126] [Issue]: LTM extraction rejects durable character outcomes as timeline events #576
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#576
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 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1126
Originally assigned to: @Promansis on GitHub.
Summary
Long-Term Memory extraction can reject valid durable character memories as
event_shaped_character_fact. The server uses English verb heuristics to hard-drop character facts infacts,core, orprofile, so weaker models lose lasting abilities, roles, possessions, and developments when they phrase them in past-tense narrative.This is related to closed issue #907, but extends the problem: #907 preserved several durable wording cases while retaining a heuristic hard rejection. The remaining behavior is reproducible for valid durable outcomes such as
Mara learned to read the observatory script.Affected package
long-term-memory(packages/long-term-memory), source extraction and evidence-unit validation.Expected behavior
The extraction pipeline should divide responsibilities appropriately:
For example, a source stating
Mara learned to read the observatory script.may support:timeline_event/event:Mara learned to read the observatory script.character_fact/abilities:Mara can read the observatory script.The second unit should only be emitted when the source establishes the durable outcome, and it should link to the first with the applicable causal relation.
Actual behavior
The validator currently hard-rejects
character_factcandidates in ordinary character sections when their text contains event-like verbs. The current durable assertion exception is narrow.Examples observed with the current validator:
Mara learned to read the observatory script.event_shaped_character_factMara discovered she could read the observatory script.event_shaped_character_factMara carries the observatory key.event_shaped_character_factMara returned to the observatory.event_shaped_character_factMara acquired the observatory key.Mara became the observatory keeper.Mara was promoted to captain.The dropped candidate is not merely a malformed event. In several cases it is the only representation of a durable character ability or state, so the memory is lost before review.
Steps to reproduce
Mara learned to read the observatory script.character_factwithsectionKey: "facts"andclaimKind: "static".event_shaped_character_factand the missing character memory.The current extraction graph regression already demonstrates the hard rejection for ordinary scene-shaped character facts. A focused probe against the same validator reproduces the false rejection for the durable examples above.
Environment
2.4.1compatibility lane; local neighboring checkout used for regression execution1.3.29Logs, screenshots, or video
No private chat data or credentials included. Focused baseline results:
Additional context
Relevant implementation paths:
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/evidence-unit-validation.tspackages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/constants.tstests/long-term-memory-extraction-graph.regression.tsSuggested scope for one fix:
Template check