record_outcome
Apply executed action results to entities by recording movement deltas, property changes, destruction status, or 60Hz spooled outcomes, keeping the world model updated without hand-authoring entities.
Instructions
Record action execution results, movement deltas, property changes, entity destruction, or spool outcome ingestion from 60Hz loop. Not for vision ingest or manual pose edits. Mark entity destroyed via status: "destroyed". Returns {ok, action, success:boolean, ...}. Use record_outcome instead of update_entity when applying executed action results and status deltas rather than hand-authoring entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Alias for spooled_outcomes batch array | |
| action | No | Action type: "record" (default) for single outcome or "from_tick" for 60Hz batch spool ingestion | |
| project | No | Optional project identifier | |
| success | No | Whether the action succeeded | |
| task_id | No | Linked task ID | |
| destroyed | No | If true, marks entity as destroyed | |
| entity_id | No | Primary entity affected | |
| action_name | No | Name of the executed action (e.g. move_to, pickup, place, destroy) | |
| affordance_mask | No | Updated affordance bitmask after action | |
| property_changes | No | Updated properties to merge | |
| spooled_outcomes | No | Batch of spooled outcomes to ingest from 60Hz loop off-tick execution | |
| resulting_position | No | New position of entity after action | |
| resulting_velocity | No | New velocity vector of entity after action |