Cursor Agent 9251fc5c0a fix(ops): keep git reset output off deploy SHA capture
git reset --hard prints 'HEAD is now at …' to stdout, which polluted
read -r previous_sha target_sha < <(git_fetch_and_checkout) and wrote
invalid values into .evo-deploy/state.json. Redirect git stdout to
stderr inside git_fetch_and_checkout and rollback; validate SHAs before
write_state and rollback.

Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
2026-09-24 04:41:42 +00:00
..