{#- 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) -%} {%- endmacro %}
{% if report %}
{% with state = report.state, size = report.size %}{% include "_report_badges.html" %}{% endwith %} report #{{ report.id }} · {{ report.author }}
{{ report.body_md|markdown }}
{% include "_report_checks.html" %}
{% else %}

No report: the turn ended without a result.

{% endif %}

Events {{ turn.events }}

{% if turn.events > board_lines %}

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).

{% endif %} {% if items %}{{ event_list(items) }}{% else %}

No lines stored for this turn.

{% endif %}