Repository layout
An annotated tree of frontend/apps/mobile-exact, which files are committed, generated or ignored, and the files outside the app directory that matter to it.

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 .gitignore

What each top-level entry is

Entry

Kind

Explained in

app.contract

committed, hand-written

The root contract

app.ts

committed, hand-written

The data module

app.json

committed

Navigation and routes, Deep links and URL handling

app.tamber

committed

Tamber design tokens

ui.contract

committed

Shared components and visual design

<pkg>.contract, src/<pkg>/

committed

Feature modules, Package conventions and ownership blocks

*.test.contract

committed

Contract UI tests

tools/

committed

The local test server, CI and delivery

.tests/real-vault/

committed

Real vault compatibility suite

exact.mjs

generated by exact new, rewritten by bun exact.mjs update, committed. "Generated, so don't edit"

Commands and verbs

exact.rev

committed, one line

The Exact framework

AGENTS.md

the block between exact:begin and exact:end is generated

Rules for agents working on the app

DESIGN.md

committed. Its navigation map predates some routes, the routes in app.contract are the truth

Shared components and visual design

package.json, bun.lock

committed

Dependencies

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

Path

Contents

/app.contract.d.ts

Types for Sources, Answer and each shape, written by contract build or contract types. app.ts imports it (app.ts L4)

/.exact/

Exact's working directory: the generated native workspace, build and plan logs (ios-build.log, ios-plan.log), verify/ screenshots, the command log, the feedback diary, appdrop.json, and real-vault/ evidence

/target/

Build output: web-dist from web-build, native artifacts, and testflight/<build> archives and logs on the delivery worker

/dist/, /dist.*, /dist-windows/

Release web builds from bun run build

/node_modules/

Installed by bun install --frozen-lockfile

/.env.local

Local environment overrides

tools/real-vault/.scratch/, __pycache__/

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

.github/workflows/seed-exact.yml

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, vault/** or the workflow. See GitHub Actions workflow

scripts/mobile

The root wrapper behind pnpm mobile*

package.json (root)

The mobile* scripts

pnpm-workspace.yaml

Excludes the app: "Exact uses its own Bun lockfile and native toolchain."

vault/

The real vault server. The real-vault suite starts it, and a change there triggers the app's workflow on main. See Vault server

frontend/packages/client, frontend/packages/shared, frontend/packages/ui/src/agents, agents/protocol

The original implementations that generate.ts copies to produce parity vectors. The app never imports them at run time

The Exact checkout, default ../exact beside the repository

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.

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

Unsubscribe anytime

Attributes
name
Repository layout
summary
An annotated tree of frontend/apps/mobile-exact, which files are committed, generated or ignored, and the files outside the app directory that matter to it.