@mutmutco/kilo-plugin 3.127.0 → 3.129.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": "@mutmutco/kilo-plugin",
3
- "version": "3.127.0",
3
+ "version": "3.129.0",
4
4
  "description": "MMI workflow skills and org gates delivery.",
5
5
  "author": {
6
6
  "name": "MMI Future",
@@ -46,6 +46,12 @@ that surface alone (e.g. a secrets catalog review, or an interactive `board doct
46
46
 
47
47
  - `/mmi-doctor` is the hygiene pass; `/resume` is the lighter read-only session open.
48
48
  - Prefer one doctor run over hand-editing board items, gitignore blocks, or marketplace pins.
49
+ - Doctor / `worktree list --stale` / `worktree gc` name the clone they audited. A green
50
+ "no leaks" / "nothing to clean" is refused when another primary checkout of the same remotes
51
+ exists, or when the jerv lease ledger points at another `mmi-worktrees` root (#4900 / #4897).
52
+ Run hygiene from the canonical `E:\AI Projects\Mutatis Mutandis\` primary — not from
53
+ `C:\Users\ssari\Projects\`. Treat a non-empty jerv worktree-lease ledger as a leak even if
54
+ this clone's `git worktree list` is empty.
49
55
 
50
56
  ## Retro — one check before you finish
51
57
  Before your final report, answer one question honestly: did **this skill's own instructions** misfire
@@ -70,7 +70,8 @@ mean "unverified", never an authority verdict:**
70
70
 
71
71
  Then
72
72
  preconditions: clean tree; full-track repos run from `rc` (or from `development` with `--dev`), while
73
- direct-track repos run from `development`.
73
+ direct-track repos run from `development`. Ordinary `/release` also needs `MMI_BUMP_INTENT=minor|major`
74
+ exported in the apply environment (patch is `/hotfix`); the train does not infer an open cycle.
74
75
 
75
76
  **Run from the checkout that already has that branch — never a fresh isolated worktree (#2770).** This is
76
77
  a shared-branch train operation (merge/tag/push against origin's protected `main`/`rc`), not an isolated
@@ -547,15 +548,12 @@ deploy run + URL + **green/red** · branch-alignment note · npm publish run + C
547
548
 
548
549
  - PATCH-level releases are `/hotfix` only (a hotfix always skips rc — it cherry-picks `development → main`
549
550
  directly); planned releases are MINOR or MAJOR. Never force-push `main`.
550
- - **`MMI_BUMP_INTENT=major|minor|patch` is required for direct-track's `next-version.mjs cycle`** (Step 2)
551
- it selects the increment for an ordinary release and is never inferred; absence is a hard refusal
552
- (`MMI_BUMP_INTENT must be one of major|minor|patch`), not a default. **Export it for the whole run, not
553
- just the tag line:** `mmi-cli devops release --apply` resolves the intent itself and refuses mid-train
554
- with the same message, so a value passed only as a one-off prefix on the `next-version.mjs` command
555
- leaves the apply to fail after the preflight has already passed. The same holds for
556
- `mmi-cli devops rcand --apply`. This is a different knob from
557
- `MMI_RELEASE_VERSION` below: `MMI_BUMP_INTENT` picks the increment, `MMI_RELEASE_VERSION` overrides the
558
- computed version entirely and is for the exceptional case only.
551
+ - **`MMI_BUMP_INTENT=major|minor` is required in the apply environment for ordinary `/release`** (patch is
552
+ `/hotfix`). Absence is a hard refusal the train never infers an open cycle. Export it for the whole
553
+ run, not a one-off prefix on `next-version.mjs cycle`: `mmi-cli devops release --apply` (and `rcand
554
+ --apply`) resolve intent themselves and refuse mid-train if the env is missing. `MMI_RELEASE_VERSION`
555
+ below is a different knob: it overrides the computed version; it does not replace the intent export
556
+ unless you set that exact-target env instead.
559
557
  - **`--dev` (full-track only):** releases `development → main` skipping rc, with the same fold/tag/Release/
560
558
  deploy machinery plus the post-release rc retirement and rc alignment. Refuses (fail closed) when
561
559
  `origin/rc` carries commits not in `development`; on direct-track repos it's a no-op (they already
@@ -563,7 +561,8 @@ deploy run + URL + **green/red** · branch-alignment note · npm publish run + C
563
561
  - **MAJOR / exact-target release:** to ship a version the tag math can't derive (a MAJOR like `2.0.0`, or
564
562
  skipping a version already on npm), product repos export `MMI_RELEASE_VERSION=X.Y.Z` for **both** `/rcand`
565
563
  and `/release`; MMI-Hub exports it for `/release` only. Steps 1b/2 then fold and tag exactly that
566
- version. Unset, the train ships the open cycle.
564
+ version. Unset, the train uses the declared `MMI_BUMP_INTENT` increment — it does not infer an open
565
+ cycle, and apply fail-closes if that env is also missing.
567
566
 
568
567
  ## Retro — one check before you finish
569
568
  Before your final report, answer one question honestly: did **this skill's own instructions** misfire
@@ -46,9 +46,12 @@ workspace identity the next step must use (for example `mutmutco/MMC-ZuberShade`
46
46
  mmi-cli oracle next --repo <repo reported by status>
47
47
  ```
48
48
 
49
- Pass the repository from `status` explicitly; never reconstruct it by changing case or punctuation.
50
- `next` recommends the single most actionable claimable board item (unblocked, priority-ranked) and prints
51
- the exact `mmi-cli oracle board claim <n>` to take it. Offer it; do not claim on the user's behalf without a go.
49
+ Never the retired flat `mmi-cli next` Wave 3 (#4316) removed that alias; a `flat 'next' alias was
50
+ removed` exit means follow the printed `oracle next` path (and `mmi-cli plugin heal` when
51
+ `doctor --self` says the plugin is behind). Pass the repository from `status` explicitly; never
52
+ reconstruct it by changing case or punctuation. `next` recommends the single most actionable
53
+ claimable board item (unblocked, priority-ranked) and prints the exact
54
+ `mmi-cli oracle board claim <n>` to take it. Offer it; do not claim on the user's behalf without a go.
52
55
  For the full board partition (yours / claimable / taken) run `/mmi`.
53
56
 
54
57
  ## Step 3 — render, then stop
@@ -84,3 +87,4 @@ snapshot that named the wrong branch.) If yes, file **one** lesson and move on;
84
87
  (hard cap: one per run). It lands on the Hub board (deduped) and is fixed only via a reviewed PR — never
85
88
  edit the skill live; the retro is advisory, so if the call fails, note it and continue:
86
89
  `mmi-cli learning skill-lesson --skill resume --title "<what misfired>" --body "<what; evidence; proposed amendment>"`
90
+ (never the retired flat `mmi-cli skill-lesson`).
@@ -133,11 +133,13 @@ mmi-cli oracle next # the next actionable item
133
133
  `.worktrees/` are not the MMI path.
134
134
  - Multiple independent items → one worktree each, run in parallel, one PR per item (`/mmi` Leverage).
135
135
  - Never land to a protected/release branch here — that is `/rcand` and `/release`.
136
- - **Open the primary checkout in Cursor before land/gc hygiene (#4489).** If Cursor’s agent workspace is
137
- still rooted at the slice worktree, `worktree land` / `worktree gc --apply` / doctor gc **refuse** to
138
- delete that directory (and queue deferred removal) so the session is not orphaned. Optional explicit
139
- contract: `export MMI_ACTIVE_WORKSPACE_ROOT="<Cursor workspace folder>"`. After switching Cursor to the
140
- primary checkout, `mmi-cli worktree gc sweep-deferred` finishes cleanup.
136
+ - **Keep Cursor on the primary checkout (#4489 / #4901).** Edit the worktree without
137
+ `move_agent_to_root` into the slice moving the workspace root pins the session so land/gc
138
+ refuse forever. If Cursor’s agent workspace is still rooted at the slice, `worktree land` /
139
+ `worktree gc --apply` / doctor gc **refuse** to delete that directory (and queue deferred
140
+ removal). On a Cursor agent host, land/gc fail closed when the active root cannot be resolved:
141
+ open the primary first, or set `MMI_ACTIVE_WORKSPACE_ROOT` to the primary path. After Cursor is
142
+ on the primary, `mmi-cli worktree gc sweep-deferred` finishes cleanup.
141
143
 
142
144
  ## Retro — one check before you finish
143
145
  Before your final report, answer one question honestly: did **this skill's own instructions** misfire