mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 20:58:37 +07:00
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#732
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 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1442
Originally assigned to: @Promansis on GitHub.
Summary
#1420 (1.4.45), #1433 (1.4.44) and #1438 (1.4.46) each shipped with small problems that their review listed and left unfixed. Two older problems in the same pickers are included, because the same files change here. Together they are:
ponytail:comment.deriveScopeBranchesis no longer used.Affected package
long-term-memory1.4.46 (upstream/staging60d50d47d).C=packages/long-term-memory/src/engine/packages/client/src/features/long-term-memoryS=packages/long-term-memory/src/engine/packages/server/src/services/long-term-memoryExpected behavior
Actual behavior
See each step of the Minimal fix. Every location was checked at
60d50d47d.Steps to reproduce
Minimal fix
One PR, patch bump.
Place picker (
C/SourceScopeCombobox.tsx)choose(:114-117) callsonChangebeforeclose().close()moves focus to the place button only in the next animation frame (:84-90).confirm()(C/vault/MemoryVault.tsx:1203) therefore records the option button as the return target. The dropdown then unmounts it, and the refocus at:1190skips a disconnected element.choose, focus the place button synchronously, thenclose(), thenonChange.selectKind(:91-96) always callsresetNoMemories().:69-73) only reopens the group when the search text changes.<details>/<summary>at:316-330:role="option"row, "Show N places with no memories", with a new locale key.choosetreats it as a toggle and never callsonChange.role="group"with a plain label.noMemoriesPreference, as clicking the summary does now. Clearing a search then returns to that choice, and closing the dropdown resets it.Availability editors (
C/vault/)BulkAvailabilityWorkbench.tsx:55-64lists only current chats plus branch assignments.:101-104, asMemoryAvailabilityWorkbench.tsx:55-80does for one memory.{ groupId, groupIds: [G], chatIds: <every branch> }(C/sources/SourcesWorkspace.tsx:436-437).groupIdsonly (MemoryAvailabilityWorkbench.tsx:139-144).availabilityEntries(vault-shared.ts) makes a chip for every chat id.target.chatIds) count as part of G:groupIdsonly, which also covers branches made later.Branch recall (
S/)generation-injection.ts:189runsbranchInheritedNoteIdsinside the recalltry. AlistChatsrejection or an unreadable note fails the whole recall (:211-214).logger.warnand continue withundefined, which recalls the branch's own memories.listChats()andlistNotes()(:77,:81).ponytail:comment that names this limit and the upgrade path: an Engine group lookup, and reusing the cached notes snapshot.routes/notes.ts:899-935resolves a chat-only scope "like a turn" (:927-929) but doesn't passinheritedNoteIds.branchInheritedNoteIdsand pass it with the request's mode when the route resolved the chat. Use the same fallback as step 6.Tests and dead code
deriveScopeBranches(C/scope-targets.ts:125) and its cases intests/long-term-memory-scope-targets.regression.ts(:7,:110-150).tests/long-term-memory-browser.regression.ts:1812:noteQueries.some(...)with noscopeChatIds, also passes on queries made before "All" was chosen.noteQueries.lengthbefore the choice, and check only the queries made after it.tests/long-term-memory-index-keys.regression.ts):retrieveLongTermMemoryfixture (:505-575), add a check: with a린character memory,린은 뭐 했지?returns the린이 웃었다memory through thebm25lane.:758from "folds with any particle" to "folds with one allowed particle".CHANGELOG under
## UnreleasedCover the user-visible changes in steps 1–6 and 8. Also add one clarifying sentence for 1.4.44: in Game and Conversation chats, only rolling summaries count for branch recall. Day, week and game-session summaries don't, because each branch can write its own under the same name.
Not included
그in그 남자. This is the approved design. Narrowing it would miss titles such as린 (Rin).Regression proof
tests/long-term-memory-browser.regression.ts):optionandgroupchildren (step 3).tests/long-term-memory-branch-recall.regression.ts:listChatsrejects, recall returns the branch's own memories and logs a warning (step 6).scope-targets,routes,runtimeandfeedback-clarity-ui.Environment
staging2039583ca)upstream/staging60d50d47d)Logs, screenshots, or video
None. Found by the #1420, #1433 and #1438 reviews and confirmed by reading the code at
60d50d47d.Additional context
Follow-up to #1420, #1433 and #1438. It doesn't share files with the retention follow-up #1443, so both can run in parallel.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: