{%- if total_count == 0 -%}
[muted]No [usage]secret(...)[/usage] references found in this repo's templates. (Templates are files matching [usage][preprocessor.template] extensions[/usage]; default `*.tmpl` / `*.template`.)[/muted]
{%- else -%}
[message]{{ total_count }} secret reference{% if total_count != 1 %}s{% endif %} across {{ schemes_referenced|length }} scheme{% if schemes_referenced|length != 1 %}s{% endif %}[/message]
{% for row in rows -%}
{%- if row.provider_enabled -%}
[success]·[/success] [muted]{{ row.pack }}/{{ row.source_path }}:{{ row.line }}[/muted] {{ row.reference }}
{% else -%}
[warn]·[/warn] [muted]{{ row.pack }}/{{ row.source_path }}:{{ row.line }}[/muted] {{ row.reference }} [warn](provider not enabled)[/warn]
{% endif -%}
{%- endfor %}
{%- if schemes_without_provider|length > 0 %}
[warn]Schemes referenced but not enabled in your config:[/warn] {% for s in schemes_without_provider %}[usage]{{ s }}[/usage]{% if not loop.last %}, {% endif %}{% endfor %}
[muted]Run [usage]dodot secret probe[/usage] to inspect provider state, or enable a scheme via [usage][secret.providers.<key>] enabled = true[/usage].[/muted]
{%- endif -%}
{%- endif -%}