mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1164] [MERGED] Normalize boolish persisted config flags #4949
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#4949
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/1164
Author: @ghost
Created: 5/24/2026
Status: ✅ Merged
Merged: 5/24/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-pr-17-boolish-config📝 Commits (1)
f244f11Migrate Refactor PR #17: Normalize boolish persisted config flags📊 Changes
11 files changed (+47 additions, -19 deletions)
View changed files
📝
src/engine/generation/context.ts(+4 -2)📝
src/engine/modes/chat/core/summaries/auto-summary.service.ts(+5 -1)📝
src/engine/modes/chat/schedules/schedule.service.ts(+5 -2)📝
src/engine/modes/roleplay/scene/scene-service.ts(+5 -2)📝
src/features/catalog/chats/hooks/use-chats.ts(+4 -1)📝
src/features/catalog/presets/components/PresetsPanel.tsx(+3 -1)📝
src/features/catalog/presets/hooks/use-presets.ts(+8 -1)📝
src/features/modes/shared/chat-ui/components/ChatSettingsDrawer.tsx(+1 -3)📝
src/features/modes/shared/chat-ui/components/QuickConnectionSwitcher.tsx(+4 -2)📝
src/features/modes/shared/chat-ui/components/QuickSwitcherMobile.tsx(+4 -2)📝
src/features/shell/connections/components/ConnectionsPanel.tsx(+4 -2)📄 Description
Migrated from Pasta-Devs/Marinara-Engine-Refactor#17: https://github.com/Pasta-Devs/Marinara-Engine-Refactor/pull/17
Original author: @Promansis
Target base: Pasta-Devs/Marinara-Engine refactor
Source draft state: False
Verification after port:
pnpm typecheckPort note: source updates/ tracker/evidence files were omitted because the target refactor branch removed repo-local updates guidance.
Summary
Root Cause
Some persisted configuration readers only treated string
"true"as enabled, while current writers and engine contracts use booleantrue. That made UI state and resolver state diverge for random-pool membership and prompt preset defaults.Validation
pnpm typecheckgit diff --checkuseForRandom,isDefault, anddefaultequality checks insrc/featuresandsrc/engine.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.