trackfw 8.0.0-rc1 → 8.0.0-rc2

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.
Files changed (2) hide show
  1. package/README.md +28 -11
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -93,15 +93,23 @@ brew install kgsaran/tap/trackfw
93
93
  go install github.com/kgsaran/trackfw/cmd/trackfw@latest
94
94
  ```
95
95
 
96
- ### npm (pure Node.js — no binary)
96
+ ### npm
97
97
 
98
98
  ```bash
99
99
  npm install -g trackfw
100
100
  ```
101
101
 
102
- The npm package is pure Node.js — no compiled binary or postinstall download.
103
- It installs wherever Node.js ≥ 18 is installed. Shared behavior, including the AI
104
- integration lifecycle, follows the [CLI parity contract](docs/cli-parity.md).
102
+ From v8.0.0, the npm package is a ~80-line JavaScript shim that resolves
103
+ `@trackfw-bin/<platform>` at install time and executes the Go binary. **It is no
104
+ longer pure Node.js — it contains a compiled binary.** The binary arrives through
105
+ the `npm` channel rather than as a separate download, so organisations whose policy
106
+ allows `npm install` but blocks direct executable downloads remain served.
107
+
108
+ If your policy forbids compiled binaries in any form regardless of channel, this
109
+ version is a breaking change for you. See [Changelog](CHANGELOG.md) for the full
110
+ declaration.
111
+
112
+ Shared behavior follows the [command contract](docs/cli-parity.md).
105
113
 
106
114
  > **The CLI installs on Node ≥ 18 alone — the generated guard hooks do not run on
107
115
  > Node alone.** They are POSIX shell scripts and need a POSIX shell to execute. On
@@ -118,8 +126,9 @@ are than let you find them after adoption.
118
126
 
119
127
  **What we know works**
120
128
 
121
- - The three CLIs install (`npm install -g trackfw`, `pip install trackfw`, and the
122
- published `trackfw_<version>_windows_amd64.tar.gz`).
129
+ - All three channels install (`npm install -g trackfw`, `pip install trackfw`, and the
130
+ published `trackfw_<version>_windows_amd64.tar.gz` / `windows_arm64.tar.gz`). From v8.0.0 all
131
+ three deliver the same Go binary; no separate Node.js or Python implementation.
123
132
  - Core governance commands — `req new`, `roadmap new`, `roadmap move`, `status`,
124
133
  `validate` — run, and artifacts are written with LF endings.
125
134
 
@@ -129,8 +138,6 @@ are than let you find them after adoption.
129
138
  Install manually from the release archive for now.
130
139
  - Our Windows CI still reports **known test failures**. They are mapped by root cause,
131
140
  not unknown — but they are not zero.
132
- - **Windows ARM64 is not built.** Only `windows_amd64` is published.
133
-
134
141
  **Guard hooks on Windows — measured, per agent CLI**
135
142
 
136
143
  The guard hooks are `.sh` scripts, executed by *your* AI agent CLI. Which shell that CLI
@@ -168,9 +175,19 @@ an issue with what you measured.
168
175
  pip install trackfw
169
176
  ```
170
177
 
171
- The pip package is pure Python 3.10+ — no compiled binary or postinstall
172
- download. Shared commands, validation rules, and by_agent behavior follow the
173
- [CLI parity contract](docs/cli-parity.md).
178
+ From v8.0.0, the pip package is a binary wheel in `gh-bin` format — **it contains
179
+ no Python files and no source**. The Go binary is installed into the PATH by pip.
180
+ `python -m trackfw` no longer works; use the `trackfw` executable directly.
181
+
182
+ Platforms not covered by the published wheels now fail at resolution time with
183
+ "no matching distribution found" — a clean failure instead of silently installing
184
+ the wrong thing. Eight wheels are published: `manylinux_2_17_x86_64`, `musllinux_1_2_x86_64`,
185
+ `manylinux_2_17_aarch64`, `musllinux_1_2_aarch64`, `macosx_10_9_x86_64`,
186
+ `macosx_11_0_arm64`, `win_amd64`, `win_arm64`. Linux publishes two wheels per
187
+ architecture (manylinux + musllinux), so Alpine and similar musl-based distributions
188
+ are covered.
189
+
190
+ Shared behavior follows the [command contract](docs/cli-parity.md).
174
191
 
175
192
  ---
176
193
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trackfw",
3
- "version": "8.0.0-rc1",
3
+ "version": "8.0.0-rc2",
4
4
  "description": "Governance CLI for AI-native software delivery and AI coding agents. Enforces traceability: ADR → REQ → ROADMAP → kanban. Native support for Codex, Claude Code, Gemini CLI, Cursor, Copilot, Windsurf, Amazon Q, OpenCode, and Kiro.",
5
5
  "keywords": [
6
6
  "cli",
@@ -63,11 +63,11 @@
63
63
  "node": ">=18"
64
64
  },
65
65
  "optionalDependencies": {
66
- "@trackfw-bin/darwin-arm64": "8.0.0-rc1",
67
- "@trackfw-bin/darwin-x64": "8.0.0-rc1",
68
- "@trackfw-bin/linux-arm64": "8.0.0-rc1",
69
- "@trackfw-bin/linux-x64": "8.0.0-rc1",
70
- "@trackfw-bin/win32-arm64": "8.0.0-rc1",
71
- "@trackfw-bin/win32-x64": "8.0.0-rc1"
66
+ "@trackfw-bin/darwin-arm64": "8.0.0-rc2",
67
+ "@trackfw-bin/darwin-x64": "8.0.0-rc2",
68
+ "@trackfw-bin/linux-arm64": "8.0.0-rc2",
69
+ "@trackfw-bin/linux-x64": "8.0.0-rc2",
70
+ "@trackfw-bin/win32-arm64": "8.0.0-rc2",
71
+ "@trackfw-bin/win32-x64": "8.0.0-rc2"
72
72
  }
73
73
  }