MCPcopy Create free account
hub / github.com/AI45Lab/Code / review_permissions

Function review_permissions

core/src/subagent.rs:1076–1082  ·  view source on GitHub ↗

Permission policy for review agent (read-heavy with optional lightweight checks)

()

Source from the content-addressed store, hash-verified

1074
1075/// Permission policy for review agent (read-heavy with optional lightweight checks)
1076fn 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

Callers 1

default_permissionsMethod · 0.85

Calls 2

deny_allMethod · 0.80
allow_allMethod · 0.80

Tested by

no test coverage detected