Skip to content

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

406 linesCodeBlameRaw
1import { type RouteConfig, index, layout, route } from "@react-router/dev/routes";
2
3export default [
4 index("routes/home.tsx"),
5 route("login", "routes/login.tsx"),
6 // The second step of signing in, for an account with two-factor authentication.
7 route("login/two-factor", "routes/login-two-factor.tsx"),
8 route("register", "routes/register.tsx"),
9 // An invite link: who sent it, then sign-up or joining. `invite` is reserved.
10 route("invite/:code", "routes/invite.tsx"),
11 route("logout", "routes/logout.tsx"),
12 route("verify", "routes/verify.tsx"),
13 // Where an account confirms its email address, with the code from the
14 // email; every other page sends it here until it has (lib/confirm-gate.ts).
15 route("confirm-email", "routes/confirm-email.tsx"),
16 route("forgot", "routes/forgot.tsx"),
17 route("reset", "routes/reset.tsx"),
18 route("device", "routes/device.tsx"),
19 route("oauth/authorize", "routes/oauth-authorize.tsx"),
20 route("new", "routes/new.tsx"),
21 // GitHub: signing in with it, and bringing repositories across through
22 // g1t's GitHub App. `auth` and `integrations` are reserved names.
23 route("new/github", "routes/new-github.tsx"),
24 route("auth/github", "routes/auth-github.ts"),
25 route("auth/github/callback", "routes/auth-github-callback.tsx"),
26 route("auth/github/username", "routes/auth-github-username.tsx"),
27 // A workspace's single sign-on: setting off to its identity provider,
28 // coming back from it (OpenID Connect and OAuth 2.0), what a SAML sign-in
29 // that did not work says (the provider's POST is answered before React
30 // Router, workers/sso-saml.ts), and g1t's SAML metadata.
31 route("auth/sso/:owner", "routes/auth-sso.tsx"),
32 route("auth/sso/:owner/callback", "routes/auth-sso-callback.tsx"),
33 route("auth/sso/:owner/saml", "routes/auth-sso-saml.tsx"),
34 route("auth/sso/:owner/metadata", "routes/auth-sso-metadata.ts"),
35 route("integrations/github/install", "routes/github-install.ts"),
36 route("integrations/github/setup", "routes/github-setup.tsx"),
37 // Your own settings: one page each, so links can name the one they mean.
38 // `/settings` goes to the first; an old link's `#anchor` to its page.
39 route("settings", "routes/settings/layout.tsx", [
40 // Its pages fail inside its frame (routes/page-boundary.tsx).
41 layout("routes/page-boundary.tsx", { id: "routes/page-boundary/settings" }, [
42 index("routes/settings/index.tsx"),
43 route("profile", "routes/settings/profile.tsx"),
44 route("emails", "routes/settings/emails.tsx"),
45 route("notifications", "routes/settings/notifications.tsx"),
46 // Invite a friend: your invites to g1t.
47 route("invites", "routes/settings/invites.tsx"),
48 route("keys", "routes/settings/keys.tsx"),
49 // Your access tokens: the list, a new one, and each one's page.
50 route("tokens", "routes/settings/tokens.tsx"),
51 route("tokens/new", "routes/settings/token-new.tsx"),
52 route("tokens/:id", "routes/settings/token.tsx"),
53 route("github", "routes/settings/github.tsx"),
54 route("applications", "routes/settings/applications.tsx"),
55 route("integrations", "routes/settings/integrations.tsx"),
56 route("two-factor", "routes/settings/two-factor.tsx"),
57 route("security-log", "routes/settings/security-log.tsx"),
58 route("account", "routes/settings/account.tsx"),
59 ]),
60 ]),
61 // The account menu's header: name, primary email and invites left.
62 route("settings/menu.json", "routes/settings-menu-json.ts"),
63 // People, apart from workspaces: `u` is a reserved name. Their profile's
64 // tabs are paths (`/u/ada/pulls`); `?tab=` is sent on (lib/tab-paths.ts).
65 route("u/:username/:tab?", "routes/user.tsx"),
66 // The card that opens over a person's name or avatar (lib/hovercard.ts).
67 // `-` is no workspace's name, so nothing else is ever found here.
68 route("-/hovercard/user/:username", "routes/hovercard-user.ts"),
69 // A person's picture by username, for avatars drawn from a name alone.
70 route("-/avatar/user/:username", "routes/avatar-user.ts"),
71 // Live notifications: each tab's feed socket, and the person's
72 // notification settings as JSON (services/notify).
73 route("-/live", "routes/notify/live.ts"),
74 // A page opened with an access token asks here for each socket's
75 // short-lived ticket (lib/socket-ticket.ts).
76 route("-/live/ticket", "routes/notify/ticket.ts"),
77 route("-/notify", "routes/notify/api.ts"),
78 route("explore", "routes/explore.tsx", { id: "explore" }),
79 route("pricing", "routes/pricing.tsx"),
80 route("features", "routes/features.tsx"),
81 route("search", "routes/search.tsx"),
82 // Each person's notifications, what the panel in the top bar fetches,
83 // and the address the page once had. Saved and Done are
84 // `/notifications/saved` and `/notifications/done`.
85 route("notifications/:view?", "routes/notifications.tsx"),
86 route("inbox", "routes/inbox-moved.ts"),
87 route("inbox.json", "routes/inbox-json.ts"),
88 // What the command palette shows as someone types.
89 route("search.json", "routes/search-json.ts"),
90 route("workspaces/new", "routes/workspace/new.tsx"),
91 // Workspace invitations waiting for the person's answer. `invitations` is reserved.
92 route("invitations", "routes/invitations.tsx"),
93 // People to invite, as the People page's invite form searches them.
94 route("-/people.json", "routes/people-json.ts"),
95 // The desktop app's runner: its registration token, and its reports (lib/desktop-runner.ts).
96 route("-/desktop/runner", "routes/desktop-runner.ts"),
97 // Trust pages: reserved names, like the rest above.
98 route("policies", "routes/policies.tsx"),
99 route("policies/:policy", "routes/policy.tsx"),
100 route("security", "routes/security.tsx"),
101 route("support", "routes/support.tsx"),
102 // Status moved to status.g1t.sh (apps/status); old links go there.
103 route("status", "routes/status.tsx"),
104 route("status.json", "routes/status-json.ts"),
105 route(".well-known/security.txt", "routes/security-txt.ts"),
106 // Where this g1t's parts are, for the phone app pointed at it (packages/contracts src/discovery.ts).
107 route(".well-known/g1t.json", "routes/well-known-g1t.ts"),
108 // For search engines: what may be crawled, and a map of the public pages.
109 route("robots.txt", "routes/robots-txt.ts"),
110 route("sitemap.xml", "routes/sitemap-xml.ts"),
111 // The desktop app: which to install, from its newest release.
112 route("download", "routes/download.tsx"),
113 // Releases of the desktop app, the self-hosted runner and the g1t CLI, from R2.
114 route("downloads/:tool/*", "routes/downloads-runner.ts"),
115 // The g1t CLI's install scripts, for Linux and macOS and for Windows. `install` is reserved.
116 route("install", "routes/install-script.ts", { id: "routes/install-sh" }),
117 route("install.ps1", "routes/install-script.ts", { id: "routes/install-ps1" }),
118 // A workspace's own pages sit under `-`, which no repository can be named.
119 route(":owner", "routes/workspace/layout.tsx", [
120 // Its pages fail inside its frame (routes/page-boundary.tsx).
121 layout("routes/page-boundary.tsx", { id: "routes/page-boundary/workspace" }, [
122 index("routes/workspace/overview.tsx"),
123 // Its pages, each in the sidebar: Overview (above), Projects, People, Insights; Teams and Packages below.
124 route("-/projects", "routes/workspace/projects.tsx"),
125 // People mode: the directory of people and each one's profile.
126 route("-/people", "routes/workspace/people.tsx"),
127 route("-/people/:username", "routes/workspace/people/person.tsx"),
128 // Workspace mode's Access: who is a member and their roles, the invitations sent, and who may do what.
129 route("-/members", "routes/workspace/members.tsx"),
130 route("-/members/invitations", "routes/workspace/member-invitations.tsx"),
131 route("-/permissions", "routes/workspace/permissions.tsx"),
132 // Single sign-on through the workspace's own identity provider.
133 route("-/sso", "routes/workspace/sso.tsx"),
134 route("-/insights", "routes/workspace/insights.tsx"),
135 // Pinning its projects, for the person signed in.
136 route("-/pins", "routes/workspace/pins.ts"),
137 // Getting started, for its owners: the guide's state, and dismissing
138 // it or skipping a step (components/onboarding.tsx).
139 route("-/onboarding", "routes/workspace/onboarding.ts"),
140 // Code's Overview: Mission control's code panels, for this workspace.
141 route("-/overview", "routes/workspace/code-overview.tsx"),
142 // The workspace itself, at a glance: members, plan and spend.
143 route("-/workspace", "routes/workspace/workspace-overview.tsx"),
144 // Teams: the list, a new one, and each team's pages.
145 route("-/teams", "routes/workspace/teams.tsx"),
146 route("-/teams/new", "routes/workspace/team-new.tsx"),
147 route("-/teams/:team", "routes/workspace/team/layout.tsx", [
148 index("routes/workspace/team/members.tsx"),
149 route("teams", "routes/workspace/team/teams.tsx"),
150 route("repositories", "routes/workspace/team/repositories.tsx"),
151 route("settings", "routes/workspace/team/settings.tsx"),
152 ]),
153 // The workspace's own access tokens: the list, a new one, and each one's page.
154 route("-/tokens", "routes/workspace/tokens.tsx"),
155 route("-/tokens/new", "routes/workspace/token-new.tsx"),
156 route("-/tokens/:id", "routes/workspace/token.tsx"),
157 // Its rules for members' personal access tokens, and approving them.
158 route("-/personal-access-tokens", "routes/workspace/personal-access-tokens.tsx"),
159 route("-/usage", "routes/workspace/usage.tsx"),
160 route("-/billing", "routes/workspace/billing.tsx"),
161 route("-/billing/entries", "routes/workspace/statement-entries.ts"),
162 route("-/billing/statement.csv", "routes/workspace/statement-csv.ts"),
163 // The workspace's AI: its AI providers, managed or self-hosted, and
164 // what Ask answers with. A base setting, not an integration.
165 route("-/ai", "routes/workspace/ai.tsx"),
166 // The integrations directory, and the setup pages for alerts and
167 // trackers (lib/integration-sections).
168 route("-/integrations", "routes/workspace/integrations-directory.tsx"),
169 route("-/integrations/:section", "routes/workspace/integrations.tsx"),
170 // Ask g1t, from the top bar: what it answers with, and each answer,
171 // streamed (components/ask-composer).
172 route("-/ask", "routes/workspace/ask.ts"),
173 route("-/webhooks", "routes/workspace/webhooks.tsx"),
174 // The workspace's own emoji, for chat (components/emoji).
175 route("-/emoji", "routes/workspace/emoji.tsx"),
176 route("-/secrets", "routes/workspace/secrets.tsx"),
177 route("-/runners", "routes/workspace/runners.tsx"),
178 route("-/actions", "routes/workspace/actions-settings.tsx"),
179 route("-/packages", "routes/workspace/packages.tsx"),
180 route("-/packages/:ecosystem/*", "routes/workspace/package.tsx"),
181 route("-/settings", "routes/workspace/settings.tsx"),
182 // What members may do in chat: channels, emoji, default channels.
183 route("-/settings/chat", "routes/workspace/chat-settings.tsx"),
184 route("-/repositories", "routes/workspace/repositories.tsx"),
185 // Chat mode: channels by name, direct messages by id, and what the page
186 // calls as it runs: the live socket and the JSON for sending and reading.
187 route("-/chat/live", "routes/workspace/chat/live.ts"),
188 route("-/chat/api", "routes/workspace/chat/api.ts"),
189 // A person's card in Chat: their profile and teams here.
190 route("-/chat/person/:username", "routes/workspace/chat/person.ts"),
191 // A work item or pull request's card, over its chip in chat and g1t's answers.
192 route("-/chat/ref", "routes/workspace/chat/ref.ts"),
193 route("-/chat", "routes/workspace/chat/layout.tsx", [
194 index("routes/workspace/chat/index.tsx"),
195 route("browse", "routes/workspace/chat/browse.tsx"),
196 route("dm/:id", "routes/workspace/chat/channel.tsx", { id: "routes/workspace/chat/dm" }),
197 route(":channel", "routes/workspace/chat/channel.tsx"),
198 ]),
199 // Artifacts mode (code says "folio"): what its
200 // pages call as they run (an artifact's live socket, JSON, comments,
201 // uploads, export), then Home, making one, templates, the trash, the
202 // spaces, and each artifact by its address. Addresses are flat and end
203 // in the id, so renaming or moving one keeps links working.
204 route("-/artifacts/live", "routes/workspace/folios/live.ts"),
205 route("-/artifacts/api", "routes/workspace/folios/api.ts"),
206 route("-/artifacts/threads/:folio/*", "routes/workspace/folios/threads.ts"),
207 route("-/artifacts/upload", "routes/workspace/folios/upload.ts"),
208 route("-/artifacts/export", "routes/workspace/folios/export.ts"),
209 route("-/artifacts", "routes/workspace/folios/layout.tsx", [
210 index("routes/workspace/folios/home.tsx"),
211 route("new/:kind", "routes/workspace/folios/new.tsx"),
212 route("templates", "routes/workspace/folios/templates.tsx"),
213 route("trash", "routes/workspace/folios/trash.tsx"),
214 // Artifacts possibly out of date, and a project's docs folder, read-only.
215 route("stale", "routes/workspace/folios/stale.tsx"),
216 route("spaces", "routes/workspace/folios/spaces.tsx"),
217 route("spaces/new", "routes/workspace/folios/space-new.tsx"),
218 route("spaces/:space", "routes/workspace/folios/space.tsx"),
219 route("spaces/:space/settings", "routes/workspace/folios/space-settings.tsx"),
220 route("repo/:repoOwner/:repoName/*", "routes/workspace/folios/repo-file.tsx"),
221 route(":folio", "routes/workspace/folios/folio.tsx"),
222 route(":folio/history", "routes/workspace/folios/history.tsx"),
223 ]),
224 // Home, the workspace's front page (`-/today` leads there), where it
225 // marks your visit, and every app in it you can use, with pinning them
226 // to your rail.
227 route("-/home", "routes/workspace/home.tsx"),
228 route("-/home/seen", "routes/workspace/home-seen.ts"),
229 // Work: the workspace's work items, for every member. The list (its
230 // filters in the address), the board of them as they move, a new one,
231 // the labels and milestones they share with pull requests, `#12` read
232 // in the workspace, and each item.
233 route("-/work", "routes/workspace/work/list.tsx"),
234 route("-/work/board", "routes/workspace/work/board.tsx"),
235 route("-/work/new", "routes/workspace/work/new.tsx"),
236 route("-/work/labels", "routes/workspace/work/labels.tsx"),
237 route("-/work/milestones", "routes/workspace/work/milestones.tsx"),
238 route("-/work/milestones/:number", "routes/workspace/work/milestone.tsx"),
239 route("-/work/ref/:number", "routes/workspace/work/ref.ts"),
240 route("-/work/:number", "routes/workspace/work/item.tsx"),
241 // Sessions: what is cooking across the workspace, in every repository
242 // of it the viewer may read (live sessions of every kind, the merge
243 // queues, what landed and what happened), and one session's page.
244 route("-/sessions", "routes/workspace/sessions/list.tsx"),
245 route("-/sessions/:id", "routes/workspace/sessions/session.tsx"),
246 route("-/today", "routes/workspace/moved.ts", { id: "routes/workspace/moved-today" }),
247 route("-/apps", "routes/workspace/apps.tsx"),
248 // Routines: standing work for @g1t, on a schedule or when something
249 // happens. Not on yet: the page shows what it will be, every control off.
250 route("-/routines", "routes/workspace/routines.tsx"),
251 // What Code's pages say to a member without Code.
252 route("-/code-access", "routes/workspace/code-access.tsx"),
253 route("-/security", "routes/workspace/security.tsx"),
254 route("-/security/patterns", "routes/workspace/security-patterns.tsx"),
255 route("-/security/bypass-requests", "routes/workspace/security-bypass.tsx"),
256 route("-/security/settings", "routes/workspace/security-settings.tsx"),
257 route("-/audit", "routes/workspace/audit.tsx"),
258 route("-/audit/export", "routes/workspace/audit-export.ts"),
259 route("-/guardrails", "routes/workspace/guardrails.tsx"),
260 route("-/rules", "routes/workspace/rules.tsx"),
261 route("-/rules/insights", "routes/workspace/rules.tsx", { id: "routes/workspace/rules-insights" }),
262 route("-/rules/:id", "routes/workspace/ruleset.tsx"),
263 // What the workspace will have across its projects.
264 route("-/soon/:feature", "routes/workspace/soon.tsx"),
265 ]),
266 ]),
267 // `#12` read in a repository: where Markdown's `#12` leads, and, as JSON,
268 // the card over a `#12` in a commit message or on a timeline.
269 route(":owner/:repo/ref/:number", "routes/repo/ref-card.ts"),
270 // A repository's issues, labels and milestones moved to its workspace's
271 // Work: old links are sent on (routes/repo/moved-work.ts), before the
272 // repository's own pages.
273 route(":owner/:repo/issues", "routes/repo/moved-work.ts", { id: "routes/repo/moved-issues" }),
274 route(":owner/:repo/issues/new", "routes/repo/moved-work.ts", { id: "routes/repo/moved-issue-new" }),
275 route(":owner/:repo/issues/:number", "routes/repo/moved-work.ts", { id: "routes/repo/moved-issue" }),
276 route(":owner/:repo/labels", "routes/repo/moved-work.ts", { id: "routes/repo/moved-labels" }),
277 route(":owner/:repo/milestones", "routes/repo/moved-work.ts", { id: "routes/repo/moved-milestones" }),
278 route(":owner/:repo/milestones/:number", "routes/repo/moved-work.ts", { id: "routes/repo/moved-milestone" }),
279 // Why a line is the way it is, fetched by the blame view.
280 route(":owner/:repo/why/:hash", "routes/repo/why.ts"),
281 // Files of a large change with their lines, fetched as the diff view reaches them.
282 route(":owner/:repo/diff-files.json", "routes/repo/diff-files.ts"),
283 // Its branch names, for changing the branch a pull request merges into.
284 route(":owner/:repo/branches.json", "routes/repo/branch-names.ts"),
285 // An invitation to a repository, answered by someone who cannot see it yet.
286 route(":owner/:repo/invitations", "routes/repo/invitations.tsx"),
287 // The Files page's About as JSON, asked again while it is first worked out.
288 route(":owner/:repo/about.json", "routes/repo/about-json.ts"),
289 // Starring it, from the header's Star button.
290 route(":owner/:repo/star", "routes/repo/star.ts"),
291 // Bringing a fork's branch up to date with its parent's (components/fork-bar.tsx).
292 route(":owner/:repo/sync-fork", "routes/repo/sync-fork.ts"),
293 // Subscribing to its work items and pull requests, and watching it.
294 route(":owner/:repo/notifications", "routes/repo/notifications.ts"),
295 // A starter CI workflow, opened as a pull request (components/add-ci.tsx).
296 route(":owner/:repo/add-ci", "routes/repo/add-ci.ts"),
297 // A screenshot of a project's production, for its overview.
298 route(":owner/:repo/production.jpg", "routes/repo/production-screenshot.ts"),
299 // The same, of production deployed elsewhere, at its address.
300 route(":owner/:repo/production-elsewhere.jpg", "routes/repo/production-elsewhere.ts"),
301 // A file as it is, sent on to the usercontent origin (lib/usercontent.ts).
302 route(":owner/:repo/raw/:ref/*", "routes/repo/raw.ts"),
303 // A file's blame as JSON, fetched by its blame view (routes/repo/blob.tsx).
304 route(":owner/:repo/blame/:ref/*", "routes/repo/blame-data.ts"),
305 // A project: its overview first, its repository's code under Code. The
306 // 1:1 project of a repository has the repository's name, so every
307 // repository address below keeps working.
308 route(":owner/:repo", "routes/repo/layout.tsx", [
309 // Its pages fail inside its frame (routes/page-boundary.tsx).
310 layout("routes/page-boundary.tsx", { id: "routes/page-boundary/repo" }, [
311 index("routes/repo/overview.tsx"),
312 route("code", "routes/repo/code.tsx"),
313 route("tree/:ref/*", "routes/repo/tree.tsx"),
314 route("blob/:ref/*", "routes/repo/blob.tsx"),
315 route("archive/*", "routes/repo/archive.ts"),
316 route("commits", "routes/repo/commits.tsx"),
317 // Its tabs are paths: `branches/yours`, `branches/stale`, ….
318 route("branches/:tab?", "routes/repo/branches.tsx"),
319 route("tags", "routes/repo/tags.tsx"),
320 route("releases", "routes/repo/releases.tsx"),
321 route("releases/new", "routes/repo/release-new.tsx"),
322 route("releases/tag/*", "routes/repo/release.tsx"),
323 route("contributors", "routes/repo/contributors.tsx"),
324 route("activity", "routes/repo/activity.tsx"),
325 route("stargazers", "routes/repo/stargazers.tsx"),
326 // Forking it into a workspace, and the forks there are.
327 route("fork", "routes/repo/fork.tsx"),
328 route("forks", "routes/repo/forks.tsx"),
329 route("compare/*", "routes/repo/compare.tsx", { id: "routes/repo/compare-range" }),
330 route("compare", "routes/repo/compare.tsx"),
331 route("commit/:hash", "routes/repo/commit.tsx"),
332 // A check run reported on a commit: its report, annotations and buttons.
333 route("checks/:id", "routes/repo/check-run.tsx"),
334 route("pulls", "routes/repo/pulls.tsx"),
335 route("pulls/new", "routes/repo/pull-new.tsx"),
336 // Its tabs are paths: `pull/12/session`, `pull/12/files`.
337 route("pull/:number/:tab?", "routes/repo/pull.tsx"),
338 route("queue", "routes/repo/queue.tsx"),
339 route("usage", "routes/repo/usage.tsx"),
340 route("actions", "routes/repo/actions.tsx"),
341 route("actions/runs/:id", "routes/repo/actions-run.tsx"),
342 route("actions/runs/:id/artifacts/:name", "routes/repo/actions-artifact.ts"),
343 route("actions/jobs/:job/log", "routes/repo/actions-log.ts"),
344 route("actions/jobs/:job/log.txt", "routes/repo/actions-job-log-download.ts"),
345 route("actions/runs/:id/logs.zip", "routes/repo/actions-logs-download.ts"),
346 route("actions/workflows/:file/badge.svg", "routes/repo/actions-badge.ts"),
347 route("deployments", "routes/repo/deployments.tsx"),
348 route("deployments/:id", "routes/repo/deployment.tsx"),
349 // Observability: what the project's running software did (services/telemetry).
350 route("observability", "routes/repo/observability.tsx"),
351 route("observability/requests", "routes/repo/observability-requests.tsx"),
352 route("observability/requests/:id", "routes/repo/observability-request.tsx"),
353 route("observability/logs", "routes/repo/observability-logs.tsx"),
354 route("observability/traces", "routes/repo/observability-traces.tsx"),
355 route("observability/traces/:trace", "routes/repo/observability-trace.tsx"),
356 route("observability/errors", "routes/repo/observability-errors.tsx"),
357 route("observability/metrics", "routes/repo/observability-metrics.tsx"),
358 route("observability/settings", "routes/repo/observability-settings.tsx"),
359 // The live tail's socket, forwarded to the project's store.
360 route("observability/live", "routes/repo/observability-live.ts"),
361 // Security: an overview, then a page for each part. Old links to
362 // `security?tab=…` are sent on by the overview.
363 route("security", "routes/repo/security-overview.tsx"),
364 route("security/secret-scanning", "routes/repo/security-secrets.tsx"),
365 route("security/secret-scanning/patterns", "routes/repo/security-patterns.tsx"),
366 route("security/secret-scanning/:id", "routes/repo/security-secret.tsx"),
367 route("security/code-scanning", "routes/repo/security-code.tsx"),
368 route("security/code-scanning/setup", "routes/repo/security-code-setup.ts"),
369 route("security/code-scanning/:number", "routes/repo/security-code-alert.tsx"),
370 route("security/vulnerabilities", "routes/repo/security.tsx"),
371 route("security/dependency-graph", "routes/repo/security-graph.tsx"),
372 route("security/dependency-graph/sbom.json", "routes/repo/security-sbom.ts"),
373 route("security/dependency-updates", "routes/repo/security-updates.tsx"),
374 route("security/pulls/:number", "routes/repo/security-pull.tsx"),
375 route("security/settings", "routes/repo/security-settings.tsx"),
376 // Reporting: the policy's pull request, advisories, and private vulnerability reports.
377 route("security/policy/setup", "routes/repo/security-policy-setup.ts"),
378 route("security/advisories", "routes/repo/security-advisories.tsx"),
379 route("security/advisories/new", "routes/repo/security-advisory-edit.tsx", { id: "routes/repo/security-advisory-new" }),
380 route("security/advisories/:id", "routes/repo/security-advisory.tsx"),
381 route("security/advisories/:id/edit", "routes/repo/security-advisory-edit.tsx"),
382 route("security/reports", "routes/repo/security-reports.tsx"),
383 route("security/report", "routes/repo/security-report.tsx"),
384 route("settings", "routes/repo/settings.tsx"),
385 route("settings/repository", "routes/repo/settings-repository.tsx"),
386 route("settings/access", "routes/repo/settings-access.tsx"),
387 route("settings/keys", "routes/repo/settings-deploy-keys.tsx"),
388 route("settings/branches", "routes/repo/settings-branches.tsx"),
389 route("settings/rules", "routes/repo/settings-rules.tsx"),
390 route("settings/rules/insights", "routes/repo/settings-rules.tsx", { id: "routes/repo/settings-rules-insights" }),
391 route("settings/rules/:id", "routes/repo/settings-ruleset.tsx"),
392 route("settings/webhooks", "routes/repo/webhooks.tsx"),
393 route("settings/secrets", "routes/repo/secrets.tsx"),
394 route("settings/actions", "routes/repo/settings-actions.tsx"),
395 route("settings/environments", "routes/repo/settings-environments.tsx"),
396 route("settings/runners", "routes/repo/settings-runners.tsx"),
397 route("settings/deployments", "routes/repo/settings-deployments.tsx"),
398 route("settings/domains", "routes/repo/settings-domains.tsx"),
399 route("settings/guardrails", "routes/repo/settings-guardrails.tsx"),
400 // What the project will have: one page for each Soon in its menu.
401 route("soon/:feature", "routes/repo/soon.tsx"),
402 ]),
403 ]),
404 // Anything else: a 404 that still knows who is signed in.
405 route("*", "routes/not-found.tsx"),
406] satisfies RouteConfig;