Base actions for agent status management.
These actions provide standard patterns for managing agent completion states,
which integrate with Jido.Await for event-driven coordination.
Status Convention
Jido agents use a status field in their state to signal completion:
:idle- Agent is waiting for work:working- Agent is processing:completed- Agent finished successfully:failed- Agent encountered an error
Jido.Await watches for :completed or :failed status to unblock waiters.
Usage
use Jido.Agent,
name: "status_agent",
signal_routes: [
{"work.done", Jido.Actions.Status.MarkCompleted},
{"work.error", Jido.Actions.Status.MarkFailed}
]