steid

@jamesgill /

docs: runbook named routes that no longer exist

/setup and /login moved under /auth/ when routes were grouped, and the
runbook still told you to visit the old paths -- the precise failure its own
header warns about, since following it would 404.

Also corrects STEID_DATA_DIR's milestone after the reorder, and the disk
layout section now uses the real {handle}/{name} vocabulary rather than
attempt #2's {org}/{repo}.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
JamesPatrickGill authored 24 days agoparentca76e1bBrowse files1a58e0016efbddb75cc5574e246c2bb04419581c

1 file changed+8 −7

plans/runbook.md+8 −7View file
@@ -41,7 +41,7 @@ Live now:
4141
4242 ```
4343 STEID_DATABASE_URL=sqlite:steid.db?mode=rwc # default
44STEID_DATA_DIR=./data # default; bare repos, used from M4
44+STEID_DATA_DIR=./data # default; bare repos, used from M3
4545 STEID_INSECURE_COOKIES=false # default; see below
4646 ```
4747
@@ -84,19 +84,20 @@ A gitignored `.env` in the repo root sets it for local work. Keep `.env` and
8484 cargo run # or: topcoat dev
8585 ```
8686
87An unclaimed instance prints a setup token and redirects every route to `/setup`.
87+An unclaimed instance prints a setup token and redirects every route to `/auth/setup`.
8888 Paste the token, choose a handle, email, and password, and the owner is created and
8989 signed in.
9090
9191 The token is **held in memory only**, so every restart mints a new one — including
9292 each rebuild under `topcoat dev`. Use the most recent one printed. Once claimed, no
93token is minted at all and `/setup` redirects away.
93+token is minted at all and `/auth/setup` redirects away.
9494
95Sign in at `/login` with the **email**, not the handle.
95+Sign in at `/auth/login` with the **email**, not the handle.
9696
97## Repo layout on disk (#2)
97+## Repo layout on disk (Milestone 3)
9898
99Bare repos at `{STEID_DATA_DIR}/{org}/{repo}.git`. Created empty — no initial commit.
99+Bare repos at `{STEID_DATA_DIR}/{handle}/{name}.git`. Created empty — no initial
100+commit, like GitHub.
100101
101102 ## Git transport (Milestone 4)
102103
@@ -105,7 +106,7 @@ over HTTP Basic — see [0001](decisions/0001-git-over-http-not-ssh.md). No SSH,
105106 keys, no `authorized_keys`.
106107
107108 ```bash
108git clone http://host/owner/repo.git
109+git clone http://host/{handle}/repos/{name}.git
109110 ```
110111
111112 Fill in the token workflow and the `body_limit` setting once this is built.