mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6181] [Feature]: The setup wizard hosts an Experience's toggle and seed instead of handing the whole setup to the package #3444
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#3444
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?
Originally created by @kolacheee on GitHub (Sep 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6181
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Turning on a downloaded Experience in the setup wizard's Experiences block replaces the whole wizard with the package's own setup form. The package then has to ask every question Game Mode already asks, on a second form with its own defaults, and the Engine's own steps become unreachable. A Pixelforge game has never been able to choose a party, for example, because the Party step is unmounted the moment the toggle is on. The two forms drift apart, and the package has to emit the entire required setup config itself.
The Pixelforge maintainer's ruling on this, recorded in the package's ROADMAP as item S6, is: no separate creation menu. When the Experience is toggled on, the only thing the package needs from the player is a world seed, and it should appear in the Experiences block itself, where the player can edit or randomize it. Everything else belongs to Game Mode's own setup.
Proposed solution
One PR against
stagingwith these parts:contributions.gameSurface.setup, by which a game-surface package declares a seed field (seed: {key, label?}), constant values the Engine writes into the package's ownexperienceConfig(config), and one requirement on Game Mode's settings (requires: {enableCustomWidgets?}). Capability API moves to 1.17. A manifest whoseconfignames the seed key is rejected.buildSetupConfigemitsgameExperienceIdandexperienceConfigas a conditional spread, only when an Experience is active and the chat is a new game, so re-entering setup on an older Experience chat cannot wipe its stored config.setupis active, so no map-draft call, map builder or template picker runs for such a game.setupblock keeps today's behaviour through aLegacyExperienceSetupDialogextracted from the chooser, so an installed Pixelforge 0.16.6 keeps working on an Engine with this change.metadata.gameExperienceIdfrom a classic-wizard-shaped payload.Two prompt-content changes come with this and will be stated in the PR: for an Experience game the Game Master now receives the player's own goals instead of an empty string, and no longer receives the package's "tile-based pixel-art RPG" genre literal.
Alternatives considered
Additional context
Owned by @kolacheee; implementation in progress on the fork branch
feat/experience-setup-seam. A companion request covers the per-entry lorebook picker and the setup-file round-trip, and a Marinara-Agents issue covers the package side; both are linked in a comment below. The package change ships as Pixelforge 0.16.7 after both Engine PRs merge. Related but out of scope: #6180.@kolacheee commented on GitHub (Sep 14, 2026):
Companion request for the per-entry lorebook picker and the setup-file round-trip: #6182. Package side (Pixelforge 0.16.7): https://github.com/Pasta-Devs/Marinara-Agents/issues/847.
@SpicyMarinara commented on GitHub (Sep 14, 2026):
Taking this in the assigned sweep for @SpicyMarinara, with Codex implementation tracked in draft #6193. Existing open PRs were checked before starting. I will preserve the current staging fixes and verify this issue’s remaining behavior before closing it.
@SpicyMarinara commented on GitHub (Sep 14, 2026):
Implemented on staging in #6193 with companion Pasta-Devs/Marinara-Agents#852. Declared Experiences use the seven-step Engine wizard with numeric seed controls and editable requirements; legacy packages retain their setup dialog and existing games retain their stored Experience. The API addition is 1.18 because 1.17 already shipped the startup contract. Unsupported installed records are skipped independently and preserved losslessly on writes by hosts containing this patch; already-released older hosts cannot be retrofitted by it. Wizard browser and package lifecycle regressions pass.