mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1444] [MERGED] fix(long-term-memory): picker focus, whole-chat chips and branch recall fallback (1.4.47) #1466
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#1466
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/1444
Author: @Promansis
Created: 10/17/2026
Status: ✅ Merged
Merged: 10/17/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/1442-picker-recall-followups📝 Commits (2)
33e1de6fix(long-term-memory): picker focus, whole-chat chips and branch recall fallback5edd1eachore(long-term-memory): release 1.4.47 (#1442)📊 Changes
25 files changed (+523 additions, -268 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.47.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(+6 -0)📝
packages/long-term-memory/client.js(+28 -28)📝
packages/long-term-memory/manifest.json(+5 -5)📝
packages/long-term-memory/server.mjs(+36 -36)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourceScopeCombobox.tsx(+56 -36)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+2 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/scope-targets.ts(+0 -6)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/vault/BulkAvailabilityWorkbench.tsx(+54 -24)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/vault/MemoryAvailabilityWorkbench.tsx(+10 -6)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/vault/MemoryVault.tsx(+24 -8)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/vault/vault-shared.ts(+23 -2)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/generation-injection.ts(+19 -9)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes/notes.ts(+9 -5)...and 5 more files
📄 Description
Linked issue
Closes #1442
Why this change
#1420 (1.4.45), #1433 (1.4.44) and #1438 (1.4.46) each shipped with small problems that their reviews listed and left unfixed. Two older problems in the same pickers are fixed here too, because the same files change. Users could see these:
What changed
Place picker (
SourceScopeCombobox.tsx)choosenow moves focus to the place button first, then closes, then callsonChange. The Vault's unsaved-changes prompt therefore records the place button as the return target, not an option that is about to unmount.selectKindresets "No memories" only when the search is empty.<details>/<summary>toggle inside the listbox is gone. While collapsed, the last row is arole="option""Show N places with no memories" (new plural pairshowNoMemories/showNoMemoriesOne). Arrow keys reach it, and Enter or a click opens the group without callingonChange. While open, the group is arole="group"with a plain label, like "With memories".Availability editors (
vault/)wholeChatBranchIdsandwithWholeChatBranchesinvault-shared.ts. While a whole chat G is selected, the branch ids Sources saved beside it (chatIds) count as part of G:availabilityEntriesgives them no chips. The Vault's place count uses the same rule, so it matches the editor.groupIdsonly. Stored data, recall and the Vault filter don't change.Branch recall (server)
branchInheritedNoteIdscatches its own failures. It rethrows when the request was aborted. Otherwise it logs a warning and returnsundefined, which recalls the branch's own memories.ponytail:comment names the per-reply cost (listChats()pluslistNotes()in a branched chat with summaries) and the upgrade path.POST /searchwith a scope that names only the chat now passesinheritedNoteIds, under the same condition where the route already resolved "like a turn". It returns what a reply in that chat would recall.Tests and dead code
deriveScopeBranchesand its cases.retrieveLongTermMemoryfixture now checks that린은 뭐 했지?recalls the린이 웃었다memory throughbm25. The #1438 comment now says "folds with one allowed particle".Release:
long-term-memory1.4.47, with the CHANGELOG entry, version, manifest, rebuiltclient.jsandserver.mjs, artifact and catalog entries. The entry also clarifies 1.4.44: in Game and Conversation chats, only rolling summaries count toward shared-history recall.Diff: source +203/−96 lines, tests +208/−60 lines, before the release commit.
Not in this PR, as the issue says:
Package and security impact
long-term-memory/notes/batchpaths./searchreturns more for a branch whose conversation shares summaries, matching a reply.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
These checks were run by the coding agent, not by a person. Engine checkout
2039583ca, Nodev24.15.0.{ chatIds: [deleted-chat, memory-chat, memory-conversation-branch], groupIds: [conversation-a] }. An imported whole chat shows one chip, and unticking or removing it saves a scope with neither the group id nor its branch ids.listChatsrejects, recall returns the branch's own memories and logs a warning. The search route returns the inherited memory for a branch.5edd1eabc, these all passed:test-fast.sh(npm run check,git diff --check) andtypecheck-packages long-term-memory.test-catalog-lanes,validate-package-locales,validate-catalogandcatalog-release-notes.test-ltm.sh browser,scope-targets,feedback-clarity-ui,index-keys,runtimeandroutes, plusbranch-recall.test-ltm.sh installationfor the 1.4.47 artifact. Hosted CI runs the full Long-Term Memory regression list.Documentation impact
UI evidence (if applicable)
None attached. The browser regression drives the controls headlessly.
🤖 Generated with Claude Code
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.