{# Completion panel — criterion-centric, NO chevron. Fixed position between plan and code. #}

Completion

{% if not completion.ran %}
Not yet run.
{% elif completion.is_pass %}

PASS — acceptance criteria

{% for c in completion.criteria %}
{{ '✓' if c.met else '✗' }} {{ c.kind }} {{ c.criterion }} {% if c.citation %}— {{ c.citation }}{% endif %} {% if c.lacking %}lacking attestation{% endif %}
{% endfor %} {% else %}

FAIL — failing findings

{% for f in completion.findings %}
{{ f.criterion or f.finding or "" }} {% if f.citation %}— {{ f.citation }}{% endif %}
{% endfor %} {% if not completion.findings %}
FAIL (no findings recorded).
{% endif %} {% endif %}