AI GEO#29
Merged
Merged
Conversation
Enable automated agent discovery per RFC 8288 and RFC 9727 by advertising the API catalog and documentation from homepage responses. Co-authored-by: Cursor <cursoragent@cursor.com>
Serve Accept: text/markdown responses via build-time cache and Cloudflare Pages middleware so agents get markdown while browsers keep HTML. Co-authored-by: Cursor <cursoragent@cursor.com>
Publish per-API linkset entries with service-desc, service-doc, and status links, and point the indexer to sub2.quantus.com. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Address https://isitagentready.com/www.quantus.com
Note
Medium Risk
Edge middleware changes GET/HEAD responses for negotiable routes (caching via Vary: Accept), and the GraphQL URL switch affects live on-site data/preconnect unless sub2 is fully equivalent.
Overview
Improves agent/GEO readiness (e.g. isitagentready.com) by serving markdown when clients send
Accept: text/markdown, while keeping HTML the default for browsers.Adds
astro-markdown-for-agentsto the Astro build (pre-built/_markdown-cache) plus a Cloudflarefunctions/_middleware.jspath that negotiates content, applies agent content-signal headers, and falls back to normal HTML when markdown is missing or paths are excluded viamarkdown-for-agents.config.mjs.Publishes machine-readable API discovery: RFC 9727
/.well-known/api-catalog, OpenAPI JSON under/.well-known/openapi/(website, quests, indexer), andpublic/_headersLink+Vary: Accepton locale homepages; markdown cache responses getnoindexand no-cache rules.Also points
GRAPHQL_URLathttps://sub2.quantus.com/v1/graphql(wassubsquid.quantus.com/graphql) and ignores.wranglerin git.Reviewed by Cursor Bugbot for commit 2137d8e. Configure here.