[GH-ISSUE #5820] Accept button for held edits is captioned "Suggestions only", so users think Mari silently did nothing #3211

Closed
opened 2026-10-21 06:00:37 +07:00 by bsakaguchi · 0 comments
Owner

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:

Mari last acted on: "User asked to propose edits changing KZK from a hacker to a construction worker."
  [mode: auto; held for approval; app_data character.update; at 2026-09-03T14:13:55.939Z]

held for approval is the correct, intended outcome. Everything worked except telling the user.

Root cause

HomeProfessorMariChat.tsx builds the caption purely from "are there any chips":

const chipRowHint = guidedPlanStep
  ? `${guidedPlanStep.question} Suggestions only; you can type your own answer.`
  : chipRowChips.length > 0
    ? "Suggestions only. Pick one, or type your own."   // ← also covers the Accept action
    : null;

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: pendingDeferredMutations is derived from the persisted mariDeferredMutations message 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 applied and the record could not be found, whereas here the outcome is held for approval and 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

  • When the row contains the authorization Accept chip (or pendingDeferredMutations is true), replace the caption with something that states the actual situation — that Mari is holding changes and nothing has been applied yet.
  • Consider a matching decline action next to Accept so refusing is a click rather than a sentence, and so "revert" has an obvious home.
  • The proposal itself is prose in the transcript, so there is no record-level review card here; if a pending-changes indicator is wanted outside the chip row, pendingDeferredMutations is the signal to hang it on.

Environment

Version: 2.4.5
Build: 2.4.5+57a19cb78bef
Server OS: Windows 10.0.26200 (x64)
Client: Chrome 150 on Windows 10
Connection: custom; model [芥兰A]Claude-4.6-Opus⑭
Mode: auto

(That build includes #5787 and #5793, so this is not a stale-build artefact.)

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: ``` Mari last acted on: "User asked to propose edits changing KZK from a hacker to a construction worker." [mode: auto; held for approval; app_data character.update; at 2026-09-03T14:13:55.939Z] ``` `held for approval` is the correct, intended outcome. Everything worked except telling the user. ## Root cause `HomeProfessorMariChat.tsx` builds the caption purely from "are there any chips": ```ts const chipRowHint = guidedPlanStep ? `${guidedPlanStep.question} Suggestions only; you can type your own answer.` : chipRowChips.length > 0 ? "Suggestions only. Pick one, or type your own." // ← also covers the Accept action : null; ``` 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: `pendingDeferredMutations` is derived from the persisted `mariDeferredMutations` message 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 `applied` and the record could not be found, whereas here the outcome is `held for approval` and 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 - When the row contains the authorization Accept chip (or `pendingDeferredMutations` is true), replace the caption with something that states the actual situation — that Mari is holding changes and nothing has been applied yet. - Consider a matching decline action next to Accept so refusing is a click rather than a sentence, and so "revert" has an obvious home. - The proposal itself is prose in the transcript, so there is no record-level review card here; if a pending-changes indicator is wanted outside the chip row, `pendingDeferredMutations` is the signal to hang it on. ## Environment ``` Version: 2.4.5 Build: 2.4.5+57a19cb78bef Server OS: Windows 10.0.26200 (x64) Client: Chrome 150 on Windows 10 Connection: custom; model [芥兰A]Claude-4.6-Opus⑭ Mode: auto ``` (That build includes #5787 and #5793, so this is not a stale-build artefact.)
bsakaguchi 2026-10-21 06:00:37 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3211
No description provided.