{% extends "base.html" %} {% block content %} {# ── Header ── #}
Pipeline: {{ project_name }}
{% if run_name %} {{ run_name }} — {{ done }}/{{ total }} nodes done {% else %} No runs started yet {% endif %}
{% if awaiting_gates %} {{ awaiting_gates }} gate(s) waiting for your review {% endif %}
{# ── Getting started banner (shown when no run exists) ── #} {% if not run_name %} {% endif %} {# ── Gate action banner (shown when gates are waiting) ── #} {% if awaiting_gates %} {% endif %} {# ── Node list ── #}
{% include "pipeline_nodes.html" %}
{# ── Legend ── #}
Node status:  pending waiting to run   running executing now   succeeded complete   awaiting needs your approval   failed error — click Retry   skipped bypassed
{# ── What to do next ── #}
What to do next
{% if not run_name %}

1. Add your data to data/raw/ and edit pipeline.yaml.

2. Run aimodelground run in a terminal to start the pipeline.

3. Come back here — nodes will update live as they complete.

{% elif awaiting_gates %}

1. Scroll up to the highlighted gate node(s).

2. Review the gate message and any relevant output.

3. Click Approve if you're happy, or Skip to bypass.

4. Run aimodelground run in a terminal to resume execution.

{% elif done == total and total > 0 %}

Pipeline complete!

1. Go to the Results tab to review model performance.

2. Go to the Deploy tab to get your deployment guide.

{% else %}

Pipeline is running. This page updates live.

If a node shows failed, click Retry after fixing the issue.

Check the Data tab to inspect your uploaded files and profile.

{% endif %}
{% endblock %}