Repository navigation
Install every simulator driver with setup deps and drop preferred_ui_driver - #172
Merged
Merged
Conversation
bitomule
force-pushed
the
setup-installs-every-driver
branch
from
December 3, 2026 00:13
3a3264d to
ffcdc72
Compare
…driver mav setup --install deps now installs AXe 2, baguette and idb. After each install it checks the tool with the driver's own probe, runs an explicit brew upgrade for one left below mav's floor, and fails with the floor and the next command when the upgrade does not reach it. idb setup fails when pipx is missing instead of installing the companion alone. preferred_ui_driver was written by setup but never read by the router. It is no longer asked or written; a config that still carries it loads, and doctor reports it as config_deprecated. Part of #160.
open --permissions (and open: { permissions: ... } in a flow) grants app
permissions after install and before the fixture and launch, so a flow
never meets their prompts. simctl privacy sets the services it covers;
notifications and camera, which simctl has no service for, go through
idb approve/revoke. The whole set is routed before anything runs, so a
request that needs a missing idb fails up front instead of half-granted.
New sim.* steps and mav sim commands cover the keychain, the media
library, push payloads and memory warnings. Each is routed by
capability: simctl serves keychain reset, addmedia and push, with idb
as the fallback, and idb is the only driver for the memory warning.
doctor reports the driver for each surface.
Closes #152. Closes #160.
bitomule
force-pushed
the
setup-installs-every-driver
branch
from
December 3, 2026 10:25
a13a3de to
9a763d3
Compare
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.
Part of #160. The permissions and simulator steps that close #160 and #152 come in a stacked PR on top of this one.
What changes
mav setup --install depsinstalls AXe 2, baguette and idb (client and companion), AXe first. It used to install AXe only, so a machine set up with mav had no idb, and anidb_companionfrom 2022 sat refused by the 1.6.4 floor with nothing upgrading it.brew upgrade(brew installskips that whenHOMEBREW_NO_INSTALL_UPGRADEis set), and the output saysupgraded=<tool>. If it is still below the floor, setup fails withsetup_failed tool=<tool> floor=<version> next=...instead of reporting ok.mav setup --install idbwithout pipx used to install the companion alone and report ok, leaving noidbon PATH. It now fails withnext="brew install pipx [email protected], then rerun mav setup --install idb". An idb client already on PATH is still enough to go on.preferred_ui_driveris removed. Setup wrote it, but the router never read it, and wiring it in would let a config pick idb for the tree (20 labels where AXe 2 read 27, and the ids a flow waits on were missing). Setup no longer asks for it or writes it. A config that still has it loads,mav doctorreportsconfig_deprecated=preferred_ui_driver, and the nextmav setuprewrites the file without it.--prefer-driverstill chooses a driver for a single command.skills/mav/SKILL.mdupdated.The new code is in
internal/mav/setup_deps.go;cli.goonly gains the floor-check calls in the setup loop and the doctor field.Validation
make checkpasses (gofmt,go test ./..., build).Ablations: each fix was reverted, its tests went red, and went green again once the fix was restored:
TestSetupIDBUpgradesACompanionBelowTheFloorreplays the field case: aCellar/idb-companion/1.1.8companion thatbrew installleft in place is upgraded to 1.7.8 before setup reports ok.