mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8187] [MERGED] fix(game): keep final narration free of private planning #8145
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#8145
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/8187
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/game-planning-narration-8185📝 Commits (5)
5e93d12chore: begin isolated Game narration planning repair06c8343fix(game): strip planning from final narration and safe empty replies9fc0e13fix(game): preserve explicitly GM-directed planning answers63da02dfix(game): keep dice rewrites aligned with GM-directed answers815a6e4Merge remote-tracking branch 'origin/staging' into fix/game-planning-narration-8185📊 Changes
4 files changed (+207 additions, -7 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+10 -3)📝
packages/server/src/services/game/gm-planning.ts(+3 -3)➕
scripts/regressions/game-final-planning.regression.ts(+188 -0)📝
scripts/regressions/game-gm-turn-roller-party.regression.ts(+6 -1)📄 Description
Linked issue
Closes #8185
Why this change
Game replies can display leading
Plan:paragraphs, including after a reply is rewritten using real dice results. A reply containing only planning also falls back to saving that planning as narration.What changed
Validation
Runnable fixture, before/after logs, exact source hashes and local review. All 12 published raw files were verified byte-for-byte.
Final integrated
815a6e47dagainst actual staging28b68a26c: server noEmit, 13 actual planning-route controls, all six actual payment-route groups, main prompt regression, GM turn/roller-party, scoped format and diff checks pass. Both real-route suites ran on the same combined source.Earlier immutable
63da02d4c: fullpnpm check, seven shell smokes and three compiled startup cases pass. One pre-existing HomeProfessorMari hook-dependency warning remains. The later manual integration is limited to the shared post-roll prompt literal on an independently tested staging base; focused integration proof covers it.Two legitimate local-review findings were reproduced through actual routing/outbound requests and fixed. The final four-file staging integration review completed with zero findings.
Retained environmental attempts: one full build stopped on ENOSPC; sparse-checkout runs stopped on missing canonical docs before successful unchanged replays. No source or assertions were changed for those replays.
Manually verify a live Game model reply that begins with planning followed by a scene.
Manually verify a direct question to the GM, including one requiring real dice results.
Build and run a container with the final branch. The local Docker daemon socket was unavailable.
Proof boundary
Deterministic fixtures use actual Fastify routing and disposable Engine storage with local model stubs. They cover finalized SSE content/replacement and saved narration; the existing transient provider-token stream is unchanged. Browser startup checks use emulation. No paid/live model or physical-device validation is claimed.
Docs and release impact
No release version or changelog changes. This restores existing Game narration behavior without changing setup or a public API.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
[PR #8187] fix(game): keep final narration free of private planningto [PR #8187] [MERGED] fix(game): keep final narration free of private planning