[PR #1327] [MERGED] fix(long-term-memory): 1.4.28 — finish the Debug details pane (#1322) #1404

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/1327
Author: @Promansis
Created: 10/12/2026
Status: ✅ Merged
Merged: 10/12/2026
Merged by: @Promansis

Base: staging ← Head: fix(long-term-memory)/1322-debug-details-polish


📝 Commits (1)

  • 656fde4 fix(long-term-memory): 1.4.28 — finish the Debug details pane (#1322)

📊 Changes

17 files changed (+775 additions, -344 deletions)

View changed files

➕ artifacts/long-term-memory-1.4.28.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 (+453 -206)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/debug-activity.ts (+35 -0)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+56 -31)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-browser.regression.ts (+102 -17)
📝 tests/long-term-memory-debug-activity.regression.ts (+36 -0)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+21 -22)

📄 Description

Pull request

Linked issue

Closes #1322

Why this change

#1322 finishes the two-pane Long-Term Memory Debug details agreed after #1323. The details pane still made people decode raw event data: rows did not say when they last logged, results read as prose with unrecorded counts, recall candidates were dense cards, an empty recall gave no reason, settings were abbreviated labels, and the timeline repeated event names without times or the model's reply time.

What changed

Package: long-term-memory 1.4.27 → 1.4.28 (client-only; no server, permission or storage change).

  • Row times: every operation row shows how long ago it last logged an event (<time datetime>, rendered once, no ticking timer).
  • Header and timeline: header reads when · age · took; timeline shows a +offset column, one sentence per step, a took-duration line and the Copy JSON note.
  • Result: extraction, recall and apply read as large counts joined by arrows; unrecorded counts are omitted, with "Not recorded" only when none were recorded; the failed-apply behavior from #1323 is preserved.
  • Recall candidates: flat rows with a score bar and threshold tick, percent and fused rank, and a reason that names the token or memory limit that applied.
  • Nothing added: a neutral explanation with "What to try", naming the minimum relevance only when every logged rejected candidate was below it.
  • Recall settings used: a definition list of whole labels; weight labels shortened.
  • Helpers: formatAge and formatDuration in debug-activity.ts with boundary tests.
  • Locale: 52 keys added, 27 unused keys removed.
  • Generated outputs rebuilt from source with node scripts/build-feature-packages.mjs long-term-memory: client.js, manifest.json, artifacts/long-term-memory-1.4.28.zip, catalog and release notes, plus the CHANGELOG.md entry.

Decisions where the issue's examples and rules differ: seconds show no decimal from 10 s and a reply over a minute reads "1 min 14 s" (the Minimal-fixes rules were followed over the examples); "What to try" says "Score threshold", the real control label in the Recall tab; extraction Result shows found → kept → changes only, with target memory names still listed.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none; engine.min / engine.maxExclusive unchanged
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: standard package update; no stored-data 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 checks run on the pushed head (all exit 0):

  • npm run check and git diff --check
  • node scripts/test-catalog-lanes.mjs, validate-package-locales.mjs, validate-catalog.mjs, tests/catalog-release-notes.regression.mjs
  • node scripts/typecheck-packages.mjs long-term-memory
  • LTM suites: debug-activity, feedback-clarity-ui, loading, installation, lifecycle and browser (desktop and mobile, overflow and axe assertions)
  • A second build-feature-packages.mjs long-term-memory run left the tree clean.

Not performed: installing or updating the package through a running Engine by hand, the full LTM suite (all), and a visual screenshot review.

A read-only review and a delta review ran on this change; the one layout defect found (the "nothing added" callout paragraphs sat side by side) is fixed and covered by a stacking assertion.

Documentation impact

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

UI evidence (if applicable)

None attached. The layout is covered by the browser regression's assertions.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • The Memory Settings debug activity view now shows event timestamps, elapsed times, and step offsets, with durations formatted for easier reading.
    • Recall details distinguish empty results from missing data, show result counts and candidate relevance, and explain when candidates are rejected by the minimum-relevance threshold.
    • Recall settings and extraction or draft results are presented with clearer labels and counts. Copy JSON now includes a note explaining its contents.
  • Updates
    • Long-Term Memory is updated to version 1.4.28.

