diff --git a/src/lib/feature-flags/__tests__/coach-user-disable.test.tsx b/src/lib/feature-flags/__tests__/coach-user-disable.test.tsx index 1b9b8c47e..594a040ad 100644 --- a/src/lib/feature-flags/__tests__/coach-user-disable.test.tsx +++ b/src/lib/feature-flags/__tests__/coach-user-disable.test.tsx @@ -307,10 +307,12 @@ describe("Coach per-user disableCoach invariant", () => { // writes the flag does NOT read `user.disableCoach` (it reads // `body.disableCoach`) and is intentionally not listed here. "src/app/api/auth/me/route.ts", - // - Settings → KI section: the toggle card reads + writes the + // - Settings → Coach section: the toggle card reads + writes the // flag; the section shell reads it to gate the Coach sub-cards. + // v1.18.0 — moved out of the AI/Assistent section into its own + // dedicated Coach settings entry. "src/components/settings/ai/disable-coach-card.tsx", - "src/components/settings/ai-section.tsx", + "src/components/settings/coach-section.tsx", // v1.7.0 W6 — the unified dashboard snapshot builder reads // `user.disableCoach` to gate the embedded daily briefing to // `briefingState: "disabled"`. Covered by the briefingState matrix