Omni/Ide/dev-review-release.sh loop exits after the first failed agentd run instead of retrying.
Root cause discovered while dogfooding t-575:
loop_cmd disables set -e before calling run_single_task, expecting to capture non-zero rc.run_single_task, the function temporarily disables set -e around agentd run, then re-enables it before return $rc.set -e re-enabled causes shell exit before caller can handle rc.Observed behavior:
Expected:
Loop iteration failed) and continue after sleep.
Fixed loop early-exit bug in Omni/Ide/dev-review-release.sh. Root cause was toggling set -e inside run_single_task around agentd invocation; function returned non-zero with errexit re-enabled, causing loop shell to exit before retry logic. Reworked run command execution to capture rc via if (...) then/else without mutating global errexit state. Verified with timeout repro: loop now logs 'Loop iteration failed (rc=...)' and retries next poll cycle.