[GH-ISSUE #1698] [Issue]: Game Start allows None GM model and falls back to default connection #837

Closed
opened 2026-10-21 05:21:41 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @cha1latte on GitHub (May 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1698

Originally assigned to: @cha1latte on GitHub.

Summary

On the pre-game Start screen, selecting None for the GM / Party Model still allows Start Game. Generation then receives null connection IDs and silently falls back to the default or first connection, so the explicit None selection is ignored.

Expected behavior

Start Game should be disabled, or the user should be prompted to choose a GM / Party Model, when the selected GM model is None.

Actual behavior

The Start button is enabled with None selected. When Start Game is clicked, generation receives null connection IDs and resolveGenerationConnection falls back to the default or first available connection.

Steps to reproduce

  1. Open a ready game session before first gameplay on the refactor branch.
  2. Set the "GM / Party Model" dropdown to None.
  3. Click "Start Game."

Impact area

  • App shell, navigation, startup, or providers
  • Catalog resources
  • Chat mode
  • Roleplay mode
  • Game mode
  • Shared mode UI
  • Runtime systems: generation, world-state, visuals, tracker, or haptics
  • Professor Mari or shell tools
  • React-free engine behavior, contracts, agents, or capability ports
  • Shared API wrapper or remote runtime routing
  • Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime
  • Docs, contributor workflow, or templates

Environment

  • Branch or commit: upstream/refactor at 30ae9d5c
  • Run mode: scratch harness against TypeScript game/generation path
  • OS + version: Windows, version not specified
  • Node + pnpm versions: Not specified
  • Rust version, if relevant: Not relevant
  • Remote Runtime URL configured? Not relevant
  • Provider, model, or integration, if relevant: local test connections in scratch proof

Logs, screenshots, or video

Scout proof was captured locally in the scout worktree, not attached to this issue:

  • C:\tmp\ME-refactor-scout-lane4-game-secondpass-20260531\scratch\lane4-start-none-connection-proof.test.ts
  • C:\tmp\ME-refactor-scout-lane4-game-secondpass-20260531\scratch\lane4-start-none-connection-proof.json

The scout reported pnpm exec vitest run --config scratch/vitest.lane4.config.ts passing 1 test for the reproduced behavior.

Regression notes

Not specified.

Additional context

Suspected owner files:

  • src/features/modes/game/components/GameSurface.tsx
  • src/engine/generation/context.ts

This appears distinct from PR #1693, which fixes setup gate dialog semantics, and PR #1686, which works on floating HUD widgets.

Template check

Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @cha1latte on GitHub (May 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1698 Originally assigned to: @cha1latte on GitHub. ## Summary On the pre-game Start screen, selecting `None` for the GM / Party Model still allows Start Game. Generation then receives null connection IDs and silently falls back to the default or first connection, so the explicit `None` selection is ignored. ## Expected behavior Start Game should be disabled, or the user should be prompted to choose a GM / Party Model, when the selected GM model is `None`. ## Actual behavior The Start button is enabled with `None` selected. When Start Game is clicked, generation receives null connection IDs and `resolveGenerationConnection` falls back to the default or first available connection. ## Steps to reproduce 1. Open a ready game session before first gameplay on the refactor branch. 2. Set the "GM / Party Model" dropdown to `None`. 3. Click "Start Game." ## Impact area <!-- Check the areas you think are relevant. Leave uncertain items unchecked. --> - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [x] Game mode - [ ] Shared mode UI - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [ ] React-free engine behavior, contracts, agents, or capability ports - [ ] Shared API wrapper or remote runtime routing - [ ] Tauri/Rust storage, assets, LLM, integrations, security, imports, or HTTP runtime - [ ] Docs, contributor workflow, or templates ## Environment - Branch or commit: `upstream/refactor` at `30ae9d5c` - Run mode: scratch harness against TypeScript game/generation path - OS + version: Windows, version not specified - Node + pnpm versions: Not specified - Rust version, if relevant: Not relevant - Remote Runtime URL configured? Not relevant - Provider, model, or integration, if relevant: local test connections in scratch proof ## Logs, screenshots, or video Scout proof was captured locally in the scout worktree, not attached to this issue: - `C:\tmp\ME-refactor-scout-lane4-game-secondpass-20260531\scratch\lane4-start-none-connection-proof.test.ts` - `C:\tmp\ME-refactor-scout-lane4-game-secondpass-20260531\scratch\lane4-start-none-connection-proof.json` The scout reported `pnpm exec vitest run --config scratch/vitest.lane4.config.ts` passing 1 test for the reproduced behavior. ## Regression notes Not specified. ## Additional context Suspected owner files: - `src/features/modes/game/components/GameSurface.tsx` - `src/engine/generation/context.ts` This appears distinct from PR #1693, which fixes setup gate dialog semantics, and PR #1686, which works on floating HUD widgets. ## Template check Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:21:41 +07:00
Author
Owner

@cha1latte commented on GitHub (May 31, 2026):

fixed in #1734

<!-- gh-comment-id:4587770881 --> @cha1latte commented on GitHub (May 31, 2026): fixed in #1734
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-Engine#837
No description provided.