truthgate_verify_test_integrity
Detect weakened test assertions and fake mocks by comparing original and modified test code, so you can block silent fake success before merging.
Instructions
Anti-Silent-Fake-Success: Checks if proposed edits weaken test assertions or inject fake mocks.
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": {
"originalTestCode": "<originalTestCode>",
"modifiedTestCode": "<modifiedTestCode>"
},
"name": "truthgate_verify_test_integrity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modifiedTestCode | Yes | Proposed test file contents | |
| originalTestCode | Yes | Original test file contents |