From c077d59ab3f2fa77136e0a7faeb429012ec503f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Wed, 18 Nov 2026 20:05:11 +0100 Subject: [PATCH 1/2] docs(agents): verify devices with the branch-built CLI Co-Authored-By: Claude Opus 5.5 --- docs/agents/device-verification.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/agents/device-verification.md b/docs/agents/device-verification.md index 5bb55728a1..4ae0aabdfd 100644 --- a/docs/agents/device-verification.md +++ b/docs/agents/device-verification.md @@ -17,6 +17,8 @@ Use this for Apple runner changes or manual device runs. For foldables, also rea ## Prove the path Run the exact route that changed. Record the commands, device, source SHA, and observable results. +Use the `agent-device` that `pnpm build` built from the branch: `node bin/agent-device.mjs`. +An installed or host-provided `agent-device` does not prove the change. For Android, `snapshot -i --json` must show `androidSnapshot.backend: android-helper`. Its `helperVersion` must match `package.json`. A UIAutomator fallback proves only that fallback. From 5a4dddf138985c96427ca075d78b1b8522c62348 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Wed, 18 Nov 2026 20:09:59 +0100 Subject: [PATCH 2/2] docs(agents): fold the branch-build rule into the build step Keeps docs/agents within its context budget. Co-Authored-By: Claude Opus 5.5 --- docs/agents/device-verification.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/agents/device-verification.md b/docs/agents/device-verification.md index 4ae0aabdfd..d061244ba5 100644 --- a/docs/agents/device-verification.md +++ b/docs/agents/device-verification.md @@ -4,7 +4,7 @@ Use this for Apple runner changes or manual device runs. For foldables, also rea ## Prepare -1. To build runtime changes, run `pnpm build`. +1. Run `pnpm build`, then verify only with its `node bin/agent-device.mjs`. 2. For Android source verification, run `pnpm build:android`. 3. For Swift runner changes, run `pnpm build:xcuitest`. A graceful shutdown can hand off an active runner. A new daemon can adopt the old binary. @@ -17,8 +17,6 @@ Use this for Apple runner changes or manual device runs. For foldables, also rea ## Prove the path Run the exact route that changed. Record the commands, device, source SHA, and observable results. -Use the `agent-device` that `pnpm build` built from the branch: `node bin/agent-device.mjs`. -An installed or host-provided `agent-device` does not prove the change. For Android, `snapshot -i --json` must show `androidSnapshot.backend: android-helper`. Its `helperVersion` must match `package.json`. A UIAutomator fallback proves only that fallback.