Record a correction from the principal
twin_record_correctionRecord corrections when a principal edits, overrides, or rejects your work, capturing both versions and the reason as learning material.
Instructions
Call whenever the principal edits, overrides or rejects your work. Captures both versions and the reason as learning material.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | The principal's reason, if given. | |
| sources | No | ||
| workflow | Yes | ||
| situation | Yes | What the task was. | |
| request_id | No | Optional idempotency key, for example your tool call id. A retry with the same request_id returns the first result instead of recording twice. | |
| agent_proposal | Yes | What you proposed or did. | |
| human_decision | Yes | What the principal chose instead. |