fix(lifecycle): unblock a never-claimed task to pending, not branchless in_progress

A task blocked before it was ever claimed (a dependency-gated claim that got
escalated) has no branch. Legacy unblock() forced in_progress, which the
dispatcher refuses (state=in_progress but branch_name unset) -> a spawn-refused
loop. Add the blocked->pending transition and route no-branch tasks there so
they are freshly claimed (the claim gate then holds them cleanly while the
dependency is unmet). Branched tasks still resume in_progress. Artifacts
regenerated.
This commit is contained in:
Renn F
2026-06-04 02:01:09 +02:00
parent 6d1b56b5b0
commit 2631f2647c
5 changed files with 53 additions and 1 deletions
+1
View File
@@ -19,6 +19,7 @@
| backlog | pending | activate | any |
| blocked | cancelled | cancel | cell_pm, ceo, main_pm |
| blocked | in_progress | unblock | any |
| blocked | pending | unblock | any |
| claimed | cancelled | cancel | cell_pm, ceo, main_pm |
| claimed | in_progress | start | any |
| in_progress | awaiting_pm_review | submit_pm_review | any |