@softure-ai/skills 0.13.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@
14
14
  # ADOPT worker process alive and working → take over its merge
15
15
  # NUDGE worker process alive but blocked (usage limit, sleep, network) → SendMessage "continue"
16
16
  # RELAUNCH no live worker process, worktree/branch still there → claude stop <id>; wm-launch.sh
17
- # FIX-ROW the main branch already has the merge commit, row not updated → fix the row
17
+ # FIX-ROW the main branch already has the merge commit, row not updated → wt-roadmap.py done
18
18
  # REPORT in flight on the roadmap but no branch and no worktree → tell the owner
19
19
  #
20
20
  # Why: the owner clears the coordinator session and runs the skill again; workers keep running
@@ -114,10 +114,11 @@ for rid, cid, stage in rows:
114
114
  coord_alive = "?" if coord == "?" else ("yes" if coord in live_names else "no")
115
115
 
116
116
  stuck = re.search(r"session limit|went to sleep|API Error|Can't reach|rate limit", last, re.I)
117
- if stage == "ready_to_merge":
118
- action = "MERGE"
119
- elif merged:
117
+ # Merged first: the row stays `ready_to_merge` until `wt-roadmap.py done` runs after the merge.
118
+ if merged:
120
119
  action = "FIX-ROW"
120
+ elif stage == "ready_to_merge":
121
+ action = "MERGE"
121
122
  elif not has_branch and wt == "no":
122
123
  action = "REPORT"
123
124
  elif a and a.get("pid") and (a.get("state") in ("working",) or a.get("status") == "busy") and not stuck: