docs: document audit-found platform limits and skill routing rules

Merged
ST
7d ago
+24-3

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.md gains 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, then snapshot -i plus press @ref); HarmonyOS Web and custom-drawn content can leave the accessibility tree sparse with unusable refs (screenshot plus coordinates).
  • skills/agent-device/SKILL.md adds only what the audit showed agents getting wrong: DEVICE_IN_USE recovery via device status --stale then device release --stale, never killing daemon processes; discovery via help commands; screenshot files via an explicit path or --out; waiting via wait stable and wait absent instead of sleep loops.

Validation

At 818b712fe. 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 measures merge-base origin/main HEAD against 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 the check:doc-links website build needs npm registry access this sandbox lacks. CI resolves both against upstream.

šŸ¤– Generated with Claude Code