Turnstile is the smallest thing in the kit: no state, no migrations, no middleware you did not ask for. What it demonstrates is how capabilities cooperate without importing each other.
Atomic, idempotent movements with overdraft prevented by a database constraint — and holds, which are what make wagering safe.
`pithy add` installs a package, writes bindings across every environment, runs migrations — and refuses, loudly, in the two places where guessing would be worse than stopping.
Keys built from a schema, values validated both ways, and a list that quietly repairs the metadata the Cloudflare dashboard throws away.
TypeScript 7, Bun, Turborepo, tsdown, Vitest and Biome — including what the losing options still do better. Then the part that surprised us: GritQL plugins enforcing rules a type system cannot.
Parameter budgets, transient faults, SQLite's missing types and pagination that holds still under writes. Solved once in core, so every capability inherits them.
One error type, one schema, and a wire shape with nowhere to put the things a caller must never see.
One rule about what a capability may import, and what it buys — including why a management client gets its own request variable rather than borrowing the user's.