docs(ganet): cover macOS in the PC device-link setup SOP - #791
Open
nianyucatfish wants to merge 1 commit into
Open
docs(ganet): cover macOS in the PC device-link setup SOP#791nianyucatfish wants to merge 1 commit into
nianyucatfish wants to merge 1 commit into
Conversation
GAnet 0.5.0 ships macOS sidecars, so the SOP no longer stops on non-Windows desktops. The flow itself is unchanged; the edits are the platform facts GA needs to follow it on a Mac: - default component location moves to ~/.genericagent/components/GAnet on every platform; a checkout under the GA root's temp/ is wiped by the temp rewind mechanism - launcher is ganet.cmd on Windows and ganet.sh on macOS; the bound Python shim is ga_python.cmd / ga_python.sh - sidecar data lives in %LOCALAPPDATA%\GenericAgent\GAnet or ~/Library/Application Support/GenericAgent/GAnet; login autostart is the HKCU Run entry or a LaunchAgent; both are removed by remove_environment() - release entries for macOS use platform "darwin", and verify_release checks Mach-O as well as PE - on macOS, setup and upgrades request the screen-recording permission at the end and report it in screen_access; it is advisory and never blocks - macOS needs no sudo; git/python placeholders without Xcode CLT must not be invoked
nianyucatfish
marked this pull request as ready for review
September 2, 2026 14:51
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.
Summary
memory/ganet_pc_setup_sop.mdso GA can configure GAnet on macOS as well as Windows (GAnetv0.5.0now publishes signed darwin arm64/amd64 sidecars).~/.genericagent/components/GAneton every platform: a checkout under the GA root'stemp/gets wiped by the temp rewind mechanism (observed on a first macOS run).ganet.cmd/ganet.sh), sidecar data directory, login autostart mechanism,platform: darwinin release entries, Mach-O verification, and the advisoryscreen_accessresult that setup/upgrade returns on macOS.No step of the flow changes; Windows behaviour is unaffected apart from the new default location.
Test plan
inspect-component,configure-host(idempotent),check_env,ssh_device_probe,install_releaseupgrade and forced rollback, autostart remove/install; phone 鈫?PC tools including screenshot and file transferconfigure-host, user-center login, enrollment, launchd takeover, four green checks,ssh_device_probe,install_releaseupgrade and rollback, phone pairing and all tools including screenshotremove_environment(approved=True)returns the Mac to a clean state (no LaunchAgent, no state directories, server records retired)v0.5.0release (clone, dependencies,configure-host, login, sidecar download/verify/install, enrollment, launchd takeover, four green checks, phone pairing and tools including screenshot)