GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — improvement(seo): restore explicit AI/search bot allow-list and add link-preview rules by waleedlatif1 · Pull Request #4480 · simstudioai/sim

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented May 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Summary

  • Restore proper robots.txt structure that PR improvement(seo): optimize sitemaps, robots.txt, and core web vitals across sim and docs #4170 collapsed into a single wildcard rule (suspected culprit for the Profound metric drop on Apr 18).
  • Wildcard rule (User-agent: *) allows crawling with a tight disallow list for authenticated surfaces and internal endpoints. Any new AI/search crawler is auto-allowed without code changes.
  • Separate group for link-preview bots (Twitter/LinkedIn/Slack/Discord/etc.) with a looser disallow list so OG cards render for shared /chat/ and /form/ URLs.
  • No named AI/search bot allow-list — it's functionally redundant against the wildcard and goes stale fast. Behavior is identical for any compliant crawler.

Type of Change

  • Bug fix

Testing

Tested manually — typecheck passes, bun run lint clean. Output verified to render the expected two rule groups per Next.js Metadata API.

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@waleedlatif1
improvement(seo): restore explicit AI/search bot allow-list and add l…
a40dc53
…ink-preview rules
@vercel

vercel Bot commented May 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped May 6, 2026 9:16pm

Request Review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@cursor

cursor Bot commented May 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

PR Summary

Medium Risk
Changes robots.txt directives for all crawlers and specific link-preview user agents, which can materially impact indexing/crawl behavior if the disallow lists are wrong. Scope is small and isolated to SEO metadata generation.

Overview
Updates apps/sim/app/robots.ts to emit two robots rule groups: a wildcard (*) rule that allows crawling but disallows a defined set of internal/authenticated paths, and a separate rule set for link-preview bots (Twitter/Slack/Discord/etc.) with a looser disallow list so OG previews can fetch /chat/ and /form/ URLs.

Refactors the disallow lists into named constants (DISALLOWED_PATHS, LINK_PREVIEW_DISALLOWED_PATHS) and introduces a LINK_PREVIEW_BOTS allowlist to target the preview-specific behavior.

Reviewed by Cursor Bugbot for commit b9a1f58. Configure here.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@greptile-apps

greptile-apps Bot commented May 6, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR restores a structured robots.ts by splitting what was previously a single wildcard rule into two groups: a tight wildcard disallow list for all bots, and a named group for link-preview bots with a looser list that intentionally permits /chat/ and /form/ so OG cards render correctly on social platforms.

  • Wildcard rule blocks authenticated and internal surfaces (/api/, /workspace/, /chat/, /form/, /playground/, etc.) for all crawlers by default, with /blog*tag= added for tag-filtered pages.
  • Link-preview bot group (Twitter, LinkedIn, Slack, Discord, Telegram, WhatsApp, Facebook, Pinterest, Reddit) drops /chat/ and /form/ from the disallow list, enabling OG metadata fetching, while still blocking authenticated paths and /playground/ — fixes from a previous revision of this PR that were already merged.

Confidence Score: 5/5

Safe to merge — the change is scoped entirely to robots.txt generation and carries no runtime risk to application behavior.

The restructuring is straightforward: one wildcard rule with a tight disallow list, one named link-preview bot group with a looser list for OG card fetching. All previously identified issues (incorrect Grok UA strings, no-op Bravebot entry, missing /playground/ and /w/ from the preview-bot disallow list) were corrected in a prior commit and are confirmed absent in the current file. Named user-agent groups take precedence over the wildcard per RFC 9309, so the routing logic is correct. No application logic, data access, or authentication paths are affected.

No files require special attention.

Important Files Changed

Filename Overview
apps/sim/app/robots.ts Restructures robots.txt into two rule groups: a wildcard rule with a tight disallow list, and a named group for link-preview bots with a looser list that allows /chat/ and /form/ for OG card fetching. Previous issues (Grok UA strings, Bravebot no-op, missing /playground/ and /w/ in the preview-bot list) are all addressed in this revision.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[Incoming Bot Request] --> B{User-Agent Match?}
    B -->|Matches LINK_PREVIEW_BOTS\nTwitterbot, LinkedInBot,\nSlackbot, Discordbot, etc.| C[Apply LINK_PREVIEW_DISALLOWED_PATHS]
    B -->|Wildcard *\nall other bots| D[Apply DISALLOWED_PATHS]
    C --> E{Path Allowed?}
    D --> F{Path Allowed?}
    C -.->|Accessible for OG cards| G["/chat/, /form/"]
    E -->|Disallowed| H["Block: /api/, /workspace/, /w/, /playground/, /resume/, /invite/, /unsubscribe/, /credential-account/, /_next/, /private/"]
    E -->|Allowed| I[Crawl Permitted]
    F -->|Disallowed| J["Block: same as preview list + /chat/, /form/, /blog*tag="]
    F -->|Allowed| K[Crawl Permitted]
