Orchestrator should detect REQUEST_CHANGES from reviewer

t-318·WorkTask·
·
·
·Omni/Agent/Telegram/Orchestrator.hs
Created1 month ago·Updated1 month ago

Description

Edit

The orchestrator treats exit 0 from pi-review.sh as approval and gets the HEAD commit hash. But REQUEST_CHANGES also exits 0 (it just adds feedback without committing). The orchestrator should either: 1. Check if there's actually a new commit (compare before/after HEAD) 2. Or pi-review.sh should exit with a distinct code for REQUEST_CHANGES (e.g. exit 2)

Current behavior: orchestrator marks task done even when reviewer requested changes.

Timeline (2)

🔄[human]Open → InProgress1 month ago
🔄[human]InProgress → Done1 month ago