add black-box debug harness
This commit is contained in:
19
internal/harness/scenarios/trust_required.json
Normal file
19
internal/harness/scenarios/trust_required.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "trust_required",
|
||||
"presets": {
|
||||
"processes": [
|
||||
{
|
||||
"name": "untrusted",
|
||||
"argv": ["sh", "-lc", "echo should-not-run"]
|
||||
}
|
||||
]
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"type": "assert_mcp",
|
||||
"method": "spawn_process",
|
||||
"params": { "kind": "command", "preset": "untrusted" },
|
||||
"error_kind": "needs_trust"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user