Loading

Reviews (3): Last reviewed commit: "chore(seo): trim verbose comments in rob..." | Re-trigger Greptile

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

greptile-apps[bot]
greptile-apps Bot reviewed May 6, 2026
View reviewed changes
Comment thread apps/sim/app/robots.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/sim/app/robots.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread apps/sim/app/robots.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed May 6, 2026
View reviewed changes
Comment thread apps/sim/app/robots.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@waleedlatif1
fix(seo): correct xAI UA strings, drop Bravebot, block /playground/ a…
2c78835
…nd /w/ from link-preview bots
@vercel
vercel Bot temporarily deployed to Preview May 6, 2026 20:05 Inactive
@waleedlatif1
fix(seo): drop unverified Grok UAs, correct DeepSeekBot and Imagesift…
ec7e5a7
…Bot tokens
@vercel
vercel Bot temporarily deployed to Preview May 6, 2026 20:09 Inactive
@waleedlatif1
fix(seo): re-add Bravebot to allow-list per Brave Search docs
8a615f3
@vercel
vercel Bot temporarily deployed to Preview May 6, 2026 20:12 Inactive
@waleedlatif1

waleedlatif1 commented May 6, 2026

Copy link
Copy Markdown
Collaborator Author

@cursor review

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@waleedlatif1

waleedlatif1 commented May 6, 2026

Copy link
Copy Markdown
Collaborator Author

@greptile

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed May 6, 2026
View reviewed changes
Comment thread apps/sim/app/robots.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@waleedlatif1
improvement(seo): drop redundant named AI/search bot allow-list
5510485
@vercel
vercel Bot temporarily deployed to Preview May 6, 2026 21:14 Inactive
@waleedlatif1
chore(seo): trim verbose comments in robots.ts
b9a1f58
@vercel
vercel Bot temporarily deployed to Preview May 6, 2026 21:16 Inactive
@waleedlatif1

waleedlatif1 commented May 6, 2026

Copy link
Copy Markdown
Collaborator Author

@greptile

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@waleedlatif1

waleedlatif1 commented May 6, 2026

Copy link
Copy Markdown
Collaborator Author

@cursor review

cursor[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cursor[bot]
cursor Bot reviewed May 6, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit b9a1f58. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@waleedlatif1
waleedlatif1 merged commit 690b7ab into staging May 6, 2026
14 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@waleedlatif1
waleedlatif1 deleted the waleedlatif1/sofia-v3 branch May 6, 2026 21:21
waleedlatif1 added a commit that referenced this pull request May 7, 2026
@waleedlatif1
improvement(seo): restore explicit AI/search bot allow-list and add l…
4cdbb58
…ink-preview rules (#4480)

* improvement(seo): restore explicit AI/search bot allow-list and add link-preview rules

* fix(seo): correct xAI UA strings, drop Bravebot, block /playground/ and /w/ from link-preview bots

* fix(seo): drop unverified Grok UAs, correct DeepSeekBot and ImagesiftBot tokens

* fix(seo): re-add Bravebot to allow-list per Brave Search docs

* improvement(seo): drop redundant named AI/search bot allow-list

* chore(seo): trim verbose comments in robots.ts
@waleedlatif1 waleedlatif1 mentioned this pull request May 7, 2026
v0.6.69: security hardening, nextjs upgrade, SAP Concur, Emailbison integrations, robots.txt update, workday hardening #4489
Merged

This branch was previously deployed

1 inactive deployment
Preview — b9a1f584 Deployed May 6, 2026 by vercel[bot]
View deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@greptile-apps greptile-apps[bot] greptile-apps[bot] left review comments
@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@waleedlatif1
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.