Report what actually happened
record_outcomeReport a success or failure outcome for a decision, linking it to the versioned records used. Updates confidence levels and preserves before/after values for audit. Optionally closes a handoff packet with a single call.
Instructions
Close the loop: report success or failure against the records that drove the decision. Their confidence moves accordingly, and the before/after values are kept as an audit trail. Pass handoff_id to close the packet in the same call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| refs | No | Defaults to every record this session touched | |
| outcome | Yes | ||
| handoff_id | No | ||
| outcome_ref | Yes | External reference, e.g. "RUN-42" |