@mutmutco/cursor-plugin 4.1.20 → 4.2.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mmi",
3
- "version": "4.1.20",
3
+ "version": "4.2.0",
4
4
  "mmiCompat": "4.x",
5
5
  "description": "MMI workflow skills and organisation gates for Cursor.",
6
6
  "author": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/cursor-plugin",
3
- "version": "4.1.20",
3
+ "version": "4.2.0",
4
4
  "description": "MMI workflow skills and organisation gates for Cursor.",
5
5
  "author": {
6
6
  "name": "MMI Future",
@@ -429,9 +429,10 @@ collaborator list + the per-branch allowlist are the record — no separate rost
429
429
  central workflows, so `MMI_APP_ID` / `MMI_APP_PRIVATE_KEY` live only on the Hub — a product repo seeds no
430
430
  App var/secret.
431
431
  - **Issue templates** — seed `.github/ISSUE_TEMPLATE/` (Bug · Feature · Task + `config.yml`).
432
- - **Merge settings (org canon)** — every repo: auto-merge on, squash on, delete-branch-on-merge on, so a
433
- green allowlisted PR can land itself and never leaves a dead branch:
434
- `gh api -X PATCH repos/$OWNER/$REPO -f allow_auto_merge=true -f allow_squash_merge=true -f delete_branch_on_merge=true`
432
+ - **Merge settings (org canon)** — every repo: auto-merge on, squash on, automatic merged-branch deletion
433
+ off. A merged remote branch survives until delayed cleanup proves no open PR still uses it as a base
434
+ (#5789); deleting it at merge can irreversibly close stacked PRs:
435
+ `gh api -X PATCH repos/$OWNER/$REPO -f allow_auto_merge=true -f allow_squash_merge=true -F delete_branch_on_merge=false`
435
436
  - **Cursor environment** — `.cursor/environment.json` is retired org-wide (#2501): it caused Cursor to
436
437
  auto-spawn cloud agents nobody asked for. Bootstrap no longer seeds it and no
437
438
  repo should carry a tracked copy.
@@ -191,8 +191,9 @@ before any branch/tag mutation (#5666).** They read the repo's expected CI npm f
191
191
  (when the infra gate's exact node pin maps to a bundled npm, e.g. node 24.19.0 → npm 11.17.0) or, when
192
192
  gate.yml only declares a floating node major with no bundled npm, from the publish workflow's explicit npm pin
193
193
  (e.g. `npx --yes npm@11.17.0 pack` in `publish.yml`). Local `npm -v` must match that npm **major**; a
194
- mismatch refuses `--apply` with an align-local-npm remedy the same class of failure the fold-failure notes
195
- below describe, but caught before a wasted apply.
194
+ mismatch refuses `--apply` before any repository write. The receipt gives the supported npm-only repair
195
+ (`npm install -g npm@<exact CI version>`), the `node -v && npm -v` verification, and tells you to rerun the
196
+ same release command. This preserves Node and avoids routing a machine-global mutation through the train.
196
197
 
197
198
  **A local `npm ci` failure during the fold on a lockfile CI already accepted is an npm-major mismatch, not a
198
199
  bad lockfile (#4578).** Before touching the lockfile, compare toolchains:
@@ -624,8 +625,9 @@ mmi-cli oracle org project sync-info --apply # omit --apply for the read-only
624
625
  - `checkout restoration failed while returning to …` / `origin/<branch> fast-forward failed` — the
625
626
  checkout or the pull errored. Read the appended git message; the release is unaffected.
626
627
 
627
- `--resume` prints no `checkout:` clause at all, so after a resumed release check `git branch
628
- --show-current` rather than assuming you were moved back.
628
+ `--resume` uses the same `checkout:` clause after every branch-mutating terminal path. Direct-track
629
+ resumes return to `development`; full-track resumes return to `rc`. A skipped restoration names the
630
+ dirty tree, checkout failure, or fast-forward failure and still leaves the shipped release intact.
629
631
 
630
632
  ## Step 6 — collect deploy verdict + report
631
633