feat: implement comment posting functionality and notify lead on task unassignment
This commit is contained in:
@@ -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 two‑step sequence:
|
||||
6a) Post the full response as a markdown comment using:
|
||||
POST $BASE_URL/api/v1/agent/boards/{BOARD_ID}/tasks/{TASK_ID}/comments
|
||||
|
||||
Reference in New Issue
Block a user