feat(agents): Update documentation for task updates and logging mechanism

This commit is contained in:
Abhimanyu Saharan
2026-02-04 18:17:24 +05:30
parent 7892dfad7c
commit d2f4d11508
3 changed files with 12 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ curl -s -X PATCH "$BASE_URL/api/v1/boards/{BOARD_ID}/tasks/{TASK_ID}" \
5) Work the task:
- Update status as you progress.
- Post a brief work log to the task comments endpoint (do not use chat).
- When complete, move to "review":
```bash
curl -s -X PATCH "$BASE_URL/api/v1/boards/{BOARD_ID}/tasks/{TASK_ID}" \
@@ -52,6 +53,12 @@ curl -s -X PATCH "$BASE_URL/api/v1/boards/{BOARD_ID}/tasks/{TASK_ID}" \
-H "Content-Type: application/json" \
-d '{"status": "review"}'
```
```bash
curl -s -X POST "$BASE_URL/api/v1/boards/{BOARD_ID}/tasks/{TASK_ID}/comments" \
-H "X-Agent-Token: $AUTH_TOKEN" \
-H "Content-Type: application/json" \
-d '{"message": "Summary of work, result, and next steps."}'
```
## Status flow
```