{% extends "base.html" %} {% block title %}Task {{ task.id }} · Ordine{% endblock %} {% block content %}

Task {{ task.id }}

{{ task.status }} ordinal {{ task.ordinal if task.ordinal is not none else "-" }}

Source: {{ task.source_ref }}

Workdir: {{ workdir_display }}

{% if task.error %}

error: {{ task.error }}

{% endif %} {% if source_is_image and last_output_rel %}

Preview

{% if source_artifact %}
Before
Source preview
{% else %}

Source image: {{ task.source_ref.split("/")[-1] }}

{% endif %}
After
Output preview
{% endif %}

Steps

{% if task_json %}
    {% for entry in step_logs %} {% set step = entry.step %}
  1. {{ step.id }} {% if step.branch %} (branch {{ step.branch }}){% endif %} — {{ step.status }} {% if step.message %}
    {{ step.message }}{% endif %} {% if entry.log %}
    log.txt
    {{ entry.log }}
    {% endif %}
  2. {% endfor %}
{% else %}

(no task.json)

{% endif %}
{% if attempts %}

Branch attempts

{% endif %} {% if flags %}

Flags

{% endif %}

AI assistance

{% if not llm_configured %}

LLM is not configured. Open Settings.

{% else %}
Diagnosing…
Suggesting…
{% endif %}
{% if diagnosis and flags %} {% set flag_id = flags[0].id %} {% include "partials/ai_diagnosis_card.html" %} {% endif %}

{% if can_retry %}

{% endif %} {% if can_cancel %}
{% endif %} Back to tasks

{% endblock %}