[PR #746] [MERGED] Pixelforge 0.16.1: the wizard stops writing preset prose over the player's setting #1117

Closed
opened 2026-10-21 05:03:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/746
Author: @kolacheee
Created: 9/7/2026
Status: ✅ Merged
Merged: 9/7/2026
Merged by: @kolacheee

Base: staging ← Head: feat/pixelforge-0161-wizard-honesty


📝 Commits (6)

  • 4245e14 chore(pixelforge): open 0.16.1
  • 5c61c92 fix(pixelforge): the wizard stops answering for the player
  • 8ba17bb docs(pixelforge): what the playtest found, written down where it is owed
  • 7c0dc6c build(pixelforge): bake 0.16.1, and the art still has not moved
  • 56ce397 docs(pixelforge): the release record catches up with the verbs re-bake and gains its 0.16.1 entry
  • 6e95d5e docs+fix(pixelforge): worldName is the trimmed field or the theme default, and the record counts all four modules

📊 Changes

14 files changed (+1056 additions, -81 deletions)

View changed files

➕ artifacts/pixelforge-0.16.1.zip (+0 -0)
📝 packages/pixelforge/CHANGELOG.md (+17 -0)
📝 packages/pixelforge/README.md (+16 -0)
📝 packages/pixelforge/client.js (+256 -36)
📝 packages/pixelforge/docs/ROADMAP.md (+135 -1)
📝 packages/pixelforge/docs/brief-schema.md (+16 -0)
📝 packages/pixelforge/docs/player-state.md (+59 -5)
📝 packages/pixelforge/manifest.json (+3 -3)
📝 packages/pixelforge/src/18-brief.js (+10 -1)
📝 packages/pixelforge/src/60-save.js (+89 -4)
📝 packages/pixelforge/src/70-hud.js (+13 -3)
📝 packages/pixelforge/src/80-setup.js (+143 -27)
📝 packages/pixelforge/test-brief.mjs (+298 -0)
📝 scripts/build-pixelforge-package.mjs (+1 -1)

📄 Description

Linked issue

Closes #745

Why this change

  • The first 0.16.0 playtest emptied the Setting box, named the game "Pallet Town", and still got Hearthvale and Mira. The wizard's theme presets were injected through four doors regardless of player input, which breaks the core promise that the player's own setup drives the world. This patch makes the wizard honest about what the player actually typed; the larger wizard redesign (freestyle theme, Engine-Setting-only vision) is the 0.16.2 round and deliberately not in this PR.

What changed

  • packages/pixelforge/src/80-setup.js (the wizard; 60-save.js carries the worldName reader, 18-brief.js the payload's World name: line, 70-hud.js the loading-gate title):
    • Preset prose is now a placeholder, never a value — an emptied Setting stays empty instead of silently refilling.
    • An empty Setting composes honestly from what the player gave: "A cozy pixel village called Pallet Town." — game name + theme, no preset village, no preset cast.
    • The composed world name is templated from the game name instead of hardcoded.
    • The connection dropdown preselects on isDefault === "true" (the field is TEXT, so the old c?.isDefault truthiness made every row a candidate), filters review-required connections, and renders "name — model".
    • enableCustomWidgets is now false — Pixelforge replaces the HUD, so the engine's widget-review step was pure friction.
    • Party rows show character names parsed from card data instead of raw IDs.
  • packages/pixelforge/client.js, manifest.json, artifacts/pixelforge-0.16.1.zip — the bake (art byte-identical; two bakes over the same tree byte-identical).
  • packages/pixelforge/CHANGELOG.md — 0.16.1 leads.
  • packages/pixelforge/docs/brief-schema.md, docs/player-state.md — worldName documented as its resolved value (trimmed field, theme default when emptied, reader-side normalize+clip; a CodeRabbit round caught the byte-for-byte overclaim).
  • packages/pixelforge/docs/player-state.md — the §12.4 release record catches up with the post-verbs re-bake figures (stale on staging since the verbs merge re-baked 0.16.0 in place) and gains the 0.16.1 record.

Package and security impact

  • Affected package IDs: pixelforge
  • Engine compatibility impact: none — capabilityApi pin unchanged; no new Engine surface used. enableCustomWidgets: false uses the existing config field.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: none. Existing chats are untouched; the wizard change affects only newly created games.

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Manually verify the headline counterfactual in the browser: create a fresh game named "Pallet Town", clear the Setting box, generate — the opening narration and world must use Pallet Town, and no Hearthvale/Mira/preset-cast content should appear anywhere.
  • Manually verify the Setting placeholder: the theme prose shows greyed behind the empty box, and typing your own text uses it exactly as written.
  • Manually verify the connection dropdown: preselects your default connection, shows "name — model", hides review-required connections.
  • Manually verify a new game skips the "Review Starting Widgets" step and the Pixelforge HUD still renders.
  • Manually verify tone/difficulty/rating selections still reach the brief — the headless harness cannot drive <select> values (FakeNode limitation), so this is browser-only evidence.
  • Automated evidence (already run, machine-side): the verifier drove the counterfactual over the shipped source with raw route-row fixtures — emptied Setting + "Pallet Town" produced "A cozy pixel village called Pallet Town." and all six Hearthvale-family strings were absent from the entire brief payload; 17/17 seeded mutations went red; bake ran twice byte-identical with art untouched; repo npm run check exit 0.

Known limitations, named plainly:

  • The party list shows names only; avatars/comments were not taken this round.
  • The empty-Setting composed line is much shorter than the placeholder prose the player sees behind the box — worth one playtest look at whether that reads as a bait-and-switch.
  • Tone/difficulty/rating are browser-only evidence, per above.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

docs/player-state.md §12.4 updated in-package (release record); no Engine-side docs affected.

UI evidence (if applicable)

  • The wizard is package-served UI; before/after screenshots owed from the browser pass (the counterfactual evidence above is payload-level, not visual).

Summary by CodeRabbit

  • New Features

    • World names now carry through setup, generation, loading screens, goals, and map details.
    • Setting starts empty with a theme-based placeholder and can automatically generate a description.
    • Connection and party lists provide clearer information and exclude incomplete entries.
    • Existing worlds retain their data when loading.
  • Bug Fixes

    • Loading feedback now shows the correct world name and supports long-name clipping.
    • Engine HUD widgets and the “Review Starting Widgets” step are no longer generated.
    • Failure screens remain unnamed when appropriate.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/746 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 9/7/2026 **Status:** ✅ Merged **Merged:** 9/7/2026 **Merged by:** [@kolacheee](https://github.com/kolacheee) **Base:** `staging` ← **Head:** `feat/pixelforge-0161-wizard-honesty` --- ### 📝 Commits (6) - [`4245e14`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4245e146452a9d785a289cb64425b0d70d5e92f1) chore(pixelforge): open 0.16.1 - [`5c61c92`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5c61c9268d923339f86bf6a40fca0db96121ec71) fix(pixelforge): the wizard stops answering for the player - [`8ba17bb`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8ba17bbb3ef8640eaebe35b2b4185174f8a67bb7) docs(pixelforge): what the playtest found, written down where it is owed - [`7c0dc6c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7c0dc6ccfff98b41331015fba142995879243044) build(pixelforge): bake 0.16.1, and the art still has not moved - [`56ce397`](https://github.com/Pasta-Devs/Marinara-Agents/commit/56ce397c337d1aa6ca0756eeba882357712365cc) docs(pixelforge): the release record catches up with the verbs re-bake and gains its 0.16.1 entry - [`6e95d5e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6e95d5e139c1ce0996a672d073168fb73cdda46b) docs+fix(pixelforge): worldName is the trimmed field or the theme default, and the record counts all four modules ### 📊 Changes **14 files changed** (+1056 additions, -81 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/pixelforge-0.16.1.zip` (+0 -0) 📝 `packages/pixelforge/CHANGELOG.md` (+17 -0) 📝 `packages/pixelforge/README.md` (+16 -0) 📝 `packages/pixelforge/client.js` (+256 -36) 📝 `packages/pixelforge/docs/ROADMAP.md` (+135 -1) 📝 `packages/pixelforge/docs/brief-schema.md` (+16 -0) 📝 `packages/pixelforge/docs/player-state.md` (+59 -5) 📝 `packages/pixelforge/manifest.json` (+3 -3) 📝 `packages/pixelforge/src/18-brief.js` (+10 -1) 📝 `packages/pixelforge/src/60-save.js` (+89 -4) 📝 `packages/pixelforge/src/70-hud.js` (+13 -3) 📝 `packages/pixelforge/src/80-setup.js` (+143 -27) 📝 `packages/pixelforge/test-brief.mjs` (+298 -0) 📝 `scripts/build-pixelforge-package.mjs` (+1 -1) </details> ### 📄 Description ## Linked issue Closes #745 ## Why this change - The first 0.16.0 playtest emptied the Setting box, named the game "Pallet Town", and still got Hearthvale and Mira. The wizard's theme presets were injected through four doors regardless of player input, which breaks the core promise that the player's own setup drives the world. This patch makes the wizard honest about what the player actually typed; the larger wizard redesign (freestyle theme, Engine-Setting-only vision) is the 0.16.2 round and deliberately not in this PR. ## What changed - `packages/pixelforge/src/80-setup.js` (the wizard; `60-save.js` carries the `worldName` reader, `18-brief.js` the payload's `World name:` line, `70-hud.js` the loading-gate title): - Preset prose is now a **placeholder, never a value** — an emptied Setting stays empty instead of silently refilling. - An empty Setting composes honestly from what the player gave: "A cozy pixel village called Pallet Town." — game name + theme, no preset village, no preset cast. - The composed world name is templated from the game name instead of hardcoded. - The connection dropdown preselects on `isDefault === "true"` (the field is TEXT, so the old `c?.isDefault` truthiness made every row a candidate), filters review-required connections, and renders "name — model". - `enableCustomWidgets` is now `false` — Pixelforge replaces the HUD, so the engine's widget-review step was pure friction. - Party rows show character names parsed from card data instead of raw IDs. - `packages/pixelforge/client.js`, `manifest.json`, `artifacts/pixelforge-0.16.1.zip` — the bake (art byte-identical; two bakes over the same tree byte-identical). - `packages/pixelforge/CHANGELOG.md` — 0.16.1 leads. - `packages/pixelforge/docs/brief-schema.md`, `docs/player-state.md` — `worldName` documented as its resolved value (trimmed field, theme default when emptied, reader-side normalize+clip; a CodeRabbit round caught the byte-for-byte overclaim). - `packages/pixelforge/docs/player-state.md` — the §12.4 release record catches up with the post-verbs re-bake figures (stale on staging since the verbs merge re-baked 0.16.0 in place) and gains the 0.16.1 record. ## Package and security impact - Affected package IDs: `pixelforge` - Engine compatibility impact: none — capabilityApi pin unchanged; no new Engine surface used. `enableCustomWidgets: false` uses the existing config field. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: none. Existing chats are untouched; the wizard change affects only newly created games. ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Manually verify the headline counterfactual in the browser: create a fresh game named "Pallet Town", clear the Setting box, generate — the opening narration and world must use Pallet Town, and no Hearthvale/Mira/preset-cast content should appear anywhere. - Manually verify the Setting placeholder: the theme prose shows greyed behind the empty box, and typing your own text uses it exactly as written. - Manually verify the connection dropdown: preselects your default connection, shows "name — model", hides review-required connections. - Manually verify a new game skips the "Review Starting Widgets" step and the Pixelforge HUD still renders. - Manually verify tone/difficulty/rating selections still reach the brief — the headless harness cannot drive `<select>` values (FakeNode limitation), so this is browser-only evidence. - Automated evidence (already run, machine-side): the verifier drove the counterfactual over the shipped source with raw route-row fixtures — emptied Setting + "Pallet Town" produced `"A cozy pixel village called Pallet Town."` and all six Hearthvale-family strings were absent from the entire brief payload; 17/17 seeded mutations went red; bake ran twice byte-identical with art untouched; repo `npm run check` exit 0. Known limitations, named plainly: - The party list shows names only; avatars/comments were not taken this round. - The empty-Setting composed line is much shorter than the placeholder prose the player sees behind the box — worth one playtest look at whether that reads as a bait-and-switch. - Tone/difficulty/rating are browser-only evidence, per above. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation `docs/player-state.md` §12.4 updated in-package (release record); no Engine-side docs affected. ## UI evidence (if applicable) - The wizard is package-served UI; before/after screenshots owed from the browser pass (the counterfactual evidence above is payload-level, not visual). <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - World names now carry through setup, generation, loading screens, goals, and map details. - Setting starts empty with a theme-based placeholder and can automatically generate a description. - Connection and party lists provide clearer information and exclude incomplete entries. - Existing worlds retain their data when loading. - **Bug Fixes** - Loading feedback now shows the correct world name and supports long-name clipping. - Engine HUD widgets and the “Review Starting Widgets” step are no longer generated. - Failure screens remain unnamed when appropriate. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:03:00 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1117
No description provided.