diff --git a/scripts/check_app_discovery_live.sh b/scripts/check_app_discovery_live.sh index 8cc69045..4e9bd28c 100644 --- a/scripts/check_app_discovery_live.sh +++ b/scripts/check_app_discovery_live.sh @@ -72,8 +72,11 @@ grep -Fq 'data-position="hero"' "$tmp/dotchi.html" || { echo 'FAIL Dotchi store grep -Fq 'const FEAT_T={en:{0:"Choose A or B on a question."' "$tmp/dotchi.html" || { echo 'FAIL Dotchi translated feature claims still stale' >&2; exit 1; } # Read-only release gate for the recently corrected Debate Me SEO landing. fetch '/support/debate-me/' 'debate-me.html' -# #78 retitled the page from GSC evidence: "AI Debate Practice & Feedback". -grep -Fq 'AI Debate Practice & Feedback' "$tmp/debate-me.html" || grep -Fq 'AI Debate Practice & Feedback' "$tmp/debate-me.html" || { echo 'FAIL Debate Me product title is not live' >&2; exit 1; } +# The post-GSC 2026-11-11 snippet must be live; rejecting the old SEO +# title prevents a GitHub merge from being mistaken for a published change. +grep -Fq 'Debate Me – Free AI Debate App for Android | SK APPS' "$tmp/debate-me.html" || { echo 'FAIL Debate Me new SEO title not live' >&2; exit 1; } +grep -Fq 'content="Practice debates against an AI opponent in six topic categories' "$tmp/debate-me.html" || { echo 'FAIL Debate Me new search description not live' >&2; exit 1; } +grep -Fq '' "$tmp/debate-me.html" || { echo 'FAIL Debate Me OG title not live' >&2; exit 1; } grep -Fq 'data-position="hero"' "$tmp/debate-me.html" || { echo 'FAIL Debate Me first-screen Play CTA not live' >&2; exit 1; } grep -Fq 'data-position="details"' "$tmp/debate-me.html" || { echo 'FAIL Debate Me details Play CTA missing' >&2; exit 1; } grep -Fq 'support_debate_me_hero' "$tmp/debate-me.html" || { echo 'FAIL Debate Me Play attribution missing' >&2; exit 1; } diff --git a/tests/debate-me-support-growth.test.mjs b/tests/debate-me-support-growth.test.mjs index b3c3b3e1..921aace7 100644 --- a/tests/debate-me-support-growth.test.mjs +++ b/tests/debate-me-support-growth.test.mjs @@ -62,6 +62,10 @@ test('manual VPS publishing includes the landing and its read-only live validati assert.match(live,/fetch '\/support\/debate-me\/' 'debate-me.html'/); assert.match(live,/FAIL Debate Me page still describes cooking/); assert.match(live,/FAIL Debate Me first-screen Play CTA not live/); + assert.match(live, /Debate Me – Free AI Debate App for Android/); + assert.match(live, /FAIL Debate Me new SEO title not live/); + assert.match(live, /FAIL Debate Me new search description not live/); + assert.doesNotMatch(live, /grep -Fq 'AI Debate Practice & Feedback'/); }); test('search snippets match the visible Debate Me product and schema', () => {