fix: WATCH flow comment step missing explicit curl command in run-planner.toml (#469)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
openhands 2026-03-21 17:29:39 +00:00
parent df627c1b88
commit 761eed5d42

View file

@ -119,7 +119,11 @@ Evidence from the preflight step informs whether each prediction is valid
-d '{"state":"closed"}'
For WATCH:
a. Comment with reasoning why not urgent
a. Comment with reasoning why not urgent:
curl -sf -X POST -H "Authorization: token $CODEBERG_TOKEN" \
-H "Content-Type: application/json" \
"$CODEBERG_API/issues/<pred_num>/comments" \
-d '{"body":"Watching — <reasoning>"}'
b. Replace prediction/unreviewed label with prediction/backlog:
curl -sf -X DELETE -H "Authorization: token $CODEBERG_TOKEN" \
"$CODEBERG_API/issues/<pred_num>/labels/<unreviewed_label_id>"