mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8573] [MERGED] feat(mari): Not this one rejects only that field of a held change #8683
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#8683
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/8573
Author: @Gunterlie
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Gunterlie
Base:
staging← Head:feat/mari-decline-one-field📝 Commits (7)
bf6ec20feat(mari): Not this one rejects only that field of a held changeba82cc8fix(mari): keep unreviewed fields when declining one, scope declined line per editor873c618Merge origin/staging into feat/mari-decline-one-field9a85d14fix(mari): settle ignores declined fields, accept guards for declined fieldse640a1eMerge origin/staging into feat/mari-decline-one-field00a5428Merge origin/staging into feat/mari-decline-one-field02b7e78fix(mari): apply declined fields to every held call instead of refusing large changes📊 Changes
11 files changed (+458 additions, -251 deletions)
View changed files
📝
packages/client/src/components/characters/MariFieldReview.tsx(+48 -18)📝
packages/client/src/components/chat/HomeProfessorMariChat.tsx(+15 -8)📝
packages/client/src/lib/mari-editor-fields.ts(+42 -221)📝
packages/client/src/localization/locales/en.json(+1 -1)📝
packages/client/src/stores/ui.store.ts(+5 -0)📝
packages/server/src/routes/professor-mari-workspace.routes.ts(+4 -0)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+10 -3)📝
packages/shared/src/index.ts(+1 -0)📝
packages/shared/src/types/professor-mari-workspace.ts(+2 -0)➕
packages/shared/src/utils/mari-editor-fields.ts(+270 -0)📝
scripts/regressions/mari-editor-fields.regression.ts(+60 -0)📄 Description
Linked issue
No issue: planned work on Prof. Mari's in-field review.
Why this change
In Prof. Mari's in-field review, "Not this one" declined the whole held change and asked Mari to propose it again. A user who disliked one field lost the good fields too and waited for a new reply.
What changed
MARI_EDITOR_KINDS,mariPatchFieldId,mariFieldPath,mariUpdateCall) moved from the client topackages/shared/src/utils/mari-editor-fields.ts, so client and server use the same ids. The client file re-exports it. New:withoutDeclinedMariFields.context.declinedFieldson the workspace prompt request.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-run (not manual): client and server
tsc, ESLint on client files (one pre-existing warning,serverRun), Prettier,localization:check, regressionsmari-editor-fields(new cases for declined fields, another record's call, and the Accept paths),mari-hold,mari-ask-latch,review-cards. Playwright on a throwaway data dir with a seeded held change (no model): decline one of two fields, Keep, only the other field is saved; at 1440 and 390, 10/10. Fullpnpm checknot run locally. Only the English string changed.To verify manually:
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Screenshots are local; attach on request.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.