{# T-2342 (arc-011 M1 §5) — visual surface for in-flight dispatches. Renders one card per in-flight dispatch read from .context/dispatches.jsonl. Auto-refreshes every 2s via htmx (selects only the cards container, so the page chrome doesn't flicker). Sibling to T-2341's bash demo — operator observes the headline_mechanic firing in real time. #}

Orchestrator — Parallel Dispatches

Real-time view of in-flight dispatches recorded in .context/dispatches.jsonl. Polls every 2 seconds. arc-011 M1 §5 — operator surface for the headline_mechanic.

{{ in_flight_count }} dispatches in flight
{% if cards %}
{% for c in cards %}
{{ c.dispatch_id }}
{{ c.task_id }}
{% if c.started_at %}
started at {{ c.started_at }}
elapsed: {{ c.elapsed_seconds }}s
{% else %}
started_at unknown
{% endif %}
{% endfor %}
{% else %}
No dispatches in flight.
{% endif %}

Snapshot taken at {{ now_ts }}. Auto-refresh every 2s.