is_shell_command_write_operation

Function is_shell_command_write_operation 

Source
pub fn is_shell_command_write_operation(arguments: &str) -> bool
Expand description

Conservatively determine whether a shell tool call is likely to perform a write.

This function is intentionally biased toward safety: if we can’t confidently classify a command as read-only, we treat it as a write operation.