mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1687] [MERGED] fix(long-term-memory): UI audit follow-up fixes (1.4.93) #1674
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#1674
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/1687
Author: @Promansis
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/25/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/ltm-audit-followup📝 Commits (10+)
e6247b2fix(long-term-memory): keep temporary locks reachable72a0f36fix(long-term-memory): follow the panel width instead of the window (#1673)33d80dbfix(long-term-memory): raise the text-style retries to the touch floor (#1673)7226572perf(long-term-memory): stop rebuilding row text and the Vault search index per keystroke (#1673)bf5882atest(long-term-memory): browser-prove temporary locks stay reachable9092bacfix(long-term-memory): close container-width and viewport-cap gapsf489c90fix(long-term-memory): reference the import lock note only while a run is activee77dd7afix(long-term-memory): document the compact header and loosen layout pins46f1fe9test(long-term-memory): guard every underlined button and browser-prove two retries20c0770fix(long-term-memory): theme the activation knob shadow and record the success contrast (#1673)📊 Changes
24 files changed (+583 additions, -167 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.93.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+8 -0)📝
packages/long-term-memory/client.js(+72 -30)📝
packages/long-term-memory/docs/UI.md(+13 -1)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx(+22 -5)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/Onboarding.tsx(+9 -2)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/ReviewQueue.tsx(+42 -28)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/ActivityView.tsx(+14 -3)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/ExtractionPromptTemplates.tsx(+6 -2)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MaintenancePanel.tsx(+5 -1)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx(+19 -5)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/sources/DestinationScopePanel.tsx(+10 -5)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/sources/SourcesWorkspace.tsx(+34 -17)...and 4 more files
📄 Description
Linked issue
Closes #1673
Why this change
The follow-up UI audit of Long-Term Memory found five gaps left after 1.4.92:
They touch the same package and mostly the same files, so they ship as one bundle and one version bump.
What changed
Locks (item 1): while work is running, Review and Sources controls use
aria-disabledwith a guarded handler instead of nativedisabled. They stay focusable and point at the lock reason. The Sources import note is referenced only while an import actually runs.Container layout (item 2):
sm:/md:and the onboarding media query became container queries (ltm-memory-settings40rem,ltm-detail40rem/48rem, a newltm-onboardingcontainer at 40rem/48rem). The add action keeps its 2.75rem target at every width. The Vault and Debug caps arecalc(100vh - 12rem)with amax(10rem, calc(100dvh - 12rem))override, and the Debug cap moved from an inline style to a[data-ltm-debug-list]rule.Touch (item 3): the remaining underlined text buttons in Memory Settings and the prompt templates are at least
min-h-11. A static guard now scans every package file for an underlined button without that floor.Typing (item 4): Review row text and the Vault search index are memoised, so they rebuild when their data changes, not on every keystroke.
Theme (item 5):
--ltm-successis unchanged. Its contrast was measured against the Engine's realglobals.cssand recorded beside the token and indocs/UI.md.:rootPackage: long-term-memory 1.4.92 → 1.4.93. The changes are in client source,
tests/long-term-memory-browser.regression.ts,tests/long-term-memory-feedback-clarity-ui.regression.mjs,docs/UI.mdand the CHANGELOG. The generated outputs were rebuilt:client.js, the manifest,artifacts/long-term-memory-1.4.93.zipand the catalogs.Notes for review
These are deliberate. Please flag them only if you disagree with the choice.
100dvh - 12remnear zero, and the list collapses to a sliver.dvhrule is guarded only by the static suite. Headless Chromium readsvhanddvhalike, so a browser check can't tell them apart.settings/MemorySettings.tsxwas raised along with the three the audit listed, because it has the same text-style shape.LastInjectionSummary's compactmin-h-6link is the one named exception to the touch-floor guard.ExtractionPromptTemplatesis the "Reset to default" button. The browser suite measures every Reset to default.StatusSurface(--backgroundat 75%) were not measured. The accent-tinted shadow is softer than the old black, and nobody has looked at it on a light track yet.Package and security impact
engine.minstays 2.4.1)Merge danger
Door: two-way. This is client-only CSS and React with no stored-data or server changes, so a revert restores 1.4.92 behaviour.
Blast radius: layout. If a container threshold or the list cap is wrong, it shows up as a cramped or over-tall LTM panel, not as lost data.
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run on the release head, after rebuilding the package against Marinara Engine
81f0896d3. These are not human checks:feedback-clarity-ui,host-styles(5918 host classes, 0 missing),review-queue-ambiguous-linkandbrowser(onboarding, review, availability, re-extraction, mobile, loading) pass.npm run typecheck:packagesandnpm run checkpass.validate-package-locales.mjs,validate-catalog.mjs,test-catalog-lanes.mjsandcatalog-release-notes.regression.mjspass.Not done: an install or update through a running Engine, and a visual check of the new shadow.
Documentation impact
packages/long-term-memory/docs/UI.mdrecords the container thresholds, the list cap and floor, and the measured success contrast.UI evidence (if applicable)
No screenshots. The browser suite measures the touch targets, the lock focus and the container layout.
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.
e6247b233fix(long-term-memory): keep temporary locks reachable;bf5882a6dtest(long-term-memory): browser-prove temporary locks stay reachable;f489c9029fix(long-term-memory): reference the import lock note only while a run is active72a0f3695fix(long-term-memory): follow the panel width instead of the window (#1673);9092bac75fix(long-term-memory): close container-width and viewport-cap gaps;e77dd7a7efix(long-term-memory): document the compact header and loosen layout pins33d80db93fix(long-term-memory): raise the text-style retries to the touch floor (#1673);46f1fe9batest(long-term-memory): guard every underlined button and browser-prove two retries722657201perf(long-term-memory): stop rebuilding row text and the Vault search index per keystroke (#1673)20c077008fix(long-term-memory): theme the activation knob shadow and record the success contrast (#1673)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.