Add work Codex MCP setup and append helpers#18
Merged
Conversation
2a18869 to
cded069
Compare
cded069 to
fdf5db6
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.
What's changed
append_block_if_missingas the common idempotent file helper.append_line_if_missingon top ofappend_block_if_missing, and replace the oldadd_to_zshrchelper.brew updatewhen Homebrew metadata is stale, with clearer cask install/skip logs.linttocibecause it also runs macOS smoke setup.mcp-grafanaduring work setup.~/.zshrc:GRAFANA_URLandGRAFANA_SERVICE_ACCOUNT_TOKEN.~/.codex/config.tomlfor Grafana, Datadog, and Channel Teamchat without overwriting existing entries.codex mcp login datadogandcodex mcp login channel-teamchatduring interactive work setup.Notes
Claude Code is already installed in
work_setup.sh. I kept Codex in the same work-only layer because these MCP defaults are work-specific observability/teamchat tools. If we want Codex for personal machines too, I would split only the Codex cask install intosetup.shand leave these MCP blocks inwork_setup.sh.Verification
/bin/bash -n common.sh setup.sh work_setup.shfor f in *.sh; do /bin/bash -n "$f" || exit 1; doneshellcheck --severity=warning --exclude=SC2016 *.sh