mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7932] [MERGED] fix(game-mode): keep GM planning out of the narration #8009
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#8009
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/7932
Author: @kolacheee
Created: 10/21/2026
Status: ✅ Merged
Merged: 10/21/2026
Merged by: @kolacheee
Base:
staging← Head:claude/game-mode-thinking-leak-sk2sor📝 Commits (10+)
47ec878Keep Game Mode planning out of the narrationac46ee2Let a talk-to-GM turn answer out of character8a58cbeKeep a cut-off Game Mode reply's thinking out of the narration3563bd5Point a talk-to-GM turn's language line at its answer834c83aMerge remote-tracking branch 'origin/staging' into claude/game-mode-thinking-leak-sk2sor8ed4c6cMerge remote-tracking branch 'origin/staging' into claude/game-mode-thinking-leak-sk2sorbed57cfMerge remote-tracking branch 'origin/staging' into claude/game-mode-thinking-leak-sk2sora46c738Merge remote-tracking branch 'origin/staging' into claude/game-mode-thinking-leak-sk2sord67efd3fix(game-mode): never promote an earlier tool round's thinking as narratione9ffaa2test(game-mode): cover tool-round thinking through the generate route📊 Changes
5 files changed (+307 additions, -43 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+61 -41)📝
packages/server/src/services/game/gm-prompts.ts(+5 -2)📝
packages/server/src/services/generation/empty-response-reason.ts(+21 -0)➕
scripts/regressions/game-gm-thinking-leak.regression.ts(+144 -0)📝
scripts/regressions/game-tool-controls.regression.ts(+76 -0)📄 Description
Linked issue
Closes #7931
Why this change
What changed
<think>block, which the game turn already moves into the message's thinking.[To the GM]turn is told to give only its out-of-character answer, so it isn't also told to write scene text only.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
New regression
scripts/regressions/game-gm-thinking-leak.regression.tschecks:[To the GM]turnIt fails on staging and passes on this branch.
All 141 regressions that import
gm-prompts,generate.routesorempty-response-reasonpass. Server lint (tsc) and Prettier pass.pnpm checkpassed on the first commit.Not tried against a live model yet.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
None: prompt and server-side change.
Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.