fix(ad-script): let .ad scripts carry scroll --until and wait capture flags (#3197)
Closes #3197
Summary
scroll "<dir>" --until <selector> and wait <target> --raw worked at the CLI and parse-failed in a .ad: the script grammar had no flag vocabulary for those commands, so --until became a positional and the daemon read it as the scroll amount. The parser now reads each command's own declared flags and the writer emits them back, so a recorded hunt replays as the same hunt. until is recorded: true at its owning declaration.
scroll down --until 'id="checkout-submit"'
wait 'label="Order summary"' 5000 --raw
Single quotes now read as the shell reads them; a candidate must close at end of word, so any line that parsed before keeps its meaning. The grammar stays narrower than the CLI: a script line carries only recorded flags (--pixels stays CLI-only), and -d/-s stay CLI sugar so pre-existing wait text -s so funny lines are untouched. An admission test pins both directions against the registry.
test --platform now reports how many sources lacked a context platform= header versus declared another platform, plus the remedy; the suite failure projection carries no hint, so it lives in the message. Maestro export warns instead of silently dropping --until. 20 files.
Validation
9cb45a0c6 (head): pnpm check:affected --run passed locally at every commit; full CI green on head (Lint & Format, Typecheck & Package, Coverage, Integration Tests, Repo Guards, Smoke Tests x4, deploy-preview). Earlier commits ran the changed path on an iPhone 18 Pro simulator: replayed a hand-written --until script, missing target failed as a divergence, and a recording round-tripped scroll "down" --until "label=\"General\""; later commits touch tokenizer/message only, pinned by tests (incl. a planted-decoder regression check). Reproduced the original error on published 0.21.20 first. Four review rounds (three adversarial + maintainer) — all threads resolved.