@mindrian_os/cli 1.15.3-beta.40 → 1.15.3-beta.42

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/CHANGELOG.md +28 -0
  2. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,31 @@
1
+ ## [1.15.3-beta.42] - 2026-07-23
2
+
3
+ ### Fixed
4
+ - **Windows-only: Python source interpolating shell variables directly (`normwin('$VAR')`) raised a
5
+ `SyntaxError` at Python compile time whenever the interpolated value contained a native Windows
6
+ path with a backslash, before `normwin()` ever ran.** This is the same family of bug as beta.40's
7
+ `os.rename`/`os.replace` fix, but one layer earlier: 36 interpolation sites across
8
+ `scripts/room-registry`, `scripts/resolve-room`, `scripts/update-icm-index`, and
9
+ `scripts/on-cwd-changed` built Python heredoc/`-c` source by quoting a shell variable straight
10
+ into the source string, instead of passing it through `sys.argv` (the safe pattern
11
+ `room-registry`'s own `_write_current_room()` already used). Fixed by converting all 36 sites to
12
+ `sys.argv`-based parameter passing. New regression suite
13
+ (`tests/test-room-registry-windows-python-interp.cjs`, 29/29) includes a load-bearing control
14
+ proving the old interpolation shape fails to compile on a backslash value and the new
15
+ `sys.argv` shape does not. Root-caused and fixed same day as beta.40; independently verified live
16
+ on the reporter's Windows install.
17
+ - **Windows-only: the regression tests' own Python-probe spawn mechanism corrupted probe source
18
+ containing a backslash-next-to-a-quote, at the Windows `CreateProcess` argv-marshalling
19
+ boundary.** Three test files (`test-room-registry-windows-atomic-replace.cjs`,
20
+ `test-room-registry-windows-python-interp.cjs`, `test-room-registry-windows-path.cjs`) each
21
+ routed a Python probe body through `bash -c` as a positional argv element, to survive the two
22
+ bugs above -- safe on Linux/macOS, but Node spawning `bash.exe` on Windows re-quotes argv before
23
+ bash's own `$1` expansion runs, silently mangling the probe. Fixed by writing the probe source to
24
+ a temp `.py` file and executing the file path instead of the source text -- a path has no
25
+ embedded quote/backslash-adjacent-quote sequences, eliminating the defect class rather than
26
+ special-casing which characters are unsafe. Verified green on this dev box (21/21, 29/29, 25/25,
27
+ byte-identical to pre-fix baselines); Windows re-verification of this exact patch is pending.
28
+
1
29
  ## [1.15.3-beta.40] - 2026-07-23
2
30
 
3
31
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindrian_os/cli",
3
- "version": "1.15.3-beta.40",
3
+ "version": "1.15.3-beta.42",
4
4
  "description": "Install MindrianOS into Claude Code with one command -- `npx @mindrian_os/cli`. Ships the MindrianOS plugin (Larry + PWS methodology + Data Room) plus a setup/diagnostics CLI (install/doctor/update).",
5
5
  "scripts": {
6
6
  "mcp": "node bin/mindrian-mcp-server.cjs",