trackfw 10.0.0 → 10.1.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.
Files changed (2) hide show
  1. package/README.md +70 -6
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -22,8 +22,16 @@ Every piece of work traces back to a decision. Every decision links to a require
22
22
  > The CLIs install on Windows and core governance commands run. Since v9.3.0, guard
23
23
  > hooks call `trackfw guard <name>` (the Go binary) instead of a POSIX shell script —
24
24
  > measured blocking and allowing correctly in PowerShell 5, cmd.exe, and Git Bash on
25
- > Windows; Claude Code and Codex CLI proven end-to-end. Windows CI still reports known
26
- > test failures. There are limits worth knowing; **read
25
+ > Windows; Claude Code and Codex CLI proven end-to-end. Guard and attention
26
+ > (`trackfw guard <name>`, `trackfw attention signal|cleanup`) are Go subcommands — no
27
+ > POSIX shell, `jq`, or `python3` required; native attention is in `main` and ships in
28
+ > the next release after v10.0.0. **Caveat:** Claude Code on Windows executes hooks
29
+ > through Git Bash, which it locates at `C:\Program Files\Git\bin\bash.exe`; a machine
30
+ > without Git installed has not been measured. **Measured 2026-10-21 (Windows ARM64,
31
+ > Claude Code 2.1.304):** guard allowed and denied by real PreToolUse events on Bash and
32
+ > PowerShell tools; attention appeared with the question and cleared after the response
33
+ > in an interactive session — only Claude Code was measured end-to-end in this round.
34
+ > Windows CI still reports known test failures. There are limits worth knowing; **read
27
35
  > [Windows support (partial)](#windows-support-partial) before adopting on Windows.**
28
36
 
29
37
  ---
@@ -112,10 +120,12 @@ declaration.
112
120
 
113
121
  Shared behavior follows the [command contract](docs/cli-parity.md).
114
122
 
115
- > **The npm package delivers the same Go binary, and the guard hooks run it from `PATH`.**
116
- > Since v9.3.0, hooks call `trackfw guard <name>` directly; no POSIX shell is needed. On
117
- > Windows, the npm shim is a `.ps1` that PowerShell's `ExecutionPolicy Restricted` blocks —
118
- > see [Windows support](#windows-support-partial) before relying on the hooks.
123
+ > **The npm package delivers the same Go binary, and guard and attention hooks run it from
124
+ > `PATH`.** Since v9.3.0, guard hooks call `trackfw guard <name>` directly; attention hooks
125
+ > call `trackfw attention signal|cleanup` (ships in the next release after v10.0.0) — no
126
+ > POSIX shell, `jq`, or `python3` required. On Windows, the npm shim is a `.ps1` that
127
+ > PowerShell's `ExecutionPolicy Restricted` blocks — see
128
+ > [Windows support](#windows-support-partial) before relying on the hooks.
119
129
 
120
130
  ### Windows support (partial)
121
131
 
@@ -128,6 +138,55 @@ We publish a Windows binary and the npm/pip packages install on Windows. That is
128
138
  the same as the tool working end to end, and we would rather tell you where the edges
129
139
  are than let you find them after adoption.
130
140
 
141
+ #### Installing on Windows
142
+
143
+ **npm:**
144
+
145
+ ```bash
146
+ cmd /c npm install -g trackfw
147
+ ```
148
+
149
+ In PowerShell with `ExecutionPolicy Restricted`, the `.ps1` shim is blocked by the
150
+ policy. Use `trackfw.cmd` instead, or run from `cmd.exe`.
151
+
152
+ **pip:**
153
+
154
+ ```bash
155
+ pip install trackfw
156
+ ```
157
+
158
+ **Git Bash / MSYS2 / Cygwin (shell installer):**
159
+
160
+ ```bash
161
+ curl -fsSL https://github.com/kgsaran/trackfw/releases/latest/download/install.sh | sh
162
+ ```
163
+
164
+ This installs the binary to `$HOME/bin`. Inside Git Bash (and MSYS2/Cygwin), `~/bin` is
165
+ on `PATH` automatically. In PowerShell and `cmd.exe` it is not — add `%USERPROFILE%\bin`
166
+ to your user `PATH` if you want to call `trackfw` from those shells.
167
+
168
+ **Tarball (manual):**
169
+
170
+ Download `trackfw_<version>_windows_amd64.tar.gz` or `windows_arm64.tar.gz` from the
171
+ [releases page](https://github.com/kgsaran/trackfw/releases). Extract `trackfw.exe`,
172
+ move it to a folder of your choice, and add that folder to your user `PATH`.
173
+
174
+ **Pitfall: more than one `trackfw` on `PATH`**
175
+
176
+ Measured during the 2026-10-21 Windows journey: Claude Code hooks run through Git Bash,
177
+ and the Git Bash login profile (`/etc/profile`) prepends `~/bin` (`%USERPROFILE%\bin`)
178
+ to `PATH` before other entries. If an older `trackfw` binary — one without the `guard`
179
+ subcommand — lives in `~/bin`, the hook finds it first, exits with "unknown command", and
180
+ causes every Bash tool call to be denied (fail-closed by construction). Check with:
181
+
182
+ ```bash
183
+ where.exe trackfw # in PowerShell or cmd.exe — shows Windows-registered PATH
184
+ type -a trackfw # in Git Bash — also shows ~/bin entries
185
+ ```
186
+
187
+ Keep a single copy. Starting with the next release after v10.0.0, `install.sh` lists
188
+ every other `trackfw` binary it finds on `PATH` after installing (it never executes them).
189
+
131
190
  **What we know works**
132
191
 
133
192
  - All four channels install (`npm install -g trackfw`, `pip install trackfw`,
@@ -136,6 +195,11 @@ are than let you find them after adoption.
136
195
  channels deliver the same Go binary; no separate Node.js or Python implementation.
137
196
  - Core governance commands — `req new`, `roadmap new`, `roadmap move`, `status`,
138
197
  `validate` — run, and artifacts are written with LF endings.
198
+ - **ARM64:** `windows_arm64` is published for npm (`@trackfw-bin/win32-arm64`), PyPI
199
+ (`win_arm64` wheel), and the release tarball. Both npm and PyPI were executed on a
200
+ Windows 11 ARM64 VM (2026-09-16, v8.0.0-rc2 artefacts). The guard and attention
201
+ end-to-end journey on 2026-10-21 (Claude Code 2.1.304) also ran on Windows ARM64.
202
+ Windows CI runs on x64 only — ARM64 is not covered by the CI matrix.
139
203
 
140
204
  **What we know does not work yet**
141
205
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trackfw",
3
- "version": "10.0.0",
3
+ "version": "10.1.0",
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": "10.0.0",
67
- "@trackfw-bin/darwin-x64": "10.0.0",
68
- "@trackfw-bin/linux-arm64": "10.0.0",
69
- "@trackfw-bin/linux-x64": "10.0.0",
70
- "@trackfw-bin/win32-arm64": "10.0.0",
71
- "@trackfw-bin/win32-x64": "10.0.0"
66
+ "@trackfw-bin/darwin-arm64": "10.1.0",
67
+ "@trackfw-bin/darwin-x64": "10.1.0",
68
+ "@trackfw-bin/linux-arm64": "10.1.0",
69
+ "@trackfw-bin/linux-x64": "10.1.0",
70
+ "@trackfw-bin/win32-arm64": "10.1.0",
71
+ "@trackfw-bin/win32-x64": "10.1.0"
72
72
  }
73
73
  }