mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6182] [Feature]: Pick individual lorebook entries for world generation on the Lorebooks step, and let a setup file carry the Experience and seed #3446
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#3446
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kolacheee on GitHub (Sep 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6182
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Game Mode's Lorebooks step attaches whole books. The server already resolves an explicit entry-id list for the Experience generation route, but the Engine's own world generation on
/game/setupnever receives one, and the only per-entry picker in the product lives on Pixelforge's own setup dialog, which #6181 retires. Without a picker on the Engine's own step, per-entry lore selection disappears for new games. Today the two generators also see different lore: the package's world call gets the picked entries while the Engine's blueprint pass runs on whole books.Separately, a setup file exported from a created game already carries the Experience id and seed, but importing one restores neither, so a downloaded setup cannot reproduce a world on another machine.
Proposed solution
A second PR against
staging, after #6181:activeLorebookEntryIdson the game setup config, filled by a per-book expander on the Lorebooks step that lists the eligible library: enabled books not excluded for this chat, enabled entries not switched off for this chat, constants first. Emitted only when non-empty. Ids that no longer resolve are dropped./game/setuppasses the ids to the lorebook service as forced entries additively, without exact-selection mode, with forced entries exempt from their probability roll. Its lore block runs when either books or entries are selected, so entries picked from a book that is not attached still reach world generation. The picks add to the ordinary scan; nothing else is dropped. The picker states the 100-entry forced-entry cap.Alternatives considered
/game/setup: the moment one entry is ticked, every other book stops reaching world generation, including global and character-bound books, for every game mode, and every lore token budget is switched off on a route that has no context check. Rejected.Additional context
Owned by @kolacheee. Depends on #6181. Must merge before Pixelforge 0.16.7 ships, because that release deletes the package's own picker. Related closed issues from the September sweep: #6122, #6126.
@SpicyMarinara commented on GitHub (Sep 14, 2026):
Taking this in the assigned sweep for @SpicyMarinara, with Codex implementation tracked in draft #6193. Existing open PRs were checked before starting. I will preserve the current staging fixes and verify this issue’s remaining behavior before closing it.
@SpicyMarinara commented on GitHub (Sep 14, 2026):
Implemented on staging in #6193 with companion Pasta-Devs/Marinara-Agents#852. The Lorebooks step supports up to 100 eligible individual entry picks, additively included within ordinary lore budgets. Setup files restore an installed Experience and valid numeric seed without importing arbitrary package config, and the summary shows both. Actual route and wizard browser regressions pass, including unattached probability-zero entries and excluded/disabled/over-budget controls.