Skip to content

v0.12.0

Choose a tag to compare

@dyoshikawa dyoshikawa released this 24 Oct 04:57
5a1f9d9

What's Changed

Let the reviewer answer native asks in all-tools mode (OpenCode V2, opt-in)

In all-tools mode, a tool call the reviewer had already approved could still stop at OpenCode's native Permission required prompt, for example a subagent's shell call under a shell: ask rule. The new allToolsNativeAsks: "review" option lets the reviewer's approval answer that native ask too.

"options": {
  "mode": "all-tools",
  "allToolsNativeAsks": "review"
}
  • The default is "preserve", and upgrading does not change behavior: configured native ask rules still reach a human. With "review" the reviewer answers them instead, including rules you set as human checkpoints such as "git push *": "ask", so enable it only if that is what you want.
  • An approval only covers the native ask that matches the reviewed tool, within the same session, agent, message and tool call. It expires after 45 seconds and is revoked when the user prompts the root session again.
  • Other native actions raised by the call (for example external_directory with its resolved path) get a separate review of their actual resources. A failed or escalated extra review denies the call without prompting.
  • Explicit native deny rules and AI deny/escalate verdicts still block the call. V1 is unchanged.
  • Input changed by a later hook is only detected after the tool runs, so this is not a hard boundary. Use it only with plugins and hooks you trust.
  • fix: honor AI all-tools approvals during native permission checks by @thisfilipe in #53

Codex reviewer ignores the workspace's .codex/config.toml

With reviewer.agent.runtime: "codex-sdk", Codex runs in the reviewed project. If you had trusted that project in Codex, Codex loaded the project's .codex/config.toml, and any [mcp_servers.*] command declared there ran as you, outside the read-only reviewer sandbox, on every review. The reviewer now marks the project directory, its parents and its symlink-resolved path as untrusted, so only your own ~/.codex/config.toml loads. An SDK loaded from reviewer.agent.codexSdk.path that is older than 0.163.0 (the lowest supported peer version) is now refused, since it would silently drop the override.

  • fix(codex): keep the workspace's .codex/config.toml out of the reviewer by @dyoshikawa in #66

Contributors

Full Changelog: v0.11.0...v0.12.0