@roulabs/mx 1.10.1 → 1.11.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roulabs/mx",
3
- "version": "1.10.1",
3
+ "version": "1.11.0",
4
4
  "description": "mx — run several features in parallel across shared repos using git worktrees",
5
5
  "type": "module",
6
6
  "bin": {
@@ -20,10 +20,22 @@ Every read command takes `--porcelain` for stable JSON; parse that instead of sc
20
20
  ## What this runtime is for
21
21
 
22
22
  `mx/` is where **feature work** happens. Sessions launched here implement a feature inside a
23
- `works/<feature>/` folder. mx *itself* — this template, the `mx` CLI — is maintained in a separate
24
- **mx source checkout** (the `github.com/roulabs/mx` repo), outside this tree. If you were opened
25
- here to change how mx works, you're in the wrong place: switch to that repo. Don't edit `repos/`,
26
- `works/`, or the runtime files from here.
23
+ `works/<feature>/` folder. mx *itself* — this template, the `mx` CLI — is maintained in the
24
+ `github.com/roulabs/mx` source repo. There are two valid setups for that source:
25
+
26
+ 1. **It lives elsewhere** (the default): if you were opened here to change how mx works, you're in
27
+ the wrong place — switch to that repo. Don't edit `repos/`, `works/`, or the runtime files from
28
+ here.
29
+
30
+ 2. **It's hosted as a work in this runtime** (self-hosting / dogfooding): someone has run
31
+ `mx repo add git@github.com:roulabs/mx.git` and created one or more `works/<feature>/mx/`
32
+ worktrees for parallel mx development. In that case, working inside one of those worktrees IS
33
+ valid — follow that worktree's own `CLAUDE.md` for the developer rules. The runtime rule that
34
+ still applies here: **never run the worktree's locally-built mx CLI against this runtime**.
35
+ Locally-built mx (`pnpm mx`, `node npm/bin/mx.js`) must be pointed at a sandbox (`$PWD/.mx` or
36
+ `/tmp/...`) for any testing — otherwise it may re-stamp this `CLAUDE.md` with a work-in-progress
37
+ template. The published `mx` on `$PATH` (from `npm i -g @roulabs/mx`) is the safe one against
38
+ this runtime.
27
39
 
28
40
  ## Layout
29
41