Skip to main content

opi_coding_agent/
policy.rs

1//! Tool safety policy for non-interactive mode (S8.4, S10).
2
3/// Returns `true` if the tool is considered mutating (write, edit, bash).
4pub fn is_mutating_tool(name: &str) -> bool {
5    matches!(name, "write" | "edit" | "bash")
6}