Confirmations in Ask Mugi
How it works by default
Ask Mugi reads at once, but every change waits for your confirmation: the panel shows the action and its arguments, and nothing runs until you approve it. The webserver enforces it, not the AI. A confirmation that waits more than 10 minutes expires and nothing of it runs.
Skipping confirmations (admins)
An admin can let admins run their changes without confirming each one. Two switches, both off by default:
- Allow it. In the Ask Mugi panel, open the gear icon → Confirmations and turn on Let admins run changes without confirmation, then Save.
- Each admin opts in. In the chat, under the note at the top, the admin turns on Run my changes without confirmation. The choice is kept on their account.
From the next message, that admin’s changes run at once. Deletes always ask (for example deleting a monitor). Turning either switch off brings the confirmations back from the next message, even in an open conversation.
Users who are not admins always confirm their changes.
Traceability
A change made without confirmation is:
- marked run without confirmation in the conversation;
- written to the webserver log, with the tool and the names of its arguments;
- recorded in
log/api_audit.logwith"confirm":"auto"and the tool that made it.
A confirmed change is recorded with "confirm":"user":
{"time":"2026-11-28T09:14:02Z","user":"alice","group":"admin","ip":"10.0.0.5","method":"POST","route":"/api/tcps/disable/:key","key":"db_p1","status":200,"durationMs":41,"via":"ai-panel","confirm":"user","tool":"mugnsoft_set_monitor_state"}
Before you turn it on
Ask Mugi reads data written by others: monitor names, check responses, device
descriptions. Text placed there could try to steer the AI. With confirmations on,
you see every change before it runs; without them, you rely on the audit log
afterwards. Turn it on for admins who use Ask Mugi for routine operations, and keep
an eye on log/api_audit.log.