In this note
  1. 01Observe again before acting
  2. 02Record intent before the side effect
  3. 03Completion needs a separate observation
  4. 04Boundaries are part of the design
  5. 05Sources

Sidecar operates Android apps from a natural-language task. Its most useful architectural choice is that deciding, acting, and claiming success are separate steps. This note reviews the local working tree on November 5, 2026, based on commit 9a28e63 with uncommitted changes. The source links pin that baseline and may not include the local additions. This is a code review, not a new device benchmark.

Observe again before acting

In src/sidecar/harness.py, _execute captures a fresh observation before it touches the device. It checks whether the proposed target existed in the original observation, then asks the adapter whether the action is still current. A changed screen discards the stale action instead of guessing a new coordinate.

This makes the observation an expiring input to a decision. The model's previous response is not enough authority to act on a page that has since changed.

Record intent before the side effect

The harness reserves an action identifier before calling device.execute. If execution raises an exception, the store records an uncertain outcome and the task waits for the user. A timeout can happen after a successful write; retrying immediately would risk writing twice.

test_uncertain_write_waits_and_resume_does_not_duplicate exercises that exact case with a fake device. It verifies one item after recovery. That is evidence about the harness contract, not proof that every Android app behaves the same way.

Completion needs a separate observation

_verify captures another fresh observation and asks the model to check the task's criteria. Verification records include an observation ID, device identity, timestamp, and policy hash. Requirements for supported apps can also be checked by a program verifier.

The console has to keep three kinds of evidence apart. A live frame shows activity, a returned action shows that a call finished, and only a verification result supports a completion claim.

Boundaries are part of the design

The current README describes single-app tasks and an allowlist. Sending, publishing, payments, and destructive actions stop for human handling. Android hidden displays share app data and accounts; they are not isolated virtual machines. The iPhone Mirroring backend remains experimental and requires manual result checks.

The next useful evaluation is a matrix of app version, task, failure injection, and final evidence. A successful demonstration should remain one row in that matrix.

Sources