An Organizational Schema Theory demonstration
A whole coffee shop,
specified as tests
Not a business plan. A test suite you can run.
Spectra Coffee is a synthesized specialty coffee shop in Berlin — a purpose-built reference implementation. Every promise made to the customer traces down to a supplier requirement, and a CI/CD pipeline checks the whole chain on every commit. The same shop is measured from the outside in the Spectral Brand demo.
The idea in three sentences
- The business is designed backward from customer experience: what the customer must experience is written first, as acceptance tests.
- Contracts are separated from procedures: what a process must achieve is a test; how it is done today is an implementation that can be swapped without touching the test.
- The whole specification is version-controlled and validated by CI/CD — change one value and the pipeline shows which customer promises are affected.
Six levels, one chain
Designed top-down (experience to sourcing), validated bottom-up (sourcing to experience). Each level is a set of YAML files in the repository.
perception/experience-contracts.yamlperception/signal-requirements.yamlprocesses/milk-steaming.yamlprocesses/milk-steaming.yaml#procedureproducts/cappuccino.yaml#inputsproducts/signature-blend.yaml#sourcingChange one value. Watch the chain react.
The milk-steaming process contract pins steam temperature. Move it and see which levels of the cascade hold and which break — this is what the validation pipeline does on every commit. (Illustrative values; the real contracts are in the repo.)
All six levels satisfied. The commit would pass.
What is actually in the repository
spectra-coffee/
organization.yaml # identity, roles, values
brand/ # signals, 8 SBT dimensions
products/ # espresso ... signature-blend
processes/ # contracts + procedures
compliance/ # constraint contracts (EU 852/2004)
perception/ # L0 acceptance + L1 integration tests
locations/berlin-mitte/ # a fork: same tests, local values Run it yourself:
git clone https://github.com/spectralbranding/orgschema-demo
pip install orgschema-framework
orgschema-validate spectra-coffee/ Fork, don’t franchise
Copy the test suite — the experience contracts and process contracts — then rewrite the implementation for your context. Your business, the same acceptance criteria discipline.