Repository navigation
docs: document audit-found platform limits and skill routing rules - #4871
Conversation
Three real-usage findings were undocumented at the platform-limit level, so agents rediscovered them by failure instead of by doc: - iOS system prompts that ask for typed text (Apple ID password, Screen Time passcode) accept no automated input; the settings and alert channels are the way around, and a prompt that demands typed text needs a person. - iOS physical devices match English alert labels only, unlike simulators that also recognize the device's preferred languages; a device in another language answers ALERT_BUTTON_NOT_FOUND, and the route is alert get plus snapshot and press by ref. - HarmonyOS Web and custom-drawn content can miss the ArkUI accessibility tree, which leaves the capture sparse and its refs unusable; screenshot plus coordinates is the route until a navigation restores the tree. The agent-device skill gains the four routing rules the usage audit showed agents get wrong most often: how to clear DEVICE_IN_USE (device status --stale, device release --stale; never kill daemon processes), where to discover commands (help commands), how to save a screenshot to a file (explicit path or --out), and how to wait (wait stable and wait absent instead of sleep loops). Co-Authored-By: Claude Code <noreply@anthropic.com>
93be748 to
818b712
Compare
|
Thanks for documenting these limits. The docs-only change at 818b712 is ready, and there are no conflicts. The only check not passing is Body rules, which was cancelled rather than failed, so it likely needs a rerun before merge. Not blocking, and fine to take or leave: the iOS section's claim that no command enters text in Apple ID, Screen Time and passcode prompts is not backed by code or by |
Summary
Documents three platform limits that real-usage audits showed agents rediscovering by failure, plus four routing rules in the agent-device skill. Docs-only: no runtime behavior, help output, or generated block changes.
website/docs/docs/known-limitations.mdgains three entries in the existing per-platform form: iOS system prompts that ask for typed text accept no automated input (route around through the settings and alert channels); iOS devices match English alert labels only, unlike simulators (alert get, thensnapshot -ipluspress @ref); HarmonyOS Web and custom-drawn content can leave the accessibility tree sparse with unusable refs (screenshot plus coordinates).skills/agent-device/SKILL.mdadds only what the audit showed agents getting wrong:DEVICE_IN_USErecovery viadevice status --stalethendevice release --stale, never killing daemon processes; discovery viahelp commands; screenshot files via an explicit path or--out; waiting viawait stableandwait absentinstead of sleep loops.Validation
At 818b712. Runtime tests do not apply: the diff is two Markdown files. Passing locally: format, lint,
tsc -b tsconfig.typecheck.json,check:fallow --base old-origin/main,check:doc-prose,check:agent-guidance,check:adr-citations,check:capabilities-matrix,check:command-docs,vitest related. Two gates are environment-blocked locally, not failed: the layering ratchet measuresmerge-base origin/main HEADagainst a stale private mirror here, so upstream-grown counts read as drift (receipt: base and head sit at the same upstream tip; none of the flagged files is in this diff), and thecheck:doc-linkswebsite build needs npm registry access this sandbox lacks. CI resolves both against upstream.🤖 Generated with Claude Code