[PR #1815] [MERGED] Long-Term Memory 1.5.7: show which Agents read memories, how often and how recently (#1805) #1980

Closed
opened 2026-11-07 16:38:28 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1815
Author: @Promansis
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/28/2026
Merged by: @Promansis

Base: staging ← Head: feature(long-term-memory)/agent-reads-table


📝 Commits (2)

  • 88e000a feat(long-term-memory): show which Agents read memories, how often and how recently (#1805)
  • 85f5d84 chore(long-term-memory): release 1.5.7 (#1805)

📊 Changes

18 files changed (+214 additions, -103 deletions)

View changed files

➕ artifacts/long-term-memory-1.5.7.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/long-term-memory/CHANGELOG.md (+4 -0)
📝 packages/long-term-memory/client.js (+24 -24)
📝 packages/long-term-memory/docs/UI.md (+1 -1)
📝 packages/long-term-memory/manifest.json (+5 -5)
📝 packages/long-term-memory/server.mjs (+4 -4)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+4 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/ko.json (+4 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx (+44 -14)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/services/storage-read.ts (+20 -7)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-runtime.regression.ts (+61 -3)

📄 Description

Pull request

Linked issue

Closes #1805

Why this change

Memory Settings only said "Read lately by" followed by a list of Agent names. That shows an Agent has read memories at some point, but not how often or how recently, so there was no way to tell a busy reader from one that had read once. A small table answers it at a glance and makes the "Other Agents can read memories" switch easier to judge.

  • Each Agent that read memories gets a row: last read, reads this week and memories returned this week.
  • The counts come from the Debug activity log, which is capped and can be cleared, so the CHANGELOG and docs/UI.md say so. An Agent whose only read is older than 7 days is still listed, with 0 for both counts.

What changed

  • listLtmPackageReaders now returns {caller, lastReadAt, reads, memories} from one pass over the debug log (7-day window), with the same ordering and ten-row limit as before.
  • MemorySettings.tsx renders a table with an accessible name in place of the paragraph; en.json and ko.json gain four column strings and lose readLatelyBy.
  • Regression coverage in tests/long-term-memory-runtime.regression.ts for the tallies, the stale-reader row, newest-first order and the noodle memory sum.
  • packages/long-term-memory/docs/UI.md and CHANGELOG.md updated.
  • Release 1.5.7 (chore(long-term-memory): release 1.5.7): rebuilt client.js, server.mjs, manifest, artifacts/long-term-memory-1.5.7.zip and the catalog/ files, all from the builder.

Package and security impact

  • Affected package IDs: long-term-memory (1.5.6 → 1.5.7)
  • Engine compatibility impact: none; engine.min / engine.maxExclusive unchanged
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none; it reads the existing debug log and adds no stored data

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

Commands run against the final head (all exit 0): test-ltm.sh runtime, routes, host-styles and debug-activity suites; node scripts/typecheck-packages.mjs long-term-memory; npm run check (0 errors); test-fast.sh; validate-package-locales, test-catalog-lanes, validate-catalog and the catalog release-notes regression. The LTM browser suite was not run, since it does not touch this table. The package was not installed in a running Engine.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

No screenshots attached.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/1815 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/28/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/agent-reads-table` --- ### 📝 Commits (2) - [`88e000a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/88e000adf5e506644faecf46d7f7c8d66b071e7b) feat(long-term-memory): show which Agents read memories, how often and how recently (#1805) - [`85f5d84`](https://github.com/Pasta-Devs/Marinara-Agents/commit/85f5d844e9433e99fd9eaca4bfb092a198922c00) chore(long-term-memory): release 1.5.7 (#1805) ### 📊 Changes **18 files changed** (+214 additions, -103 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.5.7.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/long-term-memory/CHANGELOG.md` (+4 -0) 📝 `packages/long-term-memory/client.js` (+24 -24) 📝 `packages/long-term-memory/docs/UI.md` (+1 -1) 📝 `packages/long-term-memory/manifest.json` (+5 -5) 📝 `packages/long-term-memory/server.mjs` (+4 -4) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+4 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/ko.json` (+4 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx` (+44 -14) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/services/storage-read.ts` (+20 -7) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-runtime.regression.ts` (+61 -3) </details> ### 📄 Description # Pull request ## Linked issue Closes #1805 ## Why this change Memory Settings only said "Read lately by" followed by a list of Agent names. That shows an Agent has read memories at some point, but not how often or how recently, so there was no way to tell a busy reader from one that had read once. A small table answers it at a glance and makes the "Other Agents can read memories" switch easier to judge. - Each Agent that read memories gets a row: last read, reads this week and memories returned this week. - The counts come from the Debug activity log, which is capped and can be cleared, so the CHANGELOG and `docs/UI.md` say so. An Agent whose only read is older than 7 days is still listed, with 0 for both counts. ## What changed - `listLtmPackageReaders` now returns `{caller, lastReadAt, reads, memories}` from one pass over the debug log (7-day window), with the same ordering and ten-row limit as before. - `MemorySettings.tsx` renders a table with an accessible name in place of the paragraph; `en.json` and `ko.json` gain four column strings and lose `readLatelyBy`. - Regression coverage in `tests/long-term-memory-runtime.regression.ts` for the tallies, the stale-reader row, newest-first order and the noodle memory sum. - `packages/long-term-memory/docs/UI.md` and `CHANGELOG.md` updated. - Release 1.5.7 (`chore(long-term-memory): release 1.5.7`): rebuilt `client.js`, `server.mjs`, manifest, `artifacts/long-term-memory-1.5.7.zip` and the `catalog/` files, all from the builder. ## Package and security impact - Affected package IDs: `long-term-memory` (1.5.6 → 1.5.7) - Engine compatibility impact: none; `engine.min` / `engine.maxExclusive` unchanged - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none; it reads the existing debug log and adds no stored data ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Commands run against the final head (all exit 0): `test-ltm.sh` runtime, routes, host-styles and debug-activity suites; `node scripts/typecheck-packages.mjs long-term-memory`; `npm run check` (0 errors); `test-fast.sh`; `validate-package-locales`, `test-catalog-lanes`, `validate-catalog` and the catalog release-notes regression. The LTM browser suite was not run, since it does not touch this table. The package was not installed in a running Engine. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) No screenshots attached. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:38:28 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1980
No description provided.