Implementation
How the Seed mobile app is built: architecture, tech stack, environment, every module, the services it talks to, testing, delivery and how work flows.

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

Overview

What the app is, how the layers fit, where it came from, the vocabulary, what is missing

Tech stack

Exact, Contract, tamber tokens, Hermes, the turn budget, grants, dependencies

Development environment

Setting up a machine, commands, repository layout, simulators, the web host

App structure

The root contract, navigation, deep links, the data module, shared UI, recurring patterns

Feature modules

Read, Discuss, Activity, Profile, Me, Identity, Crypto, Vault, Agents, file by file

Services the app talks to

The Seed site API, blob publishing, notify, the vault server, the agents server

Testing

Bun tests, Contract UI tests, the local test server and mocks, the real vault suite, verify

CI and delivery

GitHub Actions, the Clipper worker, TestFlight build, verification, signing, troubleshooting

How mobile work flows

From a user workflow to a tester's phone, rules for agents, review evidence

Workflow notes

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 --> W

Where to start

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.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime