One studio, a centralized ecosystem, focused products#
Seedworks Labs is the software studio. Coconut, Banana, Cherry, Grape, Olive and Pomelo are its products—not unrelated apps that happen to share a name. The website and this wiki are also parts of the studio's ecosystem.
The shared backend is one centralized Supabase project/database, with common accounts and app-specific schemas. Product boundaries separate responsibilities and protect user data within that common foundation. Each app is designed around a focused workflow and user control, with local-first behavior where supported.
This distinction matters: working individually is a product capability, not a claim that the apps have unrelated ownership or separate cloud databases. Browser isolation, separate repositories and separate deployments are implementation boundaries inside the studio's ecosystem.
System boundaries#
Reader ──> wiki.seedworkslab.de static technical handbook
Visitor ─> seedworkslab.de static website + account portal
│
├── GitHub API public releases / README content
└── Supabase Auth + public RPCs
Coconut Android / desktop / local web ─> local SQLite ─> optional cloud sync
Coconut hosted web ─> OAuth login ─> user-bound browser SQLite ─> cloud sync
Banana Android ─> local SQLite ─┬─> optional Seed account / household sync
├─> user-selected AI provider
├─> public retailer offers
└─> user-requested speech model downloads
One Supabase project
Auth users
public: Seed profiles, app registry, connections, usage, account RPCs
coconut: personal finance + Shared Spaces
banana: personal/household food-planning datasets
cherry: reserved schema
pomelo: private note-sync RPCs
The browser origins are deliberately separate. seedworkslab.de, coconut.seedworkslab.de and wiki.seedworkslab.de do not share local storage, SQLite files or sessions. DNS names under one parent domain do not make those stores common.
Repository ownership#
| Local repository | Responsibility | Key entry points |
|---|---|---|
Coconut/ |
Budget application, native/desktop/web packaging and its hosted deployment | src/app/_layout.tsx, src/data/DataProvider.tsx, src/sync/engine.ts |
Banana/ |
Meal application, planner, integrations and household client | src/data/DataProvider.tsx, src/services/, src/sync/ |
seedworkslab.github.io/ |
Marketing pages, download pages, account and consent UI | account.html, oauth/consent.html, assets/js/ |
Supabase/ |
Authoritative server migrations, RPCs, RLS and account-deletion function | supabase/migrations/, supabase/functions/delete-account/ |
wiki/ |
This handbook and its static build | content/, site.config.mjs, scripts/build.mjs |
Cloud SQL belongs to Supabase, not a copied app-local migration directory. Local SQLite migrations belong to each app. They are different migration histories against different database engines; changing one does not update the other.
The recurring application structure#
Expo Router screen
│ calls a context operation
DataProvider / orchestration
├── repositories ──> SQLite
├── domain services ──> computed results
└── sync or integration transport ──> remote service
│
└── local repository updates ──> refresh ──> rendered screen
Coconut and Banana use React Native through Expo, strict TypeScript, Expo Router, React Native Paper and expo-sqlite. React context owns shared application state; there is no Redux-style global store. Platform extensions such as .web.ts and .android.ts select different implementations without changing importing code.
The folder name services is not a guarantee of purity for every historical file. Financial/planning calculations are pure functions; update installation and notification modules in the same folder perform platform effects. Follow actual imports, not just naming conventions.
Identity has several meanings#
| Identity | Meaning | Never confuse it with |
|---|---|---|
| Supabase Auth user UUID | A person/account | A SQLite integer primary key |
Local integer id |
A row on this device | A portable remote foreign key |
Row uuid |
Stable identity across devices | Ownership or permission by itself |
| Coconut Shared Space UUID | A collaborative expense container | An entire personal finance dataset |
| Banana data identity UUID | Personal or household dataset namespace | Always the authenticated user's UUID |
OAuth client_id |
Which registered app received a delegated token | A secret or a user identity |
Sync converts local foreign-key integers to UUID references and back. It must reconstruct parent mappings before applying children. A row having a UUID does not authorize it; authorization still depends on signed identity and server policies.
Trust boundaries#
Public configuration: project URLs, publishable API keys, OAuth client IDs and callback URLs can be shipped in client bundles. They identify services and clients; they are not administrator credentials.
Private credentials: user passwords, access/refresh tokens, AI provider keys and the Supabase service-role key must not appear in documentation, releases or logs. The deletion Edge Function is the reviewed component that uses the service role server-side.
Untrusted remote content: GitHub README/release text, AI completions and retailer markup must be parsed or rendered safely. An LLM response is a candidate, not executable code and not an authorization decision.
Server authorization: RLS protects owners and members; restrictive OAuth policies add client boundaries. Security-definer RPCs need independent checks because table RLS alone does not constrain their privileged execution.
Separate deployments within the ecosystem#
The public website is static GitHub Pages content. Coconut's hosted web export is deployed from its own repository; the website product page is not the application bundle. The wiki has its own Pages workflow and domain. Supabase migrations, hosted Auth settings and Edge Function deployment are separate operational steps.
Consequently, a successful wiki build says nothing about production login readiness, and a successful website deployment does not mean a new backend migration has been applied.