[GH-ISSUE #1535] [Issue]: Connected command failures are stripped or swallowed during generation #782

Closed
opened 2026-10-20 17:33:18 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @Romuromylus on GitHub.

Summary

Connected command execution can strip command tags and swallow command failures across shared generation, leaving the transcript without a visible retryable error.

Expected behavior

Connected command families should be gated by mode, and command execution failures should be emitted or persisted as visible errors instead of silent no-ops.

Actual behavior

The generation path can remove command tags while failed command execution does not produce a clear user-facing error state.

Steps to reproduce

  1. Trigger a connected command during generation that is unsupported for the active mode or fails during execution.
  2. Observe the generated message and runtime error state.
  3. Confirm whether the command failure is visible and retryable, or whether the command is stripped and the failure disappears.

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; read-only failpath audit finding
  • Run mode: generation runtime; focused native repro still needed
  • OS + version: not verified
  • Node + pnpm versions: not relevant yet
  • Rust version, if relevant: not relevant
  • Remote Runtime URL configured? not verified
  • Provider, model, or integration, if relevant: connected command generation path

Logs, screenshots, or video

No screenshot attached.

Regression notes

Unknown.

Additional context

Suggested direction: gate command families by mode and emit/persist command errors before command stripping can turn a failed command into a silent success.

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 @Xelvanis on GitHub (May 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1535 Originally assigned to: @Romuromylus on GitHub. ## Summary Connected command execution can strip command tags and swallow command failures across shared generation, leaving the transcript without a visible retryable error. ## Expected behavior Connected command families should be gated by mode, and command execution failures should be emitted or persisted as visible errors instead of silent no-ops. ## Actual behavior The generation path can remove command tags while failed command execution does not produce a clear user-facing error state. ## Steps to reproduce 1. Trigger a connected command during generation that is unsupported for the active mode or fails during execution. 2. Observe the generated message and runtime error state. 3. Confirm whether the command failure is visible and retryable, or whether the command is stripped and the failure disappears. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [ ] Roleplay mode - [ ] Game mode - [ ] Shared mode UI - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics - [ ] Professor Mari or shell tools - [x] 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; read-only failpath audit finding - Run mode: generation runtime; focused native repro still needed - OS + version: not verified - Node + pnpm versions: not relevant yet - Rust version, if relevant: not relevant - Remote Runtime URL configured? not verified - Provider, model, or integration, if relevant: connected command generation path ## Logs, screenshots, or video No screenshot attached. ## Regression notes Unknown. ## Additional context Suggested direction: gate command families by mode and emit/persist command errors before command stripping can turn a failed command into a silent success. ## 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:33:18 +07:00
Author
Owner

@Romuromylus commented on GitHub (May 30, 2026):

Fixed by #1645, merged into refactor.

<!-- gh-comment-id:4582247370 --> @Romuromylus commented on GitHub (May 30, 2026): Fixed by #1645, merged into `refactor`.
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#782
No description provided.