fix(help): answer help selectors with the selector syntax
Merged
IM
5d ago+110+110+012345678901234567890123456789-2-2-0123456789
Summary
Agents run help selectors and get Unknown command: selectors followed by the full general help. Selector syntax only lived in one line of help workflow.
help selectors now prints the keys, quoting rules, alternatives and matching rules in 28 lines. The root help, help workflow and the selectors docs page point at it. The topic has first-screen rules and a benchmark case. That case's scorer is tested with passing and failing plans: quoted press, click with find … exists, and press button="Save".
Before / after
$ agent-device help selectors
base a4f2dcad0: Error (INVALID_ARGS): Unknown command: selectors. (then the general help)
head 9c38be787: agent-device <version> — selectors (then the selector syntax)
Validation
- Head
9c38be787,check:affected --run --head,exactCommit: true. Every gate passes exceptunit, whereupload-http-deadlineandcommitted-source-treefail the same way on clean main on this macOS host. The 28 gates skipped after that pass when run directly, including provider integration andmutation:test. - Without the topic, the first-screen and topic-coverage tests fail.
- The new benchmark case hasn't been scored against a model.

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.