This section describes the implementation of the Seed mobile app, Seed Exact, down to individual source modules. It is written against seed-hypermedia/seed main at 40290d59c and Exact at 94b8671f7. It sits beside User Workflows, which say what people want to do, and Design, which says how the app should behave.
The app in one paragraph
Seed Exact is a native iOS app in frontend/apps/mobile-exact. Its interface is written in Contract and drawn as UIKit by the Exact framework. Its data logic is TypeScript that runs on Hermes under a list of grants and a 100 ms turn budget. It has no local Seed daemon: it reads from a Seed site, signs blobs with keys kept in the Keychain by identity, and publishes them over HTTP. Every tested change on main that touches the app is built on Clipper and uploaded to TestFlight.
Map
Section | Read it to learn |
|---|---|
What the app is, how the layers fit, where it came from, the vocabulary, what is missing | |
Exact, Contract, tamber tokens, Hermes, the turn budget, grants, dependencies | |
Setting up a machine, commands, repository layout, simulators, the web host | |
The root contract, navigation, deep links, the data module, shared UI, recurring patterns | |
Read, Discuss, Activity, Profile, Me, Identity, Crypto, Vault, Agents, file by file | |
The Seed site API, blob publishing, notify, the vault server, the agents server | |
Bun tests, Contract UI tests, the local test server and mocks, the real vault suite, verify | |
GitHub Actions, the Clipper worker, TestFlight build, verification, signing, troubleshooting | |
From a user workflow to a tester's phone, rules for agents, review evidence | |
One implementation and evidence note per delivered workflow |
flowchart TB
I[Implementation] --> O[Overview]
I --> T[Tech stack]
I --> E[Development environment]
I --> A[App structure]
I --> M[Feature modules]
I --> S[Services]
I --> Q[Testing]
I --> D[CI and delivery]
I --> P[How mobile work flows]
I --> W[Workflow notes]
A --> M
M --> S
T --> A
Q --> D
P --> WWhere to start
New to the app: Architecture at a glance, then Setting up a machine, then The root contract.
Changing a screen: Navigation and routes, the module's screens page under Feature modules, then Contract UI tests.
Changing data or network code: The data module, the module page, The 100 ms turn budget, then Bun unit tests.
Touching keys or the vault: Identity: key storage, Vault: merge and tombstones, Real vault compatibility suite.
Shipping: From user workflow to TestFlight and Review evidence.
Keeping this section true
Each page names the files it describes and links their lines at a commit. When code changes, update the page in the same piece of work and move the links to the new commit.
Put a new page under the section it belongs to and add its embed card to that section's page. A page without a card in its parent is not in the navigation.
Per-workflow notes follow the rules in Workflow notes.
In this section
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime