Skip to content

App 1.0.11.1 (harness): long press, faster opening and typing, harness tools - #191

Merged
onehumanbeing merged 23 commits into
mainfrom
release/1.0.11.1
Nov 26, 2026
Merged

onehumanbeing merged 23 commits into
mainfrom
release/1.0.11.1

Conversation

@onehumanbeing

Copy link
Copy Markdown
Owner

A new TestFlight build of 1.0.11. Built with an automated harness: each change below was found, fixed and checked on a real iPhone by the harness itself.

  • Long press (tap X Y hold): a chat message's menu (Forward, Copy), quick actions, selecting a word.
  • Opening apps no longer waits on iOS's open-app prompt; an English iPhone searches a known app by its English name.
  • Faster Chinese typing (pinyin worked out once, no first-character stall) and pointer search (each screen decoded once).
  • Harness: files over pymobiledevice3 (~1.5 s vs 40 s), tapcv.py (taps and Screen Mirroring restarts with no one at the phone), collect.py (screen/text/action records), timing.py.

switch and swipe … hold are implemented but kept out of the actor prompt until they pass on a device. A mouse wheel was measured on the phone: iOS ignores it under the AssistiveTouch pointer, so it is not exposed.

Tests: full unit suite green; on device: a WeChat forward with long press (13 steps, 95 s), app opening and typing runs.

🤖 Generated with Claude Code

henry and others added 23 commits November 21, 2026 20:40
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…pWatch as an experimental board

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit f58fb82)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… help and waits for the stop

- openByScheme no longer awaits open(url): while iOS asks "Open in X?" that answer waits for the tap, so the
  board's tap on Open never came and the start hung until someone answered (every later run was dropped)
- run() says why it did not start instead of returning silently
- debug stop reports "debug: stopped" once the old run has wound down; run.sh waits for it, so a stopped run's
  late "finished:" no longer ends the next one
- run.sh ends when the agent asks for help (nobody answers an unattended run)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…g by itself

Closed loop from the Mac: pointer to the corner, calibrated moves, find the pointer on a screenshot, correct to
14 px, click, check the screen changed (and the expected text with OCR). `mirror BOARD --restart` goes through
Control Center to the board and waits until it is connected. hid.sh "...; stay" leaves the pointer in place.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… up at launch

One typing asked for the same text's pinyin (and each character's) many times while planning, typing and
reading back; each built a zh tokenizer and transliterated on the main thread (two ~470 ms stalls per field).
Results are kept in an NSCache; the tokenizer's dictionary loads off the main thread at launch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… rednote), not its pinyin

On an English iPhone Spotlight lists 地图 as Maps and 小红书 as rednote; their pinyin (ditu, xiaohongshu) found
nothing or only a web suggestion (read as not installed). In one harness run that was 4 failed opens and about
two minutes. The app's own row in AppNames gives the name; pinyin stays as the fallback. 小红书's row gets
rednote. harness/timing.py: where a run's time went, per step.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…the whole-screen search

Each search decoded both JPEGs again: 4 decodes per missed pointer. In the background during a run a measure
took 4-5 s when found and ~8 s when not (5 misses = 50 s in one 12-minute harness run).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…self (HARNESS_BOARD)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A chat message's menu (Forward, Copy) needs a long press; the model had no
action for it and tried a zero-length swipe.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
swipe X1 Y1 X2 Y2 hold presses, stands still, then moves, so iOS picks the item
up (icons, list rows, text handles). switch flicks the home bar back to the app
used before: faster than open when going back and forth.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
devicectl took 40 s per copy or failed beside a run and mirroring: run.sh saw a
95 s run end 7 minutes late. AFC pulls the log in ~1.5 s; hid.sh shot went from
minutes to 6.6 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… point

collect.py records each screen of a plan (screenshot, OCR boxes, the step that led
there) and stops when a step fails, so later steps never run on the wrong screen.
tapcv: the app's point command gets close (long raw moves land far off with iOS
pointer acceleration), small corrections after; per-tap tolerance.
lib.sh: an AFC push is judged by its output, not the exit code (the shell exits 1
after a good push, and the devicectl fallback ran every command twice).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…cked backs

The AFC shell wraps its output at the terminal width, so a long inbox path split
its 'src --> dst' line, the push looked failed and devicectl sent the same file
again: every command ran twice (the + menu opened and closed, a back clicked into
the next page). A one-unit wiggle shows a pointer iOS hid while the screenshots
were taken. A back that leaves the screen unchanged stops collect.py.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…for slow pages

A pull can fail while the app writes its log; devicectl as the fallback took
past the 60 s window. A web page (WeChat 搜一搜) leaves 2 s after its back tap.
tapcv tap takes --tol.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Changes found, fixed and checked on a real iPhone by the automated harness.
switch and swipe … hold stay in the code but out of the actor prompt until they
pass on a device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@onehumanbeing
onehumanbeing merged commit 8451f3e into main Nov 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant