tasks: an open task can be blocked directly (deferred before anyone starts it)

This commit is contained in:
KeelrLeek committed 2026-10-07 09:26:50 -05:00
1 parent e0b9a82e7a
commit d7464aaa40
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ from .util import (PRIORITY_NAMES, HarborError, first_line, iso, parse_iso, pars
TASK_STATES = ("open", "in_progress", "blocked", "review", "done", "cancelled")
OPEN_TASK_STATES = ("open", "in_progress", "blocked", "review")
TASK_MOVES = {
"open": {"in_progress", "cancelled"},
"open": {"in_progress", "cancelled", "blocked"}, # deferred before anyone starts it
"in_progress": {"blocked", "open", "done", "cancelled", "review"},
"blocked": {"in_progress", "open", "cancelled"},
"review": {"in_progress", "done", "cancelled"},