[PR #1276] [MERGED] feat(long-term-memory): 1.4.20 — Debug controls and polish (#1275) #1381

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

📋 Pull Request Information

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

Base: staging ← Head: feature(long-term-memory)/debug-controls-polish


📝 Commits (2)

  • 440c722 feat(long-term-memory): 1.4.20 — Debug controls and polish (#1275)
  • 5b33829 fix(long-term-memory): 1.4.20 — guard Debug clear dialog and scope panel feedback (#1275)

📊 Changes

18 files changed (+679 additions, -168 deletions)

View changed files

➕ artifacts/long-term-memory-1.4.20.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 (+20 -20)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx (+252 -66)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ChatSettings.tsx (+4 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LastInjectionSummary.tsx (+11 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx (+47 -19)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+35 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-browser.regression.ts (+260 -19)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+6 -0)

📄 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 #1275

Why this change

  • The Long-Term Memory Debug/Activity surface was hard to trust and act on: settings edits had no local cue, pending toolbar actions gave ambiguous feedback, the full-log export was unbounded and unexplained, and labels, plurals, and status wording were inconsistent or unlocalized. This polishes that surface so users can safely inspect and clear recall diagnostics.

What changed

  • long-term-memory 1.4.20 (Debug controls and polish):
    • Unsaved cue and inline Save now beside Record recall explanations, reusing the existing save flow and leave guard.
    • Pending toolbar actions show spinners while focus stays on the initiating control; synchronous duplicate-action guards.
    • Full-log export explains its scope and privacy ("Full Activity log exported."), uses a timestamped filename, and surfaces the server's JSON error text.
    • Compact health line: events loaded, index state, and semantic availability; the Debug log size is reported as unavailable because /status.events.bytes measures a different (memory-event) log, and a failed/corrupt index never reads as semantic-available.
    • Localized count/weight/action labels, pluralized scanned-message wording, consistent spaced metadata separators, and per-step Started/Succeeded/Warning/Failed/Skipped timeline wording.
    • One save-feedback surface on the Debug tab; Clear copy states all-chat scope and that memories/settings are unaffected.
  • Regenerated outputs: packages/long-term-memory/client.js, manifest.json, catalog lanes (catalog/catalog.json, catalog/v2/*, catalog/v3/*), and artifacts/long-term-memory-1.4.20.zip.
  • Tests: extended tests/long-term-memory-browser.regression.ts and tests/long-term-memory-feedback-clarity-ui.regression.mjs.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none — range unchanged (>= 2.4.1 < 4.0.0).
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: none (restartRequired unchanged); no storage/format 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

  • Local checks run on the pushed commit: npm run check, git diff --check, npm run typecheck:packages, node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/validate-catalog.mjs, node scripts/tests/catalog-release-notes.regression.mjs.
  • LTM runtime regressions passed locally: tests/long-term-memory-feedback-clarity-ui.regression.mjs and tests/long-term-memory-browser.regression.ts (built against Engine staging 2039583c).
  • Not performed in this task and deliberately left unchecked: manual install/update/restart/uninstall through a Marinara Engine checkout, and hosted CI status.

Documentation impact

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

UI evidence (if applicable)

  • No screenshots attached.

Summary by CodeRabbit

  • New Features

    • The activity log now shows localized operation details, timeline statuses, event counts, and semantic-search health.
    • You can export or clear debug events across chats. Clear confirmations explain that memories and settings are unaffected.
    • Debug-setting changes now have a separate save action and unsaved indicator.
  • Improvements

    • Export and clear actions provide clearer success and error feedback. Recall retry controls prevent duplicate requests and remain accessible while loading.
    • Updated timeline wording, status indicators, and activity-log privacy guidance. Semantic search is shown as unavailable when its index or embeddings cannot be used.

🔄 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/1276 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/9/2026 **Status:** ✅ Merged **Merged:** 10/9/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/debug-controls-polish` --- ### 📝 Commits (2) - [`440c722`](https://github.com/Pasta-Devs/Marinara-Agents/commit/440c722d1659a759c3b69c201a4b5d3e847864e3) feat(long-term-memory): 1.4.20 — Debug controls and polish (#1275) - [`5b33829`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5b33829d39227a5ad8197964fe5bebbb6be61b9b) fix(long-term-memory): 1.4.20 — guard Debug clear dialog and scope panel feedback (#1275) ### 📊 Changes **18 files changed** (+679 additions, -168 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.4.20.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` (+20 -20) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx` (+252 -66) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ChatSettings.tsx` (+4 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LastInjectionSummary.tsx` (+11 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx` (+47 -19) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+35 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-browser.regression.ts` (+260 -19) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+6 -0) </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 #1275 ## Why this change - The Long-Term Memory Debug/Activity surface was hard to trust and act on: settings edits had no local cue, pending toolbar actions gave ambiguous feedback, the full-log export was unbounded and unexplained, and labels, plurals, and status wording were inconsistent or unlocalized. This polishes that surface so users can safely inspect and clear recall diagnostics. ## What changed - `long-term-memory` 1.4.20 (Debug controls and polish): - Unsaved cue and inline **Save now** beside *Record recall explanations*, reusing the existing save flow and leave guard. - Pending toolbar actions show spinners while focus stays on the initiating control; synchronous duplicate-action guards. - Full-log export explains its scope and privacy ("Full Activity log exported."), uses a timestamped filename, and surfaces the server's JSON error text. - Compact health line: events loaded, index state, and semantic availability; the Debug log size is reported as unavailable because `/status.events.bytes` measures a different (memory-event) log, and a failed/corrupt index never reads as semantic-available. - Localized count/weight/action labels, pluralized scanned-message wording, consistent spaced metadata separators, and per-step Started/Succeeded/Warning/Failed/Skipped timeline wording. - One save-feedback surface on the Debug tab; Clear copy states all-chat scope and that memories/settings are unaffected. - Regenerated outputs: `packages/long-term-memory/client.js`, `manifest.json`, catalog lanes (`catalog/catalog.json`, `catalog/v2/*`, `catalog/v3/*`), and `artifacts/long-term-memory-1.4.20.zip`. - Tests: extended `tests/long-term-memory-browser.regression.ts` and `tests/long-term-memory-feedback-clarity-ui.regression.mjs`. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none — range unchanged (`>= 2.4.1 < 4.0.0`). - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: none (`restartRequired` unchanged); no storage/format 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 - Local checks run on the pushed commit: `npm run check`, `git diff --check`, `npm run typecheck:packages`, `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs`, `node scripts/validate-catalog.mjs`, `node scripts/tests/catalog-release-notes.regression.mjs`. - LTM runtime regressions passed locally: `tests/long-term-memory-feedback-clarity-ui.regression.mjs` and `tests/long-term-memory-browser.regression.ts` (built against Engine staging `2039583c`). - Not performed in this task and deliberately left unchecked: manual install/update/restart/uninstall through a Marinara Engine checkout, and hosted CI status. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - No screenshots attached. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * The activity log now shows localized operation details, timeline statuses, event counts, and semantic-search health. * You can export or clear debug events across chats. Clear confirmations explain that memories and settings are unaffected. * Debug-setting changes now have a separate save action and unsaved indicator. * **Improvements** * Export and clear actions provide clearer success and error feedback. Recall retry controls prevent duplicate requests and remain accessible while loading. * Updated timeline wording, status indicators, and activity-log privacy guidance. Semantic search is shown as unavailable when its index or embeddings cannot be used. <!-- 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:07 +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#1381
No description provided.