{# Switchboard — live snapshot of operationally-interesting pipeline knobs. Sourced from cymatix_context.config.load_config() in the launcher process; the supervised cymatix shares the same cymatix.toml + cwd, so what you see here is what the next /context call will use. #}

Switchboard {% if state.switchboard.summary %} {{ state.switchboard.summary }} {% endif %}

{% if state.switchboard.error %}
Could not read switchboard config: {{ state.switchboard.error }}
{% else %} {% set on_settings = state.switchboard.settings | selectattr("active") | list %} {% set off_settings = state.switchboard.settings | rejectattr("active") | list %}
{% for setting in on_settings %}
{{ setting.label }} {% if setting.description %} {{ setting.description }} {% endif %}
{{ setting.value }}
{% endfor %}
{% if off_settings %}
{{ off_settings | length }} switched off
{% for setting in off_settings %}
{{ setting.label }} {% if setting.description %} {{ setting.description }} {% endif %}
{{ setting.value }}
{% endfor %}
{% endif %} {% endif %}