Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.
| Initial g1t: services, event bus, intents and attempts | 1 | import { type RouteConfig, index, route } from "@react-router/dev/routes"; |
| 2 | ||
| 3 | export default [ | |
| 4 | index("routes/home.tsx"), | |
| 5 | route("login", "routes/login.tsx"), | |
| API and MCP server, Rust identity service, registration, site redesign | 6 | route("register", "routes/register.tsx"), |
| Initial g1t: services, event bus, intents and attempts | 7 | route("logout", "routes/logout.tsx"), |
| Email verification, password reset, and Git for AI scale positioning | 8 | route("verify", "routes/verify.tsx"), |
| 9 | route("forgot", "routes/forgot.tsx"), | |
| 10 | route("reset", "routes/reset.tsx"), | |
| Device sign-in replaces registering and minting tokens over the API | 11 | route("device", "routes/device.tsx"), |
| OAuth 2.1 sign-in for MCP clients and other applications | 12 | route("oauth/authorize", "routes/oauth-authorize.tsx"), |
| Initial g1t: services, event bus, intents and attempts | 13 | route("new", "routes/new.tsx"), |
| 14 | route("settings", "routes/settings.tsx"), | |
| Agents and memory, checks and conflicts, profiles, slug renames, custom domains | 15 | // People, apart from workspaces: `u` is a reserved name. |
| 16 | route("u/:username", "routes/user.tsx"), | |
| API and MCP server, Rust identity service, registration, site redesign | 17 | route("explore", "routes/explore.tsx", { id: "explore" }), |
| Prices keep themselves current with what g1t pays | 18 | route("pricing", "routes/pricing.tsx"), |
| API and MCP server, Rust identity service, registration, site redesign | 19 | route("search", "routes/explore.tsx", { id: "search" }), |
| Agents as a team: lifecycle, merge queue, billing and a new shell | 20 | route("workspaces/new", "routes/workspace/new.tsx"), |
| 21 | // A workspace's own pages sit under `-`, which no repository can be named. | |
| 22 | route(":owner", "routes/workspace/layout.tsx", [ | |
| 23 | index("routes/workspace/overview.tsx"), | |
| 24 | route("-/people", "routes/workspace/people.tsx"), | |
| 25 | route("-/tokens", "routes/workspace/tokens.tsx"), | |
| Usage, like a hosting provider's: what agents cost, per day, task, repository and pull request | 26 | route("-/usage", "routes/workspace/usage.tsx"), |
| Agents as a team: lifecycle, merge queue, billing and a new shell | 27 | route("-/billing", "routes/workspace/billing.tsx"), |
| Integrations: your own model provider, alerts that open issues, tickets agents read | 28 | route("-/integrations", "routes/workspace/integrations.tsx"), |
| Webhooks: every event, to your own addresses, signed and retried | 29 | route("-/webhooks", "routes/workspace/webhooks.tsx"), |
| GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs | 30 | route("-/secrets", "routes/workspace/secrets.tsx"), |
| Agents as a team: lifecycle, merge queue, billing and a new shell | 31 | route("-/settings", "routes/workspace/settings.tsx"), |
| Agents and memory, checks and conflicts, profiles, slug renames, custom domains | 32 | route("-/agents", "routes/workspace/agents.tsx"), |
| 33 | route("-/memory", "routes/workspace/memory.tsx"), | |
| A flat project menu with Code first, views as tabs, and Stripe for every owner | 34 | // What the workspace will have across its projects. |
| 35 | route("-/soon/:feature", "routes/workspace/soon.tsx"), | |
| Agents as a team: lifecycle, merge queue, billing and a new shell | 36 | ]), |
| 37 | // Why a line is the way it is, fetched by the blame view. | |
| 38 | route(":owner/:repo/why/:hash", "routes/repo/why.ts"), | |
| Agents and memory, checks and conflicts, profiles, slug renames, custom domains | 39 | // A project's agent runs as JSON, and stopping or messaging one. |
| 40 | route(":owner/:repo/agents.json", "routes/repo/agents-live.ts"), | |
| Projects: what a workspace builds and runs, first on every page | 41 | // A project: its overview first, its repository's code under Code. The |
| 42 | // 1:1 project of a repository has the repository's name, so every | |
| 43 | // repository address below keeps working. | |
| Initial g1t: services, event bus, intents and attempts | 44 | route(":owner/:repo", "routes/repo/layout.tsx", [ |
| Projects: what a workspace builds and runs, first on every page | 45 | index("routes/repo/overview.tsx"), |
| 46 | route("code", "routes/repo/code.tsx"), | |
| Initial g1t: services, event bus, intents and attempts | 47 | route("tree/:ref/*", "routes/repo/tree.tsx"), |
| 48 | route("blob/:ref/*", "routes/repo/blob.tsx"), | |
| API and MCP server, Rust identity service, registration, site redesign | 49 | route("commits", "routes/repo/commits.tsx"), |
| Agents as a team: lifecycle, merge queue, billing and a new shell | 50 | route("commit/:hash", "routes/repo/commit.tsx"), |
| Issues and pull requests replace intents and attempts | 51 | route("issues", "routes/repo/issues.tsx"), |
| 52 | route("issues/new", "routes/repo/issue-new.tsx"), | |
| 53 | route("issues/:number", "routes/repo/issue.tsx"), | |
| 54 | route("pulls", "routes/repo/pulls.tsx"), | |
| Pull requests from branches | 55 | route("pulls/new", "routes/repo/pull-new.tsx"), |
| Issues and pull requests replace intents and attempts | 56 | route("pull/:number", "routes/repo/pull.tsx"), |
| Agents as a team: lifecycle, merge queue, billing and a new shell | 57 | route("queue", "routes/repo/queue.tsx"), |
| Agents and memory, checks and conflicts, profiles, slug renames, custom domains | 58 | route("agents", "routes/repo/agents.tsx"), |
| 59 | route("agents/runs/:id", "routes/repo/agents-run.tsx"), | |
| 60 | route("sessions", "routes/repo/sessions.tsx"), | |
| 61 | route("sessions/:number", "routes/repo/session.tsx"), | |
| 62 | route("memory", "routes/repo/memory.tsx"), | |
| GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs | 63 | route("actions", "routes/repo/actions.tsx"), |
| 64 | route("actions/runs/:id", "routes/repo/actions-run.tsx"), | |
| Actions: workflow_run, workflow.completed, artifacts on the run page, Node 24 | 65 | route("actions/runs/:id/artifacts/:name", "routes/repo/actions-artifact.ts"), |
| GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs | 66 | route("actions/jobs/:job/log", "routes/repo/actions-log.ts"), |
| Deployments: a preview for every pull request, production on g1t.page | 67 | route("deployments", "routes/repo/deployments.tsx"), |
| 68 | route("deployments/:id", "routes/repo/deployment.tsx"), | |
| Agents as a team: lifecycle, merge queue, billing and a new shell | 69 | route("plans", "routes/repo/plans.tsx"), |
| 70 | route("plans/:id", "routes/repo/plan.tsx"), | |
| 71 | route("settings", "routes/repo/settings.tsx"), | |
| Projects: what a workspace builds and runs, first on every page | 72 | route("settings/repository", "routes/repo/settings-repository.tsx"), |
| Webhooks: every event, to your own addresses, signed and retried | 73 | route("settings/webhooks", "routes/repo/webhooks.tsx"), |
| GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs | 74 | route("settings/secrets", "routes/repo/secrets.tsx"), |
| Secrets and variables: one list, rows per environment, for workflows and deployments | 75 | route("settings/deployments", "routes/repo/settings-deployments.tsx"), |
| Agents and memory, checks and conflicts, profiles, slug renames, custom domains | 76 | route("settings/domains", "routes/repo/settings-domains.tsx"), |
| Project dependencies: addresses, preview stacks, Affects, and agents who know | 77 | route("settings/dependencies", "routes/repo/settings-dependencies.tsx"), |
| A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales | 78 | // What the project will have: one page for each Soon in its menu. |
| 79 | route("soon/:feature", "routes/repo/soon.tsx"), | |
| Initial g1t: services, event bus, intents and attempts | 80 | ]), |
| Webhooks: every event, to your own addresses, signed and retried | 81 | // Anything else: a 404 that still knows who is signed in. |
| 82 | route("*", "routes/not-found.tsx"), | |
| Initial g1t: services, event bus, intents and attempts | 83 | ] satisfies RouteConfig; |