fix: retain the legacy-name refusal and remove its dead executor import

The governed combined test build stopped on the unused ToolTerminalStatus import after executor deletion (no tests ran). Remove it. Keep the legacy name constant used by code-mode refusal in ordinary builds; the legacy executor remains deleted. Focused runtime proof and strict clippy still pending.

Signed-off-by: CodeWhale Bot <[email protected]>
This commit is contained in:
CodeWhale Bot committed 2026-09-30 03:30:08 -07:00
1 parent 3326a2e817
commit d9f82259fc
2 files changed
-2

No files matched your search

@@ -23,7 +23,6 @@ use crate::dependencies::ExternalTool;
use crate::features::{Feature, Features};
use crate::regex_cache::compile_user_regex;
#[cfg(test)]
pub(crate) const MULTI_TOOL_PARALLEL_NAME: &str = "multi_tool_use.parallel";
pub(crate) const REQUEST_USER_INPUT_NAME: &str = "request_user_input";
pub(super) const CODE_EXECUTION_TOOL_NAME: &str = "code_execution";
-1
View File
@@ -19,7 +19,6 @@ use crate::runtime_handoff::{
};
use crate::tool_inspection::TurnStopReason;
use crate::tools::canonical_action::canonical_action_alias;
use crate::tools::spec::ToolTerminalStatus;
use crate::tools::tool_call_budget::ToolCallBudget;
use codewhale_core::request::{PrimaryTurnRequest, prepare_primary_turn_request};
use codewhale_models::Role;