class LittleGhost::Harnesses::Result

The outcome of one Harnesses::Base#run.

status is one of:

:completed

The tool finished its task.

:failed

The tool reported an error or exited unsuccessfully.

:timed_out

The request’s timeout elapsed and the process was stopped.

:budget_exceeded

The tool or the harness stopped because spending exceeded budget_usd.

:turns_exceeded

The tool or the harness stopped because work exceeded max_turns.

Any of text, session_id, cost_usd, turns, and stop_reason may be nil when the tool did not report them. A Result contains the tool’s output, which can include repository content; treat it as untrusted.