test(coach): register the conversation-history page on the disable invariants

The dedicated conversation-history page gates on the operator master
flag and the per-user opt-out like the main Coach route, so add it to
both grep-based gate-site allowlists.
This commit is contained in:
Marc-André Bombeck committed 2026-06-27 12:18:38 +02:00
1 parent fd2b5b06b8
commit 69dcf6919d
2 files changed
+8

No files matched your search

@@ -284,6 +284,10 @@ describe("Coach disable cascade invariant", () => {
// redirects to `/insights` when the operator master flag is off.
// v1.18.0 — moved to the standalone top-level `/coach` route.
"src/app/coach/page.tsx",
// v1.21.4 — the dedicated conversation-history page gates on
// `flags.coach` like the main Coach route and renders unavailable
// when the operator master flag is off.
"src/app/coach/conversations/page.tsx",
// v1.15.20 — the proactive Coach-nudge cron short-circuits on
// `flags.coach` (gate 1) so an operator kill-switch also silences
// the nudges. Server-side cron, not a render path — the cascade
@@ -298,6 +298,10 @@ describe("Coach per-user disableCoach invariant", () => {
// page back to `/insights` instead of painting a dead chat shell.
// v1.18.0 — moved to the standalone top-level `/coach` route.
"src/app/coach/page.tsx",
// v1.21.4 — the dedicated conversation-history page mirrors the
// Coach route gate: operator master flag OR per-user opt-out marks
// the page unavailable instead of painting a dead history shell.
"src/app/coach/conversations/page.tsx",
// The hook itself + its `useAuth`-backed reader.
"src/hooks/use-disable-coach.ts",
// Cross-cut gates owned by sibling invariants / route tests.