[GH-ISSUE #233] [Issue]: Review Queue badge shows pending drafts but queue is empty #115

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

Originally created by @Promansis on GitHub (Aug 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/233

Originally assigned to: @Promansis on GitHub.

Summary

Long-Term Memory's Review Queue badge reports the global pending-draft count, but the queue list filters drafts by the currently open chat. This can show a nonzero badge with an empty queue, notably after importing lorebook entries.

Affected package

long-term-memory

Expected behavior

The Review Queue badge and list should represent the same set of pending draft reviews. Pending drafts from lorebooks, chats, characters, groups, and global imports should remain reviewable regardless of which chat is currently open.

Accepting a draft must continue applying its persisted scope and source, rather than the currently open chat.

Actual behavior

The badge requests the global pending-draft count, while the Review Queue requests pending drafts with the active chat's chatId. Drafts whose persisted source is global, belongs to another chat, or has a character/group/lorebook scope are excluded from the list. Users can see a badge such as Review Queue (6) while the queue contains no memories or chats.

Steps to reproduce

  1. Open Long-Term Memory inside a chat.
  2. Import lorebook entries using a scope other than the current chat, such as All available, a character, a group, or another chat.
  3. Complete processing so the import creates pending draft reviews.
  4. Open Review Queue from the same chat.
  5. Observe a nonzero Review Queue badge but no listed memories or chats.

Environment

  • Marinara Engine version: Not provided
  • Package version: Current staging package
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

User feedback includes a screenshot showing Review Queue (6) with an empty review queue. No logs or private chat data included.

Additional context

The fix should keep the review queue global and remove only the implicit active-chat filter from the client review and rejected-suggestion requests. Server-side optional chatId filtering and persisted draft scope enforcement should remain unchanged.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Aug 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/233 Originally assigned to: @Promansis on GitHub. ## Summary Long-Term Memory's Review Queue badge reports the global pending-draft count, but the queue list filters drafts by the currently open chat. This can show a nonzero badge with an empty queue, notably after importing lorebook entries. ## Affected package `long-term-memory` ## Expected behavior The Review Queue badge and list should represent the same set of pending draft reviews. Pending drafts from lorebooks, chats, characters, groups, and global imports should remain reviewable regardless of which chat is currently open. Accepting a draft must continue applying its persisted scope and source, rather than the currently open chat. ## Actual behavior The badge requests the global pending-draft count, while the Review Queue requests pending drafts with the active chat's `chatId`. Drafts whose persisted source is global, belongs to another chat, or has a character/group/lorebook scope are excluded from the list. Users can see a badge such as `Review Queue (6)` while the queue contains no memories or chats. ## Steps to reproduce 1. Open Long-Term Memory inside a chat. 2. Import lorebook entries using a scope other than the current chat, such as `All available`, a character, a group, or another chat. 3. Complete processing so the import creates pending draft reviews. 4. Open `Review Queue` from the same chat. 5. Observe a nonzero Review Queue badge but no listed memories or chats. ## Environment - Marinara Engine version: Not provided - Package version: Current `staging` package - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video User feedback includes a screenshot showing `Review Queue (6)` with an empty review queue. No logs or private chat data included. ## Additional context The fix should keep the review queue global and remove only the implicit active-chat filter from the client review and rejected-suggestion requests. Server-side optional `chatId` filtering and persisted draft scope enforcement should remain unchanged. ## Template check - [ ] I DID NOT read this template and provide the requested details.
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#115
No description provided.