mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6137] [MERGED] fix: address September lorebook, Game, and settings issue sweep #7067
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#7067
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/6137
Author: @SpicyMarinara
Created: 9/13/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/issue-sweep-sep13📝 Commits (10+)
7af7c43chore: start September issue sweepa06a5d3fix: let Windows console shutdown finish savinge570ceafix: resolve lorebook, Game dice, and settings sweepabc870cfix(game): cover scene analysis and retries in sequential tasksc9f1f0cMerge remote-tracking branch 'origin/staging' into fix/issue-sweep-sep1373f932fdocs: include presets in character-proposed scene setup95494d4fix: cover review edge cases in lore state and Game tasks7e9b03dfix: address current quality findings with minimal cleanupe8bb3d3fix: cap onboarding tooltip height on short desktop windows258d2b6fix: use real viewport limits and stabilize Help regression setup📊 Changes
88 files changed (+2938 additions, -342 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+23 -0)📝
CHANGELOG.md(+12 -0)📝
docs/TROUBLESHOOTING.md(+1 -1)📝
docs/extending/custom-tools.md(+1 -1)📝
docs/game/dice-and-skill-checks.md(+3 -1)📝
docs/game/getting-started.md(+4 -0)📝
docs/media/tts-setup.md(+2 -0)📝
docs/roleplay/scenes.md(+6 -5)📝
e2e/chat-lorebook-entry-scope.e2e.ts(+59 -3)📝
e2e/core-flows.e2e.ts(+64 -17)📝
e2e/game-tool-controls.e2e.ts(+42 -0)➕
e2e/scene-tts-preferences.e2e.ts(+316 -0)📝
packages/client/src/components/bot-browser/BotBrowserView.tsx(+1 -3)📝
packages/client/src/components/capabilities/CapabilityElement.tsx(+1 -1)📝
packages/client/src/components/chat/ChatArea.tsx(+2 -1)📝
packages/client/src/components/chat/ChatHelpOverlay.tsx(+2 -0)📝
packages/client/src/components/chat/ChatMessage.tsx(+1 -1)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+11 -0)📝
packages/client/src/components/chat/ConversationPresenceScheduleSection.tsx(+42 -32)📝
packages/client/src/components/chat/PeekPromptModal.tsx(+19 -1)...and 68 more files
📄 Description
Linked issue
Closes #6107. Closes #6108. Closes #6112. Closes #6117. Closes #6118. Closes #6119. Closes #6120. Closes #6121. Closes #6122. Closes #6123. Closes #6124. Closes #6125. Closes #6126. Closes #6127. Closes #6128. Closes #6129. Closes #6130. Closes #6131. Closes #6132. Closes #6133. Closes #6134. Closes #6135.
Also addresses #6140: review and clear standard/AI quality findings against staging (per-finding audit).
Why this change
Game turns could save invented dice outcomes, drop legitimate world commands, hide planner usage, or spend a world-generation call without enough answer space. Lorebook searches and chat-local entry state also disagreed across UI, storage, and generation. This sweep fixes those paths, adds the requested scene/TTS/Game settings through existing controls, and repairs Windows shutdown and its regression lane. The additional quality sweep removes obsolete code and fixes three current UI suggestions without new dependencies.
What changed
Lore search combines literal matches with relevant semantic results, including entries without usable embeddings. Entry toggles enforce book scope; deletion and state cleanup commit or roll back together; detachment clears stale state; exhausted activations can restart; duplicates preserve pending shared edits without copying a chat override.
Engine dice work with subscription providers, reject invented or unsupported results, preserve justified commands through outcome correction, and expose a retry notice when narration fails. Peek Prompt separates planner model/usage from narration.
World generation accepts large selections, honors disabled entries, and rejects insufficient answer space before calling a provider while retaining explicitly configured small output limits.
Scene creation remembers a prompt preset. TTS can skip tag content, brackets, and code blocks. An opt-in Game setting runs model tasks one at a time within that chat, including scene analysis, generation, agent retries, and background storyboard rendering; saves and cancellation remain available.
Windows Ctrl+C relies on the console's existing signal delivery so the server can finish saving. Portable regression loader URLs and a native Windows console CI lane verify the launcher path.
Chat Help refreshes viewport-dependent layout even when measured targets stay fixed; onboarding tooltips cap their preferred height to available space on short desktop windows. Schedule copy and ungrouped persona headings use the existing localization system. Twenty-eight valid standard findings receive small dead-code/conditional cleanups; intentional native API usage and Promise identity guards are retained.
Existing contributor patches remain in #6105 and the already-merged #6116. #6136 stays open as the single weather-date design tracker; this sweep preserves the prior decision to withhold the proposed verbs.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdRecorded automated proof (checkboxes remain human tasks):
pnpm checkpasses on final commit258d2b624, including localization, types, lint, formatting, and production builds.pnpm regression:promptpassed for the original sweep; its checks are also included in the complete Node lane below.The complete Node regression lane on final
258d2b624passes 260/260, zero failures. The tooltip positioning proof failed before the cap and passes with the fix.Focused actual-route proofs cover lore scope/cleanup, 3,000-entry selection, disabled lore, context-limit refusal before billing, explicit small output budgets, subscription text dice, failed correction, world commands, and sequential analysis/generation/retries/finalizers. Defaults retain parallel execution.
Semantic relevance threshold checked against the real MiniLM model with relevant paraphrases and unrelated controls.
Native Windows console/restart/shutdown CI passed. POSIX restart and signal proofs also pass.
All 18 review follow-up browser cases pass (9 desktop Chromium, 9 mobile WebKit), including preset errors/retry, loading with None, and a pending shared lore toggle. Combined with the unchanged Game controls proof, 22 distinct cases pass.
Quality follow-up browser proof: current Help resize passes Chromium and WebKit; removing only the viewport-signature additions reproduces the old failure in both. The retained Help test also passes ten repeated runs (five per browser) after replacing its mount-timing assumption with the real Help button. Separate 800×320 and 800×220 Chromium tutorial checks confirm the card stays within the viewport, scrolls, and retains access to Get Started. Captures are in the existing evidence gist.
Incremental local CodeRabbit reviews cover the full quality change and final fixes with no outstanding findings. GitHub CodeRabbit completed the final
258d2b624review with no actionable comments. All required checks pass.Manual verification notes
Browser tests used disposable data and mocked providers. They do not establish physical-device memory usage or live-provider behavior.
Docs and release impact
English guides and CHANGELOG are updated. All ten documentation packs are translated and validated in #6138 against
docs-i18n, including the prior Advanced Memory and interruption follow-ups. No version bump or new dependency.UI evidence
Desktop/mobile browser captures show scene preset selection, TTS filters, lore scope, Game tool/sequential controls, dice recovery, and separate planner usage in light/dark themes.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.