[PR #1326] [MERGED] fix(long-term-memory): 1.4.27 — make the open Debug event visible #1405

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

📋 Pull Request Information

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

Base: staging ← Head: fix(long-term-memory)/1323-debug-selected-event


📝 Commits (4)

  • 80f48e3 fix(long-term-memory): 1.4.27 — make the open Debug event visible (#1323)
  • 956b642 Merge upstream/staging into fix(long-term-memory)/1323-debug-selected-event
  • fb3e376 fix(long-term-memory): attribute a failed apply to its own draft (#1323)
  • dd20b98 Merge upstream/staging into fix(long-term-memory)/1323-debug-selected-event

📊 Changes

15 files changed (+471 additions, -149 deletions)

View changed files

➕ artifacts/long-term-memory-1.4.27.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 (+28 -28)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx (+231 -61)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+1 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+18 -5)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-browser.regression.ts (+149 -14)

📄 Description

Pull request

Linked issue

Closes #1323

Why this change

Memory Settings → Debug marked the open event only through a hover-like background, so with the pointer elsewhere the selected row and the active filter chip were not visible. Several summaries also repeated their title ("AI extraction: Ok."), used the wrong plural ("1 duplicates"), showed "kept units", or printed raw change IDs. These are the 1.4.20 follow-ups collected in #1323.

What changed

  • Selected row and active chip carry an accent background; the row also gets an accent bar, and selected or hovered rows swap muted text to the foreground colour. This is done with a swapped class and inline style, because the Engine editor shell's unlayered rules beat group-* and aria-pressed: utilities.
  • Rows show their outcome ("7 of 12 kept", "1 added · 6 not added", "1 saved · 1 skipped"); a failed row keeps its error, and the bare "{action}: {status}." fallback is gone.
  • A compile-evidence warning is described by its failed-candidate count rather than the model's summary. Result uses correct singular forms and "kept"; apply shows saved and skipped counts instead of raw IDs, and a failed apply (standalone or auto-apply) reports none.
  • Details renders only when it has content, recall counts are no longer repeated there, the unavailable "Log size" segment is removed, the Vault "Open debug log" link has a 44 px target, and the recall-failed message names Memory Settings → Debug. Four unused locale keys were removed and the new ones added to en.json.
  • Extends the existing Debug scenario in tests/long-term-memory-browser.regression.ts (desktop and mobile), with fixtures for the real compile-warning event shape and a failed apply.
  • Generated outputs rebuilt from source: packages/long-term-memory/client.js, manifest.json, artifacts/long-term-memory-1.4.27.zip and catalog/**. server.mjs is unchanged.

Package and security impact

  • Affected package IDs: long-term-memory (1.4.26 → 1.4.27)
  • Engine compatibility impact: none; engine.min / engine.maxExclusive unchanged
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: client-only display change; no storage or server 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

No manual Engine install or UI walk-through has been done for this PR yet. Automated local runs on the pushed head (Engine checkout at /home/damo/dev/Marinara-Engine): test-ltm.sh browser, debug-activity, debug-log, feedback-clarity-ui and loading; npm run check (0 errors); test-catalog-lanes, validate-package-locales, validate-catalog, catalog-release-notes; git diff --check. Not run: test-ltm.sh routes/all, test-ci.sh.

Known limits: the issue's axe color-contrast proof is not reproduced (no axe in the harness; computed-colour checks are used instead), and the D08 newest-events notice test was not added. The package ships no stylesheet of its own, so the new visuals rely on inline styles and classes already used elsewhere.

Documentation impact

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

UI evidence (if applicable)

None attached.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Updates
    • The Memory Settings → Debug view now presents clearer operation outcomes, errors, and compile-evidence warnings, with more useful extraction, recall, and apply counts.
    • Empty or repetitive descriptions are omitted, and detail sections appear only when they contain information.
    • The Vault’s “Open debug log” control is easier to access.

🔄 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/1326 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/12/2026 **Status:** ✅ Merged **Merged:** 10/12/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/1323-debug-selected-event` --- ### 📝 Commits (4) - [`80f48e3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/80f48e3f1b6ce8fd57a0888f91af5a9198be75a9) fix(long-term-memory): 1.4.27 — make the open Debug event visible (#1323) - [`956b642`](https://github.com/Pasta-Devs/Marinara-Agents/commit/956b642d96c2e9ad3cf3f3a43c6ed328af2ce703) Merge upstream/staging into fix(long-term-memory)/1323-debug-selected-event - [`fb3e376`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fb3e376665529b00686ae86f4705ffc97146c6ea) fix(long-term-memory): attribute a failed apply to its own draft (#1323) - [`dd20b98`](https://github.com/Pasta-Devs/Marinara-Agents/commit/dd20b98631dc5aec861d7cb718f98da042d6d8fa) Merge upstream/staging into fix(long-term-memory)/1323-debug-selected-event ### 📊 Changes **15 files changed** (+471 additions, -149 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.4.27.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` (+28 -28) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx` (+231 -61) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+1 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+18 -5) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-browser.regression.ts` (+149 -14) </details> ### 📄 Description # Pull request ## Linked issue Closes #1323 ## Why this change Memory Settings → Debug marked the open event only through a hover-like background, so with the pointer elsewhere the selected row and the active filter chip were not visible. Several summaries also repeated their title ("AI extraction: Ok."), used the wrong plural ("1 duplicates"), showed "kept units", or printed raw change IDs. These are the 1.4.20 follow-ups collected in #1323. ## What changed - Selected row and active chip carry an accent background; the row also gets an accent bar, and selected or hovered rows swap muted text to the foreground colour. This is done with a swapped class and inline style, because the Engine editor shell's unlayered rules beat `group-*` and `aria-pressed:` utilities. - Rows show their outcome ("7 of 12 kept", "1 added · 6 not added", "1 saved · 1 skipped"); a failed row keeps its error, and the bare "{action}: {status}." fallback is gone. - A compile-evidence warning is described by its failed-candidate count rather than the model's summary. Result uses correct singular forms and "kept"; apply shows saved and skipped counts instead of raw IDs, and a failed apply (standalone or auto-apply) reports none. - Details renders only when it has content, recall counts are no longer repeated there, the unavailable "Log size" segment is removed, the Vault "Open debug log" link has a 44 px target, and the recall-failed message names Memory Settings → Debug. Four unused locale keys were removed and the new ones added to `en.json`. - Extends the existing Debug scenario in `tests/long-term-memory-browser.regression.ts` (desktop and mobile), with fixtures for the real compile-warning event shape and a failed apply. - Generated outputs rebuilt from source: `packages/long-term-memory/client.js`, `manifest.json`, `artifacts/long-term-memory-1.4.27.zip` and `catalog/**`. `server.mjs` is unchanged. ## Package and security impact - Affected package IDs: `long-term-memory` (1.4.26 → 1.4.27) - Engine compatibility impact: none; `engine.min` / `engine.maxExclusive` unchanged - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: client-only display change; no storage or server 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 No manual Engine install or UI walk-through has been done for this PR yet. Automated local runs on the pushed head (Engine checkout at `/home/damo/dev/Marinara-Engine`): `test-ltm.sh` browser, debug-activity, debug-log, feedback-clarity-ui and loading; `npm run check` (0 errors); `test-catalog-lanes`, `validate-package-locales`, `validate-catalog`, `catalog-release-notes`; `git diff --check`. Not run: `test-ltm.sh routes`/`all`, `test-ci.sh`. Known limits: the issue's axe `color-contrast` proof is not reproduced (no axe in the harness; computed-colour checks are used instead), and the D08 newest-events notice test was not added. The package ships no stylesheet of its own, so the new visuals rely on inline styles and classes already used elsewhere. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) None attached. 🤖 Generated with [Claude Code](https://claude.com/claude-code) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Updates** * The Memory Settings → Debug view now presents clearer operation outcomes, errors, and compile-evidence warnings, with more useful extraction, recall, and apply counts. * Empty or repetitive descriptions are omitted, and detail sections appear only when they contain information. * The Vault’s “Open debug log” control is easier to access. <!-- 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:10:54 +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#1405
No description provided.