Layer 5: What you touch (Shells)
This is everything you see and tap or say. The Leafhub app on your phone, Leaf your assistant, and the pages the hub itself shows. They only show and ask: they keep no separate picture of your home.
Leafhub appLeafHub pages
It never: keep their own copy of your home, so what you see is always what the hub knows.
Layer 4: Your apps (Home Apps)
Each Home App does one job for the family: your photo library, a shared calendar, your water and power use, your papers. Every app says up front what it owns, what it reads and who may use it.
PhotosFamilyEnergy and WaterRecordsFilteringNetwork
It never: reach a device or a stored record directly: it must ask through the layer below.
Layer 3: The one agreed way (SDK)
Apps, the Leafhub app and Leaf all ask the hub for things in one agreed way. A request that is not on the list is refused before anything runs, and every request that is on the list is checked against who is asking.
Every call is declaredEvery call is permission-checked
It never: give an app a back door to a device or to your records.
Layer 2: The home's services (OS services)
The services every app shares: knowing who is who, deciding who may do what, delivering alerts to the right person, running timed rules like bedtime, keeping the hub within its memory budget, repairing what breaks, and the owner's kill switch.
Who is whoPermissionsAlertsSchedulesHealth watchdogKill switch
It never: let anyone, any app or any answer bypass the permission check.
Layer 1: The home's records (Kernel)
Your home's records: people, devices, rules and history. Each one is checked when it is written, versioned, and restored from its last good copy if it is ever damaged. The hub does not start serving until its records are valid.
PeopleRooms and devicesRulesHistory
It never: serve a record that fails its check, or lose the last good copy.
Layer 0: Connections (Drivers)
Each outside system your home uses, such as your smart-home devices, your router, your disks and your media, has its own connection that does one thing: talk to that system. New devices and routers are added by adding a connection.
Smart homeRouterDisksMediaCertificatesYour phone
It never: keep a record of your home or decide who may do what.