Sample: a two-service monorepo and its brain
A sample brain for a two-service monorepo (TypeScript API and React web). This static page shows a few of its decisions. Synthetic data, not a customer record.
demomonorepotypescript
Sample decisions.
A decision keeps the reason it was made, so the next session reads why and not only what.
Single shared design-tokens package
The web app and the marketing site both render hero metrics. Without a single source the colours drifted (#5B7CFF vs #5C7DFF on three pages). The shared package costs one CI build step + saves a quarterly drift audit.
Stripe Customer Portal over a custom dashboard
We could build a custom subscription manager but Stripe Portal handles invoice download, card update, plan change, and tax-id capture for free. The 30 hours that would've gone into a custom UI ship feature work instead.
Switch from polling to SSE for the budget alert stream
Polling at 30s cost 5x the Vercel function invocations vs an open SSE connection. The alert is event-driven (Stripe webhook → push) - pulling state was the wrong shape.
Curated sample.
What happened in this change?
This page is a static sample. The sample case follows one synthetic investigation from the instruction to the verified fix. Install RepoOps to open a case from your own repository.