[GH-ISSUE #501] [Feature]: Lorebook keeper needs a revamp after fix #5363 #253

Closed
opened 2026-10-20 17:25:49 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Lorebook keeper now capable to make a well working system for lorebook keeping, but need a revamp to do it right. Prompt changes or alternative prompt for use the new possibilities.

Proposed package or change

Make a new prompt what follow the logic in 5363

Classify: The Keeper identifies whether a fact belongs to the NPC / world lore / scene / player category.
Search existing books: The Keeper checks <writable_lorebooks> for a book matching that category (e.g. a book whose name contains "NPC Registry").

If a matching book EXISTS: The Keeper writes the entry into that existing book — never creates a new one.

If no matching book exists: The Keeper uses the alias to auto-create it, and the system registers the auto-created lorebook back into <writable_lorebooks> for the next run (by linking it to the chat).

Never touch the original lorebook!

Why should this be optional?

Its a agent.

Alternatives considered

Documentation of the changes and possibilities only but that not a real solution

Additional context

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 @szaki2 on GitHub (Aug 22, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/501 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Lorebook keeper now capable to make a well working system for lorebook keeping, but need a revamp to do it right. Prompt changes or alternative prompt for use the new possibilities. ## Proposed package or change Make a new prompt what follow the logic in 5363 Classify: The Keeper identifies whether a fact belongs to the NPC / world lore / scene / player category. Search existing books: The Keeper checks <writable_lorebooks> for a book matching that category (e.g. a book whose name contains "NPC Registry"). If a matching book EXISTS: The Keeper writes the entry into that existing book — never creates a new one. If no matching book exists: The Keeper uses the alias to auto-create it, and the system registers the auto-created lorebook back into <writable_lorebooks> for the next run (by linking it to the chat). Never touch the original lorebook! ## Why should this be optional? Its a agent. ## Alternatives considered Documentation of the changes and possibilities only but that not a real solution ## Additional context ## 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-20 17:25:49 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 22, 2026):

Owned by @SpicyMarinara in draft PR #507. The revamp will classify entries, reuse matching writable lorebooks, create via the existing alias only when needed, and preserve original/non-writable lorebooks.

<!-- gh-comment-id:5381298616 --> @SpicyMarinara commented on GitHub (Aug 22, 2026): Owned by @SpicyMarinara in draft PR #507. The revamp will classify entries, reuse matching writable lorebooks, create via the existing alias only when needed, and preserve original/non-writable lorebooks.
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#253
No description provided.