Skip to content

chore(auth): private beta sign-up through Clerk's waitlist #481

Closed

Description

@allisonmahmood

Part of the launch (#416). HITL: Allison does this in the Clerk dashboard. It needs the production instance from #480.

Why

Decided 2026-10-02: the beta is private, and people join a waitlist. Today anyone who signs in can create a company (packages/companies/src/Join.ts:111), and each company gets its own Postgres database and can start tier 2 machines.

Sign-in already goes through Clerk's hosted pages (packages/auth/src/Session.ts, signInUrl), so Clerk's Waitlist sign-up mode is the gate. People join the waitlist, Allison approves them in the Clerk dashboard, Clerk emails them an invitation, and they create their company. Their colleagues come in through Patchy's own invites from /company.

Steps

To check on production (in #416's list)

Done when

Waitlist mode is on, Allison is approved, and the checks above pass on production.

Activity

  1. added
    ready-for-human
    on Oct 2, 2026
  2. allisonmahmood commented on Oct 2, 2026

    @allisonmahmood
    OwnerAuthor

    Waitlist mode is on for the production instance (2026-10-02, auth_access_control.sign_up_mode = "waitlist"). People join at https://accounts.patchyhq.com/waitlist.

    • The app now shows as Patchy Cloud on Clerk's pages and in its emails.
    • Email branding is deferred: custom templates need Clerk Pro, and we're staying on the free plan for now.
    • Still to do: approve the two founders, then the production checks above once chore(infra): the first deploy of Patchy to AWS #416 deploys.
  3. allisonmahmood commented on Oct 4, 2026

    @allisonmahmood
    OwnerAuthor

    Setup is done: Waitlist mode is on, Allison is approved, company invitations get past the waitlist (#528), and the door names the private beta (#529). Email branding is deferred. The production checks need the deploy, so they moved into #416's "Before the first partner signs in" list as The private-beta gate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-human

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions