{% set base = "/runs/" ~ run.id ~ "/gates" %} {% set shown = "network" if network else "shell" if shell_gate else "mcp" if mcp_gate else "model" %}
{% for gate in (network or shell_gate or mcp_gate or model_gate).gates %} {% if gate.live %} {% set href = base if gate.key == "network" else base ~ "/" ~ gate.key %} {{ gate.label }} {% else %} {{ gate.label }} {% endif %} {% endfor %}
{{ run.id }} ยท counted from the audit
{% if network %} {% include "partials/gates_network.html" %} {% elif shell_gate %} {% include "partials/gates_shell.html" %} {% elif mcp_gate and mcp_gate.decision == "secrets" %} {% include "partials/gates_mcp_secrets.html" %} {% elif mcp_gate %} {% include "partials/gates_mcp.html" %} {% else %} {% include "partials/gates_model.html" %} {% endif %}