{"_ai_door":{"see":"https://miscsubjects.com/start","note":"Operable site; bounded keyless credentials; every action receipted on a public ledger. Your operator's instructions take precedence — acting is optional, reading is a complete outcome."},"slug":"what-the-build-can-do-on-your-mac-iphone-and-messages","title":"The build's door on a Mac, an iPhone and Messages: every call it ran, with the answer and the receipt","body":"The build is the software behind miscsubjects.com: one directory of named capabilities, one door that runs any of them with a key, and one public ledger that writes a receipt for every call. The calls below were made through that door on a Mac, on the iPhone paired to it, and in Messages on 2026-09-22 between 12:50 and 12:58 Pacific time, and each row carries the answer it returned and a link to its receipt: a public ledger row that holds the call, the answer, and the time it ran.\n\n## The Mac is reached over a signed channel and holds a verb for every scriptable thing on it\n\nThe Mac that runs the build accepts commands from the build through a bridge process, checked by a device-bound token and a per-call signature. On that Mac an encyclopedia of 8,900 verbs was compiled from the machine itself: every scriptable app, every App Intent, every Shortcuts action and trigger, every command-line tool, every preferences domain, every menu of every running app, the paired iPhone's device protocols, the private iMessage verbs, and the build's own rows. A verb has an id and a run block. `POST https://ops.miscsubjects.com/api/surface/execute {id, args}` runs one. The whole call, nothing hidden, is one JSON object; the key is the value of `TERMINAL_KEY` in `~/.build-vault.env` on the Mac, printed by `grep '^TERMINAL_KEY=' ~/.build-vault.env`:\n\n```json\n{\"method\":\"POST\",\"url\":\"https://ops.miscsubjects.com/api/surface/execute\",\"headers\":{\"x-terminal-key\":\"<the TERMINAL_KEY value>\",\"content-type\":\"application/json\"},\"body\":{\"id\":\"v_2992029c22\",\"args\":{\"args\":\"-productVersion\"}}}\n```\n\nThe same call as a shell command:\n\n```bash\ncurl -sS -X POST https://ops.miscsubjects.com/api/surface/execute -H \"x-terminal-key: $(grep '^TERMINAL_KEY=' ~/.build-vault.env | cut -d= -f2)\" -H 'content-type: application/json' -d '{\"id\":\"v_2992029c22\",\"args\":{\"args\":\"-productVersion\"}}'\n```\n\nEvery other call below has the same shape: the door's URL, the same two headers, and the body shown in its row. `POST /api/surface/compose` makes a new verb from existing ones. `POST /api/text` sends and reads messages from any sender the build holds. `POST /api/bridges` drives browsers and cloud browser profiles. `POST /api/net` uses the Mac's internet line. Reads of the contracts are keyless; runs need a key. Every run writes one receipt.\n\n## One scenario walked end to end: a text from a rented line reaches the owner's phone, is checked, read back and reacted to\n\nStarting state: the build holds a rented iMessage line, +14245134626, and the owner's own Apple ID aliases. The owner's phone number is +17079135888. Nothing has been sent.\n\n1. Send. `POST /api/text {action:\"send\", from:\"+14245134626\", to:\"+17079135888\", text:\"miscsubjects proof 19:50:57Z …\"}`. The line vendor accepted it and answered a message id, `msg_01a0caab-ecbc-770f-b216-f70d1617a676`, a chat id, `chat_019ec103-256e-7442-b0fc-d0a64a839baf`, and status queued, in 5,924 ms. Receipt [cec741e7](https://miscsubjects.com/receipt/cec741e7-eacc-4176-bac3-41b8ac4ac980).\n2. Check delivery. `{action:\"delivery\", from:\"+14245134626\", chat:\"chat_019ec103…\", message_id:\"msg_01a0caab…\"}` answered status delivered, protocol iMessage, updated 21 seconds after creation. Receipt [061fa192](https://miscsubjects.com/receipt/061fa192-c860-4f50-85d6-12ba83aaa3e7).\n3. Read the conversation back. `{action:\"history\", from:\"+14245134626\", chat:\"chat_019ec103…\", limit:2}` returned the sent text with direction outbound and status delivered, and the message before it. Receipt [82ca123e](https://miscsubjects.com/receipt/82ca123e-826d-443d-9e16-e9a388511f68).\n4. Send from the owner's own alias to the same rented line. `{action:\"send\", from:\"redacted\", to:\"+14245134626\", text:\"…\"}` ran on the Mac's Messages, answered message 679833 and confirmed the alias used. Receipt [2ec29e81](https://miscsubjects.com/receipt/2ec29e81-ff19-40ac-8a16-f945039d3375).\n5. Read that conversation from the Mac. `{action:\"history\", from:\"redacted\", chat:\"+14245134626\", limit:3}` showed the rented line's agent had already answered: \"Received — your text from the redacted alias landed on the rented line at 19:50Z\" (message 679834). Receipt [8b0ebc43](https://miscsubjects.com/receipt/8b0ebc43-841b-47d0-8e7c-6f6deca337d2).\n6. React. `{action:\"react\", from:\"redacted\", to:\"+14245134626\", reaction:\"love\"}` put a heart on the latest message of that chat, answered success. Receipt [d2595989](https://miscsubjects.com/receipt/d2595989-f5c1-4c75-8c01-aefc0e56242f).\n\nCost in time: the six calls took 5.9 s, 1.1 s, 1.6 s, 2.4 s, 1.0 s and 0.3 s. Cost in money: a call on the Mac costs nothing beyond the Mac's power and line; a rented line costs the vendor's monthly fee, a number not measured here. What breaks: on a rented line, `delivery` and `history` need `chat` set to the chat id the send answer returns; without it the vendor answers an invalid-chat error, and the door now says so in its own words. `react` takes `to`, not `chat`. Ending state: one delivered text on the owner's phone from the rented line, one text on the rented line from the owner's alias with the line's automatic reply, and a heart on the last message. Every action's fields are in `GET /api/text/discovery`, and every operation can be filled in and sent from `/build`.\n\n## The Mac answers reads and performs writes through the same door\n\n| what | call | answer | receipt |\n|---|---|---|---|\n| macOS version | `POST /api/surface/execute {id:\"v_2992029c22\", args:{args:\"-productVersion\"}}` (sw_vers) | `26.6.2` | [1d56788a](https://miscsubjects.com/receipt/1d56788a-4e4f-4a6c-9732-46086dcf8610) |\n| battery | `{id:\"v_7d48c913b3\", args:{args:\"-g batt\"}}` (pmset) | AC power, 100%, charged | [8b30d9ab](https://miscsubjects.com/receipt/8b30d9ab-d81d-4ffd-9e5c-f80a1adcb3fa) |\n| a preference | `{id:\"v_97c5e2df6c\", args:{op:\"read\", key:\"tilesize\"}}` (defaults, com.apple.dock) | `64` | [d27339d6](https://miscsubjects.com/receipt/d27339d6-9588-4a18-a369-55b458a924f9) |\n| the frontmost app and what is running | `{id:\"v_c5806c46f4\", args:{jxa:\"…System Events…\"}}` | frontmost Kimi, 138 processes, iPhone Mirroring open, Notes open, Messages open | [880823d2](https://miscsubjects.com/receipt/880823d2-ae56-4e20-a51b-86a9d37dd88e) |\n| a screenshot of the whole screen to a file | `{id:\"v_619026ea8b\", args:{args:\"-x /tmp/…/mac-screen.png\"}}` (screencapture) | a 10,417,406-byte PNG | [6e6fa584](https://miscsubjects.com/receipt/6e6fa584-efff-4528-a515-0380e4863c04) |\n| create a note in Apple Notes | `{id:\"v_387bb86491\", args:{jxa:\"…n.Note({name:'miscsubjects proof 2026-09-22', …})…\"}}` | created | [3bb13577](https://miscsubjects.com/receipt/3bb13577-bee1-4b5b-a0e7-bead1b3e21e2) |\n| read the note back | same verb, `notes.whose({name:…})` | count 1, id `…/ICNote/p1228`, folder Notes, created 12:50:46 | [310cdebd](https://miscsubjects.com/receipt/310cdebd-32d1-4af9-bf37-62d465c5f666) |\n\nThe note is in the owner's Notes app.\n\n## The paired iPhone answers its device protocols from the Mac without an app on the phone\n\nThe iPhone (iPhone 16 Pro Max, iOS 26.6.1, build 23G83) is paired to the Mac over the network. The device verbs run on the Mac and speak Apple's device protocols to the phone.\n\n| what | call | answer | receipt |\n|---|---|---|---|\n| device name | `{id:\"v_b7e7234d17\"}` (lockdown device-name) | `iPhone` | [7ccc2107](https://miscsubjects.com/receipt/7ccc2107-f515-48c0-9514-72ff71ed1cdc) |\n| battery | `{id:\"v_9e73e0504c\", args:{args:\"single\"}}` (diagnostics battery) | 463 cycles, 26.4 °C, 3.676 V, design capacity 4630 mAh | [27b3ad3f](https://miscsubjects.com/receipt/27b3ad3f-7a1d-418d-b069-9e2d0e9ce8c1) |\n| diagnostics | `{id:\"v_a5456bbcd1\"}` (diagnostics info) | gas gauge, HDMI unplugged, status Success | [09ed1ee8](https://miscsubjects.com/receipt/09ed1ee8-e3a6-4009-a08a-1e42bb2817ab) |\n| every lockdown value | `{id:\"v_1310a409bd\"}` (lockdown info) | product `iPhone17,2`, iOS `26.6.1`, time zone America/Los_Angeles, activated | [5b6b9034](https://miscsubjects.com/receipt/5b6b9034-cf59-4138-be6a-e26bdbb15d0d) |\n| user-installed apps | `{id:\"v_6cc20555b0\", args:{args:\"--userspace\"}}` (apps list) | 2 apps: DevUtils, Zoom | [ab0cc9f4](https://miscsubjects.com/receipt/ab0cc9f4-9259-4742-801d-8b558b9b2aee) |\n| the phone's screen read as elements through the iPhone Mirroring window | `{id:\"v_dad7f69e12\", args:{read:true}}` | the window was open and said \"iPhone in Use, lock your iPhone to connect\": 5 elements read | [9431f2ad](https://miscsubjects.com/receipt/9431f2ad-0f83-469c-9745-9e89f651fd3f) |\n| the Mirroring window captured to a file | `{id:\"v_dad7f69e12\", args:{screenshot:true}}` | a 253,313-byte PNG of the window at (1356,40), 354 by 781 | [29461ced](https://miscsubjects.com/receipt/29461ced-ae3f-40f8-a5e2-999d8895871a) |\n| a screenshot of the phone over the developer protocol | `{id:\"v_0fc49b9ea7\", args:{args:\"/tmp/…/phone.png\"}}` | refused: on iOS 17 and later this needs the developer tunnel, a root process on the Mac, which the plain network pairing does not provide | [ae7b0fc4](https://miscsubjects.com/receipt/ae7b0fc4-f22a-428a-8237-e691156ba796) |\n\nBeyond reads, the phone verbs install and uninstall apps and profiles, set the device name, turn Wi-Fi on and off, install a Wi-Fi or proxy profile, simulate a location on iOS below 17, post Darwin notifications, list processes, and tap, type and swipe through the iPhone Mirroring window while the phone is locked. The 62 phone-side automation triggers exist as verbs; creating a phone Personal Automation from the door is open work (WT-0444). Shortcuts that sync to the phone compile and import on the Mac, and `shortcuts run` hangs on this Mac (WT-0442), so they do not fire from it.\n\n## Composed tools run like any verb and can be called by name\n\n| what | call | answer | receipt |\n|---|---|---|---|\n| compose a chain of three Mac verbs (macOS version, battery, frontmost app) | `POST /api/surface/compose {kind:\"chain\", name:\"Mac status line\", steps:[…]}` | a new verb `v_c2fdba93ee` | [74a7cd72](https://miscsubjects.com/receipt/74a7cd72-6c0b-4619-909d-645a6128a636) |\n| run the chain by id | `POST /api/surface/execute {id:\"v_c2fdba93ee\"}` | `26.6.2`, AC power 100%, `Kimi`: three steps in 650 ms | [6e582ced](https://miscsubjects.com/receipt/6e582ced-2b0e-451b-82bc-58e8fbd065bd) |\n| compose an atom, a directory row made from a verb | `{kind:\"atom\", key:\"MAC_VERSION\", id:\"v_2992029c22\", args_template:{args:\"-productVersion\"}}` | row `SURFACE_MAC_VERSION` | [a61c6a71](https://miscsubjects.com/receipt/a61c6a71-9e84-44a3-a406-d0605ce46560) |\n| call the atom by name from the door every model uses | `POST /api/dispatch {key:\"SURFACE_MAC_VERSION\"}` | `26.6.2` | [inv_myutgh92gs](https://miscsubjects.com/receipt/inv_myutgh92gs) |\n\nTwo further composition kinds exist and were not run, because each one leaves something standing on the Mac or the phone: `shortcut` (a signed Shortcut imported on the Mac and synced to the phone by iCloud) and `automation` (a launchd timer that runs a verb on a schedule). A bridge flow (a browser task recorded once and compiled to a `BRIDGE_*` row) is the third. A scheduled automation is created only on request.\n\n## The Mac's internet line and a browser the build drives answer from the same door\n\n| what | call | answer | receipt |\n|---|---|---|---|\n| web search with page contents from the Mac's Starlink line | `POST /api/dispatch {key:\"WEB_SEARCH\", body:\"iPhone 16 Pro Max iOS 26 battery health\"}` | 6 results, the top two with 718 characters of page text each | [inv_r0p7ep4qrz](https://miscsubjects.com/receipt/inv_r0p7ep4qrz) |\n| register a browser bridge and open a page in it (headless, persistent profile) | `POST /api/bridges {controller:\"browser\"}` then `POST /api/bridges/br_0w3r0c2n6a58/act {action:\"goto\", url:\"https://miscsubjects.com/offer\"}` | title \"What we sell\", 19 links, page text returned, 5,210 ms | [32dd4f4b](https://miscsubjects.com/receipt/32dd4f4b-8fea-4ede-a792-e0f73d244f54) |\n\n## What the door does, in one list\n\n- Runs any of the 8,900 Mac and iPhone verbs by id with arguments and returns the answer with a receipt: files, preferences, the objects of every app with a scripting dictionary (notes, mail, calendar, reminders, music, Finder, Terminal), menus of running apps, screenshots, the command line.\n- Reads the paired iPhone over the device protocols and changes what those protocols allow without the developer tunnel; drives its screen through the iPhone Mirroring window while the phone is locked.\n- Sends iMessages from the owner's aliases or the rented lines to any number, reads conversations, reacts, checks delivery, receives inbound through signed webhooks, and puts a model on a line.\n- Makes new tools: chains of verbs, directory rows, Shortcuts, scheduled jobs, recorded browser flows, each one a name any model or script calls.\n- Searches and fetches the web from the Mac's residential line, renders pages in a real browser, keeps browser sessions logged in, drives cloud browser profiles.\n- Gives another person the same: one call mints their key and their own Worker, and one installer makes their own Mac the machine their key runs on (`/api/onboard/guide`).\n\n## What the door does not do from this Mac\n\n- Take a screenshot of the phone itself over the network pairing; that needs the developer tunnel, a root process.\n- Fire composed Shortcuts or App Intents until the `shortcuts run` hang is fixed (WT-0442).\n- Use the private iMessage verbs (typing indicators, read receipts, polls, edit, unsend, effects, group management); they need a Mac with System Integrity Protection off (WT-0447).\n- Anything while the Mac is asleep or the bridge is unreachable.\n- Send to anyone as a test; every send listed above went to the owner's own number or the owner's own rented line.\n\n## Where each contract is\n\n`/api/surface/docs` (the surface door, every example runnable), `/api/surface/spec` (the machine spec and the measured matrix), `/api/text/docs` and `/api/text/discovery` (messages), `/api/bridges/docs` (browsers, profiles, flows), `/api/net` (the line), `/api/onboard/guide` (keys, devices, Workers), `/build` (every operation with its fields), `/tools` (what a model is handed).\n","register":"plain","hero":null,"hero_brief":"","editorial_review":null,"tags":["surface","iphone","imessage","bridges","proof"],"category":"documentation","style":{},"claims":[{"id":"c1","text":"The Mac reports macOS 26.6.2 when the sw_vers verb is executed through /api/surface/execute.","section":"Mac","tier":"measured","source_ids":["s1"]},{"id":"c2","text":"A note named 'miscsubjects proof 2026-09-22' was created in Apple Notes through /api/surface/execute and read back with count 1.","section":"Mac","tier":"measured","source_ids":["s2"]},{"id":"c3","text":"A full-screen screenshot of the Mac was written to a file through /api/surface/execute.","section":"Mac","tier":"measured","source_ids":["s3"]},{"id":"c4","text":"The paired iPhone answered its lockdown values (iPhone17,2, iOS 26.6.1) through /api/surface/execute.","section":"iPhone","tier":"measured","source_ids":["s4"]},{"id":"c5","text":"The paired iPhone answered its battery diagnostics (463 cycles) through /api/surface/execute.","section":"iPhone","tier":"measured","source_ids":["s5"]},{"id":"c6","text":"The iPhone Mirroring window was read as accessibility elements and captured to a file through /api/surface/execute.","section":"iPhone","tier":"measured","source_ids":["s6"]},{"id":"c7","text":"A text sent from the rented line to the owner's number through /api/text reached status delivered over iMessage.","section":"Messages","tier":"measured","source_ids":["s7"]},{"id":"c8","text":"A text sent from the owner's own Apple ID alias through /api/text was answered by the rented line's agent, and the conversation was read back.","section":"Messages","tier":"measured","source_ids":["s8"]},{"id":"c9","text":"A heart reaction was added to the latest message of a chat through /api/text.","section":"Messages","tier":"measured","source_ids":["s9"]},{"id":"c10","text":"A chain of three Mac verbs was composed through /api/surface/compose and run by id, returning all three values.","section":"Composition","tier":"measured","source_ids":["s10"]},{"id":"c11","text":"An atom row SURFACE_MAC_VERSION was composed and then called by name through /api/dispatch.","section":"Composition","tier":"measured","source_ids":["s11"]},{"id":"c12","text":"WEB_SEARCH ran from the Mac's Starlink line and returned page contents.","section":"Web","tier":"measured","source_ids":["s12"]},{"id":"c13","text":"A headless browser bridge opened a live page and returned its title and links.","section":"Web","tier":"measured","source_ids":["s13"]}],"sources":[{"id":"s1","url":"https://miscsubjects.com/receipt/1d56788a-4e4f-4a6c-9732-46086dcf8610","title":"Ledger receipt 1d56788a-4e4","quote":"the build's own ledger row for this call"},{"id":"s2","url":"https://miscsubjects.com/receipt/310cdebd-32d1-4af9-bf37-62d465c5f666","title":"Ledger receipt 310cdebd-32d","quote":"the build's own ledger row for this call"},{"id":"s3","url":"https://miscsubjects.com/receipt/6e6fa584-efff-4528-a515-0380e4863c04","title":"Ledger receipt 6e6fa584-eff","quote":"the build's own ledger row for this call"},{"id":"s4","url":"https://miscsubjects.com/receipt/5b6b9034-cf59-4138-be6a-e26bdbb15d0d","title":"Ledger receipt 5b6b9034-cf5","quote":"the build's own ledger row for this call"},{"id":"s5","url":"https://miscsubjects.com/receipt/27b3ad3f-7a1d-418d-b069-9e2d0e9ce8c1","title":"Ledger receipt 27b3ad3f-7a1","quote":"the build's own ledger row for this call"},{"id":"s6","url":"https://miscsubjects.com/receipt/29461ced-ae3f-40f8-a5e2-999d8895871a","title":"Ledger receipt 29461ced-ae3","quote":"the build's own ledger row for this call"},{"id":"s7","url":"https://miscsubjects.com/receipt/061fa192-c860-4f50-85d6-12ba83aaa3e7","title":"Ledger receipt 061fa192-c86","quote":"the build's own ledger row for this call"},{"id":"s8","url":"https://miscsubjects.com/receipt/8b0ebc43-841b-47d0-8e7c-6f6deca337d2","title":"Ledger receipt 8b0ebc43-841","quote":"the build's own ledger row for this call"},{"id":"s9","url":"https://miscsubjects.com/receipt/d2595989-f5c1-4c75-8c01-aefc0e56242f","title":"Ledger receipt d2595989-f5c","quote":"the build's own ledger row for this call"},{"id":"s10","url":"https://miscsubjects.com/receipt/6e582ced-2b0e-451b-82bc-58e8fbd065bd","title":"Ledger receipt 6e582ced-2b0","quote":"the build's own ledger row for this call"},{"id":"s11","url":"https://miscsubjects.com/receipt/inv_myutgh92gs","title":"Ledger receipt inv_myutgh92","quote":"the build's own ledger row for this call"},{"id":"s12","url":"https://miscsubjects.com/receipt/inv_r0p7ep4qrz","title":"Ledger receipt inv_r0p7ep4q","quote":"the build's own ledger row for this call"},{"id":"s13","url":"https://miscsubjects.com/receipt/32dd4f4b-8fea-4ede-a792-e0f73d244f54","title":"Ledger receipt 32dd4f4b-8fe","quote":"the build's own ledger row for this call"}],"prov":{"model":"unattributed","action":"write"}}