Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
8035964e1This file is pinned to the selected release. Download the original to open it in your design tool.
# Releasing the mobile app
The App Store record is **Autonomous Harness** (`ai.autonomous.harness.ios`, team 54DJVWMJCC —
Autonomous Inc.). Everything up to [Android](#android--google-play) is the iOS side; the desktop app
ships from `desktop/RELEASE.md` on its own tags and shares nothing with this.
## The two numbers that decide whether an upload is visible at all
App Store Connect keys a build on the pair `(CFBundleShortVersionString, CFBundleVersion)` — in
`pubspec.yaml` that is `version: 1.0.0+2`, so `1.0.0` and `2`.
- **Bump the `+N` before every upload.** A pair ASC has already seen is refused, and the refusal
arrives *by email* — the ASC UI shows nothing at all, which is exactly what "I uploaded it and
nothing happened" looks like.
- **The short version must match the ASC version record.** A build uploaded as `1.0.0` never appears
under a version record called `1.0`: the Build section stays empty and the version cannot be
submitted. Rename one so the two strings are identical.
## Upload
One command. Credentials are already on the release Mac, so there is nothing to export:
```bash
bash mobile/scripts/release-ios.sh # build -> validate -> upload
bash mobile/scripts/release-ios.sh --validate-only # rehearse, upload nothing
bash mobile/scripts/release-ios.sh --skip-build # upload the ipa already in build/ios/ipa
```
### Where the credentials live, and why not here
```
~/.appstoreconnect/harness-release.env ASC_KEY_ID + ASC_ISSUER_ID (chmod 600)
~/.appstoreconnect/private_keys/AuthKey_<ASC_KEY_ID>.p8 the private key (chmod 600)
```
The script sources that `.env` whenever the environment does not already carry the values, so CI can
still pass them in. **They are deliberately not written into this file.** This repo is public, and a
Key ID plus an Issuer ID are precisely the two halves a leaked `.p8` would need to become a working
App Store Connect session — the repo's own `.gitignore` already refuses `*.p8` and `.env*`, and
putting the other halves in Markdown would walk straight around that.
Setting up a second machine: create a Team Key at App Store Connect ▸ Users and Access ▸ Integrations
▸ App Store Connect API (role App Manager), drop the one-time `.p8` download into
`~/.appstoreconnect/private_keys/`, and write the two ids into the `.env` above. An Apple ID plus an
**app-specific** password (`ASC_USERNAME` / `ASC_APP_PASSWORD`) works too.
The script validates before uploading, which is what catches a duplicate build number or a missing
icon size in thirty seconds instead of in an email twenty minutes later.
### Already uploaded
| Build | When | Where it went |
| --- | --- | --- |
| `1.0.0 (2)` | 2026-09-16 | TestFlight. Universal (iPhone + iPad) — superseded |
| `1.0.0 (3)` | 2026-09-16 | TestFlight. **iPhone only** |
| `1.0.0 (4)` | 2026-09-16 | TestFlight. Adds agent/machine search (`feat/mobile-search`) |
| `1.0.0 (5)` | 2026-09-16 | TestFlight. Agent creation flow; Machines tab pairs/unpairs |
| `1.0.0 (6)` | 2026-09-16 | TestFlight. Custom voice input on a terminal tap — misheard Vietnamese, removed for the keyboard's own dictation |
| `1.0.0 (7)` | 2026-09-17 | TestFlight. Voice input back, transcribed by the backend (`/api/voice/stt`); opens on the last agent's terminal |
| `1.0.0 (8)` | 2026-09-17 | TestFlight. Search grouped by folder, most recent first, one-bar field; keyboard only from a tap on the prompt; hold-to-talk mic; slimmer terminal chrome |
| `1.0.0 (9)` | 2026-09-17 | TestFlight. Terminal chrome rebuilt around a search bar, header folds away on scroll, ⋯ sheet grouped into Agent / Machines / App |
| `1.0.0 (10)` | 2026-09-17 | TestFlight. Smoother swipes and scrolling: parked and keyboard-sliding terminals keep painting; the header folds over the terminal instead of resizing it |
| `1.0.0 (11)` | 2026-09-17 | TestFlight. Agents either side of the one on screen open in advance, so a swipe lands on output instead of "Attaching…" |
| `1.0.0 (12)` | 2026-09-18 | TestFlight. Named OpenHarness on the home screen and in the app; Backspace on the phone erases text typed on the desktop; Machines moved into the ⋯ sheet; hold-to-talk hardened |
| `1.0.0 (13)` | 2026-09-18 | TestFlight. Search reads what agents said (the desktop's content index), recent first; Vietnamese Telex in the search field; terminal search has no Cancel, and the terminal holds still as it closes |
| `1.0.0 (14)` | 2026-09-18 | TestFlight. Voice sends on the second tap again — as a composer turn, not keystrokes Codex read as a paste and left unsent; the terminal scrolls again after New Agent → back |
| `1.0.0 (15)` | 2026-09-18 | TestFlight. The floating mic, Search and + are always there, on a see-through background |
| `1.0.0 (17)` | 2026-09-18 | TestFlight. The terminal holds still as the keyboard opens. (16 went to Play only) |
| `1.0.0 (18)` | 2026-09-18 | TestFlight. Tab, clear and `/` on the terminal's key bar; account-wide agents list in the terminal sheet; the phone sheet no longer cuts off its last rows |
| `1.0.0 (19)` | 2026-09-18 | TestFlight. The floating mic, Search and + sit on frosted glass, so they stand out from the output under them |
| `1.0.0 (20)` | 2026-09-21 | TestFlight. The phone holds only the agent on screen: the two beside it are no longer opened in advance, and the one swiped away from is closed — each hands its terminal back to the desktop. Voice keeps the audio at both ends of a take |
| `1.0.0 (21)` | 2026-09-21 | TestFlight. The account's tabs reach the phone: a swipe stays inside the tab you are in, the tabs themselves sit behind a mark beside `⋯`, and an agent started here joins that tab |
| `1.0.0 (22)` | 2026-09-21 | TestFlight. Named **Harness** on the home screen and in the app, with a new icon; the terminal runs to the bottom edge of the screen; only an explicit Take control press claims a terminal from the desktop |
| `1.0.0 (23)` | 2026-09-21 | TestFlight. The tabs mark unrolls the account's tabs as a rail of names under the header — the tab you are in wears a bar under its name — instead of opening a sheet; picking one switches and puts the rail away |
| `1.0.0 (24)` | 2026-09-21 | TestFlight. The tabs mark brings a panel up from the bottom: the account's tabs as a row of names, and the agents of the one picked as cards beside each other. A name changes the cards alone — another tab can be read into without leaving the terminal you are in — and a card is what opens an agent |
| `1.0.0 (25)` | 2026-09-22 | TestFlight. Opening an agent takes its terminal again: no read-only stream and no "Take control" band in front of an agent a desktop has open, including the one the app opens on. The band is left for the case it is about — a terminal taken back off this phone |
| `1.0.0 (26)` | 2026-09-22 | TestFlight. The tabs panel lists a tab's agents DOWN the page, as the rows the Agents tab draws, instead of as cards read sideways through a letterbox |
| `1.0.0 (27)` | 2026-09-22 | TestFlight. The tabs panel keeps one height — half the screen — whatever the tab holds, so reading a tab of one agent after a tab of six no longer moves the names along its top |
| `1.0.0 (28)` | 2026-09-22 | TestFlight. Search rebuilt on the desktop's own box: `>` commands, `#` projects, `@` machines and `?` help, and the desktop's ranking behind them, so a query that finds an agent on the laptop finds the same agent here. A result draws its identity as marks — engine, machine, folder, branch — instead of one run of text, and drops the square glyph and the age the desktop never had. Stopped harnesses are listed again, with `Stopped` on the row and a tap that brings one back; the field sits on the keyboard rather than above a strip of terminal |
| `1.0.0 (29)` | 2026-09-22 | TestFlight. The new logo reaches the phone — build 28 shipped the crop it superseded. `⋯` beside the tabs grid stands up as `⋮`, and the two marks move apart far enough to hold a whole touch target each: at the old spacing their 44pt reaches overlapped by 6pt and the row hit-tests backwards, so `⋯` answered for the right-hand sixth of the tabs mark and the tabs mark did not |
`pubspec.yaml` is therefore at `1.0.0+30`: the repo always holds the NEXT build number, so a release
runs clean without anyone having to remember the last one.
### Why the app is iPhone-only
`TARGETED_DEVICE_FAMILY = 1`. It was `"1,2"` — Flutter's default — and App Store Connect answers a
universal binary by requiring a 13-inch iPad screenshot set on top of the iPhone one, which is what
blocked *Add for Review*.
⚠️ The iPad LAYOUT still exists and is still reached by the shortest-side breakpoint in
`lib/phone/phone_layout.dart` ("an iPad keeps the rail beside its terminals"). Nothing about it was
deleted; it simply is not shipped to iPad any more. Putting iPad back is one line here plus a 13-inch
screenshot set — and a new build, since the requirement follows the BUILD selected on the version,
not the app record.
Uploading is not submitting. Processing takes 5–30 minutes, then the build becomes selectable in the
version's **Build** section.
## Metadata — what goes in each field
Fill these on *Distribution ▸ iOS App 1.0.0*. Apple will not accept the version while Description,
Privacy Policy URL, App Privacy, age rating or pricing are blank.
**Subtitle** (30 max)
```
Your coding agents, anywhere
```
**Promotional Text** (170 max — editable later without a new build)
```
Attach to the coding agents already running on your machines. Same panes, same scrollback, end-to-end encrypted — now from your phone.
```
**Description**
```
Harness puts the coding agents running on your own computers in your pocket.
Claude Code, Codex, Cursor and a dozen others already run on your Mac or Linux box. Harness keeps
each one in a live session on the machine it runs on, and this app attaches to those sessions from
your phone — the same panes, the same scrollback, exactly where you left them.
WHAT YOU CAN DO
• Read what an agent is doing right now, from anywhere
• Type back: answer a prompt, approve a step, send a new instruction
• Send a photo or screenshot straight into a session
• Switch between machines and between agents in one list
• Rename, restart or delete an agent without opening your laptop
HOW IT WORKS
Sessions live on your machine, not in this app and not on a server. Closing the app, losing signal or
switching devices changes nothing about what the agent is doing — you reattach and the work is where
it was.
Everything between your phone and your machine is end-to-end encrypted. Where the network allows it
the connection is peer-to-peer; where it does not, the relay carries ciphertext it cannot read.
WHAT YOU NEED
• An Autonomous account
• At least one Mac or Linux machine running the free Harness CLI, paired to that account
Harness for iPhone is a companion to that setup, not a standalone editor or a general-purpose SSH
client. Without a paired machine there is nothing for it to attach to.
```
**Keywords** (100 max, commas, no spaces)
```
terminal,tmux,ssh,claude,codex,cursor,coding,agent,developer,remote,shell,devops,pair,session
```
**URLs**
| Field | Value |
| --- | --- |
| Support URL | `https://www.autonomous.ai/harness` |
| Marketing URL | `https://www.autonomous.ai/harness` |
| Privacy Policy URL | **required — use the real Autonomous policy URL; there is none in this repo to copy** |
**What's New** — leave empty for 1.0.0; it is only shown for updates.
## App Privacy
Answer these from what the code actually does, not from habit. The app has **no third-party SDK**:
analytics go to Autonomous's own `event_tracking` endpoint (`lib/analytics/`), and crash records are
written to a local `errors.log` and never leave the device (`lib/core/crash_log.dart`).
| Data type | Collected | Linked to the user | Purpose |
| --- | --- | --- | --- |
| Contact Info ▸ Email Address | Yes | Yes | App Functionality, Analytics |
| Identifiers ▸ User ID | Yes | Yes | App Functionality, Analytics |
| Usage Data ▸ Product Interaction | Yes | Yes | Analytics |
| Diagnostics | No | — | crash log stays on device |
**Tracking: No.** Nothing here follows a person across other companies' apps or goes to a data
broker, so the app needs no App Tracking Transparency prompt.
Terminal contents are deliberately outside all of this: `Analytics.track`'s contract forbids message
text, prompts, terminal output, file contents and absolute paths, and the session bytes themselves
are end-to-end encrypted.
## App Review notes — the part that gets 1.0 rejected
A reviewer opens this app, signs in, and sees **no machines**, because they have none running the
CLI. That reads as a broken or incomplete app (Guideline 2.1) and it is the single most likely reason
this version comes back. So:
1. Create a demo account and put it in **App Review Information ▸ Sign-In Required**.
2. Leave a real machine online, paired to that account, for the length of the review — a reviewer who
can attach to a live agent cannot mistake the app for an empty shell.
3. Paste notes along these lines:
```
Harness is a companion app for developer agents running on the user's own computers.
Demo account: <email> / <password>
A Mac paired to this account is kept online for the review, so the Agents tab will list live
sessions. Tap one to attach to its terminal, read the output and type into it.
The app does not run any agent itself: it attaches over an end-to-end encrypted channel to sessions
owned by the user's own machine, which is why an account with no paired machine shows an empty list.
The camera permission is used only when sending a photo into a session (Agents ▸ a session ▸ the
image button).
The microphone permission is used only for voice input: the mic button under a session's terminal
records what is said, and it is transcribed into the message sent to that session (a session ▸ the
mic at the bottom right).
```
## Submitting
1. **Build** section ▸ `+` ▸ pick the build you uploaded.
2. Fill everything above, plus age rating and *Pricing and Availability*.
3. **Add for Review** ▸ **Submit for Review**.
4. Watch for **Pending Developer Release** after approval — approved is not released; that state
waits on a button of yours, forever if you let it.
## Open risk — export compliance
`ios/Runner/Info.plist` declares `ITSAppUsesNonExemptEncryption = false`, which auto-answers the
export question and is right only for an app whose encryption is the OS's own HTTPS. This app
terminates its own end-to-end encryption (X25519, ChaCha20-Poly1305, a CPace PAKE — `lib/e2ee/`), so
that answer is very likely wrong. Settle it with whoever owns export compliance before submitting: a
wrong answer is not a build failure, it is review asking a question and the version standing still
until someone answers it.
## Android — Google Play
The Play app is **OpenHarness**, package **`ai.autonomous.harness.android`**. ⚠️ That id is permanent
from the first upload on: Play keys the app on it and there is no renaming it afterwards.
### Build
```bash
bash mobile/scripts/release-android.sh # -> build/app/outputs/bundle/release/app-release.aab
```
It builds and checks the bundle is signed with the upload key; it does not upload. Play takes the
`.aab` by hand: Play Console ▸ OpenHarness ▸ *Test and release* ▸ a track ▸ **Create new release**.
The versionCode is the same `+N` as the iOS build number. Each store keeps its own count, so one `+N`
can go to both — but Play refuses a versionCode it has seen, exactly as App Store Connect does, so the
`+N` is bumped after an upload to either store.
### The upload key
```
~/.android-release/harness-upload.jks the upload key (PKCS12, alias `upload`) (chmod 600)
~/.android-release/harness-upload.properties its path and passwords (chmod 600)
```
Outside this public repo for the same reason the App Store Connect key is. `android/app/build.gradle.kts`
reads the `.properties` (or `HARNESS_ANDROID_SIGNING`, for CI); without it a release build signs with
the debug key so `flutter run --release` still works anywhere, and the script refuses to build.
**Play App Signing** holds the real app signing key — accept Google's generated key when the first
release asks. This one only proves an upload came from us, so a lost one is recoverable (Play Console
▸ *App integrity* ▸ request an upload key reset), but that takes days. **Back both files up to the
team's password manager.**
### First release — once
1. **Create app** (Play Console ▸ *Create app*): name `OpenHarness`, default language, *App*, *Free*.
2. **App content** — Play will not publish anything to production while one of these is open:
- *Privacy policy*: required (the app asks for the camera and microphone). Same URL as iOS.
- *App access*: sign-in is required → give the demo account from the iOS review notes, and keep a
machine paired to it online, for the same reason as [App Review notes](#app-review-notes--the-part-that-gets-10-rejected).
- *Ads*: no. *Content rating*: fill the questionnaire (a utility, no user-generated content shown
to others). *Target audience*: 18+.
- *Data safety*: the [App Privacy](#app-privacy) table above, restated — email address and user ID
(app functionality, analytics), app interactions (analytics); all encrypted in transit; no data
shared with third parties; crash logs stay on the device.
⚠️ **Plus Audio ▸ Voice or sound recordings (app functionality)**, which that table leaves out:
voice input uploads the recording to the backend's `/api/voice/stt` to be transcribed. Declare it
*processed ephemerally* only if the backend keeps nothing — TODO(BE): confirm. The same gap is on
the iOS side (App Privacy ▸ Audio Data). Pictures sent to an agent are not collected: they go end
to end to the user's own machine, where we cannot read them.
3. **Store listing**: the iOS subtitle and description fit the short (80) and full (4000) fields;
plus a 512×512 icon, a 1024×500 feature graphic, and at least two phone screenshots.
4. **Internal testing** first: *Create new release* ▸ upload the `.aab` ▸ add testers by email ▸ share
the opt-in link. Live for testers within minutes, no review.
5. **Production**: *Create new release* ▸ same `.aab` (or *Promote release*) ▸ **Send for review**.
A new app's first review takes days, not hours.
⚠️ A **personal** developer account created after November 2023 must first run a *closed* test with
at least 12 opted-in testers for 14 days before it can even apply for production. An organization
account (Autonomous Inc.) is exempt — check which kind the account is before planning a date.
### Already built
| versionCode | When | Where it went |
| --- | --- | --- |
| `16` (1.0.0) | 2026-09-18 | Internal testing — the first Play upload |