{# Investigation findings block. Expects `investigation` (Investigation) and `is_stale` (bool) in context. #} {% set _inv_status = investigation.status %} {% set _is_investigating = _inv_status == 'investigating' %} {% set _is_stalled = _inv_status == 'investigation-stalled' %}
Findings {% if _inv_status %}{{ _inv_status }}{% endif %} {% if is_stale %}stale{% endif %}
{% if _is_investigating %}

/bug-start is running — findings will appear when investigation completes.

{% elif _is_stalled %}

Investigation stalled — re-run /bug-start to refresh the lock and continue.

{% else %} {% if investigation.root_cause %}

Root cause: {{ investigation.root_cause }}

{% endif %} {% if investigation.affected_files %}
Affected:
    {% for f in investigation.affected_files %} {% set parsed = f | parse_affected_file %}
  • {{ parsed.display }}
  • {% endfor %}
{% endif %} {% if investigation.regression_range %}

Regression: {{ investigation.regression_range }}

{% endif %} {% if investigation.related_bugs %} {% endif %} {% if investigation.complexity %}

Complexity: {{ investigation.complexity }}

{% endif %} {% if investigation.notes %}

{{ investigation.notes }}

{% endif %} {% endif %}