[PR #3853] [MERGED] fix: propagate generation options and repair Roleplay regeneration #6128

Closed
opened 2026-10-23 04:07:20 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3853
Author: @SpicyMarinara
Created: 7/20/2026
Status: ✅ Merged
Merged: 7/20/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/issue-sweep-3845-3852


📝 Commits (3)

  • 14061ce fix: copy character IDs on mobile browsers
  • 548b3ce fix: complete assigned issue sweep
  • 61da39b refactor: reuse Gemma restart notice

📊 Changes

37 files changed (+311 additions, -246 deletions)

View changed files

📝 CHANGELOG.md (+7 -0)
📝 docs/development/frontend.md (+0 -1)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+12 -4)
📝 packages/client/src/components/chat/ChatSettingsDrawer.tsx (+1 -2)
📝 packages/client/src/components/modals/ModelDownloadModal.tsx (+10 -5)
📝 packages/client/src/components/panels/ConnectionsPanel.tsx (+9 -5)
📝 packages/client/src/stores/sidecar.store.ts (+29 -12)
📝 packages/server/src/app.ts (+1 -1)
📝 packages/server/src/routes/game.routes.ts (+0 -11)
📝 packages/server/src/routes/generate.routes.ts (+11 -1)
📝 packages/server/src/routes/generate/generate-route-utils.ts (+9 -0)
📝 packages/server/src/services/game/game-asset-generation.ts (+7 -1)
📝 packages/server/src/services/generation/generation-parameters.ts (+40 -1)
📝 packages/server/src/services/llm/providers/openai.provider.ts (+9 -4)
📝 packages/server/src/services/noodle/noodle-private-generation.service.ts (+6 -1)
📝 packages/server/src/services/noodle/noodle-public-generation.service.ts (+6 -1)
📝 packages/server/src/services/noodle/noodle-public-profiles.service.ts (+6 -1)
📝 packages/server/src/services/noodle/noodle-stage-profile-draft.service.ts (+6 -1)
📝 packages/shared/scripts/generate-feature-registries.mjs (+2 -48)
➖ packages/shared/src/constants/chat-modes.ts (+0 -45)

...and 17 more files

📄 Description

Why

This sweep addresses the currently assigned staging issues where saved generation parameters were dropped, dynamic image rewrites were polluted by tracker narrative, merged Roleplay regeneration narrowed to one character, mobile character-ID copying failed, and shared package contracts retained misleading or obsolete surface.

It also adds explicit restart guidance after downloading Marinara's Gemma sidecar model or Local Whisper so users do not attempt to use a newly installed native model in a stale process.

Closes #3845
Closes #3846
Closes #3847
Closes #3848
Closes #3850
Closes #3851
Closes #3852

Scope

  • Forward enabled connection generation parameters through Custom OAI and Noodle paths.
  • Keep dynamic game portrait rewrites free to remove non-visual tracker narrative.
  • Align package capability contracts and remove package-extraction fossils.
  • Preserve all active character profiles during merged Roleplay regeneration.
  • Use the existing mobile-safe clipboard fallback for character IDs.
  • Explicitly deprecate two legacy no-op image-style rules while preserving persisted compatibility.
  • Show full-restart toasts after Gemma and Local Whisper downloads.

Automated evidence

  • pnpm check passed after implementation and again after the accepted CodeRabbit cleanup.
  • Prompt, provider, open-issue, and Roleplay streaming regressions passed.
  • The complete Noodle regression suite passed.
  • Playwright smoke coverage passed with 74 applicable cases and 46 viewport-specific skips.
  • GitHub pnpm-validate and container-build-test checks passed on the reviewed implementation.

Validation checklist

  • Run pnpm check.
  • Run prompt, provider, Noodle, open-issue, and Roleplay regression suites.
  • Run the desktop/mobile browser smoke suite.
  • Manually verify merged Roleplay regeneration with multiple active characters.
  • Manually verify character-ID copy in a mobile browser or insecure local context.
  • Manually verify Gemma and Local Whisper completion toasts.

