record_edit_outcome
Record whether users accept, revert, or retry AI edits to capture success signals for improving context optimization.
Instructions
Record whether the user accepted, reverted, or retried an AI edit.
STRONG signal: user behavior directly indicates whether the generated code was successful.
Args: request_id: the trace_id from the optimize_context call outcome: "accepted", "reverted", or "retried" files_modified: number of files touched by the edit
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outcome | Yes | ||
| request_id | Yes | ||
| files_modified | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |