mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1805] [Feature]: Long-Term Memory: show which Agents read memories, how often and how recently #1763
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#1763
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 (Oct 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1805
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
Memory Settings → Recall → Sharing has the "Other Agents can read memories" switch and one sentence under it: "Read lately by slurp2." or "No other Agent has read memories lately." A user who turns the switch on can't tell whether an Agent such as Slurp is actually using memories, when it last did, or how many it gets. When a post arrives without memories, they can't see which side is off.
Long-Term Memory already records each read in its activity log, with the Agent's name and the number of memories returned. The sentence uses only the names and drops the rest.
Proposed package or change
Package-only Long-Term Memory patch release. No Engine change, no new storage, no new route, no schema change.
Replace the sentence with a small table in the same Sharing group. It has one row per Agent that has read memories, newest first, up to ten:
Minimal fix
Under
packages/long-term-memory/src/engine/packages/:server/src/services/long-term-memory/services/storage-read.ts,listLtmPackageReaders(~50):readLtmDebugLog({ phase: "retrieval" }, root), aggregate per caller:lastReadAt: newestts;reads: events in the last 7 days;memories: sum ofcounts.memoriesin the last 7 days;{ caller, lastReadAt, reads, memories }[]with the same sort andslice(0, 10).recordLtmPackageRead(~33) already writescounts.memories, androutes/settings.ts:28stays unchanged (only the payload grows).client/src/features/long-term-memory/api.ts(~212): the reader type gainsreads: number; memories: number.client/src/features/long-term-memory/settings/MemorySettings.tsx(~877–891, insidedata-ltm-recall-group="sharing"):<table>with the four column headers in place of thereadLatelyByparagraph;formatAgefromsettings/debug-activity.ts(~26), the helper the Activity view already uses;caller: nullkeepsmemorysettings.anAgentWithoutAName;client/src/features/long-term-memory/locales/en.jsonandko.json: add four header keys (memorysettings.otherAgentsAgent,.otherAgentsLastRead,.otherAgentsReadsThisWeek,.otherAgentsMemoriesThisWeek) and removememorysettings.readLatelyBy.node scripts/validate-package-locales.mjsmust pass.packages/long-term-memory/docs/UI.md: one sentence under the Sharing heading describing the table.Regression:
tests/long-term-memory-runtime.regression.ts(~441, thelistLtmPackageReadersassertion after the recall andlistNotesreads):readsequals the number of reads that caller made;memoriesequals the sum of the memories those reads returned;lastReadAt, newest first;lastReadAtbut not towardreadsormemories;tests/long-term-memory-routes.regression.ts(~39) already smoke-testsGET /settings/package-readers; no change is expected.Non-goals
Why should this be optional?
Long-Term Memory is already an optional catalog package. The table appears only in its own settings, and it lists only reads that the user's switch allowed.
Alternatives considered
Additional context
Template check