| 1 | # 0010 — Position Steid as a single-tenant version control server, not a portfolio |
| 2 | |
| 3 | **Status:** accepted · **Date:** 2026-09-27 |
| 4 | |
| 5 | ## Context |
| 6 | |
| 7 | Steid has been described since its first plan as a "personal-first gitforge" that is |
| 8 | "portfolio-first, not a Gitea clone" — the profile page is the product, repositories are |
| 9 | one kind of thing on it. That framing was written to stop the build disappearing into |
| 10 | git plumbing, and it worked: it is why the profile page is milestone 2 rather than |
| 11 | milestone 6. |
| 12 | |
| 13 | It has since become wrong in two ways. What actually got built is a version control |
| 14 | server: repositories, clone and push, browsing, issues, pull requests, tokens, |
| 15 | webhooks, backup and restore. Nothing in it is a portfolio feature. And the audience |
| 16 | that wants it is not people showing off work — it is people and companies who want |
| 17 | their source on a server they control, which is also what Steid Cloud |
| 18 | (`../steid-control-plane`) sells. A portfolio pitch cannot be sold to a business that |
| 19 | will not put its code on a shared platform, which is the customer. |
| 20 | |
| 21 | Keeping the old framing costs twice: it points feature work at a product nobody asked |
| 22 | for, and "portfolio-first wins every tie-break" is a tie-break rule that argues for the |
| 23 | more interesting design at exactly the moments where the boring one is correct. |
| 24 | |
| 25 | ## Decision |
| 26 | |
| 27 | Steid is **a version control server that is entirely yours**: one tenant, one binary, |
| 28 | one database, one owner, built to be stable, secure, fast and simple, and to do nothing |
| 29 | else. Four decisions follow. |
| 30 | |
| 31 | 1. **The front door.** The root URL lands on the instance owner's home page. The owner |
| 32 | is an organisation ("Acme Inc") or a person ("james"), chosen at initial setup; both |
| 33 | are handles at `/{handle}`. What was called "the profile page" is now "the owner's |
| 34 | home page": a repository index with a name and a description. |
| 35 | 2. **Multi-user is committed.** An instance has an owner and can have members. |
| 36 | Individuals will mostly be one person, but may let outsiders register to file issues |
| 37 | and comment, under strict rate limits and narrow scopes to prevent abuse. |
| 38 | 3. **Private by default**, with an "invisible" mode that puts a whole instance behind |
| 39 | sign-in for businesses that want their Steid unreachable to anonymous visitors. |
| 40 | 4. **The tie-break rule is "boring wins."** Between two designs, choose the one that is |
| 41 | more predictable, more isolated, or has fewer moving parts. A feature that makes a |
| 42 | page more interesting but less certain loses. This replaces "portfolio-first wins |
| 43 | every tie-break". |
| 44 | |
| 45 | ### Vocabulary |
| 46 | |
| 47 | Use: **owner** (the organisation or person the instance belongs to), **member**, **home |
| 48 | page** (the owner's page at `/{handle}`), **instance** / **your Steid**. |
| 49 | |
| 50 | Retire: "portfolio", "personal-first", "profile page" (except where it names the |
| 51 | existing route module, which keeps its file name), "your work as a whole", "one |
| 52 | identity", "code, writing, projects". |
| 53 | |
| 54 | ## Alternatives considered |
| 55 | |
| 56 | - **Keep portfolio-first.** — It describes a product that was never built and cannot be |
| 57 | sold to the customer who actually wants this. It also pulls every tie-break toward the |
| 58 | more interesting option. |
| 59 | - **Reposition as a Gitea/Forgejo competitor.** — That is a feature race against two |
| 60 | mature projects, and it loses. Single tenant is the differentiator, not feature count. |
| 61 | - **Keep the framing and change only the marketing later.** — The framing is quoted |
| 62 | inside ADRs, the roadmap, the plans and the code comments; the longer it sits there, |
| 63 | the more work is justified by it. |
| 64 | - **Change behaviour now as well as words.** — Rejected for this change: the private |
| 65 | default, multi-user and invisible mode are roadmap items with their own steps, and a |
| 66 | repositioning that also flips defaults cannot be reviewed. |
| 67 | |
| 68 | ## Consequences |
| 69 | |
| 70 | - **Supersedes the portfolio-first justification wherever earlier ADRs used it.** Those |
| 71 | records are not rewritten and their decisions still stand; where they justify |
| 72 | something *because Steid is portfolio-first*, read this record instead. |
| 73 | [0003](0003-scoped-urls.md) and [0004](0004-root-handles-grouped-routes.md) each carry |
| 74 | a dated note to that effect: the URL scheme is unchanged, but the reason is that the |
| 75 | owner's handle is the front door, not that `/james` is a CV URL. |
| 76 | [0007](0007-tokens-over-http-basic.md)'s "no scopes, personal-first means one user" |
| 77 | now reads as "one owner today" — and outsider registration is exactly the pressure |
| 78 | that will force scopes. |
| 79 | - **No behaviour changed by this record.** Routes, defaults, sort orders and templates |
| 80 | are untouched; this is words. The behaviour it implies is on the roadmap. |
| 81 | - **Makes easy:** explaining the product to someone who is buying it, and saying no — |
| 82 | a marketplace, a discover feed, plugins and growth loops are all now out of scope by |
| 83 | definition rather than by argument. |
| 84 | - **Makes hard:** anything that needs a second tenant in one process. Single tenant is |
| 85 | the security claim, so multi-tenancy would not be a feature but a different product. |
| 86 | - **Opens:** sort orders, the `robots.txt` rules and the root redirect were all reasoned |
| 87 | about as portfolio behaviour. They are unchanged and still defensible, but each should |
| 88 | be re-decided on its own merits — the root redirect in particular, once an instance |
| 89 | can have members as well as an owner. |
| 90 | - **Reversible** at the cost of another rewrite of the same files. The decisions it |
| 91 | records — single tenant, multi-user, private by default — are not. |