[GH-ISSUE #1449] [Issue]: Game input allows whitespace-only player messages #722

Closed
opened 2026-10-20 17:32:22 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @Promansis on GitHub.

Summary

Submitting whitespace in Game mode created a persisted message.

Expected behavior

Whitespace-only input should keep send disabled or no-op without creating messages.

Actual behavior

Message count changed from 3 to 5.

Steps to reproduce

  1. Open an active Game chat.
  2. Enter only spaces/newlines in the Game input.
  3. Click the send control and inspect stored messages.

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: refactor @ a6d2fc8b79
  • Run mode: web shell only + remote runtime
  • OS + version: Windows, local QA runner
  • Node + pnpm versions: Node v24.13.0, pnpm 10.33.2
  • Rust version, if relevant: rustc 1.95.0; remote runtime via cargo run
  • Remote Runtime URL configured? yes, http://127.0.0.1:8787
  • Provider, model, or integration, if relevant: local fake OpenAI-compatible provider, marinara-game-ok

Logs, screenshots, or video

Local evidence path: D:\dev\Marinara-Engine\scratch\game-qa-2026-05-28T00-29-29-751Z\core-flow-whitespace-created-message.png

Screenshots are local only and are not attached to this issue.

Regression notes

Not specified.

Additional context

Found during scripted Game mode QA on the refactor branch.

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 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1449 Originally assigned to: @Promansis on GitHub. ## Summary Submitting whitespace in Game mode created a persisted message. ## Expected behavior Whitespace-only input should keep send disabled or no-op without creating messages. ## Actual behavior Message count changed from 3 to 5. ## Steps to reproduce 1. Open an active Game chat. 2. Enter only spaces/newlines in the Game input. 3. Click the send control and inspect stored messages. ## 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 - [ ] 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: refactor @ a6d2fc8b79093f35e766528460175240f5588552 - Run mode: web shell only + remote runtime - OS + version: Windows, local QA runner - Node + pnpm versions: Node v24.13.0, pnpm 10.33.2 - Rust version, if relevant: rustc 1.95.0; remote runtime via cargo run - Remote Runtime URL configured? yes, http://127.0.0.1:8787 - Provider, model, or integration, if relevant: local fake OpenAI-compatible provider, marinara-game-ok ## Logs, screenshots, or video Local evidence path: D:\dev\Marinara-Engine\scratch\game-qa-2026-05-28T00-29-29-751Z\core-flow-whitespace-created-message.png Screenshots are local only and are not attached to this issue. ## Regression notes Not specified. ## Additional context Found during scripted Game mode QA on the refactor branch. ## 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-20 17:32:22 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
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#722
No description provided.