@mutmutco/cli 4.5.211 → 4.5.212

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/dist/main.cjs CHANGED
@@ -17242,7 +17242,7 @@ function checkRunbookCoverage(docs, base, git3) {
17242
17242
  const globs = lines2.slice(heading.start, markerEnd - 1).flatMap((text) => /<!--\s*runbook-covers:\s*(.*?)\s*-->/.exec(text)?.[1].split(",").map((s) => s.trim()) ?? []);
17243
17243
  const affected = changed.filter((path2) => globs.some((glob) => matches(glob, path2)) && !changesOnlyUses(path2));
17244
17244
  if (affected.length && !ranges.some((r) => r.count > 0 && r.start < end && r.start + r.count > heading.start)) {
17245
- findings.push({ kind: "runbook-section-stale", doc, line: heading.start, detail: `${heading.title}: changed ${affected.join(", ")}; update this section or declare Runbook-Unaffected: <reason>`, section: { heading: heading.title, level: heading.level, startLine: heading.start, endLine: end - 1, covers: globs }, sources: affected });
17245
+ findings.push({ kind: "runbook-section-stale", doc, line: heading.start, detail: `${heading.title}: changed ${affected.join(", ")}; update this section's text or runbook-covers list, or add a \`Runbook-Unaffected: <reason>\` trailer to a commit message in this PR`, section: { heading: heading.title, level: heading.level, startLine: heading.start, endLine: end - 1, covers: globs }, sources: affected });
17246
17246
  }
17247
17247
  }
17248
17248
  }
@@ -19661,10 +19661,10 @@ var rollout_plan_default = {
19661
19661
  note: "The v4.0.0 stamp happens at cut time (D6e #4463); until then the candidate is the origin/development head artifacts (built cli/dist + npm pack), identity proven by dist content hash (D6a)."
19662
19662
  },
19663
19663
  baseline: {
19664
- version: "4.5.211",
19665
- tag: "v4.5.211",
19666
- commit: "cbbcc24fc015",
19667
- npm: "@mutmutco/cli@4.5.211"
19664
+ version: "4.5.212",
19665
+ tag: "v4.5.212",
19666
+ commit: "379c67d9d5a9",
19667
+ npm: "@mutmutco/cli@4.5.212"
19668
19668
  },
19669
19669
  exitCriterion: "fleet-n-of-n",
19670
19670
  hubOnlyShortcut: "forbidden",
@@ -19681,14 +19681,14 @@ var rollout_plan_default = {
19681
19681
  repo: "mutmutco/mmi-hub",
19682
19682
  role: "canary",
19683
19683
  schedule: "train",
19684
- v3Target: "v4.5.211"
19684
+ v3Target: "v4.5.212"
19685
19685
  }
19686
19686
  ],
19687
19687
  rollbackTrigger: "Any red inside the post-contract soak window: `devops train gate` FAIL attributable to the v4 doors, Hub endpoint health probe failure, a pre-v4 client admitted instead of receiving actionable HTTP 426, or npm consumer install/doctor failure on the v4-only dist.",
19688
19688
  rollback: {
19689
19689
  independent: true,
19690
- mechanism: "npm dist-tag latest -> 4.5.211 and redeploy the Hub Lambda from tag v4.5.211 (cbbcc24fc015); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
19691
- v3Target: "v4.5.211 (@mutmutco/cli@4.5.211, tag commit cbbcc24fc015 \u2014 last known-good release carrying the repo-index v4-only contract)"
19690
+ mechanism: "npm dist-tag latest -> 4.5.212 and redeploy the Hub Lambda from tag v4.5.212 (379c67d9d5a9); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
19691
+ v3Target: "v4.5.212 (@mutmutco/cli@4.5.212, tag commit 379c67d9d5a9 \u2014 last known-good release carrying the repo-index v4-only contract)"
19692
19692
  }
19693
19693
  },
19694
19694
  {
@@ -44121,7 +44121,14 @@ async function resolveTextArg(input, deps, labels) {
44121
44121
  }
44122
44122
  if (hasValue) return input.value ?? "";
44123
44123
  const source = input.file ?? "";
44124
- const text = source === "-" ? await deps.readStdin() : await deps.readFile(source, "utf8");
44124
+ const text = source === "-" ? await deps.readStdin() : await deps.readFile(source, "utf8").catch((error) => {
44125
+ if (typeof error !== "object" || error === null || !("code" in error) || error.code !== "ENOENT") throw error;
44126
+ throw new TextArgError(
44127
+ `${labels.file} ${source} does not exist \u2014 create the file under tmp/ with a file-write tool first and check the worktree current directory, pass ${labels.value} inline, or pipe with ${labels.file} -`,
44128
+ ERROR_CODES.ERR_INVALID_INPUT,
44129
+ labels.file
44130
+ );
44131
+ });
44125
44132
  if (text.trim().length === 0) {
44126
44133
  throw new TextArgError(
44127
44134
  source === "-" ? emptyStdinMessage(labels.file) : `${labels.file} produced an empty ${labels.noun}`,
@@ -883,7 +883,7 @@ function checkRunbookCoverage(docs, base, git) {
883
883
  const globs = lines.slice(heading.start, markerEnd - 1).flatMap((text) => /<!--\s*runbook-covers:\s*(.*?)\s*-->/.exec(text)?.[1].split(",").map((s) => s.trim()) ?? []);
884
884
  const affected = changed.filter((path2) => globs.some((glob) => matches(glob, path2)) && !changesOnlyUses(path2));
885
885
  if (affected.length && !ranges.some((r) => r.count > 0 && r.start < end && r.start + r.count > heading.start)) {
886
- findings.push({ kind: "runbook-section-stale", doc, line: heading.start, detail: `${heading.title}: changed ${affected.join(", ")}; update this section or declare Runbook-Unaffected: <reason>`, section: { heading: heading.title, level: heading.level, startLine: heading.start, endLine: end - 1, covers: globs }, sources: affected });
886
+ findings.push({ kind: "runbook-section-stale", doc, line: heading.start, detail: `${heading.title}: changed ${affected.join(", ")}; update this section's text or runbook-covers list, or add a \`Runbook-Unaffected: <reason>\` trailer to a commit message in this PR`, section: { heading: heading.title, level: heading.level, startLine: heading.start, endLine: end - 1, covers: globs }, sources: affected });
887
887
  }
888
888
  }
889
889
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/cli",
3
- "version": "4.5.211",
3
+ "version": "4.5.212",
4
4
  "description": "MMI Future CLI — the org dev toolbox and shared cross-IDE engine for every registry-declared MMI coding surface.",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",