[PR #1986] [MERGED] feat(long-term-memory): one "Memories from chats" choice, one-press Advanced Memory recaps (1.5.22) #2062

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

📋 Pull Request Information

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

Base: staging ← Head: feature(long-term-memory)/memories-from-chats


📝 Commits (10+)

  • 9449ed2 fix(long-term-memory): clearer hands-off wording, disable Advanced Memory recaps on older Engines (#1980)
  • e6d85d8 feat(long-term-memory): warn when background import has no connection, show today's import status in Chat Settings (#1980)
  • ac47790 feat(long-term-memory): read older Advanced Memory recaps with one button, progress and Stop (#1980)
  • 1b2c9fc feat(long-term-memory): one "Memories from chats" choice with a per-chat override; Hide waits for review (#1980)
  • 78afb77 chore(long-term-memory): changelog for #1980
  • c0e721d fix(long-term-memory): storage regression strips the Advanced Memory availability flag before saving (#1980)
  • 0aeeada Merge upstream/staging into feature(long-term-memory)/memories-from-chats; release long-term-memory 1.5.22
  • 884b381 fix(long-term-memory): lock the setup choice while activating, tolerate unreadable drafts in review actions, Stop before the first listing keeps the pending count (#1980)
  • 1c39aee Merge branch 'staging' into feature(long-term-memory)/memories-from-chats
  • 6737b13 fix(long-term-memory): ignore "Memories from chats" presses while the turn-on is pending (#1980)

📊 Changes

40 files changed (+1718 additions, -304 deletions)

View changed files

➕ artifacts/long-term-memory-1.5.22.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 (+7 -0)
📝 packages/long-term-memory/README.md (+8 -0)
📝 packages/long-term-memory/client.js (+32 -30)
📝 packages/long-term-memory/docs/ARCHITECTURE.md (+19 -0)
📝 packages/long-term-memory/docs/UI.md (+59 -17)
📝 packages/long-term-memory/manifest.json (+5 -5)
📝 packages/long-term-memory/server.mjs (+55 -55)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ChatSettings.tsx (+163 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+12 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/Onboarding.tsx (+92 -7)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/api.ts (+6 -2)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/auto-import-status.ts (+66 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/chat-memories.tsx (+47 -0)

...and 20 more files

📄 Description

Pull request

Linked issue

Closes #1980

Why this change

Hands-off memory import was spread over four switches that were hard to reason about, and several wording, warning and Advanced Memory recap flows misled users (soup issue #1980, maintainer-approved mockup and decisions). This replaces them with one "Memories from chats" choice, adds a per-chat override, and makes the related surfaces say what actually happens.

What changed

  • Clearer hands-off wording; Advanced Memory recaps are disabled with a note on Engines that cannot provide them.
  • Chat Settings shows what background import did today and what waits for review; Chat Settings and Extraction warn, with a "Choose" button, when background import has no extraction connection.
  • Reading older Advanced Memory recaps is one button with progress, Stop and resume (batch-size field removed).
  • One "Memories from chats" choice (I add them myself / Collect them, I'll review / Save them for me) in Memory Settings, Chat Settings and the setup guide, with a per-chat override; Hide imported messages now waits until a message's memories are saved.
  • Package: long-term-memory 1.5.21 → 1.5.22 (patch); rebuilt manifest, payloads, artifact and catalog lanes. No Engine change.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none; engine.min unchanged. Advanced Memory recaps are disabled on Engines before API 1.391.
  • New or changed permissions/entrypoints: none permission-wise; one new package route GET /chat-memories/:chatId.
  • Restart, storage, update, or uninstall impact: no migration; saving the extraction form writes the shown choice's two existing flags.

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

Documentation impact

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

UI evidence (if applicable)

Bundle items

Each item was reviewed and committed on its own. The squash merge flattens them, so to undo one item, revert the changes of the commits listed for it.

  1. Copy fixes and the Advanced Memory disable on old Engines (findings 3, 5, 6, 7): 9449ed2bd fix(long-term-memory): clearer hands-off wording, disable Advanced Memory recaps on older Engines (#1980); c0e721db1 fix(long-term-memory): storage regression strips the Advanced Memory availability flag before saving (#1980)
  2. Connection warning and Chat Settings status line (findings 4, 9): e6d85d8e2 feat(long-term-memory): warn when background import has no connection, show today's import status in Chat Settings (#1980)
  3. One-press Advanced Memory backfill (finding 8): ac4779000 feat(long-term-memory): read older Advanced Memory recaps with one button, progress and Stop (#1980)
  4. The single "Memories from chats" choice (findings 1, 2; decisions 1–3): 1b2c9fc91 feat(long-term-memory): one "Memories from chats" choice with a per-chat override; Hide waits for review (#1980)

🤖 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/1986 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/memories-from-chats` --- ### 📝 Commits (10+) - [`9449ed2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9449ed2bdb18a3b628a765d36d206741120d8a22) fix(long-term-memory): clearer hands-off wording, disable Advanced Memory recaps on older Engines (#1980) - [`e6d85d8`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e6d85d8e248b124d1b48b2fa70edaae992cafb5c) feat(long-term-memory): warn when background import has no connection, show today's import status in Chat Settings (#1980) - [`ac47790`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ac4779000d862081967dd04ae055e359df9eeef9) feat(long-term-memory): read older Advanced Memory recaps with one button, progress and Stop (#1980) - [`1b2c9fc`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1b2c9fc9185ceb8903839b5f81182035a3cc0f3c) feat(long-term-memory): one "Memories from chats" choice with a per-chat override; Hide waits for review (#1980) - [`78afb77`](https://github.com/Pasta-Devs/Marinara-Agents/commit/78afb77ed080eecf3609445eafe7f9a67a543095) chore(long-term-memory): changelog for #1980 - [`c0e721d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c0e721db1c6097e4514d0665606b5e9c2abd4db7) fix(long-term-memory): storage regression strips the Advanced Memory availability flag before saving (#1980) - [`0aeeada`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0aeeadad95718df29351b8cc12d92ff7f8446734) Merge upstream/staging into feature(long-term-memory)/memories-from-chats; release long-term-memory 1.5.22 - [`884b381`](https://github.com/Pasta-Devs/Marinara-Agents/commit/884b381609a4ae970ad1e8a46bc0b3910dd40a35) fix(long-term-memory): lock the setup choice while activating, tolerate unreadable drafts in review actions, Stop before the first listing keeps the pending count (#1980) - [`1c39aee`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1c39aee695e12f57d6d0f862a647420ffd621c68) Merge branch 'staging' into feature(long-term-memory)/memories-from-chats - [`6737b13`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6737b1342d0f4471fdcb165f3e650ba029c941f5) fix(long-term-memory): ignore "Memories from chats" presses while the turn-on is pending (#1980) ### 📊 Changes **40 files changed** (+1718 additions, -304 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.5.22.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` (+7 -0) 📝 `packages/long-term-memory/README.md` (+8 -0) 📝 `packages/long-term-memory/client.js` (+32 -30) 📝 `packages/long-term-memory/docs/ARCHITECTURE.md` (+19 -0) 📝 `packages/long-term-memory/docs/UI.md` (+59 -17) 📝 `packages/long-term-memory/manifest.json` (+5 -5) 📝 `packages/long-term-memory/server.mjs` (+55 -55) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ChatSettings.tsx` (+163 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+12 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/Onboarding.tsx` (+92 -7) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/api.ts` (+6 -2) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/auto-import-status.ts` (+66 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/chat-memories.tsx` (+47 -0) _...and 20 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1980 ## Why this change Hands-off memory import was spread over four switches that were hard to reason about, and several wording, warning and Advanced Memory recap flows misled users (soup issue #1980, maintainer-approved mockup and decisions). This replaces them with one "Memories from chats" choice, adds a per-chat override, and makes the related surfaces say what actually happens. ## What changed - Clearer hands-off wording; Advanced Memory recaps are disabled with a note on Engines that cannot provide them. - Chat Settings shows what background import did today and what waits for review; Chat Settings and Extraction warn, with a "Choose" button, when background import has no extraction connection. - Reading older Advanced Memory recaps is one button with progress, Stop and resume (batch-size field removed). - One "Memories from chats" choice (I add them myself / Collect them, I'll review / Save them for me) in Memory Settings, Chat Settings and the setup guide, with a per-chat override; Hide imported messages now waits until a message's memories are saved. - Package: `long-term-memory` 1.5.21 → 1.5.22 (patch); rebuilt manifest, payloads, artifact and catalog lanes. No Engine change. ## Package and security impact - Affected package IDs: long-term-memory - Engine compatibility impact: none; `engine.min` unchanged. Advanced Memory recaps are disabled on Engines before API 1.391. - New or changed permissions/entrypoints: none permission-wise; one new package route `GET /chat-memories/:chatId`. - Restart, storage, update, or uninstall impact: no migration; saving the extraction form writes the shown choice's two existing flags. ## 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 - ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - ## Bundle items Each item was reviewed and committed on its own. The squash merge flattens them, so to undo one item, revert the changes of the commits listed for it. 1. Copy fixes and the Advanced Memory disable on old Engines (findings 3, 5, 6, 7): 9449ed2bd fix(long-term-memory): clearer hands-off wording, disable Advanced Memory recaps on older Engines (#1980); c0e721db1 fix(long-term-memory): storage regression strips the Advanced Memory availability flag before saving (#1980) 2. Connection warning and Chat Settings status line (findings 4, 9): e6d85d8e2 feat(long-term-memory): warn when background import has no connection, show today's import status in Chat Settings (#1980) 3. One-press Advanced Memory backfill (finding 8): ac4779000 feat(long-term-memory): read older Advanced Memory recaps with one button, progress and Stop (#1980) 4. The single "Memories from chats" choice (findings 1, 2; decisions 1–3): 1b2c9fc91 feat(long-term-memory): one "Memories from chats" choice with a per-chat override; Hide waits for review (#1980) 🤖 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:39:10 +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#2062
No description provided.