Skip to content

docs(adr): 0047 device.exec fills in the lease's device, and refuses another (#951) - #955

Merged
V3RON merged 10 commits into
mainfrom
feature/951-adr
Oct 24, 2026
Merged

V3RON merged 10 commits into
mainfrom
feature/951-adr

Conversation

@V3RON

@V3RON V3RON commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

ADR 0047 for #951 (MCP run_on_device): device.exec fills in the lease's device for simctl, adb and devicectl, and refuses a command that names another device. Accepted at the spec session's approval. It stays open at the bottom of the feature's stack and merges with its last task.

Status

Implement: n/a (ADR) Review: round 2, passed Hardware: n/a Gate: waiting for the stack
Next: stack merge after #958 and #959

Review

Spec review: 2 blocking, 2 fixed, 0 notes. Code review: skipped. Claims review: skipped.
Rounds: 2. Tokens: 6.3M.
Runs: 4. Cost USD: 0.8871. Agent seconds: 434.

Assessment: complete

Written by an agent.

@V3RON V3RON changed the title docs(adr): 0046 device.exec fills in the lease's device, and refuses another (#951) docs(adr): 0047 device.exec fills in the lease's device, and refuses another (#951) Oct 23, 2026
@V3RON
V3RON marked this pull request as ready for review October 23, 2026 19:34
@V3RON

V3RON commented Oct 23, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 772842c

Spec review (Opus, ADR-only; no code or claims lens): 2 blocking.

  • R1 (spec, blocking): ADR 0047:49 device-verb list omits bootstatus (used at src/drivers/ios/index.ts:797), so the 'read from simctl help' claim is false; booted with it runs unchecked.
  • R2 (spec, blocking): ADR 0047:88-90,124 names only HTTP callers as hit by the booted refusal. simlock simctl through a gateway already uses device.exec (src/cli/AGENTS.md:85), and website gateway/index.mdx:32 shows simctl install booted, which will now be refused; the docs do not warn against booted there.

Assessment: complete. Rerun: round 2.

{"findings":[
{"id":"R1","role":"spec","class":"false claim about simctl grammar","outcome":"open","path":"docs/internal/adr/0047-device-exec-fills-in-the-leases-device.md","round":"1"},
{"id":"R2","role":"spec","class":"consequence omits CLI gateway caller","outcome":"open","path":"docs/internal/adr/0047-device-exec-fills-in-the-leases-device.md","round":"1"}]}

Written by an agent.

@V3RON

V3RON commented Oct 23, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 772842c
Round 2: 01e512c

Runs: 4. Cost USD: 0.8871. Agent seconds: 434.
Tokens input 78, output 16232, cache read 1144803, cache write 136307.
- review 1 reviewer: claude-sonnet-5-5 186 s $0.1349
- review 1 spec-reviewer spec: claude-opus-5-5 123 s $0.5388
- fix 1 implementer: claude-sonnet-5-5 65 s $0.0949
- review 2 reviewer: claude-sonnet-5-5 60 s $0.1185
Finding outcomes: {"fixed":2}. Classes: {"consequence omits CLI gateway caller":1,"false claim about simctl grammar":1}.
{"findings":[
{"id":"R1","role":"spec","class":"false claim about simctl grammar","outcome":"fixed","path":"docs/internal/adr/0047-device-exec-fills-in-the-leases-device.md","round":"1","fix":"01e512c2ac318f09372b1f8252eca7e8f2a47dbb"},
{"id":"R2","role":"spec","class":"consequence omits CLI gateway caller","outcome":"fixed","path":"docs/internal/adr/0047-device-exec-fills-in-the-leases-device.md","round":"1","fix":"01e512c2ac318f09372b1f8252eca7e8f2a47dbb"}]}

Written by an agent.

@V3RON
V3RON added this pull request to stack #973 October 24, 2026 06:24
@V3RON
V3RON merged commit a01e4b9 into main Oct 24, 2026
27 checks passed
@V3RON
V3RON deleted the feature/951-adr branch October 24, 2026 07:25
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