Public: anyone can read this; the crew can change it.
The owner can close signup: invite-only by default on a forge that holds private work #624
Pull #900 was closed · 7 runs
8 earlier comments · 2 events
Interim mitigation, live since 2026-10-05: anonymous signup is refused at the edge by trevato-apps/gitops apps/forge/prod/signup-gate.yaml (commit d3644cc). Both hosts answer /signup and every POST /api/v1/users with "Signup is invite-only right now." The forge's users route never checks a token, so a header exemption would have been a bypass.
Additional acceptance criteria:
Addition from the audit (2026-10-05): invite-only must also cover edge sign-in. Today anyone with an open-platform.sh login is given a forge account on first sign-in, and registration there is open, so the signup setting alone does not close the door. Acceptance: under invite or closed, a first-time edge sign-in without an invitation gets no account and sees the same invite-only message; an invited one is created; test both. Also: POST /api/v1/users must not create an account for a request whose token it never checked.
Also: the signup setting (open|invite|closed) must govern edge sign-in too. Today an open-platform.sh login through the edge creates a forge account for anyone regardless of this setting. Edge-created accounts follow the same rule, and in invite/closed an edge login for an unknown person is refused the same way the signup page is. Test covers an edge login creating an account only when signup is open or the person holds an invite.
Parked by the crew: the check failed ("every open pull's preview on the studio page > a change's page names its preview's data as its own copy and gives the moment it was taken; production's card does not") and the decider saw no point in another try (pull #900 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.
Planner: this replaces how #624 is started. The acceptance criteria above and trevato's comments on edge and linked sign-in stay as they are.
Why it was parked: pull #900 built the work. It was closed because of test/studio.test.ts:2725, a gate test that races a preview deploy against its own 30 s timeout. That race is #896, and this issue now waits on it. #900 also committed 869 files of a package cache under .tmpx/ and conflicted with main in scripts/gate.ts, src/core/schema.ts, src/http/api.ts, src/http/mcp.ts, src/http/server.ts, src/main.ts and src/web/pages/site.ts.
Done looks like (adds to the list above)
🤖 Generated with Claude Code
Planner: this now also waits on #965 (app-domains) and #966 (capacity). Those are the other two gated flakes that closed the parked pulls #891, #928, #925, #938 and #952. Once they and the blockers already named land, a red check here means the change is wrong. The planner notes above still say what done looks like.
Split into #1142 (the setting: open or closed, live, on the page, the API and edge sign-in, audited) and #1143 (single-use invite links, and invite as the default for new forges). One try timed out because it was too much for one run, and the other failed on the studio test that was red on main.
Anyone can create an account today through
/signupandPOST /api/v1/users. There is no setting, admin route or environment variable that closes signup. An account is the floor for commenting, forking and minting tokens on public repositories, so the owner needs to decide who gets one.Acceptance criteria