Skip to content

Move to debateowl.com and 301 debate.pi-stack.org - #246

Merged
Programcode merged 1 commit into
mainfrom
chore/debateowl-domain
Oct 27, 2026
Merged

Programcode merged 1 commit into
mainfrom
chore/debateowl-domain

Conversation

@Programcode

Copy link
Copy Markdown
Owner

Moves DebateOwl to https://debateowl.com and retires debate.pi-stack.org.

Changes

  • Canonical origin: src/config/site.json origin is now https://debateowl.com, and the brand is DebateOwl (titles no longer end "| DebateOwl by Pi-Stack"). The SEO pages and llms.txt were regenerated with scripts/generate_seo_content.py. index.html og/twitter/author, humans.txt, robots.txt sitemap, embed canonical, README, AGENTS, docs, e2e/tests and playwright.production.config.ts are updated too. Footer copyright now reads "© 2026 Pi-Stack.", and the JSON-LD organization stays Pi-Stack.
  • Old host 301: the first vercel.json redirect sends every path on debate.pi-stack.org to https://debateowl.com/:path with a 301, and Vercel appends the query. /sw.js is the only exception. check-site.mjs ignores host-scoped rules.
  • Service worker: on debate.pi-stack.org the new sw.js skips precaching, clears every cache, unregisters, and reloads its tabs. The tabs then follow the 301. Fetch and message handlers do nothing there. Tested with Playwright: today's prod worker is installed on the old host, then the host is flipped to the new behaviour. Deep links land on debateowl.com with the query intact, and the old origin ends up with 0 registrations and 0 caches.
  • Edge functions: CORS (_shared/cors.ts), checkout callbacks and workspace-invites now allow https://debateowl.com, and it is the fallback origin. https://debate.pi-stack.org stays allowed.

Left on purpose

  • The move-notice copy ("DebateLab is becoming DebateOwl"), package and storage keys, env names and the repo name.
  • scripts/gsc_submit.py, which is tied to the Search Console properties.
  • The admin demo-account email domain, which is an identifier.
  • The debatelab-* URL slugs.

Before merging

The prod edge functions must be redeployed with the new CORS first. Today they answer Origin: https://debateowl.com with Access-Control-Allow-Origin: https://debate.pi-stack.org, so once the 301 is live every AI, checkout and announcement call from debateowl.com fails.

npm run verify passes locally.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Note

🎁 Summarized by CodeRabbit Free

Your organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Essentials by visiting https://app.coderabbit.ai/settings/billing.

Comment @coderabbitai help to get the list of available commands.

@Programcode
Programcode marked this pull request as ready for review October 27, 2026 13:43
Copilot AI balanced review requested due to automatic review settings October 27, 2026 13:43
@Programcode
Programcode merged commit cc78bb4 into main Oct 27, 2026
3 of 14 checks passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants