Onboarding and the Store

Onboarding installs the Store and opens it

A fresh Iro has no apps — not even the Store. Onboarding (Iro UI on Home, not an app) suggests our catalog by its URL and key, which you can replace or skip; skipped, Home offers it again while nothing is installed. Iro checks the catalog’s signature with that key, then installs the app the catalog names as its store through the ordinary download, checks and consent sheet, and opens it. Fewer Iro screens; the Store owns the first-run app list.

A catalog names its store with iro catalog store <catalog.json> <package-id>. The suggestion gives a catalog no other power: its apps are checked like any others.

The Store’s first run

The first time it opens, the Store says how installing works: Iro’s sheet first, accounts connected on the app’s page in Iro, and apps that need another app. Each install is an iro.install.request with { url, sha256, catalog? }: Iro downloads and checks it like a link, shows its sheet naming the store that asked, and the store hears only installed or cancelled. One request per app at a time; jobs can’t ask.

Apps that need another app

Each catalog version says what it provides and needs, by contract name without a major: a core contract (tasks) or an app’s own (<package id>/github). iro catalog add writes both from the manifest; needs holds only required capabilities. The Store shows what an app needs on its card and offers the catalog’s apps that provide it, each as its own request with its own sheet. The install sheet names a contract no installed app provides yet (Daily Briefing: tasks, from GitHub). The app installs anyway and gets NotBound until the provider is there. Iro never installs a dependency by itself.

Revoking a published package

A signed catalog may list revoked: [{ id, versions, reason }]. Iro reads the install’s source catalog with its update checks. A revoked version is disabled — service stopped, views closed, jobs off — its data kept, the app’s page saying why and offering an update if there is one. A catalog can turn off only versions installed from that catalog; every catalog has the same scope. Revoking only turns off, never installs or changes anything.