AuditCodeIntegrity
Scans files or directories for lifecycle teardown parity, mock-theater tests, naming invariants, and swallowed exceptions, returning structured JSON findings.
Instructions
Run the code integrity auditor (lifecycle teardown parity, mock-theater test detection, naming invariants, swallowed exceptions) against a file or directory. Returns structured JSON findings.
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": "AuditCodeIntegrity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | File or directory to audit (default: cwd) | |
| timeout | No | Timeout in ms (max 600000) |