[GH-ISSUE #5907] [Issue]: Lorebook Keeper ignores targeted lorebook and creates multiple lorebooks #3262

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Lorebook Keeper v1.0.5 does not update the configured target lorebook. Instead, it creates multiple new lorebooks.

Expected behavior

Lorebook Keeper should use and update the selected target lorebook when it is unlocked.

Actual behavior

The selected target lorebook remains untouched, while Lorebook Keeper generates multiple separate lorebooks.

Steps to reproduce

  1. Select an unlocked lorebook as the target lorebook in Lorebook Keeper v1.0.5.
  2. Run Lorebook Keeper in a chat.
  3. Observe that the target lorebook is not modified and multiple new lorebooks are created.

Environment

  • Marinara Engine version: 2.4.5 (build 2.4.5+f6efd5ee607b, commit f6efd5ee60)
  • Install type: termux
  • OS + version: Server: Android / Termux 5.10.209-android12-9-o-g63fb7a145195 (arm64); Client: Windows 10.0
  • Browser or app shell: Firefox 155.0 on Windows 10 (Mozilla/5.0; Win64; x64; rv:155.0)

Logs, screenshots, or video

Screenshots: https://cdn.discordapp.com/attachments/1545951173151031356/1545951173314355200/image.png?ex=6a9f543a&is=6a9e02ba&hm=30692285a4787f7ce8a0173e72febf2596577ec5e3f96b0eaa6b71c78b88323a& and https://cdn.discordapp.com/attachments/1545951173151031356/1545951173717139486/image.png?ex=6a9f543a&is=6a9e02ba&hm=10cd4e562c31607b03ac09454ca06a627a547d80b7f934b68a09ba2d20e8a18d&. No logs provided.

Additional context

Agent version: Lorebook Keeper v1.0.5. Reproduced in two separate chats. The configured target lorebook was not locked. Active connection: GPT 5.6 Sol using custom provider and gpt-5.6-sol.

Discord thread: Lorebook Keeper Disregarding Targeted Lorebook; Creating Multiple Instead
Discord thread link: https://discord.com/channels/1417099416812392641/1545951173151031356
Requested by: Kuc0 (kuc0, Discord ID 108988150629531648)

Discord thread transcript (2 messages)
[2026-09-06T00:18:02.063Z] DSBwizzard: Marinara Engine diagnostics
Version: 2.4.5
Build: 2.4.5+f6efd5ee607b
Commit: f6efd5ee607b
Server OS: Android / Termux 5.10.209-android12-9-o-g63fb7a145195 (arm64)
Server memory: heap 88.9 / 1120 MiB; RSS 61.3 MiB
Background wake lock: acquired
Last detected freeze: ~220s suspension, thawed at 2026-09-06T00:15:19.407Z
Previous session: shut down cleanly at 2026-09-05T16:52:03.890Z
Sessions ended without shutdown: 2 recorded
Client OS: Windows 10.0
Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:155.0) Gecko/20100101 Firefox/155.0
GPU: ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0), or similar
Active connection: GPT 5.6 Sol
Connection provider: custom
LLM model: gpt-5.6-sol

---

**Lorebook Keeper v1.0.5**

Lorebook Keeper seems to be entirely disregarding the Lorebook I set to "target lorebook"and instead generating multiple lorebooks willynilly. The targeted lorebook is not Locked and is entirely untouched by the Agent.

Reproduced this on 2 seperate chats.

