[PR #1263] [MERGED] feat(long-term-memory): 1.4.15 — open Debug filtered to the vault memory (D31) #1377

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

📋 Pull Request Information

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

Base: staging ← Head: feature(long-term-memory)/1260-vault-debug-memory-filter


📝 Commits (2)

  • 4d0fe24 feat(long-term-memory): 1.4.15 — open Debug filtered to the vault memory (D31, #1260)
  • 477b563 fix(long-term-memory): 1.4.15 — count Debug chips over the memory-filtered operations (#1260)

📊 Changes

19 files changed (+374 additions, -92 deletions)

View changed files

➕ artifacts/long-term-memory-1.4.15.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 (+5 -0)
📝 packages/long-term-memory/client.js (+30 -30)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx (+90 -13)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+7 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx (+14 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+5 -1)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/types.ts (+3 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-browser.regression.ts (+177 -0)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+1 -1)

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

Why this change

  • The Memory Vault's "View all activity" link only switched to the Debug tab and lost the selected memory's context, so a user could not tell which debug operations involved that memory.
  • Debug events do not record a durable operation/draft correlation, so the honest, client-side direction is to open Debug filtered to the memory and show whole operations whose logged events explicitly reference it.

What changed

  • Package long-term-memory (1.4.15): renamed the Vault link to Open debug log and passed the current memory id through the existing navigation handoff to Memory Settings → Debug.
  • Debug opens with a visible, clearable memory filter and no selected operation. Whole operations are matched on explicit structured memory-id references (extraction sourceNoteId/noteId, recall selected/rejected candidate noteId) and compose with search and the existing chips. Apply operations log change/mutation ids and are deliberately not matched; the coverage caveat is shown.
  • Generated outputs rebuilt from source: client.js, manifest.json, catalog/catalog.json, catalog/notes.json, catalog/v2|v3 catalogs/notes, and artifacts/long-term-memory-1.4.15.zip.
  • Regression coverage extended in tests/long-term-memory-browser.regression.ts; the renamed locale assertion updated in tests/long-term-memory-feedback-clarity-ui.regression.mjs.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none — engine.min 2.4.1 / maxExclusive 4.0.0 unchanged
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: restartRequired: true unchanged; no storage, update, or uninstall behavior changed

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

  • Rebuilt with node scripts/build-feature-packages.mjs long-term-memory (explicit MARINARA_AGENTS_ROOT/MARINARA_ENGINE_ROOT); manifest client.js hash and artifact/catalog checksums agree.
  • tests/long-term-memory-browser.regression.ts passed on desktop and mobile: memory-filter entry with nothing selected, extraction source + produced target + recall selected/rejected candidate matching, an operation matched by a single later event keeping all events and status, unrelated and apply-only operations excluded, no-match message, empty retained log message, clearing the filter, and a cleared filter not returning after a tab round-trip.
  • tests/long-term-memory-feedback-clarity-ui.regression.mjs passed.
  • npm run typecheck:packages (long-term-memory) clean; npm run check 0 errors (pre-existing warnings only).
  • 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, and git diff --check all pass.
  • Gap: install/update through Marinara Engine was not verified. tests/long-term-memory-installation.regression.ts is blocked by a pre-existing mismatch between the repo-vendored sources/engine/packages/shared/dist/index.js and the Engine's REQUEST_TIMEOUTS export, unrelated to this change. Restart/uninstall manual checks were not performed.

Documentation impact

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

No README catalog or Engine documentation changes are needed: catalog membership, compatibility, and setup are unchanged.

UI evidence (if applicable)

No screenshots attached; the affected flow is covered by the browser regression above.

Summary by CodeRabbit

  • New Features

    • The Memory Vault’s “Open debug log” link now opens the Debug tab filtered to activity explicitly linked to that memory.
    • Combine the memory filter with search and other filters, or clear it. Apply operations may not appear if they reference change IDs rather than memory IDs.
    • Empty results distinguish between no matching memory activity and other empty-log or filter states.
  • Release

    • Updated Long-Term Memory to version 1.4.15.

🔄 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/1263 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/7/2026 **Status:** ✅ Merged **Merged:** 10/7/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/1260-vault-debug-memory-filter` --- ### 📝 Commits (2) - [`4d0fe24`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4d0fe24c951fcf17755bccf494d6a73b10d4f8e2) feat(long-term-memory): 1.4.15 — open Debug filtered to the vault memory (D31, #1260) - [`477b563`](https://github.com/Pasta-Devs/Marinara-Agents/commit/477b563e3c8b22df04044b50ca347e72bf1067ee) fix(long-term-memory): 1.4.15 — count Debug chips over the memory-filtered operations (#1260) ### 📊 Changes **19 files changed** (+374 additions, -92 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.4.15.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` (+5 -0) 📝 `packages/long-term-memory/client.js` (+30 -30) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx` (+90 -13) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+7 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx` (+14 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+5 -1) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/types.ts` (+3 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-browser.regression.ts` (+177 -0) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+1 -1) </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 #1260 ## Why this change - The Memory Vault's "View all activity" link only switched to the Debug tab and lost the selected memory's context, so a user could not tell which debug operations involved that memory. - Debug events do not record a durable operation/draft correlation, so the honest, client-side direction is to open Debug filtered to the memory and show whole operations whose logged events explicitly reference it. ## What changed - Package `long-term-memory` (1.4.15): renamed the Vault link to **Open debug log** and passed the current memory id through the existing navigation handoff to Memory Settings → Debug. - Debug opens with a visible, clearable memory filter and **no selected operation**. Whole operations are matched on explicit structured memory-id references (extraction `sourceNoteId`/`noteId`, recall selected/rejected candidate `noteId`) and compose with search and the existing chips. Apply operations log change/mutation ids and are deliberately not matched; the coverage caveat is shown. - Generated outputs rebuilt from source: `client.js`, `manifest.json`, `catalog/catalog.json`, `catalog/notes.json`, `catalog/v2|v3` catalogs/notes, and `artifacts/long-term-memory-1.4.15.zip`. - Regression coverage extended in `tests/long-term-memory-browser.regression.ts`; the renamed locale assertion updated in `tests/long-term-memory-feedback-clarity-ui.regression.mjs`. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none — `engine.min` 2.4.1 / `maxExclusive` 4.0.0 unchanged - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: `restartRequired: true` unchanged; no storage, update, or uninstall behavior changed ## 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 - Rebuilt with `node scripts/build-feature-packages.mjs long-term-memory` (explicit `MARINARA_AGENTS_ROOT`/`MARINARA_ENGINE_ROOT`); manifest `client.js` hash and artifact/catalog checksums agree. - `tests/long-term-memory-browser.regression.ts` passed on desktop and mobile: memory-filter entry with nothing selected, extraction source + produced target + recall selected/rejected candidate matching, an operation matched by a single later event keeping all events and status, unrelated and apply-only operations excluded, no-match message, empty retained log message, clearing the filter, and a cleared filter not returning after a tab round-trip. - `tests/long-term-memory-feedback-clarity-ui.regression.mjs` passed. - `npm run typecheck:packages` (`long-term-memory`) clean; `npm run check` 0 errors (pre-existing warnings only). - `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`, and `git diff --check` all pass. - Gap: install/update through Marinara Engine was **not** verified. `tests/long-term-memory-installation.regression.ts` is blocked by a pre-existing mismatch between the repo-vendored `sources/engine/packages/shared/dist/index.js` and the Engine's `REQUEST_TIMEOUTS` export, unrelated to this change. Restart/uninstall manual checks were not performed. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation No README catalog or Engine documentation changes are needed: catalog membership, compatibility, and setup are unchanged. ## UI evidence (if applicable) No screenshots attached; the affected flow is covered by the browser regression above. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * The Memory Vault’s “Open debug log” link now opens the Debug tab filtered to activity explicitly linked to that memory. * Combine the memory filter with search and other filters, or clear it. Apply operations may not appear if they reference change IDs rather than memory IDs. * Empty results distinguish between no matching memory activity and other empty-log or filter states. * **Release** * Updated Long-Term Memory to version 1.4.15. <!-- 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:03 +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#1377
No description provided.