Repository navigation
fix(mqlaunch): honour MACOS_SCRIPTS_HOME, route REPL perf/dev/demo, NO_COLOR - #309
Merged
Merged
Conversation
…O_COLOR - bin/mqlaunch and the REPL fall back to MACOS_SCRIPTS_HOME (what install.sh exports) before $HOME/macos-scripts; an install elsewhere exited 1. - REPL perf/dev/demo delegate to mqlaunch.sh's command router. They executed bridge files that only define functions (status 0, no effect), and demo called a nonexistent run_demo (status 127). - The wrapper's dashboard shortcut strips --no-color and exports NO_COLOR, as mqlaunch.sh does; `mqlaunch dashboard --no-color` was rejected by argparse. - The REPL's colors are empty when NO_COLOR is set. tests/mqlaunch-wrapper-repl-smoke.sh covers all four. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Four verified gaps in the mqlaunch entry points.
Changes
bin/mqlaunchandmqlaunch-repl.shfall back toMACOS_SCRIPTS_HOME(whatinstall.shexports) before$HOME/macos-scripts. Before: with onlyMACOS_SCRIPTS_HOMEset,bin/mqlaunch helpexited 1.mqlaunch.sh perf|dev|demo. Before:perf/devexecuted bridge files that only define functions (status 0, no effect);democalled a nonexistentrun_demo(status 127).dashboard --no-color: the wrapper's dashboard shortcut bypassedmqlaunch.sh, where--no-coloris stripped, so argparse rejected it. The wrapper now strips it and exportsNO_COLOR=1.NO_COLORis set.Verification
tests/mqlaunch-wrapper-repl-smoke.sh(new, registered in manifest + test-all): failed before the fix, passes after.tools/scripts/test-all.sh: exit 0 (shell lint 259 files passed).helpviaMACOS_SCRIPTS_HOMEexit 0;dashboard --no-color --jsonprints JSON; REPLdemocompletes;perfopens Performance Hub;devopens the dev menu.🤖 Generated with Claude Code