Catch Recurrence Stats
lens_catches_statsCounts recurring defect patterns and flags those at or above threshold for promotion to fixed checks, showing which judgment calls to harden next.
Instructions
Per-pattern recurrence counts across the defect bank. Any pattern at or above the threshold gets a PROMOTE-to-deterministic-check suggestion — that is the signal a recurring judgment call should become a cheap fixed check instead. Use this to decide what to harden next.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "lens_catches_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory to run in. catches.jsonl is read from and written to here. Defaults to the server's cwd. |