use rx4::Policy;
pub fn tele_coding_policy() -> Policy {
Policy::workspace_write()
.with_os_sandbox(true)
.with_shell_allow([
"git *",
"cargo test*",
"cargo check*",
"cargo build*",
"cargo clippy*",
"cargo fmt*",
"rg *",
"fd *",
"ls *",
"pwd",
"cat *",
"head *",
"tail *",
"wc *",
])
.with_shell_deny(["sudo *", "rm -rf /*", "rm -rf /"])
}