mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6188] [MERGED] fix: assigned scene, tracker, and Experience startup issues #7082
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#7082
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/6188
Author: @SpicyMarinara
Created: 9/14/2026
Status: ✅ Merged
Merged: 9/14/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/assigned-sweep-6180-6186📝 Commits (5)
6d9e787docs: start assigned issue sweep for scene controls1645e9efix: prepare Experience startups and apply assigned scene and tracker fixes16458b3test: verify prepared startup and incremental tracker routes985f6f7fix: preserve tracker identities and locks across incremental updatescbaeda9fix: settle scene choice dialogs safely and lock pending selections📊 Changes
24 files changed (+1550 additions, -73 deletions)
View changed files
📝
CHANGELOG.md(+5 -0)📝
docs/development/optional-agent-packages.md(+35 -0)📝
e2e/chat-sweep.e2e.ts(+109 -0)➕
e2e/game-experience-startup.e2e.ts(+212 -0)📝
e2e/scene-tts-preferences.e2e.ts(+215 -1)📝
packages/client/src/components/chat/SceneBanner.tsx(+8 -4)📝
packages/client/src/components/game/GameSurface.tsx(+99 -11)📝
packages/client/src/components/layout/ModalRenderer.tsx(+13 -0)📝
packages/client/src/components/presets/ChoiceSelectionModal.tsx(+4 -2)📝
packages/client/src/hooks/use-generate.ts(+3 -1)📝
packages/client/src/lib/scene-generation.ts(+33 -0)📝
packages/client/src/localization/locales/en.json(+2 -0)📝
packages/server/src/routes/generate.routes.ts(+38 -10)📝
packages/server/src/routes/generate/generate-route-utils.ts(+73 -6)📝
packages/server/src/routes/generate/retry-agents-route.ts(+42 -10)📝
packages/server/src/services/agents/agent-executor.ts(+8 -0)📝
packages/shared/src/index.ts(+1 -0)📝
packages/shared/src/schemas/capability-package.schema.ts(+21 -1)📝
packages/shared/src/utils/tracker-field-locks.ts(+26 -12)➕
packages/shared/src/utils/tracker-updates.ts(+83 -0)...and 4 more files
📄 Description
Linked issue
Closes #6180
Closes #6184
Closes #6185
Closes #6186
Why this change
Experience games could narrate before their world existed, scene creation skipped preset variables, tracker updates required whole lists, and Discard/Convert were difficult to read over scene text.
What changed
updates/removedvalues through existing persistence and field-lock handling. Legacy arrays retain their existing behavior. Omitted rows/properties stay unchanged in incremental mode.Package-owned Pixelforge behavior and tracker prompts are in Marinara-Agents #849. Merge Engine first. The tracker prompts retain full-output fallback for older hosts.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated local validation:
pnpm check,pnpm regression:prompt,pnpm version:check, capability lifecycle regression, and 21 focused browser cases passed across desktop Chromium, mobile Chromium, and mobile WebKit. A local provider/real-route fixture covers batched tracker execution, retry, persistence, SSE/client merging, locks, removals, and legacy arrays. Final review fixes passed the focused prompt and real-route regressions; the complete Node suite passed 268/268 withTMPDIR=/private/tmpon macOS (the default temporary directory exceeds the launcher socket path limit and has a symlink mismatch in an existing path assertion).Manual verification notes
Synthetic browser screenshots were inspected. The browser checks exercise preset save failure/retry, disabled inputs during saves, global dismissal/replacement cleanup, and stale-callback protection, theme contrast and confirmations, package load failure/retry, preparation blocking, stale callbacks, opening context, remount/reload, and Classic fallback. A behavioral negative control reproduces premature Start when the new preparation declaration is disabled.
Manually verify a real Pixelforge world with a live model after updating the companion package, and check generated tracker updates in a personal chat. No physical-phone, live-model, or local Docker validation is claimed. The final hosted matrix passed, including the earlier WebKit Stop/partial-save case. One unrelated native-dice screenshot capture timed out after its behavior assertions passed; its exact local run and the targeted hosted shard rerun passed unchanged. Final pnpm check and CodeRabbit review also passed.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Capability API 1.17 and startup contract documented; application version remains 2.4.5. Translation follow-up: #6189. Changelog covers all four issues.
UI evidence (if applicable)
Scene controls, preset variables, and Experience startup screenshots. Synthetic fixture content only.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.