mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 20:58:37 +07:00
[GH-ISSUE #641] [Issue]: Resolved memories bypass disabled recall setting #333
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#333
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 (Aug 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/641
Originally assigned to: @Promansis on GitHub.
Summary
Long-Term Memory continues to retrieve resolved memories when the Include resolved memories setting is off. The latest staging package still uses a retrieval predicate that excludes resolved thread memories only, allowing resolved memories of other types through.
Affected package
Long-Term Memory (
long-term-memory)Expected behavior
With Include resolved memories disabled, no resolved memory should participate in retrieval or generation injection. Archived memories should remain excluded regardless of the setting.
Actual behavior
retrieveLongTermMemory()filters eligible chunks withchunk.status !== "resolved" || chunk.noteType !== "thread"when the flag is off. A resolved world, character, relationship, timeline, or tone memory therefore remains eligible. The same predicate is present in the latest source and generated artifact.Steps to reproduce
Environment
Logs, screenshots, or video
Latest staging source commit:
97d962f1.Confirmed in
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/retrieval.ts:73andartifacts/long-term-memory-1.2.16.zip:input.includeResolved || chunk.status !== "resolved" || chunk.noteType !== "thread"Additional context
The setting is saved by
MemorySettings.tsx, resolved byruntime-settings.ts, and passed throughgeneration-injection.tstoretrieveLongTermMemory(). Existing runtime coverage proves that resolved thread memories are excluded by default and included when explicitly enabled, but it does not cover resolved non-thread memories.No matching open issue was found. The minimal fix is to make the shared retrieval eligibility filter exclude every resolved chunk when
includeResolvedis false, then add a runtime regression for a resolved non-thread memory and rebuild the generated package outputs.Template check
@Promansis commented on GitHub (Aug 28, 2026):
Work started from fresh upstream staging at
220ea90bon branchfix(long-term-memory)/resolved-memory-retrieval.Implemented the shared retrieval fix so all resolved memory types are excluded when
includeResolvedis false, added runtime coverage for resolved non-thread memories and archived-memory exclusion, and rebuilt Long-Term Memory1.2.17outputs.Passing: runtime regression, storage, extraction graph, extraction reliability, routes, conversation-summary import, debug log, scope targets, index keys, lifecycle, formatting/lint, catalog, manifest-integrity, locales, catalog lanes, and
git diff --check.Known unrelated baseline failure:
long-term-memory-scope-fallback-labels.regression.tsexpects a pre-#642MemoryVault.tsxsource shape.