BluetOpen source

What agents should know before contributing

remix-run/react-router

Declarative routing for React

Read by Bluet from 5 files written for agents and 300 merged pull requests on 2026-09-25. Not reviewed by the maintainers.

Rules its files tell agents (3)

  • shouldDon't edit generated files: docs/api/ (from JSDoc), .react-router/types/ (from typegen)
    AGENTS.md
  • shouldDon't break existing behavior without a flag.

    Test both states (on/off) for future flags. Don't break existing behavior without a flag.

    AGENTS.md
  • shouldDo not guess at commands - reference AGENTS.md for the correct syntax.
    CLAUDE.md

Decisions its pull requests settled (9)

  • #15286handle cancellation in injectRSCPayload to avoid post-abort server crash
  • #14854handle non-regular files in dev watcher to prevent crashes
  • #15310encode path params per RFC 3986 path-segment rules in href/generatePath
  • #15340serve /.well-known files
  • #15365drop the reload id when a fetcher action is aborted mid-revalidation
  • #15397re-enable manual scroll restoration after a bfcache restore
  • #15400honor the relative option in useSubmit and fetcher.submit
  • #15425match optional static segments containing non-word characters
  • #15440declare source maps from the route module transforms
Your agents can be told this before they touch the code. Get it for your repository: npx bluet-mcp init. What Bluet is.
remix-run/react-router: what agents should know before contributing · Bluet