[PR #235] [MERGED] fix(long-term-memory): show global review drafts #871

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

📋 Pull Request Information

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

Base: staging ← Head: fix(long-term-memory)/global-review-queue-fresh


📝 Commits (1)

  • 0bf7b6d fix(long-term-memory): show global review drafts

📊 Changes

9 files changed (+57 additions, -40 deletions)

View changed files

➕ artifacts/long-term-memory-1.1.6.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 (+1 -1)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx (+4 -12)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-lifecycle.regression.ts (+27 -2)

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

Why this change

Long-Term Memory's Review Queue badge can show pending drafts while the queue is empty because the badge is global but the queue silently filters by the currently open chat. This prevents users from reviewing lorebook and other non-current-chat imports.

What changed

  • Make Long-Term Memory's pending draft and rejected-suggestion queue requests global.
  • Keep persisted draft scope and server-side acceptance checks unchanged.
  • Add lifecycle regression coverage proving a queue opened from another chat still loads global drafts.
  • Bump Long-Term Memory to 1.1.6.
  • Rebuild the Long-Term Memory client, artifact, manifest, and catalog lane entries.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: None; existing >=2.4.1 <4.0.0 range retained.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: Package version/artifact update only; storage and uninstall behavior unchanged.

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

  • Long-Term Memory lifecycle regression passed against the rebuilt 1.1.6 artifact, covering install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation.
  • node scripts/test-catalog-lanes.mjs passed.
  • node scripts/validate-catalog.mjs passed: 31 packages, v2/v3 lanes valid, legacy alias valid.
  • git diff --check passed.
  • Merge-tree verification against fresh upstream/staging 6b3abfb passed with no conflicts.

Documentation impact

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

UI evidence (if applicable)

The lifecycle regression verifies the Review Queue loads pending drafts from a different chat context. No screenshot is included because this is a behavior/regression fix.


🔄 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/235 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/4/2026 **Status:** ✅ Merged **Merged:** 8/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix(long-term-memory)/global-review-queue-fresh` --- ### 📝 Commits (1) - [`0bf7b6d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0bf7b6d9cdfd766e3d6c244ca5aedd57999a755a) fix(long-term-memory): show global review drafts ### 📊 Changes **9 files changed** (+57 additions, -40 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.1.6.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` (+1 -1) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx` (+4 -12) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-lifecycle.regression.ts` (+27 -2) </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 #233 ## Why this change Long-Term Memory's Review Queue badge can show pending drafts while the queue is empty because the badge is global but the queue silently filters by the currently open chat. This prevents users from reviewing lorebook and other non-current-chat imports. ## What changed - Make Long-Term Memory's pending draft and rejected-suggestion queue requests global. - Keep persisted draft scope and server-side acceptance checks unchanged. - Add lifecycle regression coverage proving a queue opened from another chat still loads global drafts. - Bump Long-Term Memory to `1.1.6`. - Rebuild the Long-Term Memory client, artifact, manifest, and catalog lane entries. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: None; existing `>=2.4.1 <4.0.0` range retained. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: Package version/artifact update only; storage and uninstall behavior unchanged. ## 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 - [x] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Long-Term Memory lifecycle regression passed against the rebuilt `1.1.6` artifact, covering install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation. - `node scripts/test-catalog-lanes.mjs` passed. - `node scripts/validate-catalog.mjs` passed: 31 packages, v2/v3 lanes valid, legacy alias valid. - `git diff --check` passed. - Merge-tree verification against fresh `upstream/staging` `6b3abfb` passed with no conflicts. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) The lifecycle regression verifies the Review Queue loads pending drafts from a different chat context. No screenshot is included because this is a behavior/regression fix. --- <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:50 +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#871
No description provided.