mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## Why Daemon installation rereads staged files to verify the executable and hash the normalized WinGet package, even though staging already computed their digests. ## What changed Cache file digests while copying the package and reuse them for the staged executable comparison and final WinGet tree hash. Update cached paths when moving WinGet executables and refresh digests when rewriting manifests. Continue hashing source packages and existing releases from disk so digest reuse does not bypass content validation. ## Testing Extend the installation test to corrupt an existing release's `codex-package.json` and verify that reinstalling rejects it while preserving the current selection. GitOrigin-RevId: 429da2ad8b2ee50f07ffb14b79281ab262a2d1a1