mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #701] [MERGED] feat(long-term-memory): unify multi-select destination picker #1098
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#1098
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/701
Author: @Promansis
Created: 9/3/2026
Status: ✅ Merged
Merged: 9/3/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/unified-destination-picker📝 Commits (9)
4299023feat(long-term-memory): unify multi-select destination picker (#700)3cc2692test(long-term-memory): fix review context retry race in lifecycle regression25e7491test(long-term-memory): steady single-retry recovery for review contexte588fb8test(long-term-memory): make review pane navigation layout-agnosticfe54eaffix(long-term-memory): keep destination panel footer from overlapping the listf8cb4ceMerge branch 'staging' into feature(long-term-memory)/unified-destination-pickerbc0076ftest(long-term-memory): update feedback-clarity contract for unified destination panel18843f6fix(long-term-memory): complete destination panel category and persona actions5f3f0cffix(long-term-memory): disable destination actions during source tasks📊 Changes
9 files changed (+518 additions, -674 deletions)
View changed files
📝
artifacts/long-term-memory-1.2.18.zip(+0 -0)📝
catalog/catalog.json(+4 -4)📝
catalog/v2/catalog.json(+4 -4)📝
catalog/v3/catalog.json(+4 -4)📝
packages/long-term-memory/client.js(+22 -22)📝
packages/long-term-memory/manifest.json(+2 -2)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx(+289 -459)📝
tests/long-term-memory-feedback-clarity-ui.regression.mjs(+8 -4)📝
tests/long-term-memory-lifecycle.regression.ts(+185 -175)📄 Description
5f3f0cf1): disabled bothCurrentand category-wide destination actions while a source task is running, so no destination action can invokeonChangeduring an active task; rebuilt the Long-Term Memory payload and catalog hashes.Pull request
Linked issue
Closes #700
Why this change
The Long-Term Memory Sources destination UI was split between a primary
ScopeTargetPickercombobox and a separate in-line "Add more locations" editor (BulkDestinationPicker). The primary/additional distinction was user-facing but unnecessary, the editor hid behind a button and pane switch, and long target lists grew the page because the list had no height bound. This PR replaces both with one persistent, multi-select destination panel.What changed
Affected package:
long-term-memory(generatedclient.js,manifest.json,artifacts/long-term-memory-1.2.18.zip, andcatalog/*/catalog.jsonwere rebuilt).DestinationScopePanelowns the complete editor: selected pills, search, category tab rail (All/Chats/Branches/Characters/Personas), pinnedCurrentand categoryAllactions, capacity feedback, and the existing import-mode summary.destinationTargetId+additionalDestinationTargetIds→selectedDestinationTargetIds. The first target may still back the result label but is no longer a separate selection concept.min-h-0/max-h);#ltm-bulk-destination-listis the scroll container (min-h-0 flex-1 overflow-y-auto overscroll-contain). Non-scroll children areshrink-0so the footer never overlaps the list. Desktop42remceiling; mobilemin(42rem, calc(100dvh - 8rem)).ScopeTargetPickerdestination usage,BulkDestinationPicker, theAdd more locationstrigger, and thelocationEditorOpenpane-switch plumbing. SourceScopeTargetPicker(testId="source") is untouched.mergedDestinationScopesource of truth, 100-ID-per-kind capacity viahasDestinationScopeCapacity/targetFitsDestinationScope, import disabled with no concrete target, no global/undefined destination sent to the import API. Reused existing localization keys (no new strings).Package and security impact
long-term-memory2.4.1 <= v < 4.0.0unchanged, no version bump)Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
npm run check: 0 errors (only pre-existing warnings elsewhere).git diff --check: passes.18843f64): the category-wide action now selects every capacity-eligible target in the active category (and adds a Personas "All" action via the current chat's derived personaId), the selected-location remove button is disabled while a source task runs, and the action exposesaria-pressed. The feedback-clarity layout assertions are now bound to each required class's own opening tag, and the lifecycle regression clickschat:alland asserts the capacity-aware selection.long-term-memory-feedback-clarity-ui.regression.mjs) was updated to assert the unified destination panel (boundedltm-destination-scope-controlflex column,ltm-bulk-destination-listscroll container,100dvhmobile ceiling) instead of the removedBulkDestinationPickerpatterns; the GitHub Catalog validation job now passes.validate-package-locales.mjs,test-catalog-lanes.mjs,validate-catalog.mjs,catalog-release-notes.regression.mjs: all pass.display:none, so Playwright reports them as not visible. This is a pre-existing, environment-specific rendering issue (unreachable on base, which died earlier) rather than a defect introduced here, so the install/update checkboxes remain unticked.Documentation impact
UI evidence (if applicable)
Engine-backed visual/mobile proof for the Sources destination panel was exercised through the lifecycle regression (the panel, imports, and scroll behave correctly); screenshots were not captured in this environment. The unrelated mobile Settings tail could not complete here and is recorded explicitly rather than claimed.
Summary by CodeRabbit
New Features
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.