{% if job.status == "running" %}

🤖 AI investigation · investigating… {{ job.elapsed }}s

{% with trace=job.progress_text %} {% if trace %}
{{ trace }}
{% else %}

starting…

{% endif %} {% endwith %}
{% elif job.status == "error" %}
âš  AI investigation failed: {{ job.error }}
{% else %}

🤖 AI investigation

{% with trace=job.progress_text %} {% if trace %}
investigation trace ({{ job.elapsed }}s)
{{ trace }}
{% endif %} {% endwith %}
{{ job.answer }}
{% endif %}