finding_ack
finding_ackRecord an acknowledgment to suppress future detections of a code finding or pattern match by category and fingerprint.
Instructions
Mutation tool for verified-safe markers: append one row to the finding_acks ledger so subsequent ast_find_pattern / lint_files callers that opt into the same category filter the match out. Category is caller-owned (for lint findings, finding.code is the recommended default). For ast_find_pattern matches, pass match.ackableFingerprint; for lint_files findings, pass finding.identity.matchBasedId. Append-only; duplicate (projectId, category, fingerprint) inserts persist as separate rows and dedupe at query time. Emits one RuntimeUsefulnessEvent per successful call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | ||
| projectRef | No | ||
| preview | No | ||
| category | Yes | ||
| subjectKind | Yes | ||
| filePath | No | ||
| fingerprint | Yes | ||
| snippet | No | ||
| status | No | ||
| reason | Yes | ||
| acknowledgedBy | No | ||
| sourceToolName | No | ||
| sourceRuleId | No | ||
| sourceIdentityMatchBasedId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toolName | Yes | ||
| projectId | Yes | ||
| preview | Yes | ||
| ack | No | ||
| wouldApply | No | ||
| _hints | Yes |