mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3872] [MERGED] chore: simplify shared contracts and UI state #6137
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#6137
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3872
Author: @Xelvanis
Created: 7/20/2026
Status: ✅ Merged
Merged: 7/20/2026
Merged by: @SpicyMarinara
Base:
staging← Head:chore/simplification-audit-cleanup📝 Commits (5)
9168cc5chore: simplify shared contracts and UI state026a4c9Merge branch 'staging' into chore/simplification-audit-cleanupe6c4bdffix: harden preset settings sanitizationb4539c0Merge remote-tracking branch 'origin/staging' into chore/simplification-audit-cleanupb51eed1Address Spotify source review feedback📊 Changes
23 files changed (+207 additions, -428 deletions)
View changed files
📝
docs/development/frontend.md(+2 -2)📝
packages/client/src/components/chat/AgentAddSetupFields.tsx(+1 -4)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+0 -4)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+3 -7)📝
packages/client/src/components/chat/RoleplayHUD.tsx(+46 -106)📝
packages/client/src/components/game/GameSetupWizard.tsx(+4 -8)📝
packages/client/src/components/panels/SettingsPanel.tsx(+4 -5)📝
packages/client/src/hooks/use-chat-summary-prompts.ts(+4 -43)📝
packages/client/src/hooks/use-settings-sync.ts(+6 -4)📝
packages/client/src/lib/utils.ts(+5 -24)📝
packages/client/src/stores/ui.store.ts(+6 -114)📝
packages/server/src/routes/chat-presets.routes.ts(+4 -6)📝
packages/server/src/services/generation/roleplay-summary-runtime.ts(+2 -43)📝
packages/server/src/services/spotify/game-spotify-music.service.ts(+7 -8)📝
packages/server/src/services/spotify/spotify-dj-constraints.ts(+2 -7)📝
packages/server/src/services/storage/chat-presets.storage.ts(+10 -33)📝
packages/shared/src/index.ts(+2 -0)📝
packages/shared/src/types/chat.ts(+4 -6)📝
packages/shared/src/types/game.ts(+2 -1)📝
packages/shared/src/types/persona.ts(+1 -3)...and 3 more files
📄 Description
Linked issue
Closes #3870
Why this change
What changed
groupScenarioOverridemarker while preserving non-empty scenario text as the runtime signal.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm check: passed after rebasing onto currentorigin/staging(lint, shared/server/client production builds).pnpm regression:prompt: the changed chat-summary normalization case passed. The suite later failed its unrelated public-agent-reference assertion on this Windows CRLF checkout (Public agent reference is missing Prose Guardian), although that heading exists on currentorigin/staging.pnpm smoke:ui: 71 passed, 46 skipped, 3 mobile checks failed outside this change (Noodle mention click intercepted by the sidebar, sidebar animation threshold missed by about 2 px, and touch-drag folder persistence).Docs and release impact
docs/development/frontend.mdwas updated for the retained horizontal Roleplay HUD contract. No release metadata changed.UI evidence (if applicable)
No permanent screenshots or temporary proof artifacts are included. The targeted browser paths are listed above for human reproduction.
Summary by CodeRabbit
New Features
Improvements
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.