[GH-ISSUE #1358] [Issue]: Refactor lacks the legacy group-turn prompt toggle #681

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

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

Originally assigned to: @TheLonelyDevil9 on GitHub.

Summary

Legacy chats had groupTurnPromptEnabled to control strict group-turn prompting. The refactor has manual forCharacterId instructions but no chat-level toggle.

Classification: Missing chat setting / behavior changed

Expected behavior

Users should be able to disable/enable the strict Respond ONLY as ... style group-turn prompt at the chat level as in legacy.

Actual behavior

Current chat metadata/settings lack groupTurnPromptEnabled; behavior appears hardcoded when a target character is selected.

Steps to reproduce

  1. Inspect legacy chat schema/settings/generation for groupTurnPromptEnabled.
  2. Inspect current chat types, settings drawer, start-generation.ts, and prompt assembly.
  3. Compare multi-character targeted reply behavior with the toggle off in legacy.

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 (audit snapshot 07af6d8b)
  • Legacy baseline: origin/staging / v1.6.1 raw codebase
  • Run mode: Tauri desktop / remote runtime parity audit
  • OS + version: not OS-specific unless labeled Windows/Android
  • Node + pnpm versions: not captured for this audit ticket
  • Rust version, if relevant: not captured for this audit ticket
  • Remote Runtime URL configured? not relevant unless the issue is remote-runtime/security related
  • Provider, model, or integration, if relevant: see summary/additional context

Logs, screenshots, or video

No runtime logs or screenshots. Finding comes from raw-codebase parity inspection.

Regression notes

Legacy behavior/source exists in origin/staging / v1.6.1 raw codebase and is tracked in docs/refactor-staging-1.6-feature-gap-audit.md. Current refactor source did not show equivalent behavior at the paths named below.

Additional context

Potential owners: chat contract/settings and prompt assembly/generation routing.

Audit report: docs/refactor-staging-1.6-feature-gap-audit.md.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @ghost on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1358 Originally assigned to: @TheLonelyDevil9 on GitHub. ## Summary Legacy chats had `groupTurnPromptEnabled` to control strict group-turn prompting. The refactor has manual `forCharacterId` instructions but no chat-level toggle. **Classification:** Missing chat setting / behavior changed ## Expected behavior Users should be able to disable/enable the strict `Respond ONLY as ...` style group-turn prompt at the chat level as in legacy. ## Actual behavior Current chat metadata/settings lack `groupTurnPromptEnabled`; behavior appears hardcoded when a target character is selected. ## Steps to reproduce 1. Inspect legacy chat schema/settings/generation for `groupTurnPromptEnabled`. 2. Inspect current chat types, settings drawer, `start-generation.ts`, and prompt assembly. 3. Compare multi-character targeted reply behavior with the toggle off in legacy. ## Impact area - [ ] App shell, navigation, startup, or providers - [ ] Catalog resources - [ ] Chat mode - [x] Roleplay mode - [ ] Game mode - [x] Shared mode UI - [ ] 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 (audit snapshot 07af6d8b) - Legacy baseline: origin/staging / v1.6.1 raw codebase - Run mode: Tauri desktop / remote runtime parity audit - OS + version: not OS-specific unless labeled Windows/Android - Node + pnpm versions: not captured for this audit ticket - Rust version, if relevant: not captured for this audit ticket - Remote Runtime URL configured? not relevant unless the issue is remote-runtime/security related - Provider, model, or integration, if relevant: see summary/additional context ## Logs, screenshots, or video No runtime logs or screenshots. Finding comes from raw-codebase parity inspection. ## Regression notes Legacy behavior/source exists in `origin/staging / v1.6.1 raw codebase` and is tracked in `docs/refactor-staging-1.6-feature-gap-audit.md`. Current refactor source did not show equivalent behavior at the paths named below. ## Additional context Potential owners: chat contract/settings and prompt assembly/generation routing. Audit report: `docs/refactor-staging-1.6-feature-gap-audit.md`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@TheLonelyDevil9 commented on GitHub (May 27, 2026):

This was generated by AI during triage.

Closed after PR #1396 was merged into refactor. Verification covered the group-turn prompt toggle regression tests, typecheck, architecture check, and production build.

<!-- gh-comment-id:4552679765 --> @TheLonelyDevil9 commented on GitHub (May 27, 2026): > *This was generated by AI during triage.* Closed after PR #1396 was merged into refactor. Verification covered the group-turn prompt toggle regression tests, typecheck, architecture check, and production build.
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#681
No description provided.