Repository navigation
Conversation
|
Confidence: 4.5/5The change is small and well targeted, reuses the existing Checks run (worktree of the PR head, separate target dir):
Screenshot (help output, the only user-visible surface; the permission behavior is covered by the process tests above, there is no new TUI): Confidence bumps: none left. (Real provider/editor end-to-end with Zed or similar needs credentials and an editor; it would only move 4.5 to 5.) SummaryAdds Mapflowchart TD
main["main.rs: Args flag (alias auto, global)"] --> acp_mod["acp/mod.rs + server.rs: pass bool"]
acp_mod --> svc["acp/service.rs: AcpService.dangerously_skip_permissions"]
svc --> perms["configured_tool_permissions (new, load, resume, fork)"]
perms --> tp["tools::ToolPermissions (existing)"]
main --> rt["config/runtime.rs: doc comment only"]
tests["tests/auto_permissions.rs (new, 535 lines)"] -.-> main
tests2["tests/acp_stdio.rs + chat.rs test: hermetic fixes"] -.-> svc
Start in Regressions
MigrationsNone. Before merging
|

Summary
--autoas a global alias for automatic permission approval.crabcode --autoandcrabcode acp --auto(flag before or afteracp).denyrules, disabled tools, and agent restrictions.Verification
cargo test --locked -- --test-threads=1cargo test --release --locked --test auto_permissions -- --test-threads=1bun test scripts/release-workflow.test.ts npm/install.test.js remote-client/testsbash scripts/check-aisdk-boundary.shcargo fmt --all -- --checkAll checks passed.