- Shipped
- November 14, 2026 at 8:29 PM UTC
- Author
- Kamo
- Commit
- dfe8dee
Owner 2026-11-14: if the organization has an SI provider set up, use it; if not, or the SI app is off, hide it. Applies to every PageTools page (CRM settings, SI settings, Platform Console). - describeChangeAvailability: the SI app (isAiSupport || isAiWorkforce) AND AIService's describeChange on GET /api/ai/org-availability (asked exactly as the draft is routed). Read once per organization per session and shared; null until known, so the button never flashes in and out; an unreadable answer counts as no. Nothing is asked without the SI app, or where the button could not show (reader, describe: false). - PageTools renders Describe A Change only when that is true (a soft fade-in); Recent Changes is unaffected. - A draft still refused 503 (NO_MODEL / NO_SI_APP: a provider removed since) closes the dialog quietly and hides the button for the session; no error. - vitest: no SI app -> absent (never asked); app, no provider -> absent; unreadable -> absent; both -> present, asked once; no flash while loading; 503 hides quietly.
