feat: implement comment posting functionality and notify lead on task unassignment

This commit is contained in:
Abhimanyu Saharan
2026-02-05 23:19:46 +05:30
parent fa91352430
commit 51b352df45
3 changed files with 132 additions and 1 deletions

View File

@@ -68,10 +68,11 @@ curl -s "$BASE_URL/api/v1/agent/boards/{BOARD_ID}/tasks?status=inbox&unassigned=
5) If you do NOT have an in_progress task:
- If you have **assigned inbox** tasks, move one to in_progress and add a markdown comment describing the update.
- Else if there are **unassigned inbox** tasks, claim one and move it to in_progress with a comment.
- If there are **unassigned inbox** tasks, do **not** claim them. Wait for the board lead to assign work.
6) Work the task:
- Post progress comments as you go.
- Before working, fetch the latest task comments and respond in the task thread if the human asked a question.
- Completion is a twostep sequence:
6a) Post the full response as a markdown comment using:
POST $BASE_URL/api/v1/agent/boards/{BOARD_ID}/tasks/{TASK_ID}/comments