Commit Graph
10 Commits
Author SHA1 Message Date
Oskar Kwaśniewski 5d1ae7a7f5 docs(reference): cut the slop from the Reference tab (#295) 2026-09-14 09:42:41 +02:00
Oskar Kwaśniewski c2c5df7df9 feat(e2e)!: the runner publishes as e2e; @e2edev/e2e is retired (#294) 2026-09-14 08:56:22 +02:00
Oskar Kwaśniewski abf1958867 feat(engine)!: lock the engine contract as a UI-only, cross-platform SPI (#291) 2026-09-14 08:44:46 +02:00
Oskar Kwaśniewski 799b29fbfa feat(config)!: drop origin allowlists everywhere; navigation and secret fills are not gated by origin (#290) 2026-09-12 18:48:26 +02:00
Oskar Kwaśniewski fce4aafeea perf(agent): replayed trace actions carry the test origin (#286)
* perf(agent): replayed trace actions carry the test origin

A replay executes recorded actions with no model reading the screen after
them; only its own relocation looks, and it polls. So a replayed action is
a deterministic step to the engine: on agent-device it acts without the
settle wait, under the same transition budget a test's tap gets. The step
accounting learns the replay span from the cache session's replaying hook
and stamps origin 'test' on the actions inside it.

* fix(agent): a replayed navigation carries the test origin too

navigate takes the step's full operation context rather than the targeted
one; the replay stamp now applies to both.
2026-09-12 15:57:03 +02:00
Oskar Kwaśniewski 4480e8b0e5 perf(agent-device): deterministic steps act at once; settle is for the agent (#283)
* perf(agent-device): deterministic steps act at once; settle is for the agent

A test's step verifies its outcome with expect, so it never waits for the
screen to settle. The runner now tells engines who is acting through
OperationContext.origin ('test' from the locator engine, 'agent' from the
act loop), and the device engine settles only agent actions.

The one wait a test keeps is the transition budget: accessibility frames
report a control's final position from the first frame of a transition,
so a modal's button or an alert's OK looks landed while it is still
sliding, and a tap there hits what is behind it. A control that appeared
or moved with the previous action waits out the budget (500 ms, counted
from that action's return); one already in place is acted on at once.
Nothing is observed for this, so idle steps pay nothing.

react-native-pager-view, 11 tests, one iPhone 17 Pro simulator:
190 s with agent-device's 500 ms settle, 142 s with 150 ms, 117 s now,
three runs each, all passing. Taps average 673 ms against a 600 ms
XCTest floor; the waiting moved into expect, which polls.

* fix(agent-device): transition guard edge cases from review

A transition wait that is cancelled no longer lets the action behind it
go out; a launch records no screen before it, so every control of the new
screen waits its budget; a toggle already in the wanted state sends
nothing and is not recorded as an action.
2026-09-12 15:57:02 +02:00
Oskar Kwaśniewski c553b614de feat(agent)!: the act model sees the screen; screenshot and tap_at bring pixels into the act loop (#258) 2026-09-11 20:18:59 +02:00
Oskar Kwaśniewski fcf4fe6ff7 docs: split guides and references by platform (#266) 2026-09-11 17:32:13 +02:00
Oskar Kwaśniewski 38d4424eb1 fix(run): redact filled secrets out of the trace before it is registered or stored (#245) 2026-09-10 14:50:34 +02:00
Oskar Kwaśniewski b67e4d1aac docs: move the docs site from Starlight to Mintlify (#240) 2026-09-09 18:23:08 +02:00