Skip to content

chore: stop managing Codex config#19

Merged
jmeridth merged 1 commit into
mainfrom
remove-codex-dotfiles
Jun 5, 2026
Merged

chore: stop managing Codex config#19
jmeridth merged 1 commit into
mainfrom
remove-codex-dotfiles

Conversation

@jmeridth

@jmeridth jmeridth commented Jun 5, 2026

Copy link
Copy Markdown
Owner

What

Removed Codex config from dotfiles by deleting the tracked Codex config entries, stopping setup from linking ~/.codex, and removing the Codex Doctor pre-commit hook.

Why

Codex local state and config should live outside this dotfiles repository while shared agent instructions can remain linked separately.

Notes

  • This machine's ~/.codex was converted from a repo symlink to a real directory before opening the PR.
  • ~/.codex/AGENTS.md remains symlinked to configs/AGENTS.md, but setup no longer manages the whole Codex home.
  • Pulling this change does not automatically migrate an existing ~/.codex symlink on another machine.

Testing

Validated that the edited setup script parses with Bash. Manually verified ~/.codex is a real directory and ~/.codex/AGENTS.md points to configs/AGENTS.md.

## What

Removed the Codex config directory from dotfiles, stopped the setup script from linking ~/.codex, and removed the Codex Doctor pre-commit hook.

## Why

Codex local state and config should stay outside this dotfiles repository while shared agent instructions can remain linked separately.

## Notes

- Existing Codex state now needs to be managed outside this repository after pulling this change.
- pre-commit now only runs ShellCheck; Codex health checks are no longer tied to dotfiles commits.

Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth self-assigned this Jun 5, 2026
@github-actions github-actions Bot added the maintenance Maintenance and chores label Jun 5, 2026
@github-actions github-actions Bot marked this pull request as ready for review June 5, 2026 23:47
@jmeridth jmeridth merged commit 35dd27c into main Jun 5, 2026
6 of 7 checks passed
@jmeridth jmeridth deleted the remove-codex-dotfiles branch June 5, 2026 23:47
@jmeridth

jmeridth commented Jun 5, 2026

Copy link
Copy Markdown
Owner Author

I DO NOT like that the trusted projects pieces in ~/.codex/config.toml have to be absolute path. Not ready to have 2 diff configs between work and personal laptops. And not comfortable source controlling my local directory repo names. Should be able to mark a parent directory trusted like:

[projects."~/code"]
trust_level = "trusted"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Maintenance and chores

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant