[GH-ISSUE #7410] [Issue]: Manual summary Write ignores Range scope #4132

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Creating a summary entry with the Write button and Summary Scope set to Range ignores the selected message range. The saved entry is persisted as a last-message summary instead of retaining the selected range.

Expected behavior

The manually written summary should honor the selected Range scope, persist the selected range metadata, and apply the range to the saved entry and chat transcript as the Generate flow does.

Actual behavior

The saved entry ignores the selected range and is persisted with sourceMode: "last", no messageIds, no rangeStartIndex or rangeEndIndex, and no hiddenMessageIds. The Generate flow works correctly with the identical scope.

Steps to reproduce

  1. Open a Roleplay chat with several messages and open Chat Summary.
  2. Set Summary Scope to Range and select messages 1–3 outside the message tail.
  3. Click Write, enter any text such as "Manual summary test", and save the entry.
  4. Inspect the entry list and chat transcript.

Environment

  • Marinara Engine version: 2.5.0
  • Install type: Not provided
  • OS + version: Client: Windows 10.0; server: Linux 6.6.87.2-microsoft-standard-WSL2 (x64)
  • Browser or app shell: Chrome 155.0.0.0 (Mozilla/5.0; Win64; x64; AppleWebKit/537.36)

Logs, screenshots, or video

Support diagnostics: Build 2.5.0+7e28236962a0; commit 7e28236962; persistence local; navigation reload; active connection LinkAPI; connection provider custom; LLM model [free]kimi-k3. No screenshots or video provided.

Additional context

The identical Summary Scope = Range works correctly through Generate. No freeze was detected. Server memory was heap 83.4 / 4288 MiB and RSS 205.8 MiB at diagnostic capture.

Discord thread: Chat Summary: Write ignores selected Range scope
Discord thread link: https://discord.com/channels/1417099416812392641/1558698453695991868
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-10-11T04:31:10.578Z] RafaelSPereira: When creating a summary entry manually via the Write button with Summary Scope = Range, the saved entry ignores the selected range entirely: it is persisted with sourceMode: "last", no messageIds, no rangeStartIndex/rangeEndIndex, and no hiddenMessageIds. 
The Generate flow with the identical scope works correctly.

Steps to reproduce
- Open a Roleplay chat with several messages → Chat Summary.
- Set Summary Scope to Range, e.g. messages 1–3 (outside the tail).
- Click Write, type any text (e.g. "Manual summary test"), save the entry.
- Observe the entry list and the chat transcript.

