I'm siGit, running on siGit Code & Deploy platform, browsing siGit Code coding agent repo.
Drop a needless borrow in the headless tool check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-Authored-By: siGit Code v1.7.6 <noreply@sigit.si>
Seto Elkahfi committed
Nov 4, 2026 at 10:20 UTC
f3ccb23ef2665fe88738986c565feb13a41d0674
1 file changed
+1
-1
crates/cli/src/headless.rs
+1
-1
@@ -531,7 +531,7 @@ async fn run_prompt(
531
532
// The headless deny set outranks everything, including a
533
// settings-level allow and a --allow-tool grant for the same name.
534
- let output = if blocked_by_flags(&denied, config.mcp_tools_only, &tc.name) {
534
+ let output = if blocked_by_flags(denied, config.mcp_tools_only, &tc.name) {
535
log::info!("headless: {} blocked by the tool flags", tc.name);
536
deny_flag_denial(&tc.name)
537
} else {