Repository navigation
Commit eefe37b
authored
docs(adr-0011): narrow the offscreen rescue comment to the per-request surface policy (callstack#2465)
* docs(adr-0011): note the offscreen live rescue reads the tree's surface
The offscreen guarantee's live rescue runs the runner's direct querySelector, which consumes the single activeApp that prepareActiveCommandContext resolved for the snapshot tree as well, including an in-place system surface. Record that the tree and the rescue read the same surface so the cell's rationale stays accurate.
Closes callstack#2452
* docs(adr-0011): narrow the offscreen rescue comment to the per-request surface policy
The snapshot capture and the live rescue are separate runner requests, and each
calls prepareActiveCommandContext on its own, so only the selection policy is
shared, not the surface instant. State that, and say plainly that a surface
appearing or dismissing between the two requests is not detected.
Closes callstack#2452
* docs(adr-0011): limit the shared surface seam to runner-routed captures
An eligible iOS simulator snapshot is served by the host AX bridge
(packages/platform-apple/src/snapshot-route.ts), which never reaches the
runner's prepareActiveCommandContext. The rescue's direct querySelector always
does, so the two requests share that surface policy only when the capture is
runner-routed too - which is the case callstack#2448 forces for the system surface.
Keep the unchanged statement that no surface identity crosses the two requests.1 parent 3cd6341 commit eefe37b
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
173 | 182 | | |
174 | 183 | | |
175 | 184 | | |
| |||
0 commit comments