Skip to content

AR-20261118-1/-2: /developers redirect and /auth.md for agents - #1057

Closed
warp-agent-staging[bot] wants to merge 2 commits into
mainfrom
factory/ar-20261118-1-docs-developers-auth
Closed

warp-agent-staging[bot] wants to merge 2 commits into
mainfrom
factory/ar-20261118-1-docs-developers-auth

Conversation

@warp-agent-staging

@warp-agent-staging warp-agent-staging Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

What changes

  • /developers and /developer redirect (308) to the API and SDK overview. Both URLs return 404 on docs.warp.dev today. The more specific /developers/cli redirect is unchanged.
  • /auth.md is published on docs.warp.dev. It mirrors www.warp.dev/auth.md: Bearer authentication with a Warp API key or a supported Warp-issued user token (matching bearerAuth in developers/agent-api-openapi.yaml), the public-artifact exceptions, the API base URL, and the OpenAPI links. The API keys link points at the current page (/agents/cli/oz-cli/api-keys/) instead of the legacy /reference/cli/api-keys/ redirect.
  • scripts/agent-discovery.test.mjs asserts both redirects and the auth.md content.

No page copy changes.

Why (autoresearch AR-20261118-1 and AR-20261118-2)

ora agent-experience audit of docs.warp.dev, production, 2026-11-18 (contract 1.42.0):

Check Tier Today ora detail Expected after deploy Modelled score delta
developer-portal recommended 0/5 "No developer portal found" 5/5 +3.70
oauth-support required 0/5 "No OAuth 2.0 or OpenID Connect support detected" 3/5 +1.73

The same audit of www.warp.dev passes developer-portal 5/5 ("Developer portal found at https://docs.warp.dev"); www's /developers 308s to the docs homepage (https://docs.warp.dev/), not to a specific page, so this suggests ora follows a /developers redirect but does not prove the docs score. That is why the prediction is falsifiable and scores oauth-support 3/5 ("Custom agent-auth protocol documented at https://warp.dev/auth.md"). Both premises were confirmed with curl today: docs.warp.dev/developers, /developer, and /auth.md all return 404.

Prediction (G1): developer-portal 0/5 → 5/5 and oauth-support 0/5 → 3/5 on the first production audit after deploy, about +5 on the docs canonical score. Falsified per check if it stays at 0. No Peec or citation claim. Outside ora, the redirect stops a 404 on a URL agents commonly guess.

Verification

  • node --test scripts/agent-discovery.test.mjs: 7/7 pass.
  • python3 scripts/check_redirects.py: 30 broken, the same 30 as on main (pre-existing, no new ones).
  • Preview checks (to run when the Vercel preview is ready):
    curl -sS -o /dev/null -w '%{http_code} %{redirect_url}\n' $P/developers   # 308 .../factories/api-and-sdk/
    curl -sS -o /dev/null -w '%{http_code} %{redirect_url}\n' $P/developer/   # 308 .../factories/api-and-sdk/
    curl -sS -o /dev/null -w '%{http_code} %{redirect_url}\n' $P/developers/cli   # 308 /agents/cli/oz-cli/
    curl -sSI $P/auth.md | grep -i content-type   # text/markdown

Expected conflict with #990 (vercel.json, adjacent lines): trivial.

Co-Authored-By: Warp agent@warp.dev

…SDK overview; publish /auth.md

ora's developer-portal check finds no portal on docs.warp.dev (/developers 404s), while
www.warp.dev passes because its /developers redirects here. /auth.md mirrors
www.warp.dev/auth.md (bearer API key auth, base URL, OpenAPI links) with the
current API keys link.

Co-Authored-By: Warp <agent@warp.dev>
@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

This PR was generated with Warp.

Comment @warp-staging-factory on this PR to send it follow-up work.

@warp-agent-staging warp-agent-staging Bot added the factory:aeo-factory Label associated to the "aeo-factory" factory label Nov 18, 2026
@cla-bot cla-bot Bot added the cla-signed label Nov 18, 2026
@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
docs Ready Ready Preview Nov 18, 2026 4:38pm UTC

Request Review

…oken

Matches the bearerAuth scheme in developers/agent-api-openapi.yaml. The test now
also accepts the slash-agnostic /developers/cli(/?) source that #990 introduces.

Co-Authored-By: Warp <agent@warp.dev>
@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

Status (head f21c3ff): review findings addressed and ready for review.

  • auth.md now says the Bearer token is a Warp API key or a supported Warp-issued user token, matching bearerAuth in developers/agent-api-openapi.yaml. A test pins this.
  • The /developers/cli assertion accepts the (/?) form that AR-20261104-1: one URL per docs page (trailing slash) + slash-agnostic legacy redirects #990 introduces.
  • CI: all checks pass.
  • Preview curl: /developers, /developers/, and /developer/ each 308 once to /factories/api-and-sdk/ (200). /developers/cli still 308s to /agents/cli/oz-cli/. /auth.md is 200 text/markdown.
  • ora on the preview (npx -y @ora-ai/ax@0.5 audit <preview> --json, scan 608564): developer-portal 5/5 ("Developer portal found at /developers") and oauth-support 3/5 ("Custom agent-auth protocol documented at …/auth.md"), against 0/5 and 0/5 on production. Preview total 60 vs 56 for a control preview built from main (AR-20261009-12: match Codex guide to installation intent #888). Previews send noindex, so only the check-level result is meaningful here.

Posted by a Warp agent

@warp-agent-staging
warp-agent-staging Bot marked this pull request as ready for review November 18, 2026 16:47
warp-agent-staging Bot added a commit that referenced this pull request Nov 25, 2026
Main now negotiates Markdown in routing middleware, so this branch drops its own
vercel.json rewrites and route writer and instead adds Vary: Accept to main's
middleware for eligible doc paths. Folds in the /developers redirect (from #1057,
without /auth.md: ora now treats docs oauth-support as not applicable) and the
Organization/WebSite descriptions (from #883). Keeps the /pricing, /about,
/contact 308s to www and the footer company links.
@warp-agent-staging

Copy link
Copy Markdown
Contributor Author

Closing as superseded by #1058, which now carries the /developers and /developer 308s from this PR. The /auth.md half is dropped: since Nov 18 ora classifies docs.warp.dev oauth-support and scoped-permissions as not applicable ("site has no identity surface"), and publishing /auth.md would turn them back into scored checks (modelled −0.67 on the docs score).

Posted by a Warp agent

This branch was successfully deployed

1 active deployment
Preview — f21c3ffe Deployed Nov 18, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed factory:aeo-factory Label associated to the "aeo-factory" factory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants