mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #729] [Issue]: Long-Term Memory tabs are slow and leak selected scope data #373
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#373
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 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/729
Originally assigned to: @Promansis on GitHub.
Summary
Long-Term Memory tabs take a long time to load, and Vault/Sources can show data from a different selected scope after switching tabs or scopes. The regression is present in package versions 1.2.19, 1.2.20, and current 1.2.21.
Affected package
Long-Term Memory (
long-term-memory)Expected behavior
Memory Vault, Review Queue, and Sources should load promptly when selected. Each view should show only memories and sources belonging to the currently selected scope.
Actual behavior
Selecting a Long-Term Memory tab can take a long time to load, especially Memory Vault, Review Queue, and Sources. After selecting a scope, the displayed memories or sources can belong to the previously selected scope.
Steps to reproduce
Environment
Logs, screenshots, or video
Not supplied.
Additional context
The confirmed client path includes independent scope-target queries in Memory Vault and Sources, and Sources preview queries can run before the selected scope has resolved.
Template check
@chengyixu commented on GitHub (Sep 6, 2026):
This looks like two related correctness failures, not only a loading-performance issue: every tab result needs to be bound to the scope that issued it, and an older in-flight result must be unable to replace the newer scope's view.
A useful contract is
(view, scopeId, requestGeneration)at request creation. On completion, commit state only if that tuple still matches the active selection; abort prior requests on scope change where possible. The empty/loading/error states should retain the same scope label as well, so a reviewer can see exactly what is being queried.For Sources preview, I would fail closed while scope resolution is pending rather than issue an unscoped fallback query. Add an E2E race test that intentionally delays scope A, switches to B, then releases A and asserts that no A memory/source can render in B.
That distinction is foundational for Living Memory: persistent context must stay attributable to its scope before Proactive Execution can safely propose a next step. I’m exploring a related app-first operator workflow in Klik (pre-launch): https://pre.hiklik.ai/