ai_guard_check_integrity
Reports quality checks weakened by Git changes versus a base: new suppressions, skipped or removed tests, lowered lint/type/coverage settings, disabled CI steps, and hook bypasses. Read-only.
Instructions
Report checks weakened by current Git changes compared with a base: new eslint-disable/@ts-ignore, skipped, focused or removed tests, lowered ESLint/TypeScript/coverage settings, removed or non-blocking CI steps, Git hook bypasses. tier "high" = precise weakening (hasBlockingFindings=true means the change should not be considered done until each is fixed or explained to the user); tier "advisory" needs judgment and never blocks. Read-only; does not modify files.
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": "ai_guard_check_integrity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Compare with merge-base(HEAD, base). Default: HEAD (uncommitted and untracked changes). | |
| staged | No | Compare the index with HEAD instead of the working tree | |
| maxFindings | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| clean | Yes | ||
| errors | Yes | ||
| status | Yes | ||
| success | Yes | ||
| accepted | Yes | ||
| findings | Yes | ||
| highCount | Yes | ||
| truncated | Yes | ||
| advisoryCount | Yes | ||
| filesAnalyzed | Yes | ||
| totalFindings | Yes | ||
| hasBlockingFindings | Yes |