From 958e12ff4d1159ad7917534c5300e3ef1ff9bdf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Thu, 19 Nov 2026 10:30:34 +0100 Subject: [PATCH 1/2] docs(agents): keep device evidence on the branch CLI under host bindings --- docs/agents/device-verification.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/agents/device-verification.md b/docs/agents/device-verification.md index d061244ba5..4b3aa1fd28 100644 --- a/docs/agents/device-verification.md +++ b/docs/agents/device-verification.md @@ -5,6 +5,9 @@ Use this for Apple runner changes or manual device runs. For foldables, also rea ## Prepare 1. Run `pnpm build`, then verify only with its `node bin/agent-device.mjs`. + A host tool can bind the device to its own `agent-device`, for example T3 Code `device_open`. + Use that binding only to show the device and to take screenshots. + Run each evidence command with `node bin/agent-device.mjs` on the same device. 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. From ce57eb7819cf443cad870599e440eda0b08a5382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Thu, 19 Nov 2026 10:51:49 +0100 Subject: [PATCH 2/2] docs(agents): fit host-binding guidance within the agent docs budget --- docs/agents/device-verification.md | 8 +++----- docs/agents/gates.md | 1 - 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/docs/agents/device-verification.md b/docs/agents/device-verification.md index 4b3aa1fd28..b11a045861 100644 --- a/docs/agents/device-verification.md +++ b/docs/agents/device-verification.md @@ -5,9 +5,7 @@ Use this for Apple runner changes or manual device runs. For foldables, also rea ## Prepare 1. Run `pnpm build`, then verify only with its `node bin/agent-device.mjs`. - A host tool can bind the device to its own `agent-device`, for example T3 Code `device_open`. - Use that binding only to show the device and to take screenshots. - Run each evidence command with `node bin/agent-device.mjs` on the same device. + Use a host binding, such as T3 Code `device_open`, only to view the device. 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. @@ -28,7 +26,7 @@ Retry policy belongs in `runner-error-classification.ts`. Command typing belongs Keep the transport below session and client behavior. Keep xctestrun preparation outside request execution. After signing, run `node -e 0` before you measure Gatekeeper-sensitive startup. Before you measure on a physical iOS device, set Auto-Lock to Never. -A failed command can look like a fast success. Before you record the time of a command, examine its exit status and output. +A failed command can look like a fast success. Before you record its time, check its exit status and output. ## Ownership and cleanup @@ -63,4 +61,4 @@ HarmonyOS has no provisioned CI device or HDC. Mocked tests do not replace local Before you run a live smoke harness, read it. Its environment contract is in its entry file under `test/integration/`. If a sandbox rejects localhost with `listen EPERM`, use host access, if permitted. -First, examine the underlying error. A generic startup or cleanup failure does not prove a sandbox cause. +A generic startup or cleanup failure does not prove a sandbox cause. diff --git a/docs/agents/gates.md b/docs/agents/gates.md index bcba372b98..15e57188db 100644 --- a/docs/agents/gates.md +++ b/docs/agents/gates.md @@ -4,7 +4,6 @@ CI declares ownership through the shared `run-gate` action with a literal gate id. For a new check, update the catalog and executable model. To verify ownership and reachability, run `pnpm check:gate-manifest`. -Use [isolated experiments](test-experiments.md). For parser and geometry changes, extend shared fast-check arbitraries and properties. Use `PROPERTY_RUNS` budgets. Keep examples for past bugs or named decisions.