{# The shared mgf-brand-web kit, in canonical load order, then the instrument layer — mounted from the package, not vendored (one source of truth). #} {# App shell only (topbar / rail / readout layout); every component is the kit's. #} {% import "macros.html" as m %}
mgf-fed-webfederation control surface {{ chrome.check_mode }} check · {{ chrome.last_checked }} {{ chrome.pill.label }} {% if chrome.pill.counts %}{{ chrome.pill.counts }}{% endif %} {# Global sync actions — fan out across every project, aggregate into the pill (spec §5.5). Check all is safe (deep, non-mutating); Force-sync all is the affirmative mutation (gold) behind a confirm disclosure. #}
Force-sync all

Rebuilds generated/ for every drifting project in the working tree — uncommitted; you commit project-side.

{% block main %}{% endblock %}
{# Progressive enhancement (no framework): keep a sync action's name through the flow — Force-sync → "Force-syncing…" — and flip the acted chip to its transient CHECKING/SYNCING state while the POST round-trips (spec §1.5, §5.9). Degrades to a plain POST with JS off; never load-bearing — the server re-renders the resolved state regardless, and a cancelled confirm() (defaultPrevented) is left untouched. #}