Summary
OpenCodex 2.52.0 on Windows reports:
backup manifest or restore target failed integrity checks — manual review required
for an existing v2 Codex history manifest. A read-only inspection shows that the history appears intact:
- 66 manifest entries; all 66 corresponding thread IDs still exist in the database.
- 46 rollout paths match exactly.
- 20 rollout paths are reported as mismatches:
- 18 differ only by the Windows extended-length prefix (
\\?\\).
- 2 have moved from
sessions to archived_sessions.
- There is no evidence that the 66 threads or rollout files are corrupted.
The likely false positive is that Windows paths such as C:\\... and \\\\?\\C:\\... refer to the same file, but the integrity check compares them as different path identities.
Environment
- OpenCodex 2.52.0
- Codex CLI 0.154.0
- Windows
Reproduction
- Use an existing v2 Codex history manifest on Windows.
- Run the OpenCodex history integrity/doctor check.
- Observe the integrity warning for the manifest even though the database rows and rollout files are present.
Workaround
Setting syncResumeHistory=false bypasses the failing history-resume check and allows routing to recover as opencodex-local.
Expected behavior
Windows path identity normalization should treat C:\\... and \\\\?\\C:\\... as the same file, while legitimately archived sessions should be handled or reported separately from integrity failures.
Summary
OpenCodex 2.52.0 on Windows reports:
for an existing v2 Codex history manifest. A read-only inspection shows that the history appears intact:
\\?\\).sessionstoarchived_sessions.The likely false positive is that Windows paths such as
C:\\...and\\\\?\\C:\\...refer to the same file, but the integrity check compares them as different path identities.Environment
Reproduction
Workaround
Setting
syncResumeHistory=falsebypasses the failing history-resume check and allows routing to recover asopencodex-local.Expected behavior
Windows path identity normalization should treat
C:\\...and\\\\?\\C:\\...as the same file, while legitimately archived sessions should be handled or reported separately from integrity failures.