Skip to content

docs(adr): 0043 physical devices reach agent-device through a second daemon - #872

Merged
V3RON merged 10 commits into
mainfrom
feature/870-adr
Oct 22, 2026
Merged

V3RON merged 10 commits into
mainfrom
feature/870-adr

Conversation

@V3RON

@V3RON V3RON commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

ADR for #870. Physical devices reach agent-device through a second daemon on the worker.

Status

Review: passed (round 2 + fix-check) Hardware: n/a Gate: waiting for the stack

Assumptions

none

Review

Spec review: 5 blocking, 5 fixed, 1 notes. Code review: skipped. Claims review: skipped.
Rounds: 2. Tokens: 1.6M.
Runs: 6. Cost USD: 1.562. Agent seconds: 579.

Assessment: complete

Written by an agent.

@V3RON

V3RON commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Review findings (round 1, commit 4c39f15)

ADR-only: spec lens only (Opus/high), no code or claims lens. Assessment: complete.

  • R1 (blocking) ADR 0023's Status and README row do not point at 0043, which supersedes its §3-4 in part (adr-index rule).
  • R2 (blocking) 0043 §2 gives the worker's in-process link several hosts routed by lease; ADR 0026 §3 says that link ignores the lease id. 0043 does not declare it narrows 0026.
  • R3 (nonblocking) "every later call names its lease" is not guaranteed on a worker, where 0026 §4 makes the header optional; a phone lease's headerless call lands on the simulator daemon. State it, or say it is accepted.
  • R4 (blocking) The ADR does not say which daemon gets the lease-end release (agent_device.lease.release). Today it goes to the host's single upstream, not through the link, so a phone daemon's lease may outlive the reclaim.
  • R5 (blocking) Consequences: a different platform-tools version does not restart the adb server, only a different adb protocol version does (ADR 0022 §5; protocol 41 across recent releases).

Rerun: round 2 after fixes.

Written by an agent.

@V3RON

V3RON commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 4c39f15
Round 2: 89380f6
Round fix-check: 90652c4

Runs: 6. Cost USD: 1.562. Agent seconds: 579.
Tokens input 114, output 26543, cache read 2139049, cache write 230854.
- review 1 reviewer: claude-sonnet-5-5 233 s $0.1669
- review 1 reviewer spec: claude-opus-5-5 175 s $1.0106
- fix 1 implementer: claude-sonnet-5-5 70 s $0.131
- review 2 reviewer: claude-sonnet-5-5 49 s $0.1289
- fix 2 implementer: claude-sonnet-5-5 36 s $0.0615
- review fix-check reviewer: claude-sonnet-5-5 16 s $0.0631
Finding outcomes: {"fixed":5,"nonblocking":1}. Classes: {"adr-index: old ADR status points at replacement":1,"adr-index: row out of ascending order":1,"contradicts accepted ADR without narrowing it":1,"false consequence, adb version vs protocol":1,"false statement, lease header optional on worker":1,"undecided lease-end release routing":1}.
{"findings":[
{"id":"R1","role":"spec","class":"adr-index: old ADR status points at replacement","outcome":"fixed","path":"docs/internal/adr/README.md","round":"1","fix":"89380f6b"},
{"id":"R2","role":"spec","class":"contradicts accepted ADR without narrowing it","outcome":"fixed","path":"docs/internal/adr/0043-physical-devices-reach-agent-device-through-a-second-daemon.md","round":"1","fix":"89380f6b"},
{"id":"R3","role":"spec","class":"false statement, lease header optional on worker","outcome":"nonblocking","path":"docs/internal/adr/0043-physical-devices-reach-agent-device-through-a-second-daemon.md","round":"1"},
{"id":"R4","role":"spec","class":"undecided lease-end release routing","outcome":"fixed","path":"docs/internal/adr/0043-physical-devices-reach-agent-device-through-a-second-daemon.md","round":"1","fix":"89380f6b"},
{"id":"R5","role":"spec","class":"false consequence, adb version vs protocol","outcome":"fixed","path":"docs/internal/adr/0043-physical-devices-reach-agent-device-through-a-second-daemon.md","round":"1","fix":"89380f6b"},
{"id":"R6","role":"coordinator","class":"adr-index: row out of ascending order","outcome":"fixed","path":"docs/internal/adr/README.md","round":"2","fix":"90652c40"}]}

Written by an agent.

@V3RON

V3RON commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Review notes

Not blocking, not verified. Each is one reviewer's claim.

  • spec: docs/internal/adr/0043-physical-devices-reach-agent-device-through-a-second-daemon.md:82 "every later call names its lease" is not guaranteed on a worker, because ADR 0026 §4 makes the lease header optional there; say it or accept it.

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review October 22, 2026 07:56
@V3RON
V3RON added this pull request to stack #877 October 22, 2026 08:00
@V3RON
V3RON merged commit a8eef2e into main Oct 22, 2026
27 checks passed
@V3RON
V3RON deleted the feature/870-adr branch October 22, 2026 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant