Automation session feedback
automation_session_feedbackRecord a verdict on one automatically-computed failure analysis: confirm it was right, or correct the category it picked. Call automation_session_get first — this only works on a run whose failureAnalysis.source is "recorded" (an older, lazily-analysed run has nothing to give feedback on yet). failureKey picks which failure on the run when there is more than one (from failureAnalysis.failures[].failureKey); omit it on a run with exactly one. Set verdict to "correct" to confirm the latest analysis, or "incorrect" plus correctedCategory to override it. Feedback is APPEND-ONLY — nothing is ever deleted or edited — and the most recent entry becomes the effectiveVerdict the next automation_session_get / automation_report reads return. Only your own runs can be given feedback on, same ownership rule as every other automation_* tool: a foreign session reads as not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| comment | No | Optional free-text note explaining the correction. | |
| verdict | Yes | Whether the latest analysis got the category right. | |
| sessionId | Yes | The run's session id. | |
| failureKey | No | Which failure on this run — from `failureAnalysis.failures[].failureKey`. Omit when the run has exactly one failure (the common case today). | |
| correctedCategory | No | Required when verdict is "incorrect" — the category it should have been. |