Skip to content
201 linesCodeBlameRaw
1/**
2 * What a project will have and does not yet: the pages the project menu
3 * shows as Soon, each with a page of its own saying what it will be. One
4 * place, so the menu and those pages never disagree.
5 *
6 * Each entry says what it is for, what it will do, and what to use today,
7 * so a Soon is a promise someone can read, not a greyed-out word.
8 */
9
10export type RoadmapItem = {
11 /** In the address: `/<owner>/<project>/soon/<key>`. */
12 key: string;
13 title: string;
14 /**
15 * Where it lives: a project page whose tabs it joins, or the workspace,
16 * for what spans projects (boards, the roadmap, packages, the fleet).
17 */
18 section: "Code" | "Issues" | "Agents" | "Deployments" | "Observability" | "Security" | "Insights" | "Workspace";
19 /** One line, for the menu's tooltip and the page's lead. */
20 summary: string;
21 /** Why it matters, in two or three sentences. */
22 why: string;
23 /** What it will do. */
24 plans: string[];
25 /** What to use until it exists: a project page, by its path under the project. */
26 today?: { label: string; path: string };
27};
28
29export const ROADMAP: RoadmapItem[] = [
30 // --- Work ---------------------------------------------------------------
31 {
32 key: "board",
33 title: "Board",
34 section: "Workspace",
35 summary: "Issues and pull requests as a board, a table or a roadmap, with fields of your own.",
36 why: "One view of everything in flight, arranged the way your team thinks about it. Agents move the cards as they work, so the board is never out of date.",
37 plans: [
38 "Board, table and roadmap views of the same items, saved and shared",
39 "Custom fields: status, priority, size, iteration, dates, anything",
40 "Group and filter by owner, outcome, label, agent or state",
41 "Cards move by themselves as agents open, revise and land changes",
42 "Across projects: one board can hold work from any of the workspace's projects",
43 "Attach a board to a project, so it shows on that project too",
44 ],
45 },
46 {
47 key: "roadmap",
48 title: "Roadmap",
49 section: "Workspace",
50 summary: "Outcomes on a timeline, with how much of each has landed.",
51 why: "An outcome is what should be true when the work is done. On a roadmap you see when each is expected and how much has landed.",
52 plans: [
53 "Outcomes as bars on a timeline, from start to target",
54 "Progress from merged work, not from guesses",
55 "Slip warnings when the work left outgrows the time left",
56 ],
57 today: { label: "Outcomes", path: "plans" },
58 },
59 {
60 key: "insights",
61 title: "Insights",
62 section: "Workspace",
63 summary: "How the whole workspace delivers: lead time, reviews, what agents do and what it costs, across every project.",
64 why: "Each project will have its own numbers. The workspace's put them side by side, so you can see which projects ship steadily, where work waits, and where the money goes.",
65 plans: [
66 "Delivery metrics for every project, side by side",
67 "Where work waits: review, the merge queue, checks",
68 "Agents' share of merged changes, and how often it lands first time",
69 "Cost by project, by kind of work and per merged change",
70 ],
71 },
72 // --- Code ---------------------------------------------------------------
73 // Nothing: code is not docs. Docs is its own workspace mode, filterable
74 // by project there, and a project never gets a Docs tab.
75
76 // --- Agents -------------------------------------------------------------
77 // At work, Sessions and Memory are built (see project-nav.ts), and so is
78 // the workspace's Agents overview.
79 {
80 key: "playbooks",
81 title: "Playbooks",
82 section: "Agents",
83 summary: "How agents should work here: conventions, commands and checks.",
84 why: "Every project has its own way of doing things. Today every agent run already reads the repository's AGENTS.md and CLAUDE.md, at the root and in the directories it touches, and reviews read .g1t/review.md, all from the default branch. Playbooks build on those files with structure g1t can act on, not just read.",
85 plans: [
86 "Instructions per kind of work: fixes, features, reviews, upgrades",
87 "Commands to build and test that g1t runs before every change, not just tells the agent about",
88 "Paths agents may not touch without a person, enforced on push",
89 "Learned from reviews: what people corrected becomes a proposed rule",
90 ],
91 today: { label: "Instructions, on Agents", path: "agents" },
92 },
93
94 // --- Deployments ----------------------------------------------------------
95 {
96 key: "environments",
97 title: "Environments",
98 section: "Deployments",
99 summary: "Staging, production and others, with approvers and branch rules.",
100 why: "Production and previews exist today. Environments add the rest: staging, QA, per-customer, each with its own variables, approvers and rules for what may deploy there.",
101 plans: [
102 "Named environments with their own variables and secrets",
103 "Required approvers before a deploy",
104 "Branch rules: what may deploy where",
105 "Promote a deployment from one environment to the next",
106 ],
107 today: { label: "Deployments", path: "deployments" },
108 },
109 {
110 key: "flags",
111 title: "Feature flags",
112 section: "Deployments",
113 summary: "Turn features on per environment or per user, without a deploy.",
114 why: "Ship code dark and turn it on when ready, for some users first, at the edge, with no deploy.",
115 plans: ["Flags read at the edge by deployed apps", "Rollouts by percentage, user or environment", "Flags cleaned up by agents when fully on"],
116 today: { label: "Deployments", path: "deployments" },
117 },
118
119 // --- Security -------------------------------------------------------------
120 // The overview, secret scanning, code scanning, vulnerabilities and the
121 // dependency graph are built: see routes/repo/security-*.tsx.
122 {
123 key: "firewall",
124 title: "Firewall",
125 section: "Security",
126 summary: "Rules for who may reach the project's deployed apps.",
127 why: "Deployed apps run on Cloudflare. Rate limits, bot protection and IP rules, per app and environment.",
128 plans: ["Rate limits and bot protection", "IP and country rules", "Password-protected previews"],
129 today: { label: "Deployments", path: "deployments" },
130 },
131
132 // --- Observe ------------------------------------------------------------
133 {
134 key: "logs",
135 title: "Logs",
136 section: "Observability",
137 summary: "Requests, errors and CPU time of each deployment, and its logs.",
138 why: "Every deployed app's logs and numbers, by deployment, so a regression points at the change that caused it.",
139 plans: ["Live and searchable logs", "Requests, errors, latency and CPU by deployment", "Compare a preview with production"],
140 today: { label: "Deployments", path: "deployments" },
141 },
142 {
143 key: "errors",
144 title: "Errors",
145 section: "Observability",
146 summary: "Errors from the running app, each becoming an issue an agent can take.",
147 why: "An error in production should become a fix, not a dashboard. Each new error is grouped, explained, and turned into an issue with the context an agent needs.",
148 plans: ["Errors grouped with stack and request", "One click to an issue for an agent", "Incidents with a timeline and who was told"],
149 today: { label: "Issues", path: "issues" },
150 },
151 {
152 key: "uptime",
153 title: "Uptime",
154 section: "Observability",
155 summary: "Checks that the app answers, from around the world.",
156 why: "Know the app is down before your users tell you, and who was told.",
157 plans: ["Checks from many places", "Alerts by email and webhook", "A public status page"],
158 },
159 {
160 key: "analytics",
161 title: "Web analytics",
162 section: "Observability",
163 summary: "Who visits the deployed apps, without cookies.",
164 why: "Visits, pages and referrers for each app, private by design, from Cloudflare's own analytics.",
165 plans: ["Visits, pages, referrers and countries", "No cookies, no personal data", "Per deployment and per preview"],
166 },
167
168 // --- Insights -------------------------------------------------------------
169 {
170 key: "delivery",
171 title: "Delivery",
172 section: "Insights",
173 summary: "Lead time, deploy frequency, change failure rate and time to restore.",
174 why: "The four numbers that say how well a team ships, measured from what actually happened in g1t.",
175 plans: ["DORA metrics from merges and deployments", "Review and queue time", "Trends by week and by project"],
176 },
177 {
178 key: "costs",
179 title: "Costs",
180 section: "Insights",
181 summary: "What the project costs, by agent run, sandbox, build and app.",
182 why: "Usage is charged by the workspace; here it is broken down for one project, so you can see what each part of the work costs.",
183 plans: ["Cost by kind of work and by issue", "Cost per merged change", "Budgets per project"],
184 },
185 {
186 key: "impact",
187 title: "Agent impact",
188 section: "Insights",
189 summary: "How much of the work agents do, and how well.",
190 why: "The share of changes agents author, how often their work lands first time, and where people still step in.",
191 plans: ["Agents' share of merged changes", "First-time pass rate of checks and reviews", "Where people correct agents most"],
192 },
193];
194
195export function roadmapItem(key: string): RoadmapItem | undefined {
196 return ROADMAP.find((item) => item.key === key);
197}
198
199export function roadmapIn(section: RoadmapItem["section"]): RoadmapItem[] {
200 return ROADMAP.filter((item) => item.section === section);
201}