13 lines
349 B
Rust
13 lines
349 B
Rust
//! Tool runner stub. Real tool execution arrives in M3.
|
|
|
|
use crate::policy::Decision;
|
|
use proto::ToolResponse;
|
|
|
|
/// Takes the Decision by value, so one decision cannot run a tool twice.
|
|
pub fn run(decision: Decision) -> ToolResponse {
|
|
let _ = decision;
|
|
ToolResponse::Failed {
|
|
message: "no tool runner until M3".to_string(),
|
|
}
|
|
}
|