mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +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