Skip to content

Commit 38ef478

Browse files
committed
docs: plan fifteen project problems on the roadmap, and tick what has shipped
1 parent ff6a240 commit 38ef478

1 file changed

Lines changed: 45 additions & 4 deletions

File tree

‎docs/roadmap.md‎

Lines changed: 45 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,12 +181,13 @@ The pilots are written with the next project problems.
181181
- [x] Step 1, Python and TypeScript, tooling: the `code_intelligence` and `autocomplete` preferences and their Settings checkboxes; Alt-Shift-click for a second cursor; the server catalog, the `code intelligence` doctor rows and `cstudy doctor --fix` installing basedpyright and typescript-language-server into `.cs/lsp/`; the WebSocket session route on wsproto and its broker, with `.cs/build/`, `.cs/cases/`, `.cs/runs/` and the content root hidden from the servers; in the page, live diagnostics, hover, go to definition with read-only library tabs, and completion and signature help behind `autocomplete`, which also governs the editor's own completion.
182182
- [x] Step 1, Python and TypeScript, guide: [Code intelligence and autocomplete](guides/web-ui.md#code-intelligence-and-autocomplete) and the README feature list.
183183
- [ ] Step 1, Python and TypeScript, release: the screenshots and animated GIFs, made from the released build, and the website message.
184-
- [ ] Step 2, Java and Kotlin: Java first on JDK 25 or 26 after a spike on `jvm/` and a project folder; Kotlin from a spike of the Kotlin LSP, and Java alone if it fails.
185-
- [ ] Step 3, Go and Rust.
184+
- [x] Step 2, Java: Eclipse JDT LS on JDK 25 or 26, after a spike on `jvm/` and a project folder (v0.29.0).
185+
- [ ] Step 2, Kotlin: the open-source servers failed on Kotlin 2.4, so JetBrains' Kotlin LSP, behind a license you accept in `cstudy doctor --fix` (owner, 2026-11-08). In progress.
186+
- [x] Step 3, Go and Rust, with pull diagnostics and documentation links that open library sources (v0.30.0).
186187

187188
## Phase 12: Service projects
188189

189-
**Status.** In progress: the tooling is built through P6, on macOS, and no problem uses it yet. It runs after or around the releases of Phase 11, unless the owner reorders it.
190+
**Status.** In progress: the tooling is built through P7, measured on macOS with Docker Desktop and on Linux with Docker Engine, and `0277` is its first problem. It runs after or around the releases of Phase 11, unless the owner reorders it.
190191

191192
**Scope.** [ADR 0019](decisions/0019-service-projects.md) and [its spec](specs/service-projects.md): project problems that always run in a Docker sandbox, with their own dependencies, standard lifecycle commands, one Python mock server, optional backing services, grading over HTTP, and a list of what each problem depends on. Existing problems stay native and need no Docker. One step per ADR phase, each with its docs and a website message at release: P1 the spike; P2 the environment allowlist, for all problems; P3 the sandbox runtime; P4 lifecycle commands, TypeScript and Python templates, install and lock rules; P5 the mock server and `cstudy dev`; P6 the HTTP grader with `verify` and CI; P7 the first problem in TypeScript; P8 its Python version; P9 code intelligence in the container and the Web UI; P10 data-driven problems; P11 mock server extensions and multi-step cases, with project-size security and AI problems; P12 Kotlin and Java; P13 Go; P14 Rust (maybe, decided when reached).
192193

@@ -195,7 +196,7 @@ The pilots are written with the next project problems.
195196
- [x] P1: the spike, passed with changes on macOS; the sandbox is [measured on Linux](specs/service-projects.md#on-linux), with SELinux and rootless Docker unproven.
196197
- [x] P2: the environment allowlist, for every problem ([Process environment](specs/runners.md#process-environment)).
197198
- [x] P3 to P6: tooling: the sandbox, the lifecycle commands, the mock server, `cstudy dev` and the HTTP grader, with `verify` and a CI job on a real engine. Planned with P9: the other flags of `cstudy dev`, and `cstudy test --events`.
198-
- [ ] P7: the first problem in TypeScript.
199+
- [x] P7: the first problem in TypeScript, `0277-coworking-availability-typescript`.
199200
- [ ] P8: the first problem in Python.
200201
- [ ] P9: code intelligence and Web UI.
201202
- [ ] P10: data-driven problems.
@@ -216,6 +217,46 @@ The pilots are written with the next project problems.
216217
- [x] Backend reliability on the same engine: `0272` to `0276`, five TypeScript projects on an idempotent at-least-once consumer, a transactional outbox, retries on the virtual clock, optimistic locking, and reviewing an AI extraction, where the model proposes, code validates and a person decides. The catalog now has 292 entries.
217218
- [ ] Step 3: later waves: project-size problems need Phase 12, and system-size ones need later design.
218219

220+
### Planned project problems
221+
222+
The owner accepted this list on 2026-11-08. Each is original and new; none replaces a problem in the catalog. Each starts in TypeScript, with a Python version after it, and Java, Kotlin and Go versions follow for the strongest. They are grouped by the Phase 12 step that makes them possible. Domains and roles use the closed lists of [ADR 0020](decisions/0020-catalog-labels.md); PP10, PP12 and PP13 are the hardest of the hard.
223+
224+
**With mock servers only (built):**
225+
226+
| ID | Project | Domains · roles | What it teaches | Difficulty |
227+
|----|---------|-----------------|-----------------|------------|
228+
| PP1 | Coworking availability in Python (P8) | backend · backend | `0277` in a second language | hard |
229+
| PP2 | Payment webhook receiver | fintech, security · backend, security-engineer | HMAC signatures, replay windows, idempotency, events out of order, a provider's retries | medium |
230+
| PP3 | OAuth client with PKCE against a mock identity provider | identity, security · backend, security-engineer | The code flow with PKCE, token refresh, rotated signing keys, clock skew, revoked tokens; the whole flow that `0255` and `0256` cover in parts | hard |
231+
| PP4 | SSRF-safe webhook dispatcher | security · security-engineer, backend | User-supplied URLs: blocking internal addresses, following redirects safely, timeouts, signing | hard |
232+
233+
**With backing services (P10: Postgres, Redis, AWS services through Moto):**
234+
235+
| ID | Project | Domains · roles | What it teaches | Difficulty |
236+
|----|---------|-----------------|-----------------|------------|
237+
| PP5 | Inventory reservations | backend · backend | What a real database adds to `0275`: `SELECT … FOR UPDATE`, isolation levels, constraints, and migrations you design | hard |
238+
| PP6 | A job queue on Postgres | backend · backend, platform | Building the queue itself, where `0272` consumes one: claiming with `SKIP LOCKED`, timeouts for stuck work, retries with backoff, a dead-letter table | hard |
239+
| PP7 | File ingestion through S3 and SQS | backend · backend, platform | Uploads to S3, events on SQS, validating large CSV files into Postgres, poison messages | hard |
240+
| PP8 | Multi-tenant API | backend, security · backend, security-engineer | Tenant isolation with row-level security, graded by IDOR attack requests | hard |
241+
| PP9 | Rate limiter and cache on Redis | backend · backend, platform | Sliding-window limits, cache-aside with invalidation, hot keys, Redis going down | medium |
242+
| PP10 | Event-sourced ledger | fintech, backend · backend | Append-only events, projections, rebuilding them, snapshots | hard |
243+
244+
**With mock server extensions (P11: streaming, LLM provider mocks):**
245+
246+
| ID | Project | Domains · roles | What it teaches | Difficulty |
247+
|----|---------|-----------------|-----------------|------------|
248+
| PP11 | LLM gateway | ai-llm, backend · backend, ai-engineer | Streaming over SSE, 429 and backoff, falling back to a second provider, token budgets and cost, building on `0259` | hard |
249+
| PP12 | RAG service with citations | ai-llm · ai-engineer | Chunking, a mock embeddings API, vector search in Postgres, answers graded on retrieval and grounding | hard |
250+
| PP13 | Tool-calling agent loop | ai-llm, security · ai-engineer, security-engineer | A tool allowlist, prompt injection hidden in tool output, step and cost budgets, failing safely | hard |
251+
| PP14 | Fix the vulnerable service | security · security-engineer | A working app with broken authentication, IDOR, mass assignment and path traversal, graded by attack cases that must fail and normal cases that must keep passing | hard |
252+
| PP15 | Secure file upload | security, backend · backend, security-engineer | Size limits, content sniffing, path traversal, a mock malware-scan vendor that fails | medium |
253+
254+
Suggested order: PP1, then PP2 and PP3, then P10 with PP5, then P11 with PP11.
255+
256+
- [ ] PP1 to PP4, on the mock servers.
257+
- [ ] PP5 to PP10, after P10.
258+
- [ ] PP11 to PP15, after P11.
259+
219260
## Phase 14: AI-reviewed problems
220261

221262
**Status.** Planned for the future, not started, with no commitment beyond this order. It sits after Phases 12 and 13, unless the owner reorders it.

0 commit comments

Comments
 (0)