[GH-ISSUE #5999] [Issue]: Allow memory-nag to process a selected message range #3319

Closed
opened 2026-10-21 06:01:57 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Sep 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5999

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Memory-nag appears to generate memories starting from the beginning of a chat. Large chats need an option to process only a specified message range to avoid importing stale content.

Expected behavior

Memory-nag should let the user choose between processing the entire chat and processing a specified message range.

Actual behavior

Memory-nag starts creating memories from the beginning of the chat, with no apparent way to limit processing to a selected range.

Steps to reproduce

  1. Open a chat containing 1,000 or more messages.
  2. Run memory-nag.
  3. Observe that memory generation begins at the start of the chat instead of allowing a message range to be selected.

Environment

  • Marinara Engine version: 2.4.4 (build 2.4.4+806261703bad)
  • Install type: termux
  • OS + version: Client: Android 17; server: Android / Termux 6.6.118-android15-8-g1831c2a45d9b-ab15739706-4k (arm64)
  • Browser or app shell: MarinaraEngine/Android app shell using Android WebView and Chrome 151.0.7922.199

Logs, screenshots, or video

Not provided in Discord context.

Additional context

Memory-nag version 1.0.17. The reporter wants to avoid importing stale content from a large chat. A maintainer indicated that a choice between processing all messages and specifying a message range will be added.

Discord thread: Memory-Nag creates entries from chat start, I suffer
Discord thread link: https://discord.com/channels/1417099416812392641/1546979687593541652
Requested by: Kuc0 (kuc0, Discord ID 108988150629531648)

Discord thread transcript (3 messages)
[2026-09-08T20:24:59.015Z] containerd | crow: memory-nag seems to create memories from the very start of the chat, which for a 1k+ msg chat is... not good. i wish i could tell it to only try generating memories from a message range

i don't *have* to use it for this massive chat but it would be nice to have some control over the message span to avoid importing a bunch of stale stuff

 Marinara Engine diagnostics
Version: 2.4.4
Build: 2.4.4+806261703bad
Commit: 806261703bad
Fork: luma-inibitor/Marinara-Engine @ luma/main (28 commits ahead of origin/staging)
Upstream version: 2.4.4
Upstream build: 2.4.4+6892cae6b945
Upstream commit: 6892cae6b945
Server OS: Android / Termux 6.6.118-android15-8-g1831c2a45d9b-ab15739706-4k (arm64)
Server memory: heap 890.8 / 3168 MiB; RSS 424.5 MiB
Client OS: Android 17
Browser / app shell: Mozilla/5.0 (Linux; Android 17; Pixel 10 Pro Build/CP2A.260805.005; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/151.0.7922.199 Mobile Safari/537.36 MarinaraEngine/Android
GPU: PowerVR D-Series DXT-48-1536
Active connection: [or] gemini flash
Connection provider: openrouter
LLM model: ~google/gemini-flash-latest

memory nag v1.0.17
[Discord message: https://discord.com/channels/1417099416812392641/1546979687593541652/1546979687593541652]

[2026-09-08T20:24:59.611Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1546979687593541652/1546979690093224107]

[2026-09-09T14:01:36.139Z] Kuc0: I’ll add a choice between All and range where you specify the range message
[Discord message: https://discord.com/channels/1417099416812392641/1546979687593541652/1547245594404327444]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 9, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5999 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Memory-nag appears to generate memories starting from the beginning of a chat. Large chats need an option to process only a specified message range to avoid importing stale content. ## Expected behavior Memory-nag should let the user choose between processing the entire chat and processing a specified message range. ## Actual behavior Memory-nag starts creating memories from the beginning of the chat, with no apparent way to limit processing to a selected range. ## Steps to reproduce 1. Open a chat containing 1,000 or more messages. 2. Run memory-nag. 3. Observe that memory generation begins at the start of the chat instead of allowing a message range to be selected. ## Environment - Marinara Engine version: 2.4.4 (build 2.4.4+806261703bad) - Install type: termux - OS + version: Client: Android 17; server: Android / Termux 6.6.118-android15-8-g1831c2a45d9b-ab15739706-4k (arm64) - Browser or app shell: MarinaraEngine/Android app shell using Android WebView and Chrome 151.0.7922.199 ## Logs, screenshots, or video Not provided in Discord context. ## Additional context Memory-nag version 1.0.17. The reporter wants to avoid importing stale content from a large chat. A maintainer indicated that a choice between processing all messages and specifying a message range will be added. Discord thread: Memory-Nag creates entries from chat start, I suffer Discord thread link: https://discord.com/channels/1417099416812392641/1546979687593541652 Requested by: Kuc0 (kuc0, Discord ID 108988150629531648) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-09-08T20:24:59.015Z] containerd | crow: memory-nag seems to create memories from the very start of the chat, which for a 1k+ msg chat is... not good. i wish i could tell it to only try generating memories from a message range i don't *have* to use it for this massive chat but it would be nice to have some control over the message span to avoid importing a bunch of stale stuff Marinara Engine diagnostics Version: 2.4.4 Build: 2.4.4+806261703bad Commit: 806261703bad Fork: luma-inibitor/Marinara-Engine @ luma/main (28 commits ahead of origin/staging) Upstream version: 2.4.4 Upstream build: 2.4.4+6892cae6b945 Upstream commit: 6892cae6b945 Server OS: Android / Termux 6.6.118-android15-8-g1831c2a45d9b-ab15739706-4k (arm64) Server memory: heap 890.8 / 3168 MiB; RSS 424.5 MiB Client OS: Android 17 Browser / app shell: Mozilla/5.0 (Linux; Android 17; Pixel 10 Pro Build/CP2A.260805.005; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/151.0.7922.199 Mobile Safari/537.36 MarinaraEngine/Android GPU: PowerVR D-Series DXT-48-1536 Active connection: [or] gemini flash Connection provider: openrouter LLM model: ~google/gemini-flash-latest memory nag v1.0.17 [Discord message: https://discord.com/channels/1417099416812392641/1546979687593541652/1546979687593541652] [2026-09-08T20:24:59.611Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1546979687593541652/1546979690093224107] [2026-09-09T14:01:36.139Z] Kuc0: I’ll add a choice between All and range where you specify the range message [Discord message: https://discord.com/channels/1417099416812392641/1546979687593541652/1547245594404327444] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:01:57 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Sep 9, 2026):

SpicyMarinara (Codex) owns this work in draft Pasta-Devs/Marinara-Agents#776, with Engine integration in #6007. Memory-nag range extraction is implemented in the package repository. Pixelforge staging already ships only word/intensity; the companion PR verifies and documents that contract without adding day or relative verbs.

<!-- gh-comment-id:5607019373 --> @SpicyMarinara commented on GitHub (Sep 9, 2026): SpicyMarinara (Codex) owns this work in draft Pasta-Devs/Marinara-Agents#776, with Engine integration in #6007. Memory-nag range extraction is implemented in the package repository. Pixelforge staging already ships only word/intensity; the companion PR verifies and documents that contract without adding day or relative verbs.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 9, 2026):

Resolved in Pasta-Devs/Marinara-Agents#776, merged into the Agents staging branch as cac8815239b4. Memory Nag 1.1.0 now offers All unprocessed messages or an inclusive message range. It resolves the range to stable IDs, validates it before model calls, preserves existing memories, and keeps future scans after the furthest processed message. Desktop/mobile browser and 1,000-message regression evidence are linked in the PR.

<!-- gh-comment-id:5607734978 --> @SpicyMarinara commented on GitHub (Sep 9, 2026): Resolved in Pasta-Devs/Marinara-Agents#776, merged into the Agents staging branch as cac8815239b4. Memory Nag 1.1.0 now offers All unprocessed messages or an inclusive message range. It resolves the range to stable IDs, validates it before model calls, preserves existing memories, and keeps future scans after the furthest processed message. Desktop/mobile browser and 1,000-message regression evidence are linked in the PR.
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-Engine#3319
No description provided.