You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b9005d8
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(daemon): query the iOS selector through the request-bound runtime (#3430)
* refactor(daemon): query the iOS selector through the request-bound runtime
Move the last leaked platform-mechanics edge into the runtime contract: the
off-screen rescue's live read (#1542) is now the CONDITIONAL `querySelector`
operation on the request-bound Apple runtime, executed on the same binding the
command was admitted for (ADR 0019 §2/§9). direct-ios-selector.ts keeps only
the verdict projection; the daemon no longer builds an Apple runner request.
- contracts: QuerySelectorInput/Result + fact cell on
SelectorObservationRuntimeOperations; conditional declaration on the four
captured touch uses and the four gesture tier uses (parity side: an owner
without the read refuses on the capture's verdict unchanged, exactly as
every non-Apple owner always did).
- platform-apple: bindAppleQuerySelectorRuntime answers the read on the
runner, projecting the node to rect+hittability; runner-demand classifies
the operation as runner-host.
- other owners and the unavailable hub: declare the cell unavailable beside
findText.
- delete src/daemon/apple-runner-options.ts (its last consumer retired).
* refactor(apple): parse the query rect once and pin the rescue wiring end to end
- replace the local readRect with @agent-device/kernel/record parseRect
- build the runner-call options with { ...input.execution, signal } like
bindAppleFindTextRuntime instead of a field-by-field copy
- forward runtime.operations.querySelector directly; delete the no-op
selectOffscreenTargetQuery wrappers
- inline queryDirectIosSelector into the probe and drop the unused signal
- let the CONDITIONAL fact be the whole rescue gate: the fact already
refuses provider-owned and macOS leaves, so the isLocalIosRunnerSession
check added nothing
- daemon-route tests pin both sides of the conditional (live-rect rescue,
zero-query refusal) and the Apple leaf table pins fact-and-binding
parity; assert AbortError on the aborted query
* chore(gates): collapse R76 to a ban on daemon-to-platform-runtime coupling and retire the dead apple-runner-options manifest entry
|[0020 Composable Recorded Fragments (Proposed)](0020-composable-recorded-fragments.md)| lifecycle-free recorded fragment capture/composition, entry guards, fragment-local addresses/digests, staleness, and native `.ad`/Maestro composition |
25
25
|[0021 Simlock-Leased Devices Through Ordinary Local Runtimes](0021-host-simlock-managed-device-allocation.md)| driving a Simlock-leased simulator or emulator, why agent-device has no allocator integration, and the withdrawn in-process Host design |
26
-
|[0022 Daemon — Platform Runtime Coupling Audit and Ownership Ratchets](0022-daemon-platform-runtime-coupling.md)| daemon imports of root `platform-runtime-*` modules, the R76 edge classification inventory, R75 session-authority ratchet, entry-to-platform hop routes and roles |
26
+
|[0022 Daemon — Platform Runtime Coupling Audit and Ownership Ratchets](0022-daemon-platform-runtime-coupling.md)| daemon imports of root `platform-runtime-*` modules, the retired R76 edge classification now collapsed to a coupling ban, R75 session-authority ratchet, entry-to-platform hop routes and roles |
27
27
|[0023 End-State Entry-to-Platform Hop Trace](0023-end-state-hop-trace.md)| the hop counting definition, the ordered `press`/Android and dual-arm `snapshot`/iOS chains, per-hop roles, and the deletion test behind the numbers ADR 0019 and ADR 0022 quote |
28
28
|[0024 Screen Recording — One Coordinator, Two Facts (Proposed)](0024-screen-recording-provable-signal.md)|`record start`/`stop` lifecycle, the export-exists / recorder-stopped split, backend stop-and-collect contract, recovery through the coordinator, the ADR 0019 §5 amendment and the failed-finish cleanup fix |
29
29
|[0025 Foldable Apple Panels — Capture the Lit Panel](0025-foldable-apple-panels.md)| iPhone Duo outer/inner panels, CoreDevice display info as the only screen authority, why `simctl`'s implicit display default captures a black panel, derived (never asserted) pose, the `fold` pose control, and the Android emulator posture amendment |
0 commit comments