{# SETTINGS · Configure per-agent save banner (R4c). Swapped into a row's #cfg-saved- slot after POST /settings/configure. A compact inline confirmation (or error) for that one agent. NOTE: the override is saved CONSOLE-LOCAL ONLY (app-DB — the fast display/routing overlay). The registry is NOT touched on save (feature-gap #81, the CTO's reversed decision); committing the config to the Cortex registry is the explicit "Promote to registry" action in the SPA config modal. Context: saved : truthy on a successful persist saved_error : error string (when the save failed) cfg_agent : the agent name saved cfg_effective : the agent's post-save override dict ({} when cleared) cfg_has_override : whether any override remains after the save #} {% if saved_error %} Couldn't save — {{ saved_error }} {% elif saved %} {% if cfg_has_override %} Override saved locally {% for k, v in cfg_effective.items() %}{{ k }}={{ v }}{% if not loop.last %} · {% endif %}{% endfor %} {% else %} Override cleared — using registry value {% endif %} {% endif %}