A shared core, inside each organisation's own object.
One publisher writes a package: a class and its tables. Each organisation installs it into an object it owns. The package's data stays with whoever owns it, labelled with its owner and origin wherever a copy is held.
The three organisations below are invented, and so is every name in the data. This is a prototype running on Cloudflare Durable Objects.
- The host owns the object. It installs the package and chooses when to upgrade it.
- The publisher owns the package. Its code and tables, and nobody else changes them.
- Instances are isolated. The only way in is a method call.
- The owner is the only writer. Copies elsewhere are read-only and labelled.
- Placement is the package's business. The host asks its instance; the instance knows where to look.
- Methods only grow. Old and new versions keep working together.
Run it
Each step acts as one of the organisations through its own app, then checks what the others can see.