@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.
- package/ONBOARD.md +2 -1
- package/README.md +7 -2
- package/WORKFLOW.md +64 -11
- package/package.json +1 -1
- package/rules/AGENTS.md +73 -19
- package/skills/softure-archive/SKILL.md +30 -6
- package/skills/softure-init/SKILL.md +9 -3
- package/skills/softure-worktree/SKILL.md +107 -46
- package/skills/softure-worktree/scripts/wt-merge-check.py +140 -0
- package/skills/softure-worktree/scripts/wt-roadmap.py +172 -18
- package/skills/softure-worktree/scripts/wt-startable.py +153 -0
- package/skills/softure-worktree/scripts/wt_config.py +2 -2
- package/skills/softure-worktree-manager/SKILL.md +40 -14
- package/skills/softure-worktree-manager/references/report-routine.md +11 -5
- package/skills/softure-worktree-manager/scripts/wm-resume.sh +5 -4
|
@@ -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 →
|
|
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
|
-
|
|
118
|
-
|
|
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:
|