mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1747] [MERGED] feat(long-term-memory): learn from chat messages (1.5.0) #1949
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#1949
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1747
Author: @Promansis
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/learn-from-chat-messages📝 Commits (4)
8ca14e2feat(long-term-memory): learn from chat messages (#1744)20ff4efMerge upstream/staging into feature(long-term-memory)/learn-from-chat-messages; release long-term-memory 1.5.0958f439fix(long-term-memory): keep imported message pieces when earlier messages change (#1744)60b5dafMerge upstream/staging into feature(long-term-memory)/learn-from-chat-messages📊 Changes
39 files changed (+803 additions, -270 deletions)
View changed files
📝
.github/workflows/ltm-browser.yml(+1 -1)📝
README.md(+1 -1)➕
artifacts/long-term-memory-1.5.0.zip(+0 -0)📝
catalog/catalog.json(+15 -16)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+15 -16)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+15 -16)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+9 -0)📝
packages/long-term-memory/agents.json(+1 -1)📝
packages/long-term-memory/client.js(+24 -24)📝
packages/long-term-memory/docs/ARCHITECTURE.md(+2 -2)📝
packages/long-term-memory/docs/UI.md(+3 -0)📝
packages/long-term-memory/engine-boundary.json(+3 -3)📝
packages/long-term-memory/locales/en.json(+2 -2)📝
packages/long-term-memory/locales/ko.json(+2 -2)📝
packages/long-term-memory/manifest.json(+12 -13)📝
packages/long-term-memory/server.mjs(+54 -52)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/PRODUCT.md(+1 -1)...and 19 more files
📄 Description
Pull request
Linked issue
Closes #1744
Why this change
Marinara Engine now skips its built-in memory recall in chats where Long-Term Memory is on (Engine #8359). A chat with Long-Term Memory on but no summaries then has nothing to recall. Letting Long-Term Memory learn from a chat's own messages closes that gap.
What changed
:part:Npieces. Appending messages keeps earlier piecescurrent; the last piece becomessource_updatedwhen new messages fit in it, otherwise they start a newnewpiece.chat_transcript, tagimported_chat_messages, the chat's mode and scope{chatIds:[chatId]}. Professor Mari chats are excluded and branch copies dedupe by chat group.chat-writepermission.persistence.listMessagesneeds onlychat-read.reland.mjs --minor), rebuiltclient.js,server.mjs,artifacts/long-term-memory-1.5.0.zipand the catalog lanes.Package and security impact
long-term-memoryengine.min2.5.1, built against Engine 2.5.1 (345cd747c). The v2.5.1 release (capability API 1.341) refuses 1.5.0, so Engine staging can install it now; users on older Engines keep 1.4.x.chat-write; no new permission or entrypoint. Chats that relied on the old automatic switch-on need Long-Term Memory enabled in Chat Settings → Agents (stated in the CHANGELOG).chat_transcriptprovenance kind; old notes still parse. Downgrading to 1.4.95 cannot parsechat_transcriptnotes, as with every new provenance kind.Merge danger
mainuntil an Engine release contains 2a1bbbee2 (SpicyMarinaraonly).Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Local runs on head
958f43989(after the Dottore repair, rebuilt server.mjs, manifest, zip and catalog lanes) against Engine 345cd747c (not ticked above; for reviewers to confirm):chat-transcript-importincluded inltm-browser.yml): candidate-reconciliation, chat-transcript-import, conversation-summary-import, debug-log, delta-review, extraction-graph, extraction-reliability, local-characters, rebuild-job, runtime, all exit 0.typecheck-packages(long-term-memory),npm run check,npm run test:security,git diff --check, all exit 0.chat-transcript-importfails without the repair (a pendingr6piece showsnewand the importedr5note is orphaned) and passes with it.conversation-summary-importfails throughtest-ltm.shbecause Engine zod 4 words one error differently from the suite's regex. CI runs it Engine-free, where it passes.Documentation impact
The package's
docs/UI.mddescribes the new tab andCHANGELOG.mdhas the release note.UI evidence (if applicable)
None attached.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.