{% macro operational_interpretation(notes_by_slot, actions) %} {% set note = notes_by_slot.get("operational_interpretation") if notes_by_slot else None %}
Operational interpretation

{{ note.title if note else "What to do with this" }}

{% if note %}
{{ markdown_render(note.text) }}
Interpretation by {{ (note.author_type or "analyst") | humanize_author }}
{% else %}
{% if actions %}

Begin with the recommended next steps below. The top action affects {{ actions[0].host_count }} host{% if actions[0].host_count != 1 %}s{% endif %}: {{ actions[0].step }}

{% else %}

No automated next-step recommendations are available in this artifact. Use the ranked hosts and method notes below to plan investigation manually.

{% endif %}
{% endif %}
{% endmacro %}