Permission policy for review agent (read-heavy with optional lightweight checks)
()
| 1074 | |
| 1075 | /// Permission policy for review agent (read-heavy with optional lightweight checks) |
| 1076 | fn review_permissions() -> PermissionPolicy { |
| 1077 | let mut policy = PermissionPolicy::new() |
| 1078 | .allow_all(&["read", "grep", "glob", "ls", "bash"]) |
| 1079 | .deny_all(&["write", "edit", "task", "parallel_task"]); |
| 1080 | policy.default_decision = PermissionDecision::Deny; |
| 1081 | policy |
| 1082 | } |
| 1083 | |
| 1084 | // ============================================================================ |
| 1085 | // System Prompts for Built-in Agents |
no test coverage detected