The whole mobile app lives in one directory, frontend/apps/mobile-exact, of the seed-hypermedia/seed repository. Contracts sit flat at its root because Exact expects app.contract, app.ts, app.json and the test files beside each other. This page says what every entry is.
The app directory
frontend/apps/mobile-exact/
app.json manifest: name, bundle id, hosts, own commands, hm:// handler
app.contract root: routes, tabs, every resource, mutation, task and action
app.ts data module entry: grants, merged sources, answer()
app.tamber brand design tokens
ui.contract shared components: Avatar, StatusLine
read.contract one contract per package: screens, components, shapes
discuss.contract
activity.contract
agents.contract
me.contract
profile.contract
vault.contract
app.test.contract Contract UI tests, one file per area (11 files)
<pkg>.test.contract activity, agents, crypto, discuss, me, profile, read, vault
open-site.test.contract
open-site-activity.test.contract
src/
read/ discuss/ activity/ agents/ me/ profile/ vault/
TypeScript per package, each with sources.ts and __tests__/
identity/ key storage library used by the others
crypto/ keys, blobs, envelopes, vault codec
vendor/ generated CBOR and gzip bundle, committed, with licenses
__tests__/fixtures/ rn-client.json parity vectors, generated, committed
tools/
test-server/ combined local test server (the `server` verb)
mock-notify/ mock-vault/ mock-agents/
crypto-vectors/ vector generator and codec vendoring script
testflight.sh testflight-verify.mjs
clipper-deploy.py install-clipper-ci.sh test_clipper_deploy.py
.tests/real-vault/ real vault compatibility harness
assets/icon-1024.png the app icon
package.json bun.lock dependencies, scripts, version 0.1.0
exact.mjs generated launcher
exact.rev the pinned Exact commit
AGENTS.md generated Exact block for agents
CLAUDE.md symlink to AGENTS.md
README.md development and TestFlight notes
DESIGN.md design principles, navigation map, tokens
.vscode/tasks.json editor tasks
.gitignoreWhat each top-level entry is
Entry | Kind | Explained in |
|---|---|---|
committed, hand-written | ||
committed, hand-written | ||
committed | ||
committed | ||
committed | ||
| committed | |
| committed | |
committed | ||
committed | ||
generated by | ||
committed, one line | ||
the block between | ||
committed. Its navigation map predates some routes, the routes in | ||
committed |
Two placement rules come from Exact. Helper scripts go in tools/ because an edit there never makes a build stale, and "nothing the app reads belongs in tools/" (start-here). The real vault harness is in a dot directory "so Exact builds the app without compiling the Playwright browser driver" (README).
Generated and ignored
From .gitignore:
Path | Contents |
|---|---|
| Types for |
| Exact's working directory: the generated native workspace, build and plan logs ( |
| Build output: |
| Release web builds from |
| Installed by |
| Local environment overrides |
| Scratch output |
!/bun.lock keeps the lockfile tracked. There is no tsconfig.json: Exact type-checks app.ts with its own configuration.
Files outside the app that matter
Path | Why it matters |
|---|---|
The only CI workflow for the app. Runs on pull requests that touch the app or the workflow, and on pushes to main that touch the app, | |
The root wrapper behind | |
| The |
Excludes the app: "Exact uses its own Bun lockfile and native toolchain." | |
The real vault server. The real-vault suite starts it, and a change there triggers the app's workflow on main. See Vault server | |
| The original implementations that |
The Exact checkout, default | The framework itself, outside the repository |
On the delivery Mac, the worker keeps private checkouts under ~/.local/share/seed-exact-ci/, see The Clipper delivery worker.
User stories
The code described here exists to deliver these stories. Each story lists this page in its Trace (traceability).
US-TEAM-03 Set up a machine and run the app: The annotated tree of the app directory and what is generated or ignored
US-TEAM-04 Understand how the app is built: Where everything lives in the app directory
Do you like what you are reading? Subscribe to receive updates.
Unsubscribe anytime