[codex] organize dotfiles repository layout#10
Merged
Conversation
Move home-level sources under home/, XDG config sources under config/, and extended documentation under docs/ so the repository mirrors where the installer links files. Update installer source roots, tests, CI, ignore rules, and documentation to use the new layout while keeping root focused on entrypoint docs and project controls. Refresh Brewfile from the current bundle dump. Constraint: User requested a cleaner root while preserving existing symlink targets. Rejected: Add zsh to HOME_FILES | zsh modules are support files for home/zshrc, not a ~/.zsh target. Rejected: Commit local Ghostty blur tweak | unrelated pre-existing appearance change kept unstaged. Confidence: high Scope-risk: moderate Directive: Keep installer source directories separate from target names; home/ maps to ~/.* and config/ maps to ~/.config/*. Tested: git diff --cached --check Tested: make check Tested: brew bundle check --file=Brewfile --no-upgrade --verbose Not-tested: Running a real install against the user home directory Co-authored-by: OmX <omx@oh-my-codex.dev>
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
home/while preserving installer targets like~/.zshrcand~/.gitconfig.config/while preserving installer targets under~/.config/*.docs/, keeping onlyAGENTS.mdandREADME.mdat the repo root.Brewfilefrom the current Homebrew Bundle dump.Impact
The repository root is easier to scan, while symlink behavior remains unchanged for installed dotfiles. The installer now maps
home/*to~/.*andconfig/*to~/.config/*.Validation
git diff --cached --checkmake checkbrew bundle check --file=Brewfile --no-upgrade --verboseNotes
A pre-existing local Ghostty appearance tweak was intentionally left unstaged and is not part of this PR.