@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 +1 -1
- package/templates/CLAUDE.md +16 -4
package/package.json
CHANGED
package/templates/CLAUDE.md
CHANGED
|
@@ -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
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
|