taskforce-loop-engineering 0.16.6 → 0.16.7

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 0.16.7 - 2026-11-29
6
+
7
+ Skill hardening release. The CLI behaves the same as 0.16.6; the distributed skill now pins every install command to this exact version, so ClawHub can review a fixed package instead of whatever npm serves.
8
+
9
+ - Pin every npm and npx install command in the distributed skill, its npm reference and the README to the exact package version (`taskforce-loop-engineering@<version>`), and pin the source clone to the matching `v<version>` tag. Unpinned `npx -p taskforce-loop-engineering` downloads and runs whatever version is newest, which is why ClawHub's security scan flagged the skill as suspicious. The skill now names the release tag to review before installing, and `scripts/distribution-skill-self-test.mjs` (part of `npm run check`) fails when a pin differs from `package.json`, so bumping the version without updating the docs fails CI and release verification.
5
10
  - Add a manually dispatched `Release` workflow (`.github/workflows/release.yml`). It verifies the version, the commit on main and the changelog section, and runs the full test suite. It then creates the tag and GitHub release and publishes to npm (trusted publishing or `NPM_TOKEN`) and ClawHub (`CLAWHUB_TOKEN`) from the `release` environment. Every step skips work that is already done, so a failed run can be dispatched again.
6
11
 
7
12
  ## 0.16.6 - 2026-11-28
package/README.md CHANGED
@@ -108,13 +108,13 @@ isolated git worktree.
108
108
  From npm:
109
109
 
110
110
  ```bash
111
- npm install -g taskforce-loop-engineering
111
+ npm install -g taskforce-loop-engineering@0.16.7
112
112
  ```
113
113
 
114
114
  Or run without installing:
115
115
 
116
116
  ```bash
117
- npx -p taskforce-loop-engineering loop-engineering --help
117
+ npx -p taskforce-loop-engineering@0.16.7 loop-engineering --help
118
118
  ```
119
119
 
120
120
  ## OpenClaw conversation installer
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskforce-loop-engineering",
3
- "version": "0.16.6",
3
+ "version": "0.16.7",
4
4
  "private": false,
5
5
  "description": "OpenClaw-native loop engineering CLI, templates, and skill for verifiable agent work loops.",
6
6
  "type": "module",
@@ -13,6 +13,26 @@ for (const required of ['agent-tasks', 'scripts/loops/openclaw-loop.mjs', 'scrip
13
13
  assert.equal(skill.includes(required), true, `distributed skill is missing generic integration guidance: ${required}`);
14
14
  }
15
15
 
16
+ // Install commands in user-facing docs must pin the exact package version, so
17
+ // an agent following them runs the reviewed release, not whatever npm serves.
18
+ const { name: packageName, version: packageVersion } = JSON.parse(await readFile(new URL('../package.json', import.meta.url), 'utf8'));
19
+ const escapedName = packageName.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
20
+ const installDocs = {
21
+ 'skills/taskforce-loop-engineering/SKILL.md': skill,
22
+ 'skills/taskforce-loop-engineering/references/npm-package.md': await readFile(new URL('../skills/taskforce-loop-engineering/references/npm-package.md', import.meta.url), 'utf8'),
23
+ 'README.md': await readFile(new URL('../README.md', import.meta.url), 'utf8'),
24
+ };
25
+ const installPattern = new RegExp(`(?:npm (?:install|i) (?:-g|--global)|npx(?: -y| --yes)? -p) ${escapedName}(@\\S*)?`, 'g');
26
+ for (const [file, text] of Object.entries(installDocs)) {
27
+ for (const match of text.matchAll(installPattern)) {
28
+ assert.equal(match[1], `@${packageVersion}`, `${file}: "${match[0]}" must pin ${packageName}@${packageVersion} (package.json version)`);
29
+ }
30
+ }
31
+ assert.ok([...skill.matchAll(installPattern)].length >= 2, 'distributed skill must keep its pinned npm and npx install commands');
32
+ for (const required of [`${packageName}@${packageVersion} loop-engineering --help`, `git clone --branch v${packageVersion} `, `tree/v${packageVersion}`, `\`${packageVersion}\``]) {
33
+ assert.equal(skill.includes(required), true, `distributed skill must reference version ${packageVersion}: ${required}`);
34
+ }
35
+
16
36
  try {
17
37
  await access(workspaceSkillUrl);
18
38
  const workspaceSkill = await readFile(workspaceSkillUrl, 'utf8');
@@ -26,24 +26,26 @@ Official distribution:
26
26
  - license: Apache-2.0
27
27
  - runtime requirement: Node.js 22 or newer
28
28
 
29
+ Every install command below pins the exact package version this skill was released with, `0.16.7`, which is built from the `v0.16.7` tag of the official repository (`https://github.com/ambitioncn/taskforce-loop-engineering/tree/v0.16.7`). Review that source before installing. Do not drop the version, and do not switch to `@latest` or an unpinned `npx`, which download and run whatever version is newest when the command runs. To use a newer version, install the version a newer release of this skill pins, after reviewing its source.
30
+
29
31
  Install the CLI globally from npm:
30
32
 
31
33
  ```bash
32
34
  node --version
33
- npm install -g taskforce-loop-engineering
35
+ npm install -g taskforce-loop-engineering@0.16.7
34
36
  loop-engineering --help
35
37
  ```
36
38
 
37
39
  For a temporary read-only invocation without a global install:
38
40
 
39
41
  ```bash
40
- npx -p taskforce-loop-engineering loop-engineering --help
42
+ npx -p taskforce-loop-engineering@0.16.7 loop-engineering --help
41
43
  ```
42
44
 
43
45
  For source-based development, clone the official repository and install its dependencies:
44
46
 
45
47
  ```bash
46
- git clone https://github.com/ambitioncn/taskforce-loop-engineering.git
48
+ git clone --branch v0.16.7 --depth 1 https://github.com/ambitioncn/taskforce-loop-engineering.git
47
49
  cd taskforce-loop-engineering
48
50
  npm install
49
51
  npm run check
@@ -13,7 +13,7 @@ for capability checks, channel/account selection, and acceptance boundaries.
13
13
  Install from npm:
14
14
 
15
15
  ```bash
16
- npm install -g taskforce-loop-engineering
16
+ npm install -g taskforce-loop-engineering@0.16.7
17
17
  ```
18
18
 
19
19
  Hermes Agent integration commands: