openmoat 0.20.0

Policy checks for AI coding agents: decides allow, defer, review or deny for every tool call from Claude Code, Codex, Cursor, OpenClaw, GitHub Copilot CLI, pi and Gemini CLI, configures Claude Code's, Codex's and Cursor's own OS sandboxes from the same policy, and keeps a local audit log.
1
2
3
4
5
6
7
use std::os::unix::process::CommandExt as _;
use std::process::Command;

/// A process group of its own (`setpgid(0, 0)` in the child).
pub fn own_group(command: &mut Command) {
    command.process_group(0);
}