{# ── References panel — compact entity cards, one per entity ─────────── #} {% set inv_refs = analysis.all_entity_refs|selectattr('kind', 'in', ['invocation','parent-invocation','child-invocation','new-invocation'])|list %} {% set runner_refs = analysis.all_entity_refs|selectattr('kind', 'in', ['runner','worker'])|list %} {% set task_refs = analysis.all_entity_refs|selectattr('kind', 'equalto', 'task')|list %} {% set wf_refs = analysis.all_entity_refs|selectattr('kind', 'in', ['workflow','sub-workflow','parent-workflow'])|list %} {% set details = analysis.ref_details or {} %}
{# ── Invocations ── #} {% if inv_refs %}
info Invocations ({{ inv_refs|length }})
{% for ref in inv_refs %} {% set d = details.get('invocation:' ~ ref.value, {}) %}
{{ ref.value[:12] }}… {% if d.status %} {{ d.status }} {% endif %} timeline
{% if d.task %}
{{ d.task }}
{% endif %}
{% endfor %}
{% endif %} {# ── Runners / Workers ── #} {% if runner_refs %}
memory Runners ({{ runner_refs|length }})
{% for ref in runner_refs %} {% set d = details.get('runner:' ~ ref.value, {}) %}
{% if d.cls %}
{{ d.cls }}
{% endif %} {% if d.hostname %}
{{ d.hostname }}
{% endif %}
{% endfor %}
{% endif %} {# ── Tasks ── #} {% if task_refs %}
task Tasks ({{ task_refs|length }})
{% for ref in task_refs %} {{ ref.value }} {% endfor %}
{% endif %} {# ── Workflows ── #} {% if wf_refs %}
account_tree Workflows ({{ wf_refs|length }})
{% for ref in wf_refs %} {{ ref.value[:12] }}… {% endfor %}
{% endif %}