SaaS starter
For AI-forward software and design engineers who ship in days and still have to pass a security review.
A multi-tenant B2B SaaS that deploys today, and the skills, subagents, hooks and workflow that drive an agent through it safely.
An agent can write a tenant-scoped query in seconds. It can also write one that
misses withOrgScope, and that one reads every customer's rows — compiles,
passes review, and is a breach.
That gap is what this repository is about. Generating code quickly is the
part that already works. Handing the result to a security review is not, and
being careful is not what fixes it: what fixes it is making the dangerous thing
hard to do and the safe thing the path of least resistance.
Here that means the application connects as a Postgres role that cannot
bypass row-level security, so a forgotten scope reads nothing rather than
everything. A tenancy-review subagent has to name the request that would
exploit each finding it reports. Hooks refuse a commit that breaks the rules,
the gate a slice passes includes browser tests, and the Effect source is
vendored under repos/ so an agent reads real signatures instead of inventing
them.