harness: add 6 missing manager tools to allow-list (unblocks #509)

This commit is contained in:
damocles 2026-05-27 13:35:43 +02:00 committed by Mara
commit e02b279785

View file

@ -1765,6 +1765,19 @@ pub fn allowed_mcp_tools(flavor: Flavor) -> Vec<String> {
"restart",
"update",
"request_apply_commit",
// Tools added post-#444 / #235 / #467 / #472 / #474 / #478 that
// got missed in the allow-list when their `#[tool]` impls
// landed. Claude Code's permission gate refuses uninlisted
// tools in non-interactive `--print` mode with a "permissions
// not granted yet" error (hm1nd hit this trying to run the
// dedup pass for #509). Keep this block in lockstep with the
// `#[tool]` fns in the `ManagerServer` impl.
"request_update_meta_inputs",
"request_schedule_prompt",
"fire_schedule_now",
"cancel_schedule",
"edit_schedule",
"list_schedules",
"ask",
"answer",
"get_logs",