mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1970] [MERGED] feat(long-term-memory): import Advanced Memory scene recaps (1.5.20) #2054
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#2054
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/1970
Author: @Promansis
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/advanced-memory-ingest📝 Commits (5)
0bbca5cfeat(long-term-memory): import Advanced Memory scene recaps (#1964)0d40b6bMerge upstream/staging into feature(long-term-memory)/advanced-memory-ingest; release long-term-memory 1.5.204e04dd9fix(long-term-memory): round the Advanced Memory backfill batch size (#1964)524a9a9fix(long-term-memory): show the rounded Advanced Memory backfill batch size (#1964)d8bce4aMerge branch 'staging' into feature(long-term-memory)/advanced-memory-ingest📊 Changes
38 files changed (+1220 additions, -194 deletions)
View changed files
📝
.github/workflows/ltm-browser.yml(+2 -2)➕
artifacts/long-term-memory-1.5.20.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(+25 -25)📝
packages/long-term-memory/manifest.json(+5 -5)📝
packages/long-term-memory/server.mjs(+76 -66)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+8 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/ko.json(+8 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx(+12 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/shared-controls.tsx(+4 -1)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/sources/SourcesWorkspace.tsx(+94 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/vault/MemoryVault.tsx(+2 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/extraction-config.ts(+1 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/source-processing.ts(+146 -9)...and 18 more files
📄 Description
Pull request
Linked issue
Closes #1964
Why this change
What changed
useAdvancedMemory), with English and Korean strings.persistence.listChatSummaries(chat.id).advancedMemory. A local structural type reads it, and a failed or missing read returns no records.kind: "scene"records become rows in the existing chats source,chat-am:am-<recordId>, with provenance{ kind: "advanced_memory", sourceId: chatId, entryId: recordId }. Scope is the chat scope withcharacterIdsnarrowed to the scene's audience present in the chat.POST /import/advanced-memory/backfill-batchand a "Backfill Advanced Memory" group in Import → Chats (batch size 1–100). It skips records that are already current, and records whose message range is covered bychat_summaryorchat_transcriptmessage_rangeevidence.summaryMemoryInstruction()on the runtime service. Only Capability API 1.391 hosts call it.tests/long-term-memory-advanced-memory-import.regression.ts(listed inltm-browser.ymlandtests/README.md). It feeds a fakelistChatSummariesthat returnsadvancedMemoryrecords.upstream/staging(otome-forge 0.6.3) and rebuiltlong-term-memoryoutputs:client.js,server.mjs,manifest.json,artifacts/long-term-memory-1.5.20.zipand the catalog and notes entries.Deviations from the issue text:
advancedMemoryEchoNoteIds), not through a full generation.Open question for the issue owner: a recap note keeps the chat's persona in its scope, so a scene can be recalled in another chat with the same persona. That follows the issue's
{ ...chatScope, characterIds: audience ∩ chat }. Should a scene drop the persona (and group) and be audience-only?Package and security impact
long-term-memoryengine.minstays 2.5.1 andengine-boundary.jsoncapabilityApistays 1.390. The feature does nothing until a Marinara version with Capability API 1.391 (Engine #8589) providesadvancedMemory; on older versions nothing changes.POST /import/advanced-memory/backfill-batch.advanced_memory, and a new boolean setting with default off. No migration and no change to existing rows.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
MARINARA_AGENTS_ROOT=<worktree>,MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine): exit 0 for the rebuild with no diff,test-fast.sh(lint, format),scripts/typecheck-packages.mjs long-term-memory,test-catalog-lanes.mjs,validate-package-locales.mjs,validate-catalog.mjs,catalog-release-notes.regression.mjs,git diff --check, and thetest-ltm.shsuites advanced-memory-import, routes-imports, runtime, branch-recall, source-task, feedback-clarity-ui, host-styles, conversation-summary-import, chat-transcript-import, storage and routes. The Run step also ran each other CI-listed LTM suite, including browser, on the feature commit.installationLTM suite fails on the shared local Engine host. Itsdice.service.tsimportsisDicePoolNotation, which that host's@marinara-engine/shareddoes not export. This is the host's state, not this diff. Hosted CI uses its own Engine checkout.Documentation impact
UI evidence (if applicable)
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.