mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1020] [Issue]: Duplicate chat summaries shown as ready to import in sources tab #521
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#521
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 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1020
Originally assigned to: @Promansis on GitHub.
Summary
Duplicate chat summaries appear as separate "ready to import" rows in the long-term-memory Sources tab when multiple branches of the same chat contain the same summaries.
Affected package
long-term-memory
Expected behavior
Equivalent chat summaries shared across branches of the same chat should not produce duplicate ready-to-import source rows.
Actual behavior
Chat-summary candidates are keyed as
${chat.id}:${entry.id}, so branches with distinct chat IDs but identical summary content/identity produce separate pending candidates.previewPackageInteropreturns all rows without deduplicating them, and the Sources UI renders each pending sample as ready to import.Steps to reproduce
Environment
Logs, screenshots, or video
Investigation finding only; no logs supplied.
Additional context
Related implementation path:
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/interop.ts(previewPackageInterop, candidate construction) andpackages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx(ready-row rendering). Existing coverage:tests/long-term-memory-conversation-summary-import.regression.ts.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: