[GH-ISSUE #6203] [Issue]: Feature request - Game mode honors lorebook entry insertion setting #3458

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Imported from the Discord thread "Feature request - Game mode honors lorebook entry insertion setting".

Expected behavior

Not provided in the Discord context.

Actual behavior

See the Discord context transcript below.

Steps to reproduce

  1. Not provided in the Discord context.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

See any attachment links and screenshots in the context below.

Additional context

This issue was created automatically from Discord support context.

Discord thread: Feature request - Game mode honors lorebook entry insertion setting
Discord thread link: https://discord.com/channels/1417099416812392641/1549081732572123146
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-09-14T15:37:45.592Z] Fussel: I'd like to request that lorebook entries in game mode behave as they are intended, inserted at their specified position.
Currently all entries are simply inserted at depth 0 which, in larger lorebooks or conversations, can destroy coherence and logic entirely.

This feature should apply for externally added lorebooks as well as game/lore keeper lorebooks.
Thanks for reading my request!

Marinara Engine diagnostics
Version: 2.4.5
Build: 2.4.5+04be1d95621e
Commit: 04be1d95621e
Server OS: Android / Termux 6.1.145-android14-11-33419968-abS928BXXS6DZH2 (arm64)
Server memory: heap 136.1 / 1120 MiB; RSS 260.6 MiB
Background wake lock: acquired
Last detected freeze: none detected
Previous session: ended without shutting down - last alive 2026-09-14T15:23:48.642Z (up 15h 24m, RSS 166.2 MiB); device rebooted before next launch: no
Sessions ended without shutdown: 10 recorded
Client OS: Android 10
Browser / app shell: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/30.0 Chrome/143.0.0.0 Mobile Safari/537.36
GPU: Adreno (TM) 750
Mari last acted on: none recorded this session

Lorebook Keeper agent version:
Installed v1.0.5
[Discord message: https://discord.com/channels/1417099416812392641/1549081732572123146/1549081732572123146]

[2026-09-14T15:37:46.476Z] 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/1549081732572123146/1549081736280019037]

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 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6203 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Imported from the Discord thread "Feature request - Game mode honors lorebook entry insertion setting". ## Expected behavior Not provided in the Discord context. ## Actual behavior See the Discord context transcript below. ## Steps to reproduce 1. Not provided in the Discord context. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video See any attachment links and screenshots in the context below. ## Additional context This issue was created automatically from Discord support context. Discord thread: Feature request - Game mode honors lorebook entry insertion setting Discord thread link: https://discord.com/channels/1417099416812392641/1549081732572123146 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-09-14T15:37:45.592Z] Fussel: I'd like to request that lorebook entries in game mode behave as they are intended, inserted at their specified position. Currently all entries are simply inserted at depth 0 which, in larger lorebooks or conversations, can destroy coherence and logic entirely. This feature should apply for externally added lorebooks as well as game/lore keeper lorebooks. Thanks for reading my request! Marinara Engine diagnostics Version: 2.4.5 Build: 2.4.5+04be1d95621e Commit: 04be1d95621e Server OS: Android / Termux 6.1.145-android14-11-33419968-abS928BXXS6DZH2 (arm64) Server memory: heap 136.1 / 1120 MiB; RSS 260.6 MiB Background wake lock: acquired Last detected freeze: none detected Previous session: ended without shutting down - last alive 2026-09-14T15:23:48.642Z (up 15h 24m, RSS 166.2 MiB); device rebooted before next launch: no Sessions ended without shutdown: 10 recorded Client OS: Android 10 Browser / app shell: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/30.0 Chrome/143.0.0.0 Mobile Safari/537.36 GPU: Adreno (TM) 750 Mari last acted on: none recorded this session Lorebook Keeper agent version: Installed v1.0.5 [Discord message: https://discord.com/channels/1417099416812392641/1549081732572123146/1549081732572123146] [2026-09-14T15:37:46.476Z] 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/1549081732572123146/1549081736280019037] ``` </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:03:19 +07:00
Author
Owner

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

SpicyMarinara / Codex is handling this issue in draft #6205 as part of the assigned issue sweep. I’m tracing the affected path and keeping the fix and regression proof focused on this report.

<!-- gh-comment-id:5667370744 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): SpicyMarinara / Codex is handling this issue in draft #6205 as part of the assigned issue sweep. I’m tracing the affected path and keeping the fix and regression proof focused on this report.
Author
Owner

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

Fixed on staging in PR #6205 (merge commit). Game now places Before lore ahead of the GM character/game context and After lore behind it. Existing depth insertion and selected role-formatting behavior remain intact. The real outbound generation/regeneration proof covers manually attached, Game and Keeper books, exact content, depths and duplicate suppression. All required CI, CodeRabbit and 271 Node regressions passed.

<!-- gh-comment-id:5667968037 --> @SpicyMarinara commented on GitHub (Sep 14, 2026): Fixed on staging in [PR #6205](https://github.com/Pasta-Devs/Marinara-Engine/pull/6205) ([merge commit](https://github.com/Pasta-Devs/Marinara-Engine/commit/e6d3d4d46ea661b4154e1a6dbf902c28300fb047)). Game now places Before lore ahead of the GM character/game context and After lore behind it. Existing depth insertion and selected role-formatting behavior remain intact. The real outbound generation/regeneration proof covers manually attached, Game and Keeper books, exact content, depths and duplicate suppression. All required CI, CodeRabbit and 271 Node regressions passed.
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#3458
No description provided.