steid

@jamesgill /

steid/plans/ROADMAP.md
6.7 KBCode·Blame·Raw
ab7fea9chore: plans setup1mo
1# Steid
2
3The source of truth for everything in a developer's or organization's portfolio.
4
5## Vision
6
7Steid is a developer/org identity and portfolio platform. It's where you host your
8code, your writing, your projects — everything you do, in one place, under your
9control.
10
11Git repos are a core feature, not the whole product. Blogs, documentation, project
12showcases, and anything else a dev or org wants to present lives here too.
13
14Personal-first, but organizations can collaborate on it.
15
64831abdocs: point at steid-control-plane, and name the constraint it imposes23h
16A managed offering — Steid instances hosted for companies and individuals — is
17planned, but lives entirely in its own repo (`../steid-control-plane`, decision 0001
18there). The constraint it places here: Steid stays single-tenant, never learns it is
19managed, and everything an operator does must eventually be drivable headlessly.
20
ab7fea9chore: plans setup1mo
21**What makes it different from Gitea/Forgejo:** those are GitHub clones scaled down.
22Steid is portfolio-first — the profile page is the product, and repos are one kind of
23thing that appears on it. That framing should win any tie-break.
24
25## Core Principles
26
27- **Fast** — Rust, minimal overhead
28- **Reliable** — correct first, then optimize
29- **Personal-first** — great for a single dev, scales to orgs
30- **Identity-centric** — everything is built around who you are (user/org); auth is
31 designed in from day one, not bolted on
32
33## Stack
34
35Starting intent, not settled decisions. Each one gets a record in
36[decisions/]decisions/ when it's actually made and confirmed in this build.
37
bd48b4bdocs: serve git over smart HTTP, reorder roadmap portfolio-first1mo
38| Concern | Choice | Decision |
39|---|---|---|
40| Web framework | Topcoat (tokio-rs) ||
41| Git transport | smart HTTP via `git http-backend` | [0001]decisions/0001-git-over-http-not-ssh.md |
42| Git auth | personal access tokens over HTTP Basic | [0001]decisions/0001-git-over-http-not-ssh.md |
02eb2e4feat: GitStorage port and DiskGitStorage24d
43| Git operations | the `git` binary, behind narrow ports | [0006]decisions/0006-git-binary-behind-narrow-ports.md |
bd48b4bdocs: serve git over smart HTTP, reorder roadmap portfolio-first1mo
44| Crate layout | single crate ||
45| Ownership | personal org owns repos ||
aaefaabfeat: root handles, grouped routes, reserved-handle denylist1mo
46| URLs | root handles, grouped routes | [0004]decisions/0004-root-handles-grouped-routes.md |
bd48b4bdocs: serve git over smart HTTP, reorder roadmap portfolio-first1mo
47| Database | SQLite via sqlx ||
ab7fea9chore: plans setup1mo
48
49Architecture and conventions: [architecture.md]architecture.md.
50
51## Milestone Ladder
52
bd48b4bdocs: serve git over smart HTTP, reorder roadmap portfolio-first1mo
53A from-scratch rebuild on Topcoat. Much of this was built and verified end-to-end in a
54previous attempt — see [progress.md]progress.md. Treat that code as reference, not as
55a baseline.
ab7fea9chore: plans setup1mo
56
57| # | Milestone | Status |
58|---|---|---|
bd48b4bdocs: serve git over smart HTTP, reorder roadmap portfolio-first1mo
59| 0 | **Skeleton** — Topcoat app boots, config, one page, SQLite wired | done |
076dbc9docs: close milestone 1, open milestone 21mo
60| 1 | **Identity, thin** — claim on first run, login, session | done |
c50d9adfeat: profile settings with flash feedback25d
61| 2 | **Profile page**`/{handle}` as the real profile | done |
6a2a925docs: close Milestone 3, plan Milestone 4a8d
62| 3 | **Repo model** — records + bare repos on disk | done |
e0856ebfeat: clone a public repository over HTTP8d
63| 4a | **Clone over HTTP**`git http-backend`, public repos, no auth | done |
a814db5feat: push and clone private repositories with a token8d
64| 4b | **Push and tokens** — PATs over HTTP Basic, push, private clone | done |
dce0bf3feat: browse a repository's files and history8d
65| 5 | **Repo browsing** — tree, blob, commit log | done |
3dd7293feat: ship Steid as an installable binary8d
66| 5b | **Deployable by anyone** — binary release, installer, TLS proxy | active |
67| 6 | **Writing** — posts, markdown | not started |
bd48b4bdocs: serve git over smart HTTP, reorder roadmap portfolio-first1mo
68| 7 | **Identity, full** — multi-user, orgs, invites, registration policy | not started |
3dd7293feat: ship Steid as an installable binary8d
69| 8+ | Projects/showcases · issues & PRs · CI/CD · SSH transport · federation | not started |
70
71**CI/CD is a milestone, eventually, and it is 8+.** Push-to-release — a repository that
72builds and publishes itself on push — is the obvious end state for a forge that already
73receives pushes, and it is what "source code integration" means for anyone arriving from
74GitHub. It needs receive-pack hooks, a job model, isolation to run untrusted code, and
75somewhere to keep artefacts, so it is a milestone in its own right rather than a feature.
76Recorded now because it was asked for; deliberately not scheduled.
bd48b4bdocs: serve git over smart HTTP, reorder roadmap portfolio-first1mo
77
78`/api` is not a milestone. It's a standing practice: every milestone that adds a use
79case exposes it under `/api` where that makes sense. An API isn't a feature, it's a
80second surface on work already being done — and having a third consumer keeps the use
81case layer honest.
82
83### Why this order
84
85The vision calls Steid portfolio-first, but every previous ladder put portfolio behind
86four milestones of git plumbing. Across two attempts and ~6,000 lines, Steid has
87shipped identity, repo records, clone, push, and key auth — and not one portfolio
88feature. Attempt #2 ended with all the git infrastructure working and nothing that
89distinguishes it from Gitea.
90
2eb8681docs: put git next, plan the repo model24d
91The differentiator therefore shipped early: the profile page is milestone 2, not
92milestone 6. Full multi-user identity stays deferred to 7 — personal-first means one
93user, and there is nothing to collaborate on until there is something worth
94collaborating on.
95
96**Git moved ahead of writing after milestone 2 shipped**, deliberately reversing the
97original order. Two reasons. The profile has a Repositories section that a visitor
98expects to be full, and a gitforge whose repo list is permanently empty is its own kind
99of wrong. And git-over-HTTP is the least-understood work left — everything else is CRUD
100over SQLite, while that is pack data streamed through a subprocess — so learning what
101Topcoat makes awkward is worth more now than after three more features are stacked on
102top.
103
104The risk being run knowingly: disappearing into protocol work is what ended both
105previous attempts. Milestone 3 is deliberately small and ships something visible on the
106profile; if milestone 4 starts to sprawl, that is the signal to bank it and go back to
107writing.
ab7fea9chore: plans setup1mo
108
3dd7293feat: ship Steid as an installable binary8d
109**Milestone 5b was inserted rather than renumbered.** Deployment became urgent the
110moment Steid could host its own source: a gitforge nobody can install is a demo. It is
111lettered rather than numbered for the same reason 4a/4b were — decisions
112[0003]decisions/0003-scoped-urls.md and [0004]decisions/0004-root-handles-grouped-routes.md
113both refer forward to "Milestone 7" meaning multi-user identity, and renumbering would
114quietly falsify accepted records to save a table row.
115
6a2a925docs: close Milestone 3, plan Milestone 4a8d
116**Milestone 4 was split before it started**, acting on that warning rather than waiting
117to be surprised by it. It bundled two subsystems — personal access tokens and the smart
118HTTP protocol — and neither shipped anything until both were done. Split, 4a is
119anonymous clone of a public repository with no authentication code at all, which is a
120working `git clone` in one small milestone; 4b adds tokens, push, and private clone on
121top. If 4b sprawls, 4a has already banked the capability.
122
ab7fea9chore: plans setup1mo
123**One numbering scheme.** The previous attempt kept two (a roadmap ladder and a
124separate build log with conflicting numbers) and they drifted apart within three
125milestones. If the plan changes, edit this table — don't start a second list.
126
bd48b4bdocs: serve git over smart HTTP, reorder roadmap portfolio-first1mo
127The active milestone is broken into steps in [current.md]current.md.