Repository navigation
Description
Summary
Agents building a new app with uno-build-app verify it by clicking screen coordinates, although uno-testing says "Peers before coordinates" and "Name the elements you test". In FieldCheck, verification is where Uno loses to .NET MAUI: reaching the first launch costs both stacks about the same, and everything after it costs Uno 1.5–4× more. Change the skills so the app is built addressable and verified by element:
uno-build-appnames interactive controls as it writes each page, instead of leaving it to testing time;uno-testingacts through the App MCP's selectors once unoplatform/uno.app-mcp#181 lands, and drives Android Debug builds by element instead ofadb shell input tap.
Evidence
From the FieldCheck benchmark in unoplatform/private (tools/skill-ab), run fieldcheck-20261007-213338: Uno (main 0ee1158, as the uno-dev agent) against .NET MAUI (dotnet/maui-labs b46ff30), Sonnet, 2 runs each.
| Uno A1 | Uno A2 | MAUI B1 | MAUI B2 | |
|---|---|---|---|---|
| Cost / time up to first launch | $2.73 / 12 min | $3.07 / 15 min | $2.43 / 10 min | $2.76 / 12 min |
| Cost / time after first launch | $25.93 / 46 min | $15.14 / 32 min | $6.39 / 17 min | $9.83 / 19 min |
| App actions addressed to an element (Windows) | 2 of 74 | 3 of 19 | 68 of 68 | 81 of 81 |
AutomationId in the app source |
0 | 27 | 11 | 52 |
| Android driven by | adb shell input tap at scaled coordinates |
same | same | same |
- Both Uno sessions loaded
uno-testingbut read none of its references. The SKILL.md rules did not hold: the agents chose coordinates because snapshot handles go stale ("Since element handles change between runs, I'll just click directly by coordinates instead") and a snapshot per action is slow. - A1 named no control at all, so even a selector-based App MCP would have had nothing to find.
- Neither stack drove Android through its MCP. On Uno,
uno_app_startwas only called fornet10.0-desktop, althoughuno-testingcovers Android Debug builds.
The remote desktop disconnected during A1 and stayed disconnected through A2 and B1, so totals are not a clean comparison; the patterns above do not depend on it. The cost split at first launch is token-weighted and approximate. Studio#176 has the full write-up.
Proposal
uno-build-app(anduno-devif needed): when writing a page, setAutomationProperties.AutomationIdandAutomationProperties.Nameon every control a user acts on or a check reads: navigation items, buttons, inputs, list items, status text. Names are unique on their page; on Android,Nameis the only handle (Add mobile accessibility automation for Skia uno#23934).uno-testing, once unoplatform/uno.app-mcp#181 ships: act through the selector (automationIdorname) as the first choice; keep snapshots for finding an unnamed element and for assertions the tree answers. Keep SKILL.md short.uno-testing, Android: verify Debug builds through the App MCP (uno_app_starton the Android target), or throughuiautomator dumpbycontent-descasreferences/without-app-mcp.mddescribes; never by guessing coordinates from a screenshot.
Tasks
-
uno-build-app: the naming rule, in the step that writes pages. -
uno-testing: Android Debug verification by element. -
uno-testing: selectors as the first way to act (blocked on unoplatform/uno.app-mcp#181). - FieldCheck re-run of
uno-devagainst MAUI with the desktop connected; compare element-addressed actions, screenshots and cost after first launch.
Acceptance criteria
- Every FieldCheck Uno run names its interactive controls.
- In the re-run, most Uno app actions are addressed to an element on both Windows and Android, and cost after first launch moves toward MAUI's.
Activity