Rules for agents working on the app
The standing rules an agent follows when changing Seed Exact: framework rules, ownership blocks, safety rules for keys and the vault, and delivery rules.

These rules come from the app's own instruction files, from comments in the code that record past failures, and from the mobile process. An agent changing the app follows all of them. Each rule links to the page that explains the reason.

From the app's instruction files

AGENTS.md and CLAUDE.md in the app directory carry a block generated by Exact:

    exact.mjs and the generated block are not edited by hand. bun exact.mjs update rewrites them. See Commands and verbs.

    Start from the nearest pattern (bun exact.mjs pattern) and look names up with bun exact.mjs contract vocab <name> or bun exact.mjs docs <heading>. See The Contract language.

    Run bun exact.mjs verify when features work, and verify ios at the end. See Verify and visual checks.

    Record friction with the framework: bun exact.mjs feedback note "<what happened>". This is required whenever a doc was wrong, a workaround was needed or a command confused you.

Ownership inside the app

Runtime rules

Keys and the vault

    Never infer deletion from absence. Only the explicit {removed: true} marker may become a tombstone. The three removal-marker regression tests in src/vault/__tests__/vault.test.ts stay green on every vault change. See Vault: merge and tombstones.

    Key storage fails closed. Do not add a code path that treats an unreadable key bundle as empty or overwrites it. See Identity: key storage.

    Signing code changes keep the parity vectors green, and the vendored codecs are regenerated, never edited. See Crypto: vendored CBOR and gzip codecs.

    Tests that write use synthetic accounts and local fixtures. Writes against a hosted server use only the public BIP-39 test vector key on dev.hyper.media. See Contract UI tests.

Delivery

    Work in a dedicated checkout and branch. One owner per task and checkout.

    Every pull request that changes the interface carries a playable recording or screenshot from the reviewed head. See Review evidence.

    No direct merge. A human approves the exact head, then the merge queue lands it.

    Signing material stays on the build Mac. Simulator work needs none. See Signing and credentials.

    After merge, confirm the TestFlight / Clipper status rather than assuming the build shipped. See The Clipper delivery worker.

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

Unsubscribe anytime