Repository navigation
Conversation
Contributor
Author
Review ledgerRound 1: 6ca2d20 {"findings":[
{"id":"R1","role":"code","class":"testing 1","outcome":"fixed","path":"src/agent-device/edge.test.ts","round":"1","fix":"3b9e6667ac32e3d7e80ec0aef27936f96cd45a43"},
{"id":"R2","role":"spec","class":"assumption contradicts spec: lease order","outcome":"nonblocking","path":"src/agent-device/front/host-link.ts","round":"1"},
{"id":"R3","role":"spec","class":"assumption contradicts spec: entry removal","outcome":"nonblocking","path":"src/agent-device/front/host-link.ts","round":"1"},
{"id":"R4","role":"spec","class":"testing 7","outcome":"intentional","path":"src/agent-device/edge.test.ts","round":"1"},
{"id":"R5","role":"spec","class":"testing 7","outcome":"intentional","path":"src/agent-device/edge.test.ts","round":"1"}
]}Written by an agent. |
V3RON
marked this pull request as ready for review
October 22, 2026 09:37
… pins and the phone daemon no longer receives physical (#874)
…file and identity are for manual signing (#874)
…s: lease scope and device key in meta, the phone's address in flags, an open first (#874) The raw screenshot carried only the lease id, so agent-device refused it (tenant isolation requires run id, then lease owner scope, no session, ambiguous device). The test was wrong, not Simlock. Also: only a provisioning profile switches agent-device to manual signing.
…s complexity gate passes (#874)
Contributor
Author
Review notesNot blocking, not verified. Each is one reviewer's claim.
Written by an agent. |
Contributor
Author
Review ledgerRound 1: 6ca2d20 {
"findings": [
{
"id": "R1",
"role": "code",
"class": "testing 1",
"outcome": "fixed",
"path": "src/agent-device/edge.test.ts",
"round": "1",
"fix": "3b9e6667"
},
{
"id": "R2",
"role": "spec",
"class": "assumption contradicts spec: lease order",
"outcome": "nonblocking",
"path": "src/agent-device/front/host-link.ts",
"round": "1"
},
{
"id": "R3",
"role": "spec",
"class": "assumption contradicts spec: entry removal",
"outcome": "nonblocking",
"path": "src/agent-device/front/host-link.ts",
"round": "1"
},
{
"id": "R4",
"role": "spec",
"class": "testing 7",
"outcome": "intentional",
"path": "src/agent-device/edge.test.ts",
"round": "1"
},
{
"id": "R5",
"role": "spec",
"class": "testing 7",
"outcome": "intentional",
"path": "src/agent-device/edge.test.ts",
"round": "1"
},
{
"id": "R6",
"role": "e2e",
"class": "phone daemon rejects simulator instance pins",
"outcome": "fixed",
"path": "src/agent-device/front/host-link.ts",
"round": "2",
"fix": "19ab1ffe"
},
{
"id": "R7",
"role": "e2e",
"class": "physical key forwarded to agent-device",
"outcome": "fixed",
"path": "src/agent-device/front/allocate.ts",
"round": "2",
"fix": "19ab1ffe"
},
{
"id": "R8",
"role": "e2e",
"class": "imageTag refusal wording vs spec",
"outcome": "intentional",
"path": "src/contract/errors.ts",
"round": "2"
},
{
"id": "R9",
"role": "e2e",
"class": "signing keys required that force manual signing",
"outcome": "fixed",
"path": "e2e/slow-agent-device-physical.test.ts",
"round": "fix-check",
"fix": "11de40af"
}
]
}Supersedes the earlier ledger comment on this PR. Written by an agent. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #874
Status
Implement: done Review: passed (round 2 + fix-checks, 0 open) Hardware: pass (Android + iOS, 90ae8a9) Gate: waiting for the stack
Done when
edge.test.ts,gateway-front.test.tsandpnpm test:changedpass: B6–B14 — audit probed 14/14, covered 15/15; src/agent-device 468/468 after the end-to-end fixese2e/slow-agent-device-physical.test.ts— Samsung SM-A165F and iPhone 11 Pro Max (iOS 26.5), 2/2 pass at 90ae8a9toolchain.mdslow-lane row for agent-device with a physical phone names the signing variables the lane reads (team ID and bundle ID required; profile and identity only for manual signing)allocate.tsmapsphysical, strips it before forwarding, and echoes it;host-link.tsroutes and drops the simulator daemon's instance pins on phone calls;gateway.tsadopts atdriverDeviceId— audit and review round 2agent-device.mdx,physical-devices.mdx, configuration reference,src/agent-device/AGENTS.md, ADR 0023 status line and README row — audit and claims lensAlso checked by hand with the real agent-device CLI (0.21.31-dev with
--physical): open, screenshot, snapshot, tap and close on both phones; refusals for an unknown model and--image-tag; the phone-daemon-down message.Assumptions
leaseIdargument and the allocate's ownserial/udid; the RPC-body and header fallbacks are left out because the front and the relay always pass the lease id — the smallest change; nothing reachesforwardwithout it.lease.releasethrough the link — the lease-end hook already forgets every ended lease (release included), so the link does not read release replies.x-agent-device-instanceandx-agent-device-upstream-instanceon calls routed to the phone daemon, because the client read them from the simulator daemon's health. A phone-daemon restart then ends the lease at the next heartbeat, as a simulator-daemon restart does (manual, Known gaps).src/contract/errors.ts:465), so the reply readsrefused by simlock: imageTag: `imageTag` has no meaning for a physical device; the code keeps that and the spec's shorter wording is the one that is off.Review
Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 1 blocking, 1 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 2. Tokens: 13.6M.
Runs: 21. Cost USD: 10.1312. Agent seconds: 7133.
End-to-end on real phones: 4 blocking (R6 instance pins, R7
physicalforwarded, R8 refusal wording, R9 signing keys), 3 fixed, R8 kept as an assumption; plus one slow-lane test fix (90ae8a9).Rejected:
forgetfor every ended lease; removing it fails edge.test.ts:1060 (R3)falsefor a virtual one)" has no case — [incorrect] the virtual case is at :754 and :770-777Assessment: complete
Written by an agent.