@mutmutco/cursor-plugin 4.1.12 → 4.1.14

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.12",
3
+ "version": "4.1.14",
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.12",
3
+ "version": "4.1.14",
4
4
  "description": "MMI workflow skills and organisation gates for Cursor.",
5
5
  "author": {
6
6
  "name": "MMI Future",
@@ -488,6 +488,18 @@ For other direct-track repos, the train dispatches nothing centrally: a `registr
488
488
  event fires its own `publish.yml` (npm / plugin marketplace); a `solo-container` repo deploys via its own
489
489
  workflow. Publish the GitHub Release, then watch/report that repo's own release-triggered run.
490
490
 
491
+ **Jerv-Hub has one additional fail-closed operator-host phase (#5699).** Only for exact repository
492
+ `mutmutco/Jerv-Hub`, after its release-triggered `publish.yml` is proven green, the train runs
493
+ `scripts/jerv-gateway-release-deploy.sh --tag <resolved-tag>`. That repository helper keeps root SSH in
494
+ Jerv Vault custody, deploys the exact tagged commit to jerv-central, and requires systemd, `/livez`, and
495
+ `/readyz` health. Its validated receipt is appended to `workflowRuns` as `jerv-gateway`; a missing helper,
496
+ refusal, malformed receipt, unhealthy activation, or failed rollback sets `deployStatus: failure`. An
497
+ unwatched/pending publish defers Gateway deployment and keeps `deployStatus: pending` — it never runs the
498
+ host mutation before publication is proven. `release --resume --watch` re-derives the historical publish
499
+ verdict and invokes the idempotent helper once it is green; it never re-tags or republishes the release.
500
+ Do not move this phase into GitHub Actions: no supported Actions identity reaches personal jerv-central
501
+ without moving root SSH custody out of its owning vault.
502
+
491
503
  `mmi-cli devops release --apply --json` returns the relevant run id/url data with `deployStatus`; `--watch` blocks
492
504
  on the run(s) and resolves `deployStatus` to `success`/`failure`. For tenant-container repos, that is the
493
505
  dispatched `tenant-deploy.yml` run. For Hub serverless, that is the auto-fired release `deploy.yml` and
@@ -687,6 +699,29 @@ Off the publish environment, either:
687
699
  - skip the registry identity read with
688
700
  `node scripts/release-distribution.mjs verify "X.Y.0" --skip-npm-view` and verify published content
689
701
  by hand the same way (including the staged-payload split above when applicable).
702
+
703
+ **Unpacked proof scratch must not pollute the checkout (#5702).** npm unpack copies full package trees
704
+ including staged `skills/` into whatever directory you choose. Those copies are **not** registered skill
705
+ payloads — if they remain anywhere scannable under the repo root when the next release fold runs
706
+ `check-skill-payload`, the gate fails with `unregistered authored or copied skills`. Prefer unpacking
707
+ **outside** the repository:
708
+ ```bash
709
+ PROOF=$(mktemp -d "${TMPDIR:-/tmp}/mmi-release-proof.XXXXXX")
710
+ # unpack both tarballs under $PROOF, diff -r, then:
711
+ rm -rf "$PROOF"
712
+ ```
713
+ If you must unpack inside the checkout, use the org-managed gitignored scratch at repo-root `tmp/`
714
+ (`mktemp -d tmp/mmi-release-proof.XXXXXX`) — **not** `.jerv/tmp/` (agent session scratch still lives on
715
+ disk and must not carry npm proof trees between releases). Remove the proof tree **immediately** after the
716
+ diff succeeds; do not leave it for the next `--apply`.
717
+
718
+ Before the next `release --apply`, confirm no leftover proof copies remain outside org scratch:
719
+ ```bash
720
+ node scripts/check-skill-payload.mjs --contract
721
+ ```
722
+ A failure naming `unregistered authored or copied skills` means a proof tree (or other rogue copy) is
723
+ still on disk — delete it and rerun the contract check before retrying the train.
724
+
690
725
  Do not treat an off-runner SSRI mismatch as a broken release, and do not change how the runner publishes
691
726
  to paper over a local packer difference.
692
727
 
@@ -719,6 +754,8 @@ reports the publish as failed. A run whose log never shows the version landed st
719
754
 
720
755
  Report: Release `$TAG` (the resolved tag from Step 2 — never a placeholder) + the GitHub Release URL · prod
721
756
  deploy run + URL + **green/red** · branch-alignment note · npm publish run + CLI version (Hub releases).
757
+ For Jerv-Hub, also report the `jerv-gateway` exact-commit deployment and health verdict; npm green without
758
+ Gateway green is a failed follow-up, never a complete Jerv-Hub release.
722
759
 
723
760
  ## Notes
724
761