label_finding
Record human verdicts on audit findings to suppress false positives and build a corpus of labeled examples. Append-only, with accept verdicts preventing future matches.
Instructions
Append a labeled precedent to a taste profile's corpus — the growth loop. Use when a human accepts/revises/rejects an audit_taste finding or labels a new wrong→right example. Append-only: existing records are never rewritten. accept-verdict precedents suppress matching findings in future audit_taste runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| right | Yes | What right looks like. | |
| wrong | Yes | The wrong pattern — use a verbatim snippet so accept-suppression can match it. | |
| profile | Yes | Profile name. | |
| verdict | Yes | accept = the flagged pattern is fine (suppresses future matches); revise/reject = confirmed wrong. | |
| artifact | Yes | What was judged (path, URL, or short description). | |
| severity | No | Severity the human assigns. | |
| violated_rule | Yes | The rule_id the label concerns ('' if none). Must exist in the profile. |