You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Custom ACP agent docs do not explain permissionCli.insertAfterArgs, so sh -c wrappers fail #8505
The custom ACP agent docs name permissionCli as "permission-mode launch flags" but do not say where bb puts the flags. The field insertAfterArgs is not documented. Its default is 0, so bb puts the flags before all args. A custom agent that starts through /bin/sh -c '...' then fails on each thread start in the full mode, because the shell reads the flag as its own option.
bb runs /bin/sh --dangerously-skip-permissions -c 'exec my-agent acp "$@"' my-agent. The shell prints /bin/sh: --dangerously-skip-permissions: invalid option and exits. With "insertAfterArgs": 3 the agent starts as my-agent acp --dangerously-skip-permissions.
Expected: the docs say what full, workspaceWrite and insertAfterArgs do, and that a shell wrapper needs insertAfterArgs.
docs/configuration.md and the acp-provider skill mention permissionCli with no fields. rg insertAfterArgs docs plugins/*/skills finds nothing.
Found on a real setup: the antigravity custom agent failed on every thread start (EPIPE, see the related issue) until insertAfterArgs was set.
The modelCli and reasoningCli flags always go before all args (bridge.ts builds [...prefixArgs, ...agentArgs]), so a shell wrapper cannot use them either.
Activity
bb-slop-cop commentedon Dec 1, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotdocumentation,provider-acpThe launch argument placement is configurable; the documentation doesn’t explain how to configure it for wrapper commands.