Case study
We wrote nineteen decision records before any code.
A cooperative fundraising organization. Nonprofit operations. Live.
Swipe the panel, or tap a position.
Staying on the no-code app past its ceiling.
Years of validated fundraising rules live inside an AppSheet app that was never built for multi-tenancy, permissions or workflow guarantees. Every new need meets the same ceiling.
This is what too little looks like.
A fundraising organization had refined its rules for years inside a production AppSheet app, until the app hit its ceiling. Before any code, we extracted those rules into specifications, then built a multi-tenant platform from them, layer by layer.
- 19
architecture decision records, written and reviewed before implementation, alongside 28 module and system specs and a documented gap analysis.
- 0
AI in the product at runtime. The AI is in the method: specifications feeding generation, a twelve-agent audit, and a human architect reviewing every layer.
Kept
- The caller and closer rules the organization validated over years of real use.
- The original app, as the production bridge until the platform takes over.
Added
- Nineteen decision records and per-module specs, written before the code.
- Tenant access derived from membership on every request.
- Permissions in one thirty-key matrix, consulted by one service.
- The fundraising workflow inside real database transactions, with row locks.
Refused
- Rebuilding from memory instead of from the rules already validated.
- Decorating a CRM with a chatbot.
- Trusting the URL to say which tenant is asking.
Derive tenant access from membership, never from the URL
Context
Each request names a tenant in its path. The path is chosen by the client, so it cannot be trusted to say who is asking.
Where it honestly stands: live. The unit and browser test layers are not built yet.
A CRM with a chatbot on top, rebuilt from memory.
Start from a blank page, rebuild what people remember of the old app, and decorate the result with a chatbot. The rules the organization validated over years are guessed at again, and nothing can be audited against them.
This is what too much looks like.
Overview
Past the no-code ceiling: a validated AppSheet app rebuilt as a real platform.
Years of validated fundraising logic lived inside a production AppSheet app: caller and closer workflows, pledge management, campaign rules that the organization had refined through real use. The app had hit the ceiling that all no-code systems eventually hit: multi-tenancy, permissions, and workflow guarantees it was never built to provide.
The rebuild started with documentation, not code. We extracted the business rules into specifications: architecture decision records, per-module specs, and a gap analysis produced by auditing the original app against its own user manuals with a fleet of parallel review agents. Only then did the platform get built, layer by layer, from those specs.
Architecture
How it is put together.
Hover over a part, or move to it with the Tab key, for its engineering note.
CoApp, spec-driven system architecture. Its parts, from the top of the drawing down.
- Specs + ADRs19 ADRs, 28 specs.
- User manualsValidated rules.
- Gap audit12 parallel agents. Twelve read-only agents compared the old app, its manuals, and the new specifications.
- AI generationLayer by layer, reviewed. Each layer is generated from the specs, then reviewed by a human architect before merge.
- Guarded APIJWT → tenant → RBAC. Tenant access is derived from membership on every request, never trusted from the URL.
- Postgres27 tables.
- Workflow engineTransactional, row-locked. Fundraising rules run inside transactions with row locks and idempotent task creation.
- Next.js web38 routes.
Decisions
Three decisions that mattered.
- Documentation is the source of truth.
- Nineteen architecture decision records and per-module specs were written and reviewed before implementation, and the codebase carries a prompt library that can regenerate each layer from them. The trade-off is real up-front cost. The return is that the platform can be audited, extended, and even rebuilt against a specification instead of against tribal memory, which is precisely what the original no-code app could not offer.
- Tenancy is enforced in the backend, always.
- Every request passes a guard chain that derives tenant access from membership, never from the URL. Permissions live in one thirty-key matrix consulted by one authorization service. There is no code path where a client-side mistake can read another tenant's data.
- Fundraising workflow runs in real transactions.
- The caller and closer rules that the organization validated over years now execute inside database transactions with row locks and idempotent task creation. The same rules, but with guarantees: no double-assignments, no lost pledges, no race conditions between volunteers.
AI layer
The AI layer, honestly.
There is no AI in the product at runtime, and we say so. The AI story here is the methodology: specifications feeding AI-assisted generation, a twelve-agent audit comparing the old app, its manuals, and the new code, and human architectural review at every layer. We use this project to show how a small studio ships platform-grade software, not to decorate a CRM with a chatbot.
Status
What we would do differently.
The generation-first approach meant code arrived faster than tests at the start, and this section said so while it was true. The correction has landed: the platform now runs 52 integration suites, 328 tests against a real Postgres in CI, on every push. What is still honest to say: the unit and browser layers of the testing strategy are not built yet. Next time we would land the test harness with the first module rather than after the schema settles.
Results
Results, and how they were measured.
- 27
tables in the multi-tenant schema.Tenant-owned rows carry tenant identity; the backend enforces it everywhere.
- 19
architecture decision records before build.Plus 28 module and system specs and a documented gap analysis; 23 ADRs and counting today.
- 155
API endpoints across 26 modules.Generated from specs, guarded by one authorization service.
More work
Along the measure.
Next step
Find out how much you need.
Thirty minutes with the studio. We map what you run on today and say what we would build, roughly what it takes, and whether we are the right fit.
Sometimes the answer is a platform. Sometimes it is a layer around what you have. Possibly nothing yet.
Book a Systems Strategy Session