Maintainer ruling: model-switch confirmation is unified across every surface, as on main.
501ea6c4d91 made the owner refuse a guarded target (cost / data policy / large context) with
status=confirmation_required and a one-time token, but PreparedMutations turned that into
"Model not switched: ... this client cannot collect yet" on both native surfaces.
- PreparedMutations.apply(confirm=...) takes the surface's prompt. Yes re-sends the same retained
mutation once with payload.confirm=<token> (new request id, kept under the original key so an
ambiguous reply to the confirmed send retries that exact request); no answers status=cancelled
and nothing is re-sent. No prompt (non-interactive) stays a refusal carrying the guard text, and a
confirmed send refused again (a turn or another switch landed first) is reported, never re-asked.
- Classic CLI chat view: /model asks with main's _confirm_expensive_model_switch wording and
choices (Switch anyway once / Cancel; 1/2, y/n aliases) on the composer; only when stdin is a TTY.
The status bar follows the applied model.
- ACP: set_session_model and a typed /model ask through request_permission (the mechanism
approvals use) with Switch anyway / Cancel; deny, dismissal or a lost editor keeps the model;
a declined set_session_model fails with model_switch_cancelled so the editor's picker reverts.
- New catalog key cli.model.confirm_choice_prompt in every locale.
Live (real gateway, fake HOME, loopback stub, model.switch_context_confirm_tokens=1): on
r6-integ-a `hermes chat --resume` + `/model local-stub-b` printed the guard text and "Model not
switched"; see RESULTS.md for the after run.
Review: https://github.com/NousResearch/hermes-agent/pull/106742#issuecomment-6067585232