Skip to content

fix(codex): overwrite environment configuration by default - #125

Merged
JacobZyy merged 1 commit into
mainfrom
codex/codex-init-overwrite
Oct 20, 2026
Merged

JacobZyy merged 1 commit into
mainfrom
codex/codex-init-overwrite

Conversation

@JacobZyy

Copy link
Copy Markdown
Owner

Running jt codex init against an existing environment configuration previously left it unchanged and required a separate update step. It now automatically backs up and overwrites existing configurations, including custom files; identical content remains unchanged.

Keep --check as an optional preview and --update as an explicit equivalent of the default. Preserve symlink, concurrent-write, and recovery safeguards, and align CLI help and documentation.

Validated with cargo fmt --check, cargo clippy --locked --all-targets --all-features -- -D warnings, and cargo test --locked (254 tests). CLI regression covers default overwrite, byte-exact recovery backups, optional preview, and the existing --update flag.

@JacobZyy
JacobZyy merged commit 354901f into main Oct 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant