mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
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:
@@ -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 |
|
||||
|
||||
Reference in New Issue
Block a user