feat(codex): manage codex config in dotfiles#18
Merged
Merged
Conversation
## What Add managed Codex config under configs/codex, link ~/.codex to that directory, and include Codex in the Brewfile. Add a pre-commit hook that runs codex doctor when the Codex config changes. ## Why Codex should follow the same dotfiles ownership model as the other tool configs while keeping runtime files ignored and preserving the shared agent guidance. ## Notes - Existing ~/.codex contents are migrated into configs/codex before the directory symlink is created. - Only configs/codex/AGENTS.md and configs/codex/config.toml are tracked; runtime files remain ignored. - Brewfile also includes the Linear cask rename from linear-linear to linear. Signed-off-by: jmeridth <jmeridth@gmail.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.
What
Add managed Codex config under configs/codex, link ~/.codex to that directory, include Codex in the Brewfile, and add a pre-commit hook that runs codex doctor when the Codex config changes.
Why
Codex should follow the same dotfiles ownership model as the other tool configs while keeping runtime files ignored and preserving the shared agent guidance.
Notes
Testing
Dry-ran scripts/link-dotfiles.sh against a fresh temporary HOME and verified that ~/.codex resolves to configs/codex. Ran the codex doctor pre-commit hook successfully with network access enabled.