feat: allow background job perm check by default

This commit is contained in:
uinstinct 2026-02-27 09:24:29 +05:30
parent 9b88c27373
commit 6187143567

View file

@ -13,6 +13,7 @@ export function getDefaultToolPolicies(
{ tool: "MultiEdit", permission: "ask" },
{ tool: "Write", permission: "ask" },
{ tool: "CheckBackgroundJob", permission: "allow" },
{ tool: "Checklist", permission: "allow" },
{ tool: "Diff", permission: "allow" },
{ tool: "Exit", permission: "allow" }, // Exit tool is generally safe (headless mode only)
@ -46,6 +47,7 @@ export const PLAN_MODE_POLICIES: ToolPermissionPolicy[] = [
// TODO address bash read only concerns, maybe make permissions more granular
{ tool: "Bash", permission: "allow" },
{ tool: "CheckBackgroundJob", permission: "allow" },
{ tool: "Checklist", permission: "allow" },
{ tool: "Diff", permission: "allow" },
{ tool: "Exit", permission: "allow" },