An app is a manifest
How an app gets sign-in, a database, keys, automations and notifications without writing any of them, how dependencies are managed, and what happens when you turn a component off.
The principle
Every app has one folder and one manifest. That is the only thing the office reads about it. There is no central list to keep up to date: installing means adding a folder, removing means deleting it, and everything built from it (the address, the sign-in, the tile, the keys and the automations) disappears on the next build.
The office reads every manifest plus the state file (what is enabled, and which provider fills each need), resolves the dependencies, and builds the whole system from them. Nothing is wired by hand.
The manifest
Here is a shortened manifest:
{
"name": "drive",
"capabilities": [{ "name": "drive", "required_ops": ["list", "get", "put"] }],
"use": [
{ "capability": "sql", "strength": "requires" },
{ "capability": "notify", "strength": "wants" }
],
"routing": { "host": "drive", "port": 8080, "auth": "sso" },
"connections": ["google-drive"],
"blueprints": { "n8n": ["drive-sync.json"] }
}
- What the app provides to other apps, and which operations it can perform.
- What it depends on, and how strongly.
- Its address, and whether it sits behind the single sign-in.
- Which keys it needs for external services.
- Which automation workflows it brings along.
Dependency strength
- Required (
requires): the provider is brought in automatically and starts before the app. If there is no provider at all, the office stops before anything starts. - Optional (
wants): used when it is present, and the app starts without it too. - Conflict (
conflicts): two apps that cannot run together. The office says so, and never quietly turns one of them off.
When two providers fit the same need, the office doesn't guess: it stops and names both, until one is chosen in the state file.
What every app gets without writing code
- An address and a TLS certificate, from a single line.
- One sign-in: the app knows who the user is, with no sign-in code of its own.
- A tile on the main screen, and its screen opens inside the office.
- Keys: they come from Connections, and can stay out of the environment entirely.
- Automations that arrive with it and leave with it.
- Notifications and error tracking, if they are enabled.
- Health status with a reason: resolved, installed, started, ready.
Turning things off
Turn off an app that others have a required dependency on, and the office tells you which of them will be affected before anything goes down. An optional dependency stops nothing: the apps that use it keep working without it. When an app is archived, its data is kept, and you can bring it back.
The checks
More than 60 checks run on every code change. Among other things, they verify that no lower layer depends on a layer above it, that every app has a health check, and that every automation gets what it needs. Each check exists because something once failed silently. The full graph of every app and its dependencies is in the GitHub repository, rebuilt from the manifests.