mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8194] [MERGED] fix(game): reveal a saved reply at once, one roll for narration and sheet, arm choice cards, separate tool rounds #8179
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#8179
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/8194
Author: @kolacheee
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @kolacheee
Base:
staging← Head:claude/project-thread-nibhp6📝 Commits (10+)
9e5e5c1fix(game): start a new paragraph after a tool call and cut the Game Master's announcement of it58f83affix(game): stop typing out a Game reply's unseen stream before revealing the saved narrationacb9023fix(game): a sheet amount that repeats a narrated roll takes that same rolle21452ffix(game): choice cards take a click only after a short arming delaya6a1758fix(game): keep a rewritten round's paragraph break and bound the tool-announcement cutb9f2a07Merge remote-tracking branch 'origin/staging' into claude/project-thread-nibhp636f1170fix(game): cut a tool announcement only when it names the roll or the number it is after95fd82efix(game): cut only an announcement whose object is the roll or the result it waits on7b02093Merge remote-tracking branch 'origin/staging' into claude/project-thread-nibhp6a43f79cfix(game): cut roll announcements that name initiative, a save, a check or damage, and bare ones📊 Changes
12 files changed (+379 additions, -15 deletions)
View changed files
📝
packages/client/src/components/game/GameChoiceCards.tsx(+13 -2)📝
packages/client/src/hooks/use-generate.ts(+6 -0)📝
packages/client/src/lib/generation-stream-policy.ts(+9 -0)📝
packages/server/src/routes/generate/tool-rounds.ts(+42 -12)📝
packages/server/src/services/game/gm-planning.ts(+38 -0)📝
packages/server/src/services/game/gm-prompts.ts(+2 -1)📝
packages/shared/src/utils/dice-placeholder.ts(+19 -0)➕
scripts/regressions/game-choice-cards-arm.regression.ts(+27 -0)📝
scripts/regressions/game-gm-turn-roller-party.regression.ts(+28 -0)📝
scripts/regressions/game-mode-dice-tool.regression.ts(+5 -0)📝
scripts/regressions/generate-tool-rounds.regression.ts(+180 -0)📝
scripts/regressions/roleplay-streaming.regression.ts(+10 -0)📄 Description
Linked issue
Closes #8193
Closes #8195
Closes #8198
Closes #8199
Why this change
A playtest of Game Master turns found four problems.
[[roll: 1d6]]and the sheet command'samount="[[roll: 1d6]]"for the same fall rolled separately. The narration said 2, and the sheet took 5.roll_dicemid-reply, and the saved narration read "...kneels in the lamplight — let me get the number.Warmth goes out...".What changed
shouldTypeOutLiveStream), so nothing waits on a typewriter drain or on animation frames before the saved narration is revealed. Other modes type as before.[sheet: ... amount="[[roll: 1d6]]"], takes the result of the nearest earlier narrated placeholder with the same notation.[roll:]written in the text continues inline as before.content_replace.roll_dicewithout announcing it.Validation
roleplay-streaming: a Game generation is not typed out, andstartTypewriterflushes straight through for Game.game-gm-turn-roller-party:game-choice-cards-arm(new): the arming delay, its cleanup, and the click guard.generate-tool-rounds:game-mode-dice-tool,one-request-dice-prompt(the shipped DICE block still byte for byte),one-request-dice-placeholders,game-gm-*pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
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: no layout changes. The narration shows sooner, and the choice cards ignore a click in their first 700 ms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.