mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +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