@softure-ai/skills 0.1.1 → 0.1.2

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/README.md CHANGED
@@ -59,14 +59,27 @@ decision in the artifact. The orchestrators always use it.
59
59
 
60
60
  ## Releasing
61
61
 
62
- Bump `version` in `package.json` and merge to the main branch. The workflow validates the
63
- package, test-installs it into a scratch project, and publishes to npm with provenance, but
64
- only if that version is not published yet.
65
-
66
- Publishing uses npm **trusted publishing (OIDC)**: the trusted publisher on npmjs.com is
67
- `SOFTURE/SKILLS` → `release.yml`, and no token is stored. An `NPM_TOKEN` secret (a granular
68
- token with "Bypass 2FA") is only needed when bootstrapping a brand-new package, before its
69
- trusted publisher can be configured.
62
+ Releases are tag-driven:
63
+
64
+ ```bash
65
+ npm version patch # or minor / major: bumps package.json and creates tag vX.Y.Z
66
+ git push --follow-tags
67
+ ```
68
+
69
+ The `v*.*.*` tag runs `.github/workflows/release.yml`, which:
70
+ 1. validates and test-installs the package, and checks that the tag matches `package.json`;
71
+ 2. publishes `@softure-ai/skills` to **npmjs.com** through trusted publishing (OIDC, provenance,
72
+ no stored token);
73
+ 3. publishes `@softure/skills` to **GitHub Packages** (GitHub requires the scope to match the org);
74
+ 4. creates the **GitHub Release** with generated notes and the package tarball attached.
75
+
76
+ Ways to install a release:
77
+
78
+ | Source | Command |
79
+ |---|---|
80
+ | npm | `npm i -D @softure-ai/skills` |
81
+ | GitHub Release (no auth) | `npm i -D https://github.com/SOFTURE/SKILLS/releases/download/vX.Y.Z/softure-ai-skills-X.Y.Z.tgz` |
82
+ | GitHub Packages | `npm i -D @softure/skills` with `@softure:registry=https://npm.pkg.github.com` and a token with `read:packages` |
70
83
 
71
84
  `node scripts/validate.mjs` is the release gate: frontmatter, the `softure-` prefix, and no
72
85
  third-party course branding in any shipped file.
package/WORKFLOW.md CHANGED
@@ -71,8 +71,9 @@ context/
71
71
  foundation/
72
72
  shape-notes.md softure-shape (frontmatter: session, status, created, updated; optional `## Frame` from softure-frame)
73
73
  prd.md softure-prd (frontmatter: version, status: draft | accepted, source, updated)
74
- roadmap.md softure-roadmap (§5)
75
- roadmaps/<YYYY-MM-DD>-<slug>.md previous roadmaps, archived by softure-roadmap
74
+ roadmap.md softure-roadmap (§5) the ONE active (main) roadmap
75
+ roadmaps/roadmap-<slug>.md queued thematic roadmaps, status: waiting (§5.1)
76
+ archive/<YYYY-MM-DD>-roadmap.md finished roadmaps (also old prd.md / shape-notes.md versions)
76
77
  lessons.md softure-lesson (§7)
77
78
  changes/<change-id>/
78
79
  change.md softure-new (§4)
@@ -84,9 +85,9 @@ context/
84
85
  impl-review.md softure-impl-review
85
86
  code-review.md softure-code-review (when run on a change)
86
87
  archive/<YYYY-MM-DD>-<change-id>/ softure-archive (date = change.md `created`)
