@softure-ai/skills 0.17.0 → 0.18.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
@@ -300,7 +300,8 @@ item block and appends to `## Done` itself. On a change branch (`softure-worktre
300
300
  branch never conflicts on the roadmap. Orchestrators fall back to `wt-roadmap.py done` themselves when a thread did not
301
301
  run it.
302
302
  Each item block may carry `- **Input:** <path>` (e.g. the change folder), which tells research where its brief lives.
303
- `change.md` is defined **only** in §4. softure-roadmap `--open-changes` and softure-new write the same format.
303
+ `change.md` is defined **only** in §4. softure-roadmap (step 14, for every item it records) and softure-new write the same
304
+ format; softure-new takes over a `change.md` the roadmap opened.
304
305
 
305
306
  Parsing rules (scripts depend on them):
306
307
  - Item IDs match `[A-Z]+-\d+`. A table row starts with `| **<ID>** | \`<change-id>\` |`, and the
@@ -538,7 +539,9 @@ so the paste is verified, never assumed:
538
539
  repeats it as an owner step in every report until the owner confirms the paste.
539
540
 
540
541
  **New roadmap.** When the owner hands over a new roadmap, the coordinator starts one roadmap thread
541
- that only runs `softure-roadmap`, merges `roadmap.md` and ends. Only then does it start one thread
542
+ that only runs `softure-roadmap`, merges `roadmap.md` together with a change folder for every new item
543
+ (`context/changes/<change-id>/change.md`, its `## Context` carrying the item block and the findings
544
+ gathered for it) in the same pull request, and ends. Only then does it start one thread
542
545
  per ready item. A single thread never records a roadmap and implements its items.
543
546
 
544
547
  Nothing else needs saying: the rules, the roadmap and the owner's standing orders live in the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softure-ai/skills",
3
- "version": "0.17.0",
3
+ "version": "0.18.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
@@ -156,9 +156,12 @@ Only a "stop" or "pause" from the owner, recorded in memory, holds it back.
156
156
  the same files go to the same thread or wait. A planning thread hands its result over and is closed.
157
157
  Before starting a thread, check that the item has none yet.
158
158
  - **A new roadmap is two steps, never one thread.** When the owner hands over a new roadmap (or a
159
- revision), brief one roadmap thread that only shapes, records, commits and merges `roadmap.md`,
160
- then ends. Once it is merged, start one thread per ready item, as for any run. Never brief a single
161
- thread to record a roadmap and implement its items, or to implement a whole roadmap.
159
+ revision), brief one roadmap thread that only shapes, records, commits and merges `roadmap.md`
160
+ **and** opens the change of every new item (`context/changes/<change-id>/change.md`, with the item
161
+ block and the findings gathered for it) in the same pull request, then ends. Once it is merged,
162
+ start one thread per ready item, as for any run; each item thread starts from its change, not
163
+ from the roadmap row. Never brief a single thread to record a roadmap and implement its items, or
164
+ to implement a whole roadmap.
162
165
  - Runs as many threads as are parallel-safe; `worktree.maxParallel` is a soft default.
163
166
  - **The roadmap keeps rolling: recompute the startable set on every merge result and every report.**
164
167
  Read `roadmap.md` on `origin/<main>`; every item that is not done, has no thread, and whose
@@ -7,11 +7,11 @@ description: >
7
7
  thin vertical slices with stable IDs, dependencies, ownership of hot files for parallel work,
8
8
  unknowns, baselines, and an at-a-glance table that orchestrators parse. Self-reviews before
9
9
  writing and ends with one recommended next item. Also queues thematic roadmaps, promotes
10
- them and closes a finished roadmap. Optionally opens a change folder for every ready item.
10
+ them and closes a finished roadmap. Opens a change folder for every item it records, by default.
11
11
  Use after softure-prd, when feedback must be turned into work, or to revise the order.
12
12
  Triggers: "make a roadmap", "slice the PRD", "what do we build first", "order the work",
13
13
  "turn feedback into roadmap items", "close the roadmap".
14
- argument-hint: "[--revise] [--open-changes] [--queue <slug> | --promote <slug> | --close] [--from-feedback <path>] [--auto]"
14
+ argument-hint: "[--revise] [--no-open-changes] [--queue <slug> | --promote <slug> | --close] [--from-feedback <path>] [--auto]"
15
15
  allowed-tools:
16
16
  - Read
17
17
  - Glob
@@ -57,7 +57,8 @@ Read the PRD in full, not in excerpts.
57
57
  ## Modes
58
58
 
59
59
  - **main** (default): writes `context/foundation/roadmap.md`, the one roadmap that is executed.
60
- - **`--revise`**: edits the existing main roadmap in place (see "Existing roadmap").
60
+ - **`--revise`**: edits the existing main roadmap in place (see "Existing roadmap"). Adding items
61
+ to an open roadmap is a revision too, and step 14 opens a change for each new item.
61
62
  - **`--queue <slug>`**: writes a queued thematic roadmap per WORKFLOW §5.1:
62
63
  `context/foundation/roadmaps/roadmap-<slug>.md` (`status: waiting`, `backlog:`, `trigger:`), plus
