[GH-ISSUE #4355] [Issue]: Make chat-mode settings ownership explicit #2362

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The shared chat-mode capability matrix claims to be the source of truth for mode-specific settings UI, but the production Chat Settings drawer only consumes a subset of it and still makes several independent mode decisions.

Expected behavior

The code should define a narrow, truthful contract for the mode decisions it actually owns, and every owned decision should drive the corresponding production render path without contradictory duplicate gates.

Actual behavior

Several exported capability fields have no production consumer, prompt and Agents surfaces use separate hard-coded branches, and the matrix documentation overstates its ownership of the complete settings shell. This makes future UI drift likely and leaves obsolete shared API surface in place.

Steps to reproduce

  1. Inspect packages/shared/src/constants/chat-mode-capabilities.ts and its public export.
  2. Compare its fields with the render gates in packages/client/src/components/chat/ChatSettingsDrawer.tsx.
  3. Observe that multiple fields are unused and that prompt, settings-profile, Agents, and group-control visibility is partly decided outside the matrix.

Environment

  • Marinara Engine version: 2.3.5 / current staging
  • Install type: source
  • OS + version: not environment-dependent
  • Browser or app shell: not environment-dependent

Logs, screenshots, or video

Additional context

The cleanup should preserve current Conversation, Roleplay, legacy Visual Novel, and Game behavior. It should not turn the large settings drawer into a speculative data-driven renderer.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Xelvanis on GitHub (Jul 31, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4355 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The shared chat-mode capability matrix claims to be the source of truth for mode-specific settings UI, but the production Chat Settings drawer only consumes a subset of it and still makes several independent mode decisions. ## Expected behavior The code should define a narrow, truthful contract for the mode decisions it actually owns, and every owned decision should drive the corresponding production render path without contradictory duplicate gates. ## Actual behavior Several exported capability fields have no production consumer, prompt and Agents surfaces use separate hard-coded branches, and the matrix documentation overstates its ownership of the complete settings shell. This makes future UI drift likely and leaves obsolete shared API surface in place. ## Steps to reproduce 1. Inspect `packages/shared/src/constants/chat-mode-capabilities.ts` and its public export. 2. Compare its fields with the render gates in `packages/client/src/components/chat/ChatSettingsDrawer.tsx`. 3. Observe that multiple fields are unused and that prompt, settings-profile, Agents, and group-control visibility is partly decided outside the matrix. ## Environment - Marinara Engine version: 2.3.5 / current `staging` - Install type: source - OS + version: not environment-dependent - Browser or app shell: not environment-dependent ## Logs, screenshots, or video ## Additional context The cleanup should preserve current Conversation, Roleplay, legacy Visual Novel, and Game behavior. It should not turn the large settings drawer into a speculative data-driven renderer. <!-- task-id: chat-mode-capability-ownership --> ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:47:38 +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-Engine#2362
No description provided.