mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1374] [Issue]: Long-Term Memory: 58 styles the UI uses are missing in real installs #700
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#700
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 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1374
Originally assigned to: @Promansis on GitHub.
Summary
Long-Term Memory ships no stylesheet. It relies on Tailwind classes that the Engine's own CSS happens to include. Compiling the Engine 2.5.0 stylesheet with and without the LTM client source gives 5,569 vs 5,511 class selectors, so 58 classes LTM uses don't exist in real installs. The package tests compile CSS with the LTM source included, so they show styling that users never get.
Affected package
long-term-memory1.4.31:tests/engine-visual-styles.ts:14-17:@sourcepoints at the package client source, so tests see classes the host doesn't servescripts/build-feature-packages.mjs:1650-1656: LTM gets no package stylesheet; only Noodle and Slurp2 callbuildPackageStyles(:924-972)packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/Expected behavior
Actual behavior
Missing classes, all still in source, include:
[&>:not([data-ltm-source-operation-workbench])]:hiddenand the task-result variant (SourcesWorkspace.tsx:2786-2790). In a host-CSS probe at 1.4.9, Sources → Manage source showed the imported-source inspector ("Not Found / Refresh preview") underneath the workbench.size-6(SourcesWorkspace.tsx:894): Sources checkboxes fall back to native size (about 13px). Review usesh-3.5 w-3.5(14px,ReviewQueue.tsx:761) and the Vault uses native size.focus-visible:ring-[var(--marinara-editor-focus-ring)]andfocus-visible:outline-[var(--marinara-editor-focus-ring)]: focus rings on the 9 tab rails fall back tocurrentColor.text-[var(--marinara-editor-warning)],border-[var(--marinara-editor-warning)]/40and/45(status tones,shared-controls.tsx:324-327,ReviewQueue.tsx:141).md:static md:z-auto md:border-0 md:bg-transparent md:p-0 md:shadow-none(sticky action bars,ReviewQueue.tsx:3472,SourcesWorkspace.tsx:896).inline-grid(shared-controls.tsx:186),m-4(client-entry.tsx:52),max-md:pb-24(LongTermMemoryDetail.tsx:831),md:grid-cols-[12rem_1fr](ExtractionPromptTemplates.tsx:217),!h-11 !w-11 !min-w-11,min-h-[2.75rem], and popover sizingw-[min(26rem,…)]/max-h-[min(20rem,…)].Also, single-select place options use
role="checkbox"(MemoryVault.tsx:344,:469).Workarounds have built up: 9 inline
<style>blocks totalling 457 lines.Steps to reproduce
@source.Environment
upstream/staging39a5c5cfb; LTM files unchanged sincecdb583a95)Logs, screenshots, or video
The 1.4.9 host-CSS probe (Engine stylesheet compiled without the package source) changed 6 of 13 browser-test screenshots.
Minimal fix
@sourceswitchtests/engine-visual-styles.tsalready uses) and fails when the second build has any selector the first lacks.mari-*component class. Where neither exists, write a plain CSS rule in the screen's existing inline<style>block (add one only if the screen has none). For example,[&>:not([data-ltm-source-operation-workbench])]:hiddenhides every direct child of its container except the workbench; it becomes<container> > :not([data-ltm-source-operation-workbench]) { display: none; }.feedback-clarity-uiassertion that expectssize-6(tests/long-term-memory-feedback-clarity-ui.regression.mjs:634).MemoryVault.tsx:344,:469), changerole="checkbox"torole="radio"inside arole="radiogroup";aria-checkedstays as is.No behaviour change beyond the styling and the role.
Additional context
Alternatives considered: building an LTM stylesheet with
buildPackageStyles(self-contained, but Noodle's embedded CSS was about 910 KB, which would roughly doubleclient.js), or adding LTM classes to the Engine safelist (ties LTM styling to Engine releases).engine.minis 2.4.1. Only 2.4.6 and 2.5.0 were measured; older Engines probably miss more.After #1373, so the browser test covers the change.
Template check