mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1980] soup/ long-term-memory: one "Memories from chats" choice instead of four hands-off switches #1854
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#1854
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?
Originally created by @Promansis on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1980
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
Long-Term Memory 1.5.19 (#1962, PR #1963) and 1.5.20 (#1964, PR #1970) made it possible to collect memories with no manual steps. The engine side works (
sources/auto-import-job.ts). The way users reach it does not: it is four separate switches at the bottom of the Extraction tab.Voices. These are hypotheses written from the source, because no baseline walkthrough has run on the Engine yet:
Proposed package or change
Replace the four switches with one choice, "Memories from chats", that has three options:
"Hide remembered messages from the AI" stays a separate switch. It now only hides messages whose memories are saved, never messages whose memories are still waiting in review.
The choice is offered where a new user looks for it:
Mockup:
soup-ltm-hands-off.html, attached to this issue as a zip (GitHub does not accept.htmlattachments). It is a single self-contained file that opens fromfile://. It was checked in both themes at 390, 768 and 1440 px. The "Mockup notes" button (off by default) shows the notes, the harness (theme, width, recaps yes/no, old Engine) and the "Where things moved" table.It is built on the Engine's tokens and existing LTM controls, with no new control styles:
selectwithcompactInputClassand an info popover, as in Chat Settings Recall style (ChatSettings.tsx:77-121).Button(primary,aria-pressed) of the guide's source choice (Onboarding.tsx:662-679).StatusSurfacetones (shared-controls.tsx:351). The warning uses the strong editor border and an icon, because no Engine defines a warning colour.--ltm-successplus a check icon for success, never the bare accent (docs/UI.md).Stand-ins: Inter stands in for the Engine's Straight Quotes, the "M" tile for Mari's sprite, and the "i" title for InfoPopover.
Persona walkthrough merge table: not run yet (see Next steps).
Where things moved
settings/MemorySettings.tsx:1096-1129)sources/SourcesWorkspace.tsx:1654-1695)Inventory and findings
settings/MemorySettings.tsx:1096-1129,onboarding/Onboarding.tsxMemorySettings.tsx, hide logicautoImportChatSourcesHelpsays "this chat", but the setting covers the whole vault (getLtmExtractionConfig(root))locales/en.jsonunderTheHoodReview(en.json:274),recallFailed(en.json:231)locales/en.jsonyouReSetUpIntroand the re-extract copylocales/en.jsonuseAdvancedMemoryis not disabled on old EnginesMemorySettings.tsxsources/SourcesWorkspace.tsx:1654-1695ChatSettings.tsxLeave as is: the engine import job, the safe-change rules in auto-accept and the Activity rows. They are correct, and the new UI only reads them.
PR order (split with
/marinara-bundle)Each PR is a patch release. No minor bump.
Documentation each PR updates
packages/long-term-memory/docs/UI.md:packages/long-term-memory/docs/ARCHITECTURE.md(PR 4 only): the per-chat override and how it resolves against the global default.packages/long-term-memory/README.md: how to turn on automatic memories.packages/long-term-memory/CHANGELOG.md: one patch entry per PR.packages/long-term-memory/locales/en.json: new and changed keys. Other locales followscripts/validate-package-locales.mjs.Why should this be optional?
It already is. Long-Term Memory is an optional catalog package, and this changes only its own UI and settings. The Engine core does not change, apart from what decision 1 might need.
Alternatives considered
Additional context
Maintainer approval
On 2026-10-31 the maintainer approved the mockup, "as long as we aren't deviating from the existing fonts/look of the LTM too much, and everything is documented."
The mockup was then aligned with the existing LTM controls listed above. It has no invented warning or success colours and no new control styles. The documentation list above is part of the scope.
Decisions (resolved by the maintainer on 2026-10-31)
chatMetadata.longTermMemoryRecallStyle ?? global,runtime-settings.ts:104-110).recall/generation-injection.ts:251;sources/auto-import-job.ts:125(the job already loads the chat at line 126);Behaviour change to note in the CHANGELOG for PR 4: Hide now waits until memories are saved.
Next steps
Template check
@Promansis commented on GitHub (Oct 31, 2026):
Implementation plan. The four entries under "PR order" ship as one bundle: one branch, one PR and one patch release instead of four. They change the same files (Extraction tab, Chat Settings, setup guide, locales, docs/UI.md), so separate PRs would conflict with each other.
One branch and one pull request for these related changes. Each item is implemented, tested and reviewed on its own before it is committed.
Each item still gets its own CHANGELOG line, and the PR body lists each item's commits so any one item can be undone.
@Promansis commented on GitHub (Oct 31, 2026):
Shipped in #1986 (LTM 1.5.22), merged to staging as
39e4d07e4.