Skip to content

v0.33.0: pick the simulator when you open, not in the config - #137

Merged
bitomule merged 1 commit into
mainfrom
worktree-open-device-os
Oct 5, 2026
Merged

bitomule merged 1 commit into
mainfrom
worktree-open-device-os

Conversation

@bitomule

@bitomule bitomule commented Oct 5, 2026

Copy link
Copy Markdown
Owner

mav open --device/--ios hands the model and version to target_command as $MAV_DEVICE/$MAV_IOS, records them on the run (device.json) so later commands and the keepalive renew the same model, keys the target cache by the request, and leaves .mav/config.yaml alone. A device-kind project gets a simulator for that run. open refuses with open_device_unusable when target_command would drop the request. Without target_command, --device/--ios keep their old behaviour.

Tests: new device_request_test.go (ablation: ignoring the run's recorded device fails the whole-run test); go test ./... passes. E2E on this Mac: open --device 'iPhone Duo' --ios 27.1 leased the Duo slot through simpool, a later ui tree with no flags stayed on it (target_source=target_command), config untouched.

https://claude.ai/code/session_01B71Ng3EhxcFBZgCUMvfSwd

@bitomule
bitomule merged commit 0a830e4 into main Oct 5, 2026
1 check passed
@bitomule
bitomule deleted the worktree-open-device-os branch October 5, 2026 11:26
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