mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1963] [MERGED] feat(long-term-memory): accept safe changes and import chat sources automatically (1.5.19) #2052
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#2052
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/1963
Author: @Promansis
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/hands-off-mode📝 Commits (6)
71ff3f1feat(long-term-memory): accept safe changes automatically (#1962)f882621feat(long-term-memory): import new chat sources in the background (#1962)553a75fchore(long-term-memory): changelog for #19620e35f14chore(long-term-memory): release 1.5.19 (#1962)6bfadaafix(long-term-memory): block a background import that leaves its source unfinished (#1962)7c0a6cafix(long-term-memory): block a background import that leaves an edited source unfinished (#1962)📊 Changes
33 files changed (+786 additions, -146 deletions)
View changed files
➕
artifacts/long-term-memory-1.5.19.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(+5 -0)📝
packages/long-term-memory/client.js(+25 -25)📝
packages/long-term-memory/docs/UI.md(+14 -0)📝
packages/long-term-memory/manifest.json(+5 -5)📝
packages/long-term-memory/server.mjs(+52 -52)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/PRODUCT.md(+4 -4)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+9 -1)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/ko.json(+9 -1)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/ActivityView.tsx(+1 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx(+25 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/sources/SourcesWorkspace.tsx(+18 -5)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/drafts/reconciliation.ts(+20 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/extraction-config.ts(+2 -0)...and 13 more files
📄 Description
Pull request
Linked issue
Closes #1962
Why this change
What changed
Package:
long-term-memory1.5.18 → 1.5.19.The job never delays recall: it is armed from recall and runs outside the vault lock after the quiet period. With item 1 on, its proposals land; without it, they wait in the Review Queue as before.
packages/long-term-memory/{client.js,server.mjs,manifest.json},artifacts/long-term-memory-1.5.19.zip,catalog/{,v2/,v3/}{catalog,notes}.json, all rebuilt withnode scripts/build-feature-packages.mjs long-term-memory.ko).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.
71ff3f1e4feat(long-term-memory): accept safe changes automatically (#1962)f88262190feat(long-term-memory): import new chat sources in the background (#1962)Then
553a75fd2writes the changelog and0e35f147areleases 1.5.19.6bfadaa7e(item 2, Dottore repair) counts a background import that leaves its source without a fingerprint as unfinished, so the same selection is not extracted after every reply.7c0a6ca59(item 2, follow-up to Dottore's open question) does the same for an edited source: each imported result now says whether the extraction saved the source's current fingerprint (markedCurrent, optional in the shared result schema), because an edited source that drops units keeps its old fingerprint.Package and security impact
long-term-memoryengine.minstays 2.5.1, no new Capability API use.falsewhen absent, so existing vaults behave as before. Background jobs live in memory only, are unref'd timers, and stop on deactivation before the index rebuild stops. No new storage files; uninstall is unchanged.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run, not a substitute for the boxes above. All exit 0, with
MARINARA_AGENTS_ROOTset to the worktree andMARINARA_ENGINE_ROOTset to a read-only Engine checkout:553a75fd2(whole bundle): LTM suites storage, extraction-graph, runtime, chat-transcript-import, routes, host-styles, browser;npm run check;npm run typecheck:packages;git diff --check;test-catalog-lanes,validate-package-locales,validate-catalog,catalog-release-notesregression.0e35f147a(rebuilt 1.5.19 outputs):test-catalog-lanes,validate-package-locales,validate-catalog,catalog-release-notesregression,npm run check, LTM runtime, host-styles, browser.6bfadaa7e(rebuilt 1.5.19 outputs): LTM chat-transcript-import, runtime, routes, host-styles, browser;npm run check;npm run typecheck:packages; the four catalog validators;git diff --check. The new regression (an extraction that drops a unit, two replies, one model call) was mutation-checked: without the fix the model is called twice.7c0a6ca59(rebuilt 1.5.19 outputs): the same suites and checks. The new regression (a summary imported cleanly, then edited so it showssource_updated, then re-extracted with a dropped unit) was mutation-checked: with the old fingerprint check the import is loggedokand the edit is extracted after every reply.${chatId}:filter), turning the setting off cancels a waiting run, recall arms the import only with the setting on, deactivation drops a pending import, and both settings save (item 2).Documentation impact
Package docs updated:
packages/long-term-memory/CHANGELOG.md, the package PRODUCT.md,docs/UI.md.Merge Danger
Door: two-way. Both behaviours sit behind settings that default to off; reverting the squash commit removes them, and saved
truevalues are ignored by older versions.Blast Radius: opt-in
With "Accept safe changes automatically" on, low-risk memories land without a review; they stay visible in Activity and vault history. Known follow-ups, not changed here:
UI evidence (if applicable)
Two new switches in Memory Settings → Extraction and a new Activity entry kind; covered by the browser suite, no screenshots attached.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.