{{ report.body_md|markdown }}
{% include "_report_checks.html" %}
{#- One turn of a run, loaded when its row is opened in the Agent block: the report its result became, with its verified marks, then its stored stream-json lines (masked), tool calls with their results folded, subagent work nested under the call that started it. Expects: run, turn, report (or None), checks, warning, items (the last board_lines lines). -#} {%- macro event_list(list) -%}
{{ e.text|truncate(200) }}{% if e.children %} ({{ e.children|length }} subagent item{{ "s" if e.children|length != 1 }}){% endif %}{% if e.result is none %} no result{% elif e.is_error %} error{% endif %}{{ e.text }}{% endif %}
{% if e.children %}{{ event_list(e.children) }}{% endif %}
{% if e.result is not none %}{{ e.result }}{% endif %}
{{ e.text }}{{ e.text }}{{ e.text }}No report: the turn ended without a result.
{% endif %}Earlier lines: {{ turn.events - board_lines }}, not shown here; the last {{ board_lines }} follow. An agent reads them with run_events(run={{ run.id }}, turn={{ turn.seq }}, from_seq=1).
No lines stored for this turn.
{% endif %}