mirror of
https://github.com/openai/codex.git
synced 2026-11-11 21:10:39 +00:00
This PR adds 2 defensive mechanisms for shell snapshotting: * Filter out invalid env variables (containing `-` for example) without dropping the whole snapshot * Validate the snapshot before considering it as valid by running a mock command with a shell snapshot