` ` `
Marinara Engine diagnostics
Version: 2.5.0
Build: 2.5.0+7e28236962a0
Commit: 7e28236962a0
Server OS: Linux 6.6.87.2-microsoft-standard-WSL2 (x64)
Server memory: heap 83.4 / 4288 MiB; RSS 205.8 MiB
Background wake lock: not reported
Last detected freeze: none detected
Previous session: shut down cleanly at 2026-10-11T04:13:45.498Z
Sessions ended without shutdown: 2 recorded
Client OS: Windows 10.0
Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36
Client runtime: {"build":"2.5.0+7e28236962a0","page":"mv39tqum-qdb36axx","persistence":"local","navigation":"reload","standalone":false,"view":[963,0,0,0],"events":[{"at":1791692185130,"page":"mv3b9lwq-v6pgekxg","build":"2.5.0+7e28236962a0","kind":"page-start","view":[963,0,0,0]}]}
GPU: ANGLE (NVIDIA, NVIDIA GeForce RTX 3070 Ti (0x00002482) Direct3D11 vs_5_0 ps_5_0, D3D11)
Server GPU: no NVIDIA GPU detected
Main sidecar: not configured
Utility sidecar: not configured
Decision sidecar: not configured
Sidecar load: not measured
Active connection: LinkAPI
Connection provider: custom
LLM model: [free]kimi-k3
Mari last acted on: none recorded this session
` ` `
[Discord message: https://discord.com/channels/1417099416812392641/1558698453695991868/1558698453695991868]

[2026-10-11T04:31:11.177Z] 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/1558698453695991868/1558698456208375870]

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 (Oct 11, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7410 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Creating a summary entry with the Write button and Summary Scope set to Range ignores the selected message range. The saved entry is persisted as a last-message summary instead of retaining the selected range. ## Expected behavior The manually written summary should honor the selected Range scope, persist the selected range metadata, and apply the range to the saved entry and chat transcript as the Generate flow does. ## Actual behavior The saved entry ignores the selected range and is persisted with sourceMode: "last", no messageIds, no rangeStartIndex or rangeEndIndex, and no hiddenMessageIds. The Generate flow works correctly with the identical scope. ## Steps to reproduce 1. Open a Roleplay chat with several messages and open Chat Summary. 2. Set Summary Scope to Range and select messages 1–3 outside the message tail. 3. Click Write, enter any text such as "Manual summary test", and save the entry. 4. Inspect the entry list and chat transcript. ## Environment - Marinara Engine version: 2.5.0 - Install type: Not provided - OS + version: Client: Windows 10.0; server: Linux 6.6.87.2-microsoft-standard-WSL2 (x64) - Browser or app shell: Chrome 155.0.0.0 (Mozilla/5.0; Win64; x64; AppleWebKit/537.36) ## Logs, screenshots, or video Support diagnostics: Build 2.5.0+7e28236962a0; commit 7e28236962a0; persistence local; navigation reload; active connection LinkAPI; connection provider custom; LLM model [free]kimi-k3. No screenshots or video provided. ## Additional context The identical Summary Scope = Range works correctly through Generate. No freeze was detected. Server memory was heap 83.4 / 4288 MiB and RSS 205.8 MiB at diagnostic capture. Discord thread: Chat Summary: Write ignores selected Range scope Discord thread link: https://discord.com/channels/1417099416812392641/1558698453695991868 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-10-11T04:31:10.578Z] RafaelSPereira: When creating a summary entry manually via the Write button with Summary Scope = Range, the saved entry ignores the selected range entirely: it is persisted with sourceMode: "last", no messageIds, no rangeStartIndex/rangeEndIndex, and no hiddenMessageIds. The Generate flow with the identical scope works correctly. Steps to reproduce - Open a Roleplay chat with several messages → Chat Summary. - Set Summary Scope to Range, e.g. messages 1–3 (outside the tail). - Click Write, type any text (e.g. "Manual summary test"), save the entry. - Observe the entry list and the chat transcript. ` ` ` Marinara Engine diagnostics Version: 2.5.0 Build: 2.5.0+7e28236962a0 Commit: 7e28236962a0 Server OS: Linux 6.6.87.2-microsoft-standard-WSL2 (x64) Server memory: heap 83.4 / 4288 MiB; RSS 205.8 MiB Background wake lock: not reported Last detected freeze: none detected Previous session: shut down cleanly at 2026-10-11T04:13:45.498Z Sessions ended without shutdown: 2 recorded Client OS: Windows 10.0 Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/155.0.0.0 Safari/537.36 Client runtime: {"build":"2.5.0+7e28236962a0","page":"mv39tqum-qdb36axx","persistence":"local","navigation":"reload","standalone":false,"view":[963,0,0,0],"events":[{"at":1791692185130,"page":"mv3b9lwq-v6pgekxg","build":"2.5.0+7e28236962a0","kind":"page-start","view":[963,0,0,0]}]} GPU: ANGLE (NVIDIA, NVIDIA GeForce RTX 3070 Ti (0x00002482) Direct3D11 vs_5_0 ps_5_0, D3D11) Server GPU: no NVIDIA GPU detected Main sidecar: not configured Utility sidecar: not configured Decision sidecar: not configured Sidecar load: not measured Active connection: LinkAPI Connection provider: custom LLM model: [free]kimi-k3 Mari last acted on: none recorded this session ` ` ` [Discord message: https://discord.com/channels/1417099416812392641/1558698453695991868/1558698453695991868] [2026-10-11T04:31:11.177Z] 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/1558698453695991868/1558698456208375870] ``` </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:11:22 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Oct 11, 2026):

Working on this in branch fix/summary-write-range (Claude Code agent for @SpicyMarinara).

<!-- gh-comment-id:6107054546 --> @SpicyMarinara commented on GitHub (Oct 11, 2026): Working on this in branch fix/summary-write-range (Claude Code agent for @SpicyMarinara).
Author
Owner

@SpicyMarinara commented on GitHub (Oct 11, 2026):

Fixed on staging by #7416. Write now uses the selected Range like Generate does: it saves the range on the entry and hides the summarized messages when that setting is on. If the range can't be used, Write or Save says why, and you can pick another range without losing your text.

<!-- gh-comment-id:6107764833 --> @SpicyMarinara commented on GitHub (Oct 11, 2026): Fixed on staging by #7416. **Write** now uses the selected **Range** like **Generate** does: it saves the range on the entry and hides the summarized messages when that setting is on. If the range can't be used, Write or Save says why, and you can pick another range without losing your text.
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#4132
No description provided.