[PR #1384] [MERGED] fix(long-term-memory): 1.4.34 — screens use only styles the app serves (#1374) #1431

Closed
opened 2026-10-21 05:11:23 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1384
Author: @Promansis
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @Promansis

Base: staging ← Head: fix(long-term-memory)/1374-host-styles


📝 Commits (4)

  • aec5623 fix(long-term-memory): use only styles the host app serves (#1374)
  • c9f796d Merge upstream/staging into fix(long-term-memory)/1374-host-styles; release long-term-memory 1.4.34
  • 03cbddf Merge branch 'staging' into fix(long-term-memory)/1374-host-styles
  • e44dabe fix(long-term-memory): arrow keys for Vault places; prompt grid sized by its panel (#1374)

📊 Changes

26 files changed (+448 additions, -240 deletions)

View changed files

➕ artifacts/long-term-memory-1.4.34.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 (+4 -0)
📝 packages/long-term-memory/client.js (+66 -20)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx (+3 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ExtractionPromptTemplates.tsx (+1 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+25 -28)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryNavigation.tsx (+2 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx (+5 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+117 -75)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx (+36 -23)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx (+46 -24)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/TargetPicker.tsx (+8 -6)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/client-entry.tsx (+1 -1)

...and 6 more files

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #1374

Why this change

  • The Long-Term Memory client used 58 utility classes that the Engine's stylesheet never generates (the host only emits classes found in its own source). In real installs those screens lost spacing, borders, selected-row highlights, checkbox sizing and focus colours, so they did not look as designed.

What changed

  • long-term-memory 1.4.34: every class the client uses is now served by the host stylesheet (58 → 0 against Engine staging). Where the host has no matching class, the UI uses a plain rule in an existing <style> block or an inline style; the package still ships no stylesheet.
  • Checkboxes use h-4 w-4 (size-* is not served on Engine 2.4.x).
  • Tab rails (navigation, Settings, Vault, Sources and the availability picker) get the editor focus outline from one plain [data-ltm-tab-focus]:focus-visible rule, so they no longer rely on a utility class that only newer Engines serve.
  • The mobile navigation's safe-area padding is an inline style, for the same reason.
  • Warning-tone classes are removed: --marinara-editor-warning is not defined by any Engine, so they never coloured anything. The warning text, icons and status roles stay.
  • Vault place lists are a radiogroup of radios, so screen readers announce them as single choice. Only the checked place is a Tab stop (or the first visible place when the checked one is filtered out or collapsed under "No memories"), and the arrow keys move focus and selection across pinned and regular places. Enter and Space still select.
  • The Settings prompt-template grid switches to two columns from the Memory Settings container query rather than a viewport breakpoint, and its editor column can shrink (minmax(0, 1fr)).
  • New guard tests/long-term-memory-host-styles.regression.ts compiles the Engine stylesheet with and without the LTM client source and fails on any class the host does not serve. tests/engine-visual-styles.ts now takes the package source as optional.
  • Generated outputs rebuilt with node scripts/build-feature-packages.mjs long-term-memory: packages/long-term-memory/client.js, packages/long-term-memory/manifest.json, artifacts/long-term-memory-1.4.34.zip, catalog/{,v2/,v3/}{catalog,notes}.json. server.mjs is unchanged.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none. engine.min 2.4.1 and engine.maxExclusive 4.0.0 are unchanged.
  • New or changed permissions/entrypoints: none. The executable client bundle changes (styling and ARIA roles only); the server bundle does not.
  • Restart, storage, update, or uninstall impact: none. No stored data, settings or routes change.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Automated local runs on e44dabe68 (includes staging d7170efda) with Engine 2039583ca and Node v24.15.0 (recorded for the reviewer; they do not tick the boxes above):
    • Host-styles guard: 5238 host classes, 0 missing.
    • long-term-memory-feedback-clarity-ui, long-term-memory-loading and the long-term-memory-browser lifecycle (onboarding, review, availability, re-extraction, mobile, loading): pass. The browser run now checks the Vault place list's Tab stop and arrow keys.
    • npm run check and git diff --check: pass.
    • scripts/test-catalog-lanes.mjs, scripts/validate-package-locales.mjs, scripts/validate-catalog.mjs, scripts/tests/catalog-release-notes.regression.mjs: pass.
  • Not done yet: a manual install through Marinara Engine, screenshots, an axe check, and a browser run on an Engine 2.4.x host.
  • Known follow-ups, not in this PR:
    • The guard is not wired into ltm-browser.yml.
    • The guard compiles against one Engine root, so it cannot catch a class that only engine.min lacks. For example, border-[var(--marinara-editor-accent)]/30 (three sites) is not served on Engine 2.4.1, where those borders fall back to the default border colour.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

  • None attached yet.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Updated Long-Term Memory to version 1.4.34, with clearer screen-reader announcements for Vault place lists and radio-button selection for scope options.
  • Improvements
    • Refined the Sources preview, wide-screen action-bar layout, selection highlighting, tab focus indicators, info popovers, and checkbox sizing.
    • Adjusted mobile spacing to better account for device safe areas.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/1384 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/14/2026 **Status:** ✅ Merged **Merged:** 10/14/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/1374-host-styles` --- ### 📝 Commits (4) - [`aec5623`](https://github.com/Pasta-Devs/Marinara-Agents/commit/aec56239404cf99a1249c5257f9874968f13e6e6) fix(long-term-memory): use only styles the host app serves (#1374) - [`c9f796d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c9f796dab6d8fd401140ce52c33836881501399c) Merge upstream/staging into fix(long-term-memory)/1374-host-styles; release long-term-memory 1.4.34 - [`03cbddf`](https://github.com/Pasta-Devs/Marinara-Agents/commit/03cbddf8e0f07093a2da6f5f4590e26fec008477) Merge branch 'staging' into fix(long-term-memory)/1374-host-styles - [`e44dabe`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e44dabe6812da526ae413fd85a0c85078fd309cd) fix(long-term-memory): arrow keys for Vault places; prompt grid sized by its panel (#1374) ### 📊 Changes **26 files changed** (+448 additions, -240 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.4.34.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` (+4 -0) 📝 `packages/long-term-memory/client.js` (+66 -20) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx` (+3 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ExtractionPromptTemplates.tsx` (+1 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+25 -28) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryNavigation.tsx` (+2 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx` (+5 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+117 -75) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx` (+36 -23) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx` (+46 -24) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/TargetPicker.tsx` (+8 -6) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/client-entry.tsx` (+1 -1) _...and 6 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #1374 ## Why this change - The Long-Term Memory client used 58 utility classes that the Engine's stylesheet never generates (the host only emits classes found in its own source). In real installs those screens lost spacing, borders, selected-row highlights, checkbox sizing and focus colours, so they did not look as designed. ## What changed - `long-term-memory` **1.4.34**: every class the client uses is now served by the host stylesheet (58 → 0 against Engine staging). Where the host has no matching class, the UI uses a plain rule in an existing `<style>` block or an inline style; the package still ships no stylesheet. - Checkboxes use `h-4 w-4` (`size-*` is not served on Engine 2.4.x). - Tab rails (navigation, Settings, Vault, Sources and the availability picker) get the editor focus outline from one plain `[data-ltm-tab-focus]:focus-visible` rule, so they no longer rely on a utility class that only newer Engines serve. - The mobile navigation's safe-area padding is an inline style, for the same reason. - Warning-tone classes are removed: `--marinara-editor-warning` is not defined by any Engine, so they never coloured anything. The warning text, icons and status roles stay. - Vault place lists are a `radiogroup` of `radio`s, so screen readers announce them as single choice. Only the checked place is a Tab stop (or the first visible place when the checked one is filtered out or collapsed under "No memories"), and the arrow keys move focus and selection across pinned and regular places. Enter and Space still select. - The Settings prompt-template grid switches to two columns from the Memory Settings container query rather than a viewport breakpoint, and its editor column can shrink (`minmax(0, 1fr)`). - New guard `tests/long-term-memory-host-styles.regression.ts` compiles the Engine stylesheet with and without the LTM client source and fails on any class the host does not serve. `tests/engine-visual-styles.ts` now takes the package source as optional. - Generated outputs rebuilt with `node scripts/build-feature-packages.mjs long-term-memory`: `packages/long-term-memory/client.js`, `packages/long-term-memory/manifest.json`, `artifacts/long-term-memory-1.4.34.zip`, `catalog/{,v2/,v3/}{catalog,notes}.json`. `server.mjs` is unchanged. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none. `engine.min` 2.4.1 and `engine.maxExclusive` 4.0.0 are unchanged. - New or changed permissions/entrypoints: none. The executable client bundle changes (styling and ARIA roles only); the server bundle does not. - Restart, storage, update, or uninstall impact: none. No stored data, settings or routes change. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Automated local runs on `e44dabe68` (includes staging `d7170efda`) with Engine `2039583ca` and Node v24.15.0 (recorded for the reviewer; they do not tick the boxes above): - Host-styles guard: 5238 host classes, 0 missing. - `long-term-memory-feedback-clarity-ui`, `long-term-memory-loading` and the `long-term-memory-browser` lifecycle (onboarding, review, availability, re-extraction, mobile, loading): pass. The browser run now checks the Vault place list's Tab stop and arrow keys. - `npm run check` and `git diff --check`: pass. - `scripts/test-catalog-lanes.mjs`, `scripts/validate-package-locales.mjs`, `scripts/validate-catalog.mjs`, `scripts/tests/catalog-release-notes.regression.mjs`: pass. - Not done yet: a manual install through Marinara Engine, screenshots, an axe check, and a browser run on an Engine 2.4.x host. - Known follow-ups, not in this PR: - The guard is not wired into `ltm-browser.yml`. - The guard compiles against one Engine root, so it cannot catch a class that only `engine.min` lacks. For example, `border-[var(--marinara-editor-accent)]/30` (three sites) is not served on Engine 2.4.1, where those borders fall back to the default border colour. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - None attached yet. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Updated Long-Term Memory to version 1.4.34, with clearer screen-reader announcements for Vault place lists and radio-button selection for scope options. * **Improvements** * Refined the Sources preview, wide-screen action-bar layout, selection highlighting, tab focus indicators, info popovers, and checkbox sizing. * Adjusted mobile spacing to better account for device safe areas. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:11:23 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1431
No description provided.