Read stdin before validating required image flag in codex test stub

- Move stdin capture earlier in fake codex script setup
- Ensure stdin-based assertions remain available even when image validation fails
fb9274117cJulius Marminge committed on 3/2/2026, 12:34:59 AMparent88dc6c9
1 file changedLine totals unavailable