Let users install simbroker without building the macOS app - #4
Merged
Conversation
Why: The only install path built the macOS app through XcodeGen and left simbroker off PATH unless the user sourced env.sh. A stranger could not try the CLI without a full app build. Changed: Add install_local.sh --cli-only so the shipped installer copies the Node runtime and writes simbroker without XcodeGen or xcodebuild. Persist PATH through Homebrew prefix bin when that is the install location, or one guarded login-profile snippet for the default user bin directory. --profile keeps tests off the operator login rc. host init --bootstrap-config warns that it creates real Simulator devices before those devices are created. Tests drive the shipped scripts and CLI on isolated prefixes. Verification: npm run test:client npm run agent:verify -- --profile spec-only --paths scripts/install_local.sh,scripts/install_distribution.sh,broker-core/index.mjs,broker-core/test/broker-core.test.mjs,client/bin/simbroker.mjs,client/command-dispatch.mjs,client/test/install-distribution.test.mjs,client/test/simbroker.test.mjs,client/README.md,README.md,docs/getting-started.md,docs/status.md,docs/test/front-door.test.mjs,spec/README.md,spec/architecture.md,spec/build-and-test.md,spec/implementation-plan.md,spec/project-structure.md,spec/global-simulator-broker.md,spec/harness-integration.md --session-dir task-sessions/20260818-cli-only-install npm run agent:verify -- --profile implementation --paths scripts/install_local.sh,scripts/install_distribution.sh,broker-core/index.mjs,broker-core/test/broker-core.test.mjs,client/bin/simbroker.mjs,client/command-dispatch.mjs,client/test/install-distribution.test.mjs,client/test/simbroker.test.mjs,client/README.md,README.md,docs/getting-started.md,docs/status.md,docs/test/front-door.test.mjs,spec/README.md,spec/architecture.md,spec/build-and-test.md,spec/implementation-plan.md,spec/project-structure.md,spec/global-simulator-broker.md,spec/harness-integration.md --session-dir task-sessions/20260818-cli-only-install Affected: scripts/install_local.sh scripts/install_distribution.sh broker-core/index.mjs broker-core/test/broker-core.test.mjs client/bin/simbroker.mjs client/command-dispatch.mjs client/test/install-distribution.test.mjs client/test/simbroker.test.mjs client/README.md README.md docs/getting-started.md docs/status.md docs/test/front-door.test.mjs spec/README.md spec/architecture.md spec/build-and-test.md spec/global-simulator-broker.md spec/harness-integration.md spec/implementation-plan.md spec/project-structure.md Refs: https://github.com/fiveonecode/simulator-broker spec/build-and-test.md Session: task-sessions/20260818-cli-only-install
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.
Step 3 of the public onboarding sequence. A stranger can install only the CLI, keep
simbrokeron PATH in a new login shell, and see an honest warning beforehost init --bootstrap-configcreates real Simulator devices.Why
The only install path built the macOS app through XcodeGen and left
simbrokeroff PATH unless the user sourcedenv.sh.What changed
bash scripts/install_local.sh --cli-onlycopies the Node runtime and writessimbrokerwithout XcodeGen orxcodebuild.npm run install:localstill builds and installs the app plus CLI.--profilekeeps tests off the operator login rc. Custom isolated bin dirs do not edit a login profile unless--profileis set.simbroker host init --bootstrap-configwarns that it creates real iOS Simulator devices before those devices are created.Out of scope
CONTRIBUTING split, GitHub Releases, public test CI, issue/PR templates, Homebrew formula/cask, npm publish.
Verification
install_local.sh --cli-onlytwice: exit 0, no XcodeGen/xcodebuild, executablesimbroker.simbroker --helptwice: human usage.--profilepersist twice: one guarded snippet.host init --bootstrap-config: warning before create.npm run test:clientpassed (177 tests).agent:verifyspec-onlypassed.agent:verifyimplementationpassed (npm testincluding app suite).agent:completepassed fortask-sessions/20260818-cli-only-install.