Skip to content

Latest commit

 

History

History
107 lines (85 loc) · 6.96 KB

README.md

File metadata and controls

107 lines (85 loc) · 6.96 KB

Automatos Go technical docs

For engineers working on the app, and for operators who run their own Automatos server and want to connect phones to it. Help for people who use the app is in user/.

State on 24 Oct 2026. main is at f432b3f. Each page says what is on main and what is still on a branch, using these labels:

Label Meaning
On main Merged, in the build or the next over-the-air update
On branch Built on a feature branch, not merged
Kit only No code yet; the wave's kit JSON is the contract
Gated On main, but shown only when the server lists a capability

Pages

architecture.md. How the app is put together. The layers: app/ screens, the gate in src/app-state/, the sign-in providers in src/auth/ (Clerk for hosted, a device token for an own server), the one API client in src/api/ with its error kinds, the code vendored from automatos-ai into src/core/, the feature modules, navigation, storage and the keychain. Also how the app talks to automatos-ai: discovery, capabilities, the workspace bootstrap and the live event stream.

connecting.md. Hosted sign-in, and pairing a phone with a server you run. Discovery, the pairing flow step by step with its routes, the address rules (https, home-network http, Tailscale), and the security model: the one-time 10-minute code, the per-IP rate limit, the device token in the keychain, rotation, revoke and the reinstall wipe. Lists what the operator sets on the server.

styles-and-themes.md. The phone's side of styles and themes: the five styles (Studio, Play, HUD, Arcade and Candy) and their layouts, "Same as Studio", how an active Studio theme maps to a phone style, installed themes painting the Studio layout, looks kept in step with the web, what Arcade and Candy take from the design kit, which theme files the phone downloads, and the routes. On main. The theme contract itself is in automatos-ai's Themes docs.

push.md. Notifications: what triggers a push on the server, how the phone registers and checks each push's signature, the notification buttons, Face ID before approving, the notification settings, links into the app, and what the operator sets. On branch (A4 in this repo); the server side, W2, merged into automatos-ai main on 24 Oct (#1300).

voice.md. Talking to Auto: quick-ask (hold to talk, recognition on the phone in its own language and, on iPhone, by Apple for another chosen language without its dictation model, the reply spoken by the phone or by Auto's server voice, the AI notice once per voice session), the languages (English and Portuguese (Brazil), with a one-tap EN/PT switch) and, later, Auto Live through Retell. Quick-ask, the server voice and the languages are on main; Auto Live is not built.

proactive-auto.md. PRD-268 on the phone: the daily brief, suggestions, the approval sheet, "What Auto depends on" and the status vocabulary. The modules, capability gates, routes, view models per layout, how push taps route, and the tests that pin each. All on main. The people-facing version is user/proactive-auto.md.

release.md. How a merge reaches phones. GitHub CI checks; EAS Workflows ship. testflight.yml takes the fingerprint and either publishes an over-the-air update or builds iOS and sends it to TestFlight; pr-check.yml says on each PR which it will be. Also the manual run while the repository is not linked on expo.dev, the traps and the plan limits.

native-modules.md. Every native module in the build, why it is there, its config plugin, the usage strings Apple requires, the privacy manifest, App Transport Security, Android permissions, associated domains and background modes. Read it before adding a native dependency: a native change costs a build.

product-apps.md. Building a product app from this template: an app a product ships to its own customers, with its own server between it and Automatos. The shapes a product can take, the rules, consent, a turn, memory, erase and limits, what every product shares and what each decides, what to keep and remove when copying this repository, and what automatos-ai provides. Proposed on 15 Nov 2026; no product is built on it yet.

app-standard.md. The app standard: how an Automatos phone app is designed and built, as numbered rules taken from this app. Tokens, type, the primitives, the screen, the two shells, states, first run, settings, the AI label, accessibility, words, motion, code, release and the design handoff, each rule marked Must, Shaped or Own, with the file that does it and the test that holds it. Every app built from this template follows it and records where it differs. app-standard-record.md is the tracking: the decisions, where each app stands and what this template still owes.

prd/PRD-001-AUTOMATOS-GO-V1.md. The plan for v1: scope, decisions, waves and stories. Where it and the code differ, the code is right. Known differences:

  • §4.5: a QR scanned with the iPhone Camera app opens the server's web page, not the app. Scan from inside Automatos Go.
  • §4.6: HUD looks are kept in step with the web, not only on the phone, and the default is "Same as Studio", not Studio.
  • §4.8: notification categories are automatos.question.0–3 with Reply… and Open only.
  • §4.9: the AI notice in voice is given once per voice session, not every ten minutes.

Server side (automatos-ai)

For people who use the app

user/_index.md: what each screen does and how to use it, one page per feature.

In this repository

  • README.md: stack, commands, environment, CI and release, human steps.
  • CLAUDE.md: the working rules, layout, traps and terms.