gate_count
Counts states admitted when a policy check is removed, revealing redundant checks. A zero count means the check is redundant.
Instructions
Exactly how many states does removing a check admit? Replaces 'we found no escapes' with a count. Zero means the check is REDUNDANT, which is a finding. Requires gatecount.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"domain": "<domain>",
"policy": "<policy>",
"weakened": "<weakened>"
},
"name": "gate_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | each variable to a list of values or {lo, hi[, step]} | |
| policy | Yes | the full policy, with the check | |
| weakened | Yes | the policy with the check removed |