Add Decision, decide and the runner stub to brokerd

Implemented-By: Laguna S 2.1 (OpenCode)
This commit is contained in:
2026-09-17 09:05:48 -07:00
parent b9f3ab45c1
commit 8c1852ec47
4 changed files with 111 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
//! 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(),
}
}