class RubyLLM::AgUI::RunRecord

The authoritative server-side progress of one reserved run.

The record is immutable: every transition returns a new record that the store persists. That keeps a run’s identity, status and progress honest across processes, and it is what makes “a cancelled run is never reported as success” checkable rather than a comment: once a record reaches a terminal status, no transition can move it to a different one.

A record is host bookkeeping, not business truth. The host still owns the conversation, the messages and whatever the tool calls actually did.