返回 CodeWhale
before_strict_no_verdict.case.json
根目录 / crates / tui / tests / fixtures / conformance / hooks / before_strict_no_verdict.case.json
1 {
2 "description": "tool_call_before: a strict hook (continue_on_error = false) exits 1 without a verdict. Process failure is not permission: the call is refused (fail closed).",
3 "event": "tool_call_before",
4 "model": "deepseek-v4-pro",
5 "tool": {
6 "name": "Bash",
7 "call_id": "call_hook_bash",
8 "input": {
9 "command": "rm -rf build"
10 }
11 },
12 "hooks": [
13 {
14 "event": "tool_call_before",
15 "name": "strict",
16 "continue_on_error": false,
17 "command": "{{capture}} strict; exit 1"
18 }
19 ]
20 }
21
21 lines JSON