Docs and release impact

  • Updated CHANGELOG.md for all user-visible fixes and compatibility decisions.
  • Removed the obsolete chat-mode module reference from the frontend development guide.
  • No version-bearing files or release metadata changed, so no version synchronization is required.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3853 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/20/2026 **Status:** ✅ Merged **Merged:** 7/20/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/issue-sweep-3845-3852` --- ### 📝 Commits (3) - [`14061ce`](https://github.com/Pasta-Devs/Marinara-Engine/commit/14061ce7daf4226de2ecd38f916d3fbe6b156260) fix: copy character IDs on mobile browsers - [`548b3ce`](https://github.com/Pasta-Devs/Marinara-Engine/commit/548b3cea9152785b878b8774297697b629144e82) fix: complete assigned issue sweep - [`61da39b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/61da39bfa924fdd6825b4b229fd7697937013e59) refactor: reuse Gemma restart notice ### 📊 Changes **37 files changed** (+311 additions, -246 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+7 -0) 📝 `docs/development/frontend.md` (+0 -1) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+12 -4) 📝 `packages/client/src/components/chat/ChatSettingsDrawer.tsx` (+1 -2) 📝 `packages/client/src/components/modals/ModelDownloadModal.tsx` (+10 -5) 📝 `packages/client/src/components/panels/ConnectionsPanel.tsx` (+9 -5) 📝 `packages/client/src/stores/sidecar.store.ts` (+29 -12) 📝 `packages/server/src/app.ts` (+1 -1) 📝 `packages/server/src/routes/game.routes.ts` (+0 -11) 📝 `packages/server/src/routes/generate.routes.ts` (+11 -1) 📝 `packages/server/src/routes/generate/generate-route-utils.ts` (+9 -0) 📝 `packages/server/src/services/game/game-asset-generation.ts` (+7 -1) 📝 `packages/server/src/services/generation/generation-parameters.ts` (+40 -1) 📝 `packages/server/src/services/llm/providers/openai.provider.ts` (+9 -4) 📝 `packages/server/src/services/noodle/noodle-private-generation.service.ts` (+6 -1) 📝 `packages/server/src/services/noodle/noodle-public-generation.service.ts` (+6 -1) 📝 `packages/server/src/services/noodle/noodle-public-profiles.service.ts` (+6 -1) 📝 `packages/server/src/services/noodle/noodle-stage-profile-draft.service.ts` (+6 -1) 📝 `packages/shared/scripts/generate-feature-registries.mjs` (+2 -48) ➖ `packages/shared/src/constants/chat-modes.ts` (+0 -45) _...and 17 more files_ </details> ### 📄 Description ## Why This sweep addresses the currently assigned staging issues where saved generation parameters were dropped, dynamic image rewrites were polluted by tracker narrative, merged Roleplay regeneration narrowed to one character, mobile character-ID copying failed, and shared package contracts retained misleading or obsolete surface. It also adds explicit restart guidance after downloading Marinara's Gemma sidecar model or Local Whisper so users do not attempt to use a newly installed native model in a stale process. Closes #3845 Closes #3846 Closes #3847 Closes #3848 Closes #3850 Closes #3851 Closes #3852 ## Scope - Forward enabled connection generation parameters through Custom OAI and Noodle paths. - Keep dynamic game portrait rewrites free to remove non-visual tracker narrative. - Align package capability contracts and remove package-extraction fossils. - Preserve all active character profiles during merged Roleplay regeneration. - Use the existing mobile-safe clipboard fallback for character IDs. - Explicitly deprecate two legacy no-op image-style rules while preserving persisted compatibility. - Show full-restart toasts after Gemma and Local Whisper downloads. ## Automated evidence - `pnpm check` passed after implementation and again after the accepted CodeRabbit cleanup. - Prompt, provider, open-issue, and Roleplay streaming regressions passed. - The complete Noodle regression suite passed. - Playwright smoke coverage passed with 74 applicable cases and 46 viewport-specific skips. - GitHub `pnpm-validate` and `container-build-test` checks passed on the reviewed implementation. ## Validation checklist - [ ] Run `pnpm check`. - [ ] Run prompt, provider, Noodle, open-issue, and Roleplay regression suites. - [ ] Run the desktop/mobile browser smoke suite. - [ ] Manually verify merged Roleplay regeneration with multiple active characters. - [ ] Manually verify character-ID copy in a mobile browser or insecure local context. - [ ] Manually verify Gemma and Local Whisper completion toasts. ## Docs and release impact - Updated `CHANGELOG.md` for all user-visible fixes and compatibility decisions. - Removed the obsolete chat-mode module reference from the frontend development guide. - No version-bearing files or release metadata changed, so no version synchronization is required. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:07:20 +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#6128
No description provided.