Release date: 2026-03-03
Channel: latest
- Added rotating backup recovery across
.bak,.bak.1, and.bak.2, with deterministic fallback ordering. - Hardened backup rotation write path to stage then commit snapshots, preventing partial historical-chain rewrites on failure.
- Added retry/backoff handling for staged backup renames and transient filesystem lock conditions on Windows (
EPERM,EBUSY,EAGAIN). - Added startup cleanup for orphaned staged rotation artifacts (
*.bak(.N).rotate.*.tmp) to reduce token exposure risk after interrupted writes. - Expanded runtime home-directory resolution precedence on Windows (
USERPROFILE->HOME->HOMEDRIVE+HOMEPATH->homedir()), including no-leading-slashHOMEPATHnormalization. - Expanded regression coverage for backup-depth recovery, staged rename retries, and parallel-save ordering guarantees.
- Strengthened worktree identity handling for account storage with branch-change-safe realpath coverage.
npm i -g @openai/codex
npm i -g codex-multi-authcodex auth login
codex auth list
codex auth check
codex auth forecast --live
codex auth fix --dry-run
codex auth doctor --fixRelease gate commands:
npm run lintnpm run typechecknpm testnpm run build
- PR #29: Add rotating account backup fallback recovery
- 4c75953 - Merge remote-tracking branch 'origin/fix/storage-backup-rotation'
- a6e6a75 - fix(storage): clean stale staged backup temp artifacts
- e250bf2 - fix(storage): retry staged backup rename commits
- 35fef03 - fix(storage): stage backup rotation and close review gaps
- 8a39fad - fix(storage): remove invalid backup retry error codes
- 6f6682d - test(storage): finalize review fixes for retry and mock safety
- 88ebe65 - fix: address PR review findings for backup and path handling
- 025280a - fix(storage): harden user home auto-detection order
- 69f1983 - Add rotating account backup fallback recovery
- 33f75dd - test: cover realpath fallback branches in worktree identity
- 05120d3 - Fix account storage identity across worktree branch changes
- Canonical runtime paths remain under
~/.codex/multi-auth. - Legacy scoped prerelease migration guidance remains in
docs/upgrade.md. - Per-project accounts continue to be shared across linked worktrees via repo identity root.
- Settings writes continue to use queued retry with EBUSY/EPERM/EAGAIN backoff (max 4 retries, exponential).