Skip to content

Commit 373fb45

Browse files
thymikeeclaude
andcommitted
docs(runner): attribute sequence dispatch to the daemon
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 9040d22 commit 373fb45

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎apple/runner/RUNNER_PROTOCOL.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ A synthesized long press, drag, or planned gesture reports how far it got.
177177
so the command sent nothing. `SYNTHESIZED_GESTURE_OUTCOME_UNKNOWN` means it failed after its event
178178
record was handed to XCTest. That is not confirmed delivery: the record can still fail before its
179179
events run. The gesture may have run, so the runner does not fall back to an XCTest gesture that
180-
would repeat it. A sequence long-press step reports the same two codes. The host reports a failed
181-
sequence step with the step code's dispatch disclosure only when no earlier step ran; after one did,
182-
the sequence is `dispatched: unknown`.
180+
would repeat it. A sequence long-press step reports the same two codes as the step's `errorCode`. The runner does not
181+
report a dispatch for the whole sequence: the daemon derives it from the step code when
182+
`completedSteps` is 0, and reports `dispatched: unknown` once an earlier step completed.
183183

184184
## Maintenance Rules
185185

0 commit comments

Comments
 (0)