What an Outcome owns
An Outcome owns:- the task description and rubric;
- the current evaluation iteration;
- the bounded
max_iterationslimit; - optional deliverable paths and report configuration;
- grader lifecycle and verdict events;
- the terminal result: satisfied, maximum iterations reached, failed, or interrupted.
Same Session means the same admitted Agent
Aneeds_revision verdict resumes the exact Session that produced the work. It does not create a new Session or silently move to a newer AgentVersion or Environment.
The next Run receives the retained task, rubric, grader feedback, and prior Session context permitted by retention. The Agent can revise files or other work in its existing Session world. Material configuration changes apply only to newly admitted Sessions.
This property is important for both correctness and debugging: the evidence that triggered revision and the revision itself share one ordered log.
Define an Outcome directly
Postuser.define_outcome to a pending or idle Session. The current contract accepts one nonterminal Outcome at a time. max_iterations is optional and must be between 1 and 20.
Attach an Outcome in an AutomationGraph
An AutomationGraph Outcome node must attach through areviews edge to the exact Agent node whose work it revises.
Evaluation events
The Session log exposes the grading lifecycle:outcome.evaluation_startedidentifies the Outcome and iteration;outcome.evaluation_completedrecords the verdict and bounded feedback;run.requires_actionwithaction.kind: "outcome_evaluation"records the temporary platform-owned wait while grading runs.
Usage and Budgets
Every model call made by the Agent and grader is written to authoritative Usage. Outcome iteration therefore cannot evade Workspace, Principal, Session, or Automation-scoped Budget enforcement. When a Budget stops further work, the Session records the reached cap. Checkfu does not continue grading or revising from an observability estimate.Outcomes do not grant authority
An Outcome may ask the Agent to perform consequential work, but it grants no Connection, tool, Agent, Memory, or Computer access. Those permissions still flow throughPermissionAssignment, then ActionPolicy, then ActionApproval when required.
If a revision encounters a governed action, the Run parks on the ordinary approval boundary. Human approval settles that action; it does not settle the Outcome rubric.
Outcome versus FlowReview
Use Outcome when failed criteria should cause another attempt in the same Session. Use FlowReview when you want passive post-settlement audit over retained evidence. FlowReview can report pass, concern, or unknown by criterion, but it has no control-flow authority and never resumes the Agent.Outcome evidence from an Automation
For Automation-launched Agent work, inspect the layers separately:- The AutomationRun tells you the composed execution lifecycle and result.
- The Session log tells you what the Agent did and which AgentVersion and Environment were frozen at admission.
- The Outcome tells you why revision occurred and how the bounded loop ended.