mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2193] [Issue]: Game session conclusion no longer runs Game Lorebook Keeper #1096
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#1096
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 @Promansis on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2193
Originally assigned to: @Promansis on GitHub.
Summary
Game session conclusion no longer runs Game Lorebook Keeper automatically, so enabled game lore is not created or updated after End Session.
Expected behavior
When Game Lorebook Keeper is enabled, ending a game session should create or update the game-scoped lorebook, attach it to the game, and record
gameLorebookKeeperLastRun. The latest completed session should also support a retry/regenerate flow that replaces that session's keeper entries.Actual behavior
The refactor conclude-session path only stores the session summary, status, campaign progression, and character cards. A manual
regenerateSessionLorebookhelper exists, but there is no automatic session-end keeper run, nogameLorebookKeeperLastRunupdate in the conclude path, and setup enablement is also affected by the wrong-key issue from the related keeper controls gap.Steps to reproduce
gameLorebookKeeperLastRunand no game-scoped keeper lorebook is created or updated by conclusion.Impact area
Environment
mainLogs, screenshots, or video
Static trace:
src/features/modes/game/api/game-api.ts:1885-1953src/features/modes/game/api/game-api.ts:1962-2041main:packages/server/src/routes/game.routes.ts:3964-3971main:packages/server/src/routes/game.routes.ts:2038-2178main:packages/server/src/routes/game.routes.ts:4094-4132Regression notes
Legacy
mainhad an automaticqueueGameLorebookKeeperAfterConclusion()path after End Session. The refactor only has manual session lore generation and does not wire the automatic keeper run into conclusion.Additional context
This came from parityscan batch 6, row
07-LB-RUNTIME-game-session-lore. Related gap: setup storesgameEnableLorebookKeeperinstead ofgameLorebookKeeperEnabled.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: