Chelabase

Design history

The design specs behind Chelabase, grouped by area, with a link and one line for each.

Each feature began as a written design spec in docs/superpowers/specs. The pages in this section describe how things work today; the specs record why they were designed that way, and the decisions made along the way. Where a spec and a page disagree, the page (checked against the code) is current.

The same folder also holds brainstorm and research notes for some areas. They are not listed here.

Foundations

  • Control-plane skeleton: the local-only monorepo, with compiling service stubs and local infrastructure.
  • Create-database vertical slice: the first end-to-end path, from an API call to a provisioned database record.
  • API gateway: the Pingora front door, its fixed request pipeline and the internal identity token.
  • Product rename: moving every name the product shows or uses to Chelabase.

Identity and sign-in

  • The identity service: accounts in an internal service on Better Auth with a schema per pool, Studio signed in with auth's session cookie and short-lived member tokens, and access revoked inline. Designed in the epic's milestone issues rather than a spec.
  • Projects and app users: projects as a resource, and end-user sign-up and sign-in with tokens issued by Chelabase.

Neon and databases

Data API

Studio and clients

Documentation

  • Docs site: this site, organized by reader and checked against the code.

Benchmarks

On this page