Yuwakisa Cloud

Two small services, built carefully and running on Cloudflare. Here's what each one does, and how they fit together.

Sign in with Bluesky

Let people sign in to your app with the Bluesky account they already have. If your app speaks OpenID Connect, it already knows how to talk to us.

jsonsolver

Send some JSON and a set of rules, and get back a proven answer about whether the JSON follows them. We forget your data as soon as the answer is ready.

Sign in with Bluesky

Bluesky accounts can already sign in to other apps. The catch is that Bluesky uses the AT Protocol's own take on OAuth, and most apps and login libraries expect plain OpenID Connect.

So we built a bridge. You register your app with us and point your usual OIDC library at our issuer, the same way you would for Google or any other provider. When someone signs in, we do the Bluesky side of the conversation with their home server and hand your app a standard ID token.

Your app never has to learn the AT Protocol, and it never stores a password, because there isn't one.

jsonsolver

Lots of questions come down to "does this data follow these rules?" Is this cloud configuration within our security policy? Does this loan application fit our lending limits? jsonsolver answers questions like that with proof rather than pattern matching.

You write your rules once, in a small Markdown-based rule language. Then you send JSON to check against them. Behind the scenes we hand the problem to Z3, a well-known constraint solver, and tell you what it found.

Here's a tiny example. The rule says a borrower's debt can be at most 36% of their income.

The rules
# declare
* Real card_debt loan_debt income dti

# assert
* = dti
  * /
    * + card_debt loan_debt
    * income
* <= dti `0.36`

# return
* dti
The data
{
  "card_debt": 400,
  "loan_debt": 600,
  "income": 4000
}

The answer comes back satisfied, with dti worked out as 0.25. Raise the debts and it comes back unsatisfied, along with the rule lines that can't all be true at once.

Every job ends in one of four plain answers, and we never blur them together.

Your data is only with us while we work on it. The payload is deleted as soon as the solve finishes, and the result is kept just long enough for you to collect it. What we hold on to is a fingerprint and a few size measurements, nothing you could rebuild your data from.

What's underneath

Both services share one identity service of ours. It's the only place that holds passwords, sessions or signing keys. Everything else, jsonsolver included, checks signed tokens and never sees a credential.

All of it runs on Cloudflare: Workers for the web side, Durable Objects to keep track of each job, and a Container that runs the solver. We've tried to make two questions easy to answer just by reading. What can each piece touch? And what happens if a step fails partway through? The admin console, for example, has no route at all to customer data.

The architecture page has diagrams of how the pieces connect, how sign-in flows, and how a job travels through the system.

We also write our design docs in a particular way, describing the problem rather than the code. If that sounds interesting, there's a short write-up on yuwakisa.com.

Where things stand

Both services are running in production, and they're early. There's no self-serve signup yet, so we set up each new app or customer by hand. That suits us for now, because it means we get to talk with you.

If either service sounds useful, we'd be glad to hear from you. The easiest way to reach us is through Yuwakisa on LinkedIn.