[PR #195] [MERGED] feat(long-term-memory): refactor review queue #849

Closed
opened 2026-10-20 17:31:35 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/195
Author: @Promansis
Created: 8/2/2026
Status: ✅ Merged
Merged: 8/2/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/ltm-review-queue


📝 Commits (4)

  • 228ee37 fix(long-term-memory): refine review queue layout
  • 9a0d488 feat(long-term-memory): release review queue updates
  • adf6708 fix(long-term-memory): anchor review chevrons
  • 2f85c3d fix(long-term-memory): address review feedback

📊 Changes

9 files changed (+285 additions, -402 deletions)

View changed files

➕ artifacts/long-term-memory-1.1.0.zip (+0 -0)
📝 catalog/catalog.json (+7 -7)
📝 catalog/v2/catalog.json (+7 -7)
📝 catalog/v3/catalog.json (+7 -7)
📝 packages/long-term-memory/client.js (+15 -15)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx (+228 -347)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-lifecycle.regression.ts (+17 -15)

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

Why this change

  • The Long-Term Memory review queue needed a responsive review workflow that is easier to scan, understand, and operate across desktop and mobile viewports.

  • The previous UI mixed draft-level and mutation-level presentation, used inconsistent controls and focus treatment, and made review context harder to follow.

What changed

  • Refactored ReviewQueue.tsx into a clearer navigator/workbench layout with responsive spacing, selection states, hover states, and keyboard focus treatment.
  • Improved mutation rows with target titles, target memory body text, operation/disposition/risk/dependency badges, expandable details, evidence formatting, diagnostics panels, and per-row open-memory actions.
  • Added consistent 44px accept/skip touch targets and compact, visible focus treatment for selection and review controls.
  • Reworked rejected suggestions into structured cards with proposed content, rejection reason, expected recovery, recommended fix, and recovery actions.
  • Simplified extraction details by removing candidate recovery actions from that surface and leaving recovery in the rejected-suggestion flow.
  • Updated responsive lifecycle regression coverage, including mutation expansion and mobile control dimensions.
  • Released long-term-memory from 1.0.9 to 1.1.0 and regenerated the client bundle, manifest, ZIP artifact, and v2/v3 catalog entries.
  • Added the follow-up relative positioning fix so mutation chevrons stay anchored to their own toggle buttons.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: No compatibility range change; package version changes from 1.0.9 to 1.1.0
  • New or changed permissions/entrypoints: None
  • Restart, storage, update, or uninstall impact: Updated client payload and package artifact; no storage schema or lifecycle contract changes

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

  • Ran node scripts/test-catalog-lanes.mjs; catalog lane routing and build provenance tests passed.
  • Ran node scripts/validate-catalog.mjs; catalog validation passed for 31 packages across v2, v3, and the legacy alias.
  • Ran git diff --check; no whitespace errors.
  • Rebuilt with node scripts/build-feature-packages.mjs long-term-memory.
  • Reviewed the full three-commit diff from upstream/staging through adf6708; it contains the review queue refactor, generated package release, regression updates, and chevron positioning fix.
  • Confirmed upstream/staging remained at ed4b877ebdd4d9a8c8bcad1db1bec0b8c78a5b66 before and after the changes.
  • Package installation and interactive Engine UI checks were not performed locally.

Documentation impact

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

UI evidence (if applicable)

The change is a substantial existing-surface UI refactor. Automated lifecycle coverage exercises the responsive review flow and touch-target sizing, but no screenshot or recording was captured; interactive Engine UI verification remains unchecked above.

Summary by CodeRabbit

  • New Features

    • Upgraded Long-Term Memory to version 1.1.0.
    • Added clearer review queue previews, dependency indicators, navigation controls, and an inline option to open memories.
    • Improved rejected suggestion cards with explanations, recovery guidance, recommended fixes, and actions.
  • Style

    • Refreshed review queue layouts, panels, buttons, and mutation details for a more consistent experience.
  • Bug Fixes

    • Improved mobile review behavior and validation for displayed mutation content and actions.

🔄 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/195 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/2/2026 **Status:** ✅ Merged **Merged:** 8/2/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/ltm-review-queue` --- ### 📝 Commits (4) - [`228ee37`](https://github.com/Pasta-Devs/Marinara-Agents/commit/228ee37584740f664ac91fe47267d2dc35a22d76) fix(long-term-memory): refine review queue layout - [`9a0d488`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9a0d48817a794c98641c39e9f9ea9e18d7d4502d) feat(long-term-memory): release review queue updates - [`adf6708`](https://github.com/Pasta-Devs/Marinara-Agents/commit/adf67086b92749b16bc9aa186ea770af5b25b103) fix(long-term-memory): anchor review chevrons - [`2f85c3d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2f85c3dad915d903cf7b90ebf83e22af1dd225c1) fix(long-term-memory): address review feedback ### 📊 Changes **9 files changed** (+285 additions, -402 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.1.0.zip` (+0 -0) 📝 `catalog/catalog.json` (+7 -7) 📝 `catalog/v2/catalog.json` (+7 -7) 📝 `catalog/v3/catalog.json` (+7 -7) 📝 `packages/long-term-memory/client.js` (+15 -15) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx` (+228 -347) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-lifecycle.regression.ts` (+17 -15) </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`. <!-- Open as a draft while implementation is in progress. Mark Ready for review only after validation and self-review. --> ## Linked issue Closes #194 ## Why this change - The Long-Term Memory review queue needed a responsive review workflow that is easier to scan, understand, and operate across desktop and mobile viewports. - The previous UI mixed draft-level and mutation-level presentation, used inconsistent controls and focus treatment, and made review context harder to follow. ## What changed - Refactored `ReviewQueue.tsx` into a clearer navigator/workbench layout with responsive spacing, selection states, hover states, and keyboard focus treatment. - Improved mutation rows with target titles, target memory body text, operation/disposition/risk/dependency badges, expandable details, evidence formatting, diagnostics panels, and per-row open-memory actions. - Added consistent 44px accept/skip touch targets and compact, visible focus treatment for selection and review controls. - Reworked rejected suggestions into structured cards with proposed content, rejection reason, expected recovery, recommended fix, and recovery actions. - Simplified extraction details by removing candidate recovery actions from that surface and leaving recovery in the rejected-suggestion flow. - Updated responsive lifecycle regression coverage, including mutation expansion and mobile control dimensions. - Released `long-term-memory` from `1.0.9` to `1.1.0` and regenerated the client bundle, manifest, ZIP artifact, and v2/v3 catalog entries. - Added the follow-up `relative` positioning fix so mutation chevrons stay anchored to their own toggle buttons. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: No compatibility range change; package version changes from `1.0.9` to `1.1.0` - New or changed permissions/entrypoints: None - Restart, storage, update, or uninstall impact: Updated client payload and package artifact; no storage schema or lifecycle contract changes ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [x] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Ran `node scripts/test-catalog-lanes.mjs`; catalog lane routing and build provenance tests passed. - Ran `node scripts/validate-catalog.mjs`; catalog validation passed for 31 packages across v2, v3, and the legacy alias. - Ran `git diff --check`; no whitespace errors. - Rebuilt with `node scripts/build-feature-packages.mjs long-term-memory`. - Reviewed the full three-commit diff from `upstream/staging` through `adf6708`; it contains the review queue refactor, generated package release, regression updates, and chevron positioning fix. - Confirmed `upstream/staging` remained at `ed4b877ebdd4d9a8c8bcad1db1bec0b8c78a5b66` before and after the changes. - Package installation and interactive Engine UI checks were not performed locally. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) The change is a substantial existing-surface UI refactor. Automated lifecycle coverage exercises the responsive review flow and touch-target sizing, but no screenshot or recording was captured; interactive Engine UI verification remains unchecked above. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Upgraded Long-Term Memory to version 1.1.0. * Added clearer review queue previews, dependency indicators, navigation controls, and an inline option to open memories. * Improved rejected suggestion cards with explanations, recovery guidance, recommended fixes, and actions. * **Style** * Refreshed review queue layouts, panels, buttons, and mutation details for a more consistent experience. * **Bug Fixes** * Improved mobile review behavior and validation for displayed mutation content and actions. <!-- 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-20 17:31:35 +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#849
No description provided.