[attached image 1: https://cdn.discordapp.com/attachments/1545951173151031356/1545951173314355200/image.png?ex=6a9f543a&is=6a9e02ba&hm=30692285a4787f7ce8a0173e72febf2596577ec5e3f96b0eaa6b71c78b88323a&]
[attached image 2: https://cdn.discordapp.com/attachments/1545951173151031356/1545951173717139486/image.png?ex=6a9f543a&is=6a9e02ba&hm=10cd4e562c31607b03ac09454ca06a627a547d80b7f934b68a09ba2d20e8a18d&]
[Discord message: https://discord.com/channels/1417099416812392641/1545951173151031356/1545951173151031356]

[2026-09-06T00:18:02.881Z] 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/1545951173151031356/1545951176581976145]

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 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5907 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Lorebook Keeper v1.0.5 does not update the configured target lorebook. Instead, it creates multiple new lorebooks. ## Expected behavior Lorebook Keeper should use and update the selected target lorebook when it is unlocked. ## Actual behavior The selected target lorebook remains untouched, while Lorebook Keeper generates multiple separate lorebooks. ## Steps to reproduce 1. Select an unlocked lorebook as the target lorebook in Lorebook Keeper v1.0.5. 2. Run Lorebook Keeper in a chat. 3. Observe that the target lorebook is not modified and multiple new lorebooks are created. ## Environment - Marinara Engine version: 2.4.5 (build 2.4.5+f6efd5ee607b, commit f6efd5ee607b) - Install type: termux - OS + version: Server: Android / Termux 5.10.209-android12-9-o-g63fb7a145195 (arm64); Client: Windows 10.0 - Browser or app shell: Firefox 155.0 on Windows 10 (Mozilla/5.0; Win64; x64; rv:155.0) ## Logs, screenshots, or video Screenshots: https://cdn.discordapp.com/attachments/1545951173151031356/1545951173314355200/image.png?ex=6a9f543a&is=6a9e02ba&hm=30692285a4787f7ce8a0173e72febf2596577ec5e3f96b0eaa6b71c78b88323a& and https://cdn.discordapp.com/attachments/1545951173151031356/1545951173717139486/image.png?ex=6a9f543a&is=6a9e02ba&hm=10cd4e562c31607b03ac09454ca06a627a547d80b7f934b68a09ba2d20e8a18d&. No logs provided. ## Additional context Agent version: Lorebook Keeper v1.0.5. Reproduced in two separate chats. The configured target lorebook was not locked. Active connection: GPT 5.6 Sol using custom provider and gpt-5.6-sol. Discord thread: Lorebook Keeper Disregarding Targeted Lorebook; Creating Multiple Instead Discord thread link: https://discord.com/channels/1417099416812392641/1545951173151031356 Requested by: Kuc0 (kuc0, Discord ID 108988150629531648) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-09-06T00:18:02.063Z] DSBwizzard: Marinara Engine diagnostics Version: 2.4.5 Build: 2.4.5+f6efd5ee607b Commit: f6efd5ee607b Server OS: Android / Termux 5.10.209-android12-9-o-g63fb7a145195 (arm64) Server memory: heap 88.9 / 1120 MiB; RSS 61.3 MiB Background wake lock: acquired Last detected freeze: ~220s suspension, thawed at 2026-09-06T00:15:19.407Z Previous session: shut down cleanly at 2026-09-05T16:52:03.890Z Sessions ended without shutdown: 2 recorded Client OS: Windows 10.0 Browser / app shell: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:155.0) Gecko/20100101 Firefox/155.0 GPU: ANGLE (AMD, Radeon R9 200 Series Direct3D11 vs_5_0 ps_5_0), or similar Active connection: GPT 5.6 Sol Connection provider: custom LLM model: gpt-5.6-sol --- **Lorebook Keeper v1.0.5** Lorebook Keeper seems to be entirely disregarding the Lorebook I set to "target lorebook"and instead generating multiple lorebooks willynilly. The targeted lorebook is not Locked and is entirely untouched by the Agent. Reproduced this on 2 seperate chats. [attached image 1: https://cdn.discordapp.com/attachments/1545951173151031356/1545951173314355200/image.png?ex=6a9f543a&is=6a9e02ba&hm=30692285a4787f7ce8a0173e72febf2596577ec5e3f96b0eaa6b71c78b88323a&] [attached image 2: https://cdn.discordapp.com/attachments/1545951173151031356/1545951173717139486/image.png?ex=6a9f543a&is=6a9e02ba&hm=10cd4e562c31607b03ac09454ca06a627a547d80b7f934b68a09ba2d20e8a18d&] [Discord message: https://discord.com/channels/1417099416812392641/1545951173151031356/1545951173151031356] [2026-09-06T00:18:02.881Z] 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/1545951173151031356/1545951176581976145] ``` </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:27 +07:00
Author
Owner

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

Owner: @SpicyMarinara (Codex). Tracing Engine-owned Lorebook Keeper target persistence in draft #5935; will retain automatic routing when no explicit target is selected.

<!-- gh-comment-id:5574382490 --> @SpicyMarinara commented on GitHub (Sep 7, 2026): Owner: @SpicyMarinara (Codex). Tracing Engine-owned Lorebook Keeper target persistence in draft #5935; will retain automatic routing when no explicit target is selected.
Author
Owner

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

Landed on staging in #5935 after the full regression matrix and CodeRabbit review passed. Included focused regression coverage for the reported behavior; main is unchanged.

<!-- gh-comment-id:5575777893 --> @SpicyMarinara commented on GitHub (Sep 7, 2026): Landed on staging in #5935 after the full regression matrix and CodeRabbit review passed. Included focused regression coverage for the reported behavior; main is unchanged.
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#3262
No description provided.