Add cancelled status for tasks

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Gros Frumos 2026-03-15 18:22:17 +02:00
parent 6e872121eb
commit bf38532f59
5 changed files with 7 additions and 6 deletions

View file

@ -141,7 +141,7 @@ class TaskPatch(BaseModel):
status: str
VALID_STATUSES = {"pending", "in_progress", "review", "done", "blocked"}
VALID_STATUSES = {"pending", "in_progress", "review", "done", "blocked", "cancelled"}
@app.patch("/api/tasks/{task_id}")