mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4356] [MERGED] Make chat-mode settings ownership explicit #6346
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#6346
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/4356
Author: @Xelvanis
Created: 7/31/2026
Status: ✅ Merged
Merged: 7/31/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/chat-mode-capability-ownership📝 Commits (2)
d34d2fefix: make chat mode settings ownership explicitac45a3cfix: normalize legacy agent allowlists📊 Changes
7 files changed (+210 additions, -234 deletions)
View changed files
📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+9 -11)📝
packages/client/src/components/chat/ChatSetupWizard.tsx(+0 -2)➕
packages/client/src/components/chat/chat-settings-surfaces.ts(+31 -0)➕
packages/shared/src/constants/chat-mode-agent-policy.ts(+36 -0)➖
packages/shared/src/constants/chat-mode-capabilities.ts(+0 -213)📝
packages/shared/src/index.ts(+1 -1)📝
scripts/regressions/open-issues.regression.ts(+133 -7)📄 Description
Linked issue
Closes #4355
Why this change
The shared chat-mode capability matrix claimed ownership of the complete settings UI even though production consumed only a few fields and retained separate mode gates. That made the public contract misleading and allowed the drawer and matrix to drift.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm --filter @marinara-engine/client exec tsc -p tsconfig.json --noEmitpnpm --filter @marinara-engine/client exec eslint src/components/chat/ChatSettingsDrawer.tsx src/components/chat/chat-settings-surfaces.tspnpm exec prettier --check packages/client/src/components/chat/chat-settings-surfaces.ts packages/client/src/components/chat/ChatSettingsDrawer.tsx scripts/regressions/open-issues.regression.tsgit diff --checkopen-issues.regression.tsassertions passed before that broader script later stopped on the unrelated environment-dependent browser-notification assertion:Browser notifications require HTTPS or localhost.pnpm checkwas not run.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)No user-facing behavior, installation flow, release metadata, or documentation contract changes.
UI evidence (if applicable)
This is a behavior-preserving ownership cleanup, so there is no intended visual before/after difference. The four-mode Playwright walkthrough is recorded in the validation notes above.
Summary by CodeRabbit
Improvements
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.