@softure-ai/skills 0.9.0 → 0.10.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/WORKFLOW.md CHANGED
@@ -492,7 +492,7 @@ runs in a checkout and reads the block itself.
492
492
  | branch | `<change-id>` in a worktree | the branch the harness assigns; the change-id lives in `context/changes/` and `change.md` → `branch:` |
493
493
  | Phase A | `wt-open.sh` + worktree | in the thread's own checkout, no `git worktree add` (`softure-worktree` → Cloud session) |
494
494
  | reports / heartbeat | `CronCreate` | a recurring routine; without a scheduling tool, a setup thread creates it from `softure-worktree-manager/references/report-routine.md` |
495
- | close | `claude stop` + worktree removal | resolve the thread after its pull request is merged |
495
+ | close | `claude stop` + worktree removal | the thread resolves itself after its pull request is merged; on the merge result the coordinator checks it and resolves it if still open |
496
496
 
497
497
  `worktree.cloudState` (§2) and `install.gitignore: false` (for containers that never run
498
498
  `npm install`) apply to the threads as to any cloud session. Forge access in a hosted session is often
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softure-ai/skills",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "description": "SOFTURE agent skills: a spec-driven delivery workflow (shape → prd → roadmap → plan → implement → review) plus parallel worktree orchestration",
5
5
  "license": "MIT",
6
6
  "repository": {
package/rules/AGENTS.md CHANGED
@@ -144,6 +144,11 @@ Only a "stop" or "pause" from the owner, recorded in memory, holds it back.
144
144
  or say what blocks it. A green PR that sits unmerged because nobody said "go" is the coordinator's
145
145
  failure.
146
146
  - Posts every thread's result in the main chat as it arrives (condensed, decision first).
147
+ - **Makes sure finished threads are closed.** On every merge result, and whenever a thread with a
148
+ one-off job hands its result over (a planning thread, the report routine setup thread once it sends
149
+ the routine id back, a report thread), check that the thread is resolved and resolve it yourself
150
+ (`set_thread_resolved` or the equivalent) if it is not. Never close a thread whose pull request is
151
+ still open.
147
152
  - Nudges stalled threads (waiting on CI, stopped by a usage limit) on every report.
148
153
  - A new question about the roadmap goes to a new thread; the old one is closed.
149
154
 
@@ -118,7 +118,7 @@ project's main-chat session: no shell over the workers, no `claude agents`, no
118
118
  | M4 watch | `wm-watch.sh` | thread messages and the report routine |
119
119
  | M4 status | `CronCreate` | a recurring routine; no scheduling tool → setup thread with `references/report-routine.md` |
120
120
  | READY, go | `SendMessage` | cross-session messages, both ways |
121
- | M5 cleanup | `claude stop` + worktree removal | the thread resolves itself after its pull request is merged |
121
+ | M5 cleanup | `claude stop` + worktree removal | the thread resolves itself after its pull request is merged; on its merge result check it and resolve it if still open |
122
122
 
123
123
  A fresh main-chat session starts the run by itself (`AGENTS.md` → Start of a
124
124
  run); it does not wait for this skill to be invoked.
@@ -407,7 +407,8 @@ never re-arm the next one. An explicit `--status-every` still wins.
407
407
  session): start one setup thread with the brief in
408
408
  `references/report-routine.md`; it creates the routine (bound to this session
409
409
  when the harness allows, else a fresh session per firing), sends back its id
410
- and is closed. Record the id in memory; at M7 or on "stop"/"pause" have a
410
+ and is closed (when it is still open after sending the id, resolve it
411
+ yourself). Record the id in memory; at M7 or on "stop"/"pause" have a
411
412
  thread delete the routine by that id. Never skip the reports, never chain
412
413
  one-off wake-ups instead.
413
414
 
@@ -22,6 +22,9 @@ Coordinator session: <coordinator session id>.
22
22
  thread. Write no code, open no pull request.
23
23
  ```
24
24
 
25
+ When the id arrives, the coordinator records it and checks that the setup thread is resolved;
26
+ if it is still open, the coordinator resolves it itself.
27
+
25
28
  ## Routine prompt
26
29
 
27
30
  Fill in `<roadmap name>`, `<coordinator session id>` and `<owner/repo>`.