Skip to main content
status() returns one snapshot of what has happened, read from disk. It starts no Run and claims no Lock.

LoopStatus

Reading lastExit:
  • { settled: true, verdict } — a Verdict ended the Loop. verdict.ok says which settle it was: success, or give-up (ok: false with impossible: true).
  • { settled: false, cause, reason } — the Run was interrupted (budget | rounds | cancel | error | yield) and the Loop stays live for the next Trigger.
A never-run Loop is not an error — it reads as the zero state.

Agent runs keep no Record

Agent.define(config).run() runs the Execute phase once, ungraded: no Verify, no Verdict, no Lock, no Record. Because it keeps no Record there is nothing to read back — AgentDefinition has no status().