mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5820] Accept button for held edits is captioned "Suggestions only", so users think Mari silently did nothing #3211
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#3211
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?
Originally created by @kolacheee on GitHub (Sep 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5820
Originally assigned to: @kolacheee on GitHub.
In one sentence: when Mari holds edits for approval, the only control that applies them is rendered in the suggestion row under the caption "Suggestions only. Pick one, or type your own." — so the one button that is not a suggestion is explicitly labelled as one, and nothing else on screen says changes are pending, leaving users convinced Mari silently did nothing.
What happens
Asked to propose edits to a character, Mari behaves exactly as designed: she reads the card, the engine defers her mutating commands ("Deferred hidden mutating workspace commands because the assistant asked the user for approval in the same turn"), she writes out the proposal, and ends with "If this looks good to you, just hit Accept and I'll apply the changes!"
An Accept button is in fact rendered. But directly above it sits the caption "Suggestions only. Pick one, or type your own." — which tells the reader, in plain words, that the thing they are looking at is optional flavour text rather than the apply button. The reporter's summary: "I do not see anywhere to apply or revert edits, much less if she even did them."
The diagnostics confirm the engine side worked correctly — the edits were held, not lost:
held for approvalis the correct, intended outcome. Everything worked except telling the user.Root cause
HomeProfessorMariChat.tsxbuilds the caption purely from "are there any chips":The Accept control is a chip like any other as far as this line is concerned, even though the click handler right below already special-cases it (
if (chip.id === "authorization-accept")). So the code knows this chip is an action; the caption does not.Worth noting the needed state already exists a few lines up:
pendingDeferredMutationsis derived from the persistedmariDeferredMutationsmessage extra precisely so the Accept affordance survives reloads. It just is not used to change what the row says.Why this is worth fixing beyond the wording
This is the visible half of the whole defer-and-approve safety mechanism. When it reads as "suggestions", the user concludes Mari failed to act — so the feature that exists to build trust actively produces the impression of a broken assistant. It is likely inflating the "she says she did it and nothing happened" reports we are already chasing (see #5819, which is a genuinely different failure: there the outcome was
appliedand the record could not be found, whereas here the outcome isheld for approvaland the changes are correctly waiting).There is also no discard path: the user asked for "apply or revert" and there is only Accept, so declining means typing a sentence and hoping.
Fix direction
pendingDeferredMutationsis true), replace the caption with something that states the actual situation — that Mari is holding changes and nothing has been applied yet.pendingDeferredMutationsis the signal to hang it on.Environment
(That build includes #5787 and #5793, so this is not a stale-build artefact.)