63
64
  `context/backlog/roadmap-<slug>/README.md` (table `| ID | Entry | Title | Condition | Kind |`, where Kind
@@ -95,7 +96,8 @@ Read the PRD in full, not in excerpts.
95
96
 
96
97
  Revise mode rules: never renumber an ID; new items take the next free number of the prefix; never
97
98
  drop or re-status an `in_progress`, `ready_to_merge`, `done` or `done_code` row; remove a row only
98
- when it is `proposed` or `ready` with no folder in `changes/` and no branch; bump `version`; set
99
+ when it is `proposed` or `ready` with no branch and no work in `changes/` (a folder that holds only
100
+ the `change.md` step 14 opened, still `status: new`, is removed with the row); bump `version`; set
99
101
  `prd_version` to the PRD's; name every item whose `PRD refs` cite an FR the new PRD version changed.
100
102
  Overwriting a roadmap without archiving it is never an option. In `--auto`: revise in place.
101
103
 
@@ -218,14 +220,27 @@ Overwriting a roadmap without archiving it is never an option. In `--auto`: revi
218
220
  "Accept the order? (Recommended: accept)". Apply edits, re-run the self-review, and set
219
221
  `status: ready` (or keep `draft` after a thin-PRD proceed).
220
222
 
221
- 14. **`--open-changes`.** For every `ready` item without a folder, create
222
- `context/changes/<change-id>/change.md` in the `softure-new` format (WORKFLOW §4):
223
+ 14. **Open a change for every new item (default).** Every item this run records (a new roadmap,
224
+ or the items a revision adds) gets its change in the same commit as `roadmap.md`, whatever its
225
+ status (`ready`, `blocked` or `proposed`): the context gathered while recording it travels with the
226
+ change instead of living only in the roadmap. For every new item without a folder in
227
+ `context/changes/`, create `context/changes/<change-id>/change.md` in the `softure-new` format
228
+ (WORKFLOW §4):
223
229
  - `status: new` and `roadmap_item: <ID>`;
224
230
  - `## Intent` = the item outcome;
225
- - `## Context` quotes the item block verbatim;
231
+ - `## Context` quotes the item block verbatim, then adds the findings this run gathered for that
232
+ item: the owner's input that shaped it, the baseline probes and code survey for the layers it
233
+ touches (with the files cited), and production or feedback evidence. Quote or cite; never
234
+ paraphrase a source away;
226
235
  - `## Constraints` lists the exclusively owned files;
227
236
  - add `- **Input:** context/changes/<change-id>/change.md` to the item block.
228
237
 
238
+ An item that already has a folder (in `changes/`, or an entry in `context/backlog/`, which
239
+ `softure-new` takes over) keeps it; add the `Input` line only. `softure-new` later takes over a
240
+ prepared `change.md` as it is. Skip this step only on the owner's explicit word
241
+ (`--no-open-changes`, recorded in the handoff); never skip it on your own, not even in `--auto`.
242
+ `--open-changes` is still accepted and changes nothing.
243
+
229
244
  A complete, realistic roadmap in this format, with a bad version and why it fails:
230
245
  [references/example-roadmap.md](references/example-roadmap.md) (read before the first roadmap in a
231
246
  project).
@@ -291,8 +306,8 @@ Record each choice under `## Decisions (auto)` at the end of the file:
291
306
  - Do not estimate in hours, days, points or sizes. Order and slice size are the planning tools here.
292
307
  - Do not chain into the next skill on your own; the handoff is a recommendation.
293
308
  - Do not implement roadmap items in the session that wrote the roadmap. In a coordinated run
294
- (autonomous mode, a hosted project), the roadmap thread commits and merges `roadmap.md`, reports to
295
- the coordinator, and ends; the coordinator then starts one thread per item.
309
+ (autonomous mode, a hosted project), the roadmap thread commits and merges `roadmap.md` together
310
+ with the new items' change folders (step 14), reports to the coordinator, and ends; the coordinator then starts one thread per item.
296
311
 
297
312
  ## Handoff
298
313
 
@@ -305,10 +320,11 @@ item, not a menu. Take the first rule that applies:
305
320
  3. nothing is `ready` → the owner decision that unblocks the most items, with what it unblocks;
306
321
  4. otherwise → the `ready` item that unblocks the most others; ties by the goal.
307
322
 
308
- Name the command (`softure-new <change-id>`, or `--open-changes` then `softure-worktree-manager`
323
+ Name the command (`softure-new <change-id>` to continue the opened change, `softure-worktree-manager`
309
324
  for parallel execution, `softure-worktree <ID>` for one item end to end), the next two items after
310
- it, and what waits for the owner.
325
+ it, and what waits for the owner. List the change folders this run opened.
311
326
 
312
- **In a coordinated run, this thread ends here.** Once `roadmap.md` is merged into the main branch,
327
+ **In a coordinated run, this thread ends here.** Once `roadmap.md` and the opened change folders are
328
+ merged into the main branch,
313
329
  send the summary to the coordinator and close the thread. The coordinator starts one thread per
314
330
  ready item (`AGENTS.md` → Operating mode: autonomous); this thread never implements an item.