Skip to Content
v1.41.2 · shipped More settings on the script tag · Script tag typos no longer slip through Read the changelog →
Admin consoleWaiting for your OK

Waiting for your OK

A coding agent (MCP), the CLI or a script signs in with an API key. A key can ask Mushi Mushi to merge a fix’s pull request or to start a fix agent. It cannot make it happen. A person on the project approves each request on the console page Waiting for your OK (ADR 0088 ).

What you see

Each request shows what was asked (“Merge PR #195 in acme/app”), which key asked (its prefix, and the tool it said it was), and when it expires. A request waits 24 hours, then expires and nothing runs.

  • Approve runs the action as you. A merge runs every check again, on the exact commit the agent asked about. If someone pushed since, GitHub refuses and nothing merges.
  • Decline stops it. Add a reason if you like; the agent sees it.

Project owners, admins and members can approve. Viewers cannot. Every answer goes to the audit log.

The checks every merge passes

The console, an API key, MCP and Mushi’s own verified merge all use the same checks, on the pull request’s latest commit:

CheckPasses when
AI reviewFor a fix PR: a review finished on this commit and nothing is on hold. A person’s own PR has no AI review to wait for
CICI ran on this commit and passed. With “Merge without CI” on, a commit nothing tested may pass; a failing or running check never does
TestsThe change weakens no test and touches no protected path

When a check fails, the console lists every failed check. A project owner or admin can choose Merge anyway and write why; the reason goes to the audit log. An API key, the CLI and MCP never can.

Key switches

Two scopes decide what a key may ask for. mcp:write includes neither.

Switch in the consoleScopeDefault
Can ask to start fixesfixes:dispatchOn for keys with mcp:write
Can ask to mergefixes:mergeOff. An owner or admin turns it on per key

Find them under Projects → your app → Keys, on each coding-agent key. A key without the scope gets 403 INSUFFICIENT_SCOPE naming the switch.

From an agent or the terminal

  • MCP: merge_fix and dispatch_fix answer status: "approval_required" with the console link. Nothing has run. The agent gives you the link and checks the answer with get_approval. On the hosted MCP server, a client that supports MCP elicitation asks you in the client instead, and the action runs when you say yes.
  • CLI: mushi fix <reportId> and mushi fixes merge <fixId> print the link and exit with status 4 (“waiting, nothing ran”). Add --wait to wait up to 30 minutes for the answer.
  • API: POST /v1/admin/fixes/:id/merge and POST /v1/admin/fixes/dispatch answer 409 APPROVAL_REQUIRED with data.approval (id, url, expiresAt). Read it with GET /v1/admin/approvals/:id.

An MCP client that supports elicitation shows the question to you and does not let the model answer it. Mushi Mushi cannot check that a client does this. If every agent action must be approved in the console, use clients you trust, or keys without these scopes.

GitHub access per job

Each job gets a GitHub token for one repository with only the permissions it needs: a merge gets contents and pull requests write plus checks read; a review gets pull requests write only. If the GitHub App lacks a permission a job needs, the job stops and says which one.

Last updated on