87
- backlog/ ideas and deferred findings not on the roadmap yet:
88
- <topic>.md (flat list, see below) or <group>/<id>/change.md (a prepared change;
89
- when picked up it is moved to changes/<id>/backlog-input.md)
88
+ backlog/ everything planned for "later", never what is in flight:
89
+ roadmap-<slug>/ one folder per queued roadmap (§5.1): README.md + <change-id>/change.md (status: backlog)
90
+ <topic>.md flat list of deferred findings and loose ideas (see below)
90
91
  ```
91
92
 
92
93
  `change-id` is kebab-case, ASCII, at most 40 characters, unique across `changes/` and `archive/`.
@@ -129,6 +130,7 @@ Free-form. Orchestrators append signals here.
129
130
 
130
131
  | status | set by | meaning / resume point |
131
132
  |---|---|---|
133
+ | `backlog` | softure-roadmap | prepared entry in `context/backlog/roadmap-<slug>/`; not in flight |
132
134
  | `new` | softure-new | next: research |
133
135
  | `preparing` | softure-research | research written; next: frame (optional) or plan |
134
136
  | `planned` | softure-plan | next: plan review |
@@ -150,7 +152,7 @@ read that finding before re-running plan-review.
150
152
  project: "Name"
151
153
  roadmap: short-slug
152
154
  version: 1
153
- status: draft | ready | done
155
+ status: draft | waiting | ready | done
154
156
  prd_version: 4
155
157
  updated: 2026-10-01
156
158
  ---
@@ -215,6 +217,30 @@ Parsing rules (scripts depend on them):
215
217
  `plan-review`, `implement N/M`, `impl-review`, `integration`, `archive`.
216
218
  - The item block mirrors the row status in `- **Status:** …` directly under `- **Change ID:**`.
217
219
 
220
+ ### 5.1 Thematic roadmaps and the backlog
221
+
222
+ Only `roadmap.md` is executed. Everything planned for later lives in **queued thematic roadmaps**,
223
+ each paired with a backlog folder of prepared entries:
224
+
225
+ ```
226
+ context/foundation/roadmaps/roadmap-<slug>.md the plan: order, dependencies, owner decisions, item blocks
227
+ context/backlog/roadmap-<slug>/README.md table of entries: | ID | Entry | Title | Condition | Kind |
228
+ context/backlog/roadmap-<slug>/<change-id>/change.md §4 format with `status: backlog`
229
+ ```
230
+
231
+ - Queued roadmap frontmatter adds `status: waiting`, `backlog: context/backlog/roadmap-<slug>/` and
232
+ `trigger: "<what has to happen before it becomes the main roadmap>"`. Its table rows use the §5 format;
233
+ every row is `proposed`, `ready` or `blocked (…)`.
234
+ - **One topic, one place.** An entry is in exactly one of `backlog/`, `changes/` or `archive/`, never copied,
235
+ never as a pointer stub.
236
+ - **Taking an entry** (it becomes active work): `git mv context/backlog/roadmap-<slug>/<id>/change.md
237
+ context/changes/<id>/backlog-input.md`, remove the empty folder, then `softure-new <id>` writes the real
238
+ `change.md` (status `new`) from it. Relative links in the moved file lose one `../`.
239
+ - **Promoting a roadmap** (owner's call, when the main one is done): archive the main roadmap to
240
+ `foundation/archive/<YYYY-MM-DD>-roadmap.md`, `git mv roadmaps/roadmap-<slug>.md roadmap.md`, set
241
+ `status: ready`, then take its ready entries as above. The backlog folder stays until it is empty, then is removed.
242
+ - An entry that got done or rejected elsewhere moves into that change's archive folder as `backlog-input.md`.
243
+
218
244
  ## 6. `plan.md`
219
245
 
220
246
  ```markdown
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softure-ai/skills",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
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": {
@@ -8,7 +8,7 @@ description: >
8
8
  turned into work, or to revise the order. Triggers: "make a roadmap", "slice the PRD",
9
9
  "what do we build first", "order the work",
10
10
  "turn feedback into roadmap items".
11
- argument-hint: "[--revise] [--open-changes] [--from-feedback <path>] [--auto]"
11
+ argument-hint: "[--revise] [--open-changes] [--queue <slug> | --promote <slug>] [--from-feedback <path>] [--auto]"
12
12
  allowed-tools:
13
13
  - Read
14
14
  - Glob
@@ -36,7 +36,21 @@ The format is a contract: `softure-worktree` and `softure-worktree-manager` pars
36
36
  - `context/workflow.json` (for `language`, `maxParallel`, `migrations`).
37
37
  - If an existing `roadmap.md` has items not yet `done`, this is **revise mode**. Never
38
38
  renumber IDs and never drop an `in_progress` item. Move a finished roadmap to
39
- `context/foundation/roadmaps/<YYYY-MM-DD>-<slug>.md` before starting a new one.
39
+ `context/foundation/archive/<YYYY-MM-DD>-roadmap.md` before starting a new one.
40
+
41
+ ## Modes
42
+
43
+ - **main** (default): writes `context/foundation/roadmap.md`, the one roadmap that is executed.
44
+ - **`--queue <slug>`**: writes a queued thematic roadmap per WORKFLOW §5.1:
45
+ `context/foundation/roadmaps/roadmap-<slug>.md` (`status: waiting`, `backlog:`, `trigger:`), plus
46
+ `context/backlog/roadmap-<slug>/README.md` (table `| ID | Entry | Title | Condition | Kind |`, where Kind
47
+ is `start`, `dependency` or `owner`) and one `<change-id>/change.md` per item (§4 format, `status: backlog`,
48
+ `## Intent`, `## Context` with the item block, `## Constraints`). Use this for every theme that is not
49
+ next in line. Several queued roadmaps can exist; each has its own ID prefix.
50
+ - **`--promote <slug>`**: the owner makes a queued roadmap the main one. Archive the current main
51
+ roadmap, `git mv` the queued file to `roadmap.md`, set `status: ready`, and take its ready entries
52
+ (`git mv …/change.md context/changes/<id>/backlog-input.md`, then the `softure-new` format).
53
+ Never promote on your own initiative, not even in `--auto`.
40
54
 
41
55
  ## Procedure
42
56