Skip to content

fix(seo): remove blanket public/robots.txt shadowing the scoped app/robots.ts (unblocks Deck discoverability)#657

Open
Victor "David" Medina (Victor-David-Medina) wants to merge 1 commit into
mainfrom
claude/console-robots-unblock
Open

fix(seo): remove blanket public/robots.txt shadowing the scoped app/robots.ts (unblocks Deck discoverability)#657
Victor "David" Medina (Victor-David-Medina) wants to merge 1 commit into
mainfrom
claude/console-robots-unblock

Conversation

@Victor-David-Medina

Copy link
Copy Markdown
Collaborator

What

Deletes public/robots.txt (a blanket User-agent: * / Disallow: /) that was shadowing the intended, scoped app/robots.ts route.

Why (root cause)

In the Next.js App Router, a static public/robots.txt file takes precedence over the app/robots.ts route. So the live edge (deck.relaylaunch.com/robots.txt) served a blanket Disallow: / — blocking all crawlers from the public Deck marketing pages — even though app/robots.ts already defines the correct policy:

  • allow: /, /demo, /pricing, /for/, /scan, /benchmark, /templates
  • disallow: /dashboard, /api, /auth, /council, /settings, /rooms, /operations, /onboarding, /credits, /team, /memory, /monitoring, /pulse-ops

The 2026-07-01 design scorecard measured console Discoverability at 50-52 (Developing) because of this self-throttle. Deleting the shadow lets the scoped policy serve — unblocking /scan (the AEO front-door surface) and the public marketing pages, while keeping the authenticated app + API disallowed.

Not a strategy flip

This does not newly expose the app — app/robots.ts already disallows every authenticated/API path. It restores the policy the code already intended. (If a full pre-launch block were ever desired, that belongs in app/robots.ts, not a stale static override.)

Verify

  • After merge + the pending Railway redeploy of the console image: curl https://deck.relaylaunch.com/robots.txt should return the scoped app/robots.ts output (allow list + disallow list + sitemap), not Disallow: /.
  • 1-file change (deletion only). No app/API path becomes crawlable.

…obots.ts

public/robots.txt served 'User-agent: * / Disallow: /' which, as a static
file, overrides the Next.js app/robots.ts route in the App Router. That
route is already the intended, carefully-scoped policy (allow /, /demo,
/pricing, /for/, /scan, /benchmark, /templates; disallow /dashboard, /api,
/auth, /council, /settings, ...). The stale blanket file self-throttled the
public Deck marketing pages to zero crawl reach (measured Discoverability
50-52 in the 2026-07-01 design scorecard). Deleting the shadow lets the
scoped app/robots.ts serve, unblocking /scan (the AEO front door) and the
public marketing pages while keeping the authenticated app + api disallowed.

Takes effect on the next Railway redeploy (verify /robots.txt at the edge).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

🛡️ Cascade Quality Score: 100/100

Category Score Status
TypeScript 20/20
ESLint 20/20
Brand Compliance 15/15
Test Suite 25/25
Build 20/20

Threshold: 85/100 | Result: PASS ✅

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.

1 participant