record_edit_outcome
Record user acceptance, revert, or retry of AI code edits to capture behavioral feedback for improving code generation quality.
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 |