From c22dd94872247d4d0f673467d0166a1ddb519e6c Mon Sep 17 00:00:00 2001 From: hshum Date: Mon, 1 Jun 2026 10:27:01 -0700 Subject: [PATCH 1/3] feat(scratchnode): visible degraded badge on provider-fallback /ask answers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Completes the honest-degraded-UX half of the /ask observability work. When the AI provider is unavailable, askAgent answers from public sources only and records agentMode=provider_fallback. renderAnswer already LABELLED that ("AI fallback · deterministic") but rendered it as neutral text, so a reader could mistake a degraded answer for a full AI one. Adds an amber "degraded · sources only" pill (icon + text, never colour alone for a11y; role=status so screen readers announce it; title tooltip explains it may be less complete) in the answer head, shown ONLY for provider_fallback answers. Verified: all 4 inline