@mutmutco/kilo-plugin 4.2.6 → 4.2.7
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/skills/release/SKILL.md +21 -7
package/package.json
CHANGED
package/skills/release/SKILL.md
CHANGED
|
@@ -187,13 +187,25 @@ Treating doctor's exit code as the gate halts a healthy train on cosmetic drift
|
|
|
187
187
|
operator to ignore doctor's exit code entirely.
|
|
188
188
|
|
|
189
189
|
**`mmi-cli devops release --apply` and `mmi-cli devops rcand --apply` now run an active npm-major preflight
|
|
190
|
-
before any branch/tag mutation (#5666).** They read the repo's expected CI npm, in this order (#5866
|
|
191
|
-
an explicit `npm-version:` on the gate's `runner-node-toolchain` step; else
|
|
192
|
-
|
|
193
|
-
|
|
190
|
+
before any branch/tag mutation (#5666).** They read the repo's expected CI npm, in this order (#5866,
|
|
191
|
+
#5893): an explicit `npm-version:` on the gate's `runner-node-toolchain` step; else an explicit
|
|
192
|
+
`npm install -g npm@<major>` step in gate.yml; else the infra gate's exact node pin through the
|
|
193
|
+
bundled-npm map (only for an estate that still carries a retired pre-#5870 pin); else the publish
|
|
194
|
+
workflow's own npm pin (`npm install -g npm@12`, the #5870 retirement shape). Local `npm -v`
|
|
194
195
|
must match that npm **major**; a
|
|
195
196
|
mismatch refuses `--apply` before any repository write.
|
|
196
197
|
|
|
198
|
+
**Both gate shapes are a declaration; only a gate that declares NEITHER falls through (#5893).** A lane
|
|
199
|
+
that installs its own npm has stated its npm as plainly as an `npm-version:` input — the shape differs, the
|
|
200
|
+
intent does not. Reading only `npm-version:` skipped Jerv-JervCode's gate (floating `node-version: 24`
|
|
201
|
+
plus `npm install -g npm@12`), fell through to publish.yml's stale npm 11, and prescribed a downgrade the
|
|
202
|
+
repo had already retired (#2845, MMI-Hub#5871); the publish smoke then failed under npm 11 (`Cannot find
|
|
203
|
+
module jiti/package.json` — a packed global install materializes no dependency closure under npm 11 once
|
|
204
|
+
the root declares `bundleDependencies`), shipping v1.57.7 to main with a Release but no npm publish.
|
|
205
|
+
**When gate.yml and publish.yml disagree on the npm major, that is a repo defect** — one lane will run the
|
|
206
|
+
wrong toolchain whichever the preflight believes. The preflight names it and proceeds; fix it with a PR
|
|
207
|
+
moving both pins together, never by silently trusting publish.yml.
|
|
208
|
+
|
|
197
209
|
**Check which side is wrong before repairing (#5862).** The receipt names one direction — move the machine
|
|
198
210
|
to the pin — and that is only right when the pin is current. Compare it against the registry first:
|
|
199
211
|
|
|
@@ -225,7 +237,8 @@ bad lockfile (#4578).** Before touching the lockfile, compare toolchains:
|
|
|
225
237
|
npm -v
|
|
226
238
|
gh api repos/{owner}/{repo}/actions/runs --jq '.workflow_runs[0].id' # or read the gate log's
|
|
227
239
|
# `node -v && npm -v` toolchain-preflight line (#3446) for the npm major CI ran with
|
|
228
|
-
#
|
|
240
|
+
# Read the gate's OWN declared npm first — `npm-version:` or `npm install -g npm@X` (#5893);
|
|
241
|
+
# only a gate that declares neither falls back to the publish workflow npm pin (#5666).
|
|
229
242
|
```
|
|
230
243
|
A different npm MAJOR (e.g. local 12 vs. CI's 11) resolves the same lockfile differently and throws `Missing:
|
|
231
244
|
<pkg> from lock file` on a lockfile that is not actually broken. Align the local npm major
|
|
@@ -238,8 +251,9 @@ BEFORE inspecting package contents (deleted dir, malformed `package.json`, missi
|
|
|
238
251
|
```bash
|
|
239
252
|
npm -v
|
|
240
253
|
# green gate npm from the gate log's `node -v && npm -v` toolchain-preflight line (#3446),
|
|
241
|
-
# the gate's declared `npm-version
|
|
242
|
-
# or the publish workflow npm pin when gate
|
|
254
|
+
# the gate's declared `npm-version:` or its `npm install -g npm@X` step (#5893), or an exact
|
|
255
|
+
# node pin that maps to a bundled npm, or the publish workflow npm pin when the gate declares
|
|
256
|
+
# no npm of its own (#5666)
|
|
243
257
|
```
|
|
244
258
|
When local npm differs from the green gate (e.g. local npm 11 vs CI's 12), align local npm
|
|
245
259
|
(`npm install -g npm@<gate npm>`) and rerun the train — do not rewrite the publish surface for an
|