session.record
Records work in one call: appends an event, logs a decision, sets a next action, and optionally creates a checkpoint to avoid separate updates.
Instructions
Record work in one call: append an event, log a decision, set next_action, and optionally checkpoint. Prefer this over several separate calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | No | Decision to record (with reason) | |
| checkpoint | No | Create a checkpoint after recording (default false) | |
| event_type | No | Canonical event type to append (e.g. file.changed, test.passed, command.executed) | |
| next_action | No | Next action to store on the checkpoint | |
| event_payload | No | Optional JSON payload for the event | |
| decision_reason | No | Reason behind the decision |