🔄 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/1327 **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)/1322-debug-details-polish` --- ### 📝 Commits (1) - [`656fde4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/656fde4a3e6f4e7c6c05578116b0534aa2a14f30) fix(long-term-memory): 1.4.28 — finish the Debug details pane (#1322) ### 📊 Changes **17 files changed** (+775 additions, -344 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.4.28.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` (+453 -206) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/debug-activity.ts` (+35 -0) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+56 -31) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-browser.regression.ts` (+102 -17) 📝 `tests/long-term-memory-debug-activity.regression.ts` (+36 -0) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+21 -22) </details> ### 📄 Description # Pull request ## Linked issue Closes #1322 ## Why this change #1322 finishes the two-pane Long-Term Memory Debug details agreed after #1323. The details pane still made people decode raw event data: rows did not say when they last logged, results read as prose with unrecorded counts, recall candidates were dense cards, an empty recall gave no reason, settings were abbreviated labels, and the timeline repeated event names without times or the model's reply time. ## What changed Package: `long-term-memory` 1.4.27 → 1.4.28 (client-only; no server, permission or storage change). - **Row times:** every operation row shows how long ago it last logged an event (`<time datetime>`, rendered once, no ticking timer). - **Header and timeline:** header reads when · age · took; timeline shows a `+offset` column, one sentence per step, a took-duration line and the Copy JSON note. - **Result:** extraction, recall and apply read as large counts joined by arrows; unrecorded counts are omitted, with "Not recorded" only when none were recorded; the failed-apply behavior from #1323 is preserved. - **Recall candidates:** flat rows with a score bar and threshold tick, percent and fused rank, and a reason that names the token or memory limit that applied. - **Nothing added:** a neutral explanation with "What to try", naming the minimum relevance only when every logged rejected candidate was below it. - **Recall settings used:** a definition list of whole labels; weight labels shortened. - **Helpers:** `formatAge` and `formatDuration` in `debug-activity.ts` with boundary tests. - **Locale:** 52 keys added, 27 unused keys removed. - **Generated outputs** rebuilt from source with `node scripts/build-feature-packages.mjs long-term-memory`: `client.js`, `manifest.json`, `artifacts/long-term-memory-1.4.28.zip`, catalog and release notes, plus the `CHANGELOG.md` entry. Decisions where the issue's examples and rules differ: seconds show no decimal from 10 s and a reply over a minute reads "1 min 14 s" (the Minimal-fixes rules were followed over the examples); "What to try" says "Score threshold", the real control label in the Recall tab; extraction Result shows found → kept → changes only, with target memory names still listed. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none; `engine.min` / `engine.maxExclusive` unchanged - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: standard package update; no stored-data 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 checks run on the pushed head (all exit 0): - `npm run check` and `git diff --check` - `node scripts/test-catalog-lanes.mjs`, `validate-package-locales.mjs`, `validate-catalog.mjs`, `tests/catalog-release-notes.regression.mjs` - `node scripts/typecheck-packages.mjs long-term-memory` - LTM suites: `debug-activity`, `feedback-clarity-ui`, `loading`, `installation`, `lifecycle` and `browser` (desktop and mobile, overflow and axe assertions) - A second `build-feature-packages.mjs long-term-memory` run left the tree clean. Not performed: installing or updating the package through a running Engine by hand, the full LTM suite (`all`), and a visual screenshot review. A read-only review and a delta review ran on this change; the one layout defect found (the "nothing added" callout paragraphs sat side by side) is fixed and covered by a stacking assertion. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) None attached. The layout is covered by the browser regression's assertions. 🤖 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** * The Memory Settings debug activity view now shows event timestamps, elapsed times, and step offsets, with durations formatted for easier reading. * Recall details distinguish empty results from missing data, show result counts and candidate relevance, and explain when candidates are rejected by the minimum-relevance threshold. * Recall settings and extraction or draft results are presented with clearer labels and counts. Copy JSON now includes a note explaining its contents. * **Updates** * Long-Term Memory is updated to version 1.4.28. <!-- 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#1404
No description provided.