@mutmutco/cli 4.1.17 → 4.1.19

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.
Files changed (2) hide show
  1. package/dist/main.cjs +27 -11
  2. package/package.json +1 -1
package/dist/main.cjs CHANGED
@@ -13181,10 +13181,10 @@ var rollout_plan_default = {
13181
13181
  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)."
13182
13182
  },
13183
13183
  baseline: {
13184
- version: "4.1.17",
13185
- tag: "v4.1.17",
13186
- commit: "65f193ccd344",
13187
- npm: "@mutmutco/cli@4.1.17"
13184
+ version: "4.1.19",
13185
+ tag: "v4.1.19",
13186
+ commit: "fd396828846f",
13187
+ npm: "@mutmutco/cli@4.1.19"
13188
13188
  },
13189
13189
  exitCriterion: "fleet-n-of-n",
13190
13190
  hubOnlyShortcut: "forbidden",
@@ -13201,14 +13201,14 @@ var rollout_plan_default = {
13201
13201
  repo: "mutmutco/mmi-hub",
13202
13202
  role: "canary",
13203
13203
  schedule: "train",
13204
- v3Target: "v4.1.17"
13204
+ v3Target: "v4.1.19"
13205
13205
  }
13206
13206
  ],
13207
13207
  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.",
13208
13208
  rollback: {
13209
13209
  independent: true,
13210
- mechanism: "npm dist-tag latest -> 4.1.17 and redeploy the Hub Lambda from tag v4.1.17 (65f193ccd344); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
13211
- v3Target: "v4.1.17 (@mutmutco/cli@4.1.17, tag commit 65f193ccd344 \u2014 last known-good release carrying the repo-index v4-only contract)"
13210
+ mechanism: "npm dist-tag latest -> 4.1.19 and redeploy the Hub Lambda from tag v4.1.19 (fd396828846f); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
13211
+ v3Target: "v4.1.19 (@mutmutco/cli@4.1.19, tag commit fd396828846f \u2014 last known-good release carrying the repo-index v4-only contract)"
13212
13212
  }
13213
13213
  },
13214
13214
  {
@@ -26939,9 +26939,9 @@ function buildGraphEdges(cwd, repo, commit, rosterRepos2) {
26939
26939
  }
26940
26940
 
26941
26941
  // src/repo-index-sync.ts
26942
- function execFileUtf8(file, args, env) {
26942
+ function execFileUtf8(file, args, env, cwd) {
26943
26943
  return new Promise((resolve6, reject) => {
26944
- (0, import_node_child_process15.execFile)(file, args, { encoding: "utf8", windowsHide: true, ...env ? { env } : {} }, (error, stdout) => {
26944
+ (0, import_node_child_process15.execFile)(file, args, { encoding: "utf8", windowsHide: true, ...env ? { env } : {}, ...cwd ? { cwd } : {} }, (error, stdout) => {
26945
26945
  if (error) reject(error);
26946
26946
  else resolve6(String(stdout ?? ""));
26947
26947
  });
@@ -27030,8 +27030,24 @@ async function remoteHead(repo, token) {
27030
27030
  try {
27031
27031
  stdout = await execFileUtf8(
27032
27032
  "git",
27033
- ["-c", "credential.helper=", "-c", `http.extraHeader=Authorization: Basic ${basic}`, "ls-remote", "--exit-code", `https://github.com/${repo}.git`, "HEAD"],
27034
- headProbeEnv()
27033
+ [
27034
+ "-c",
27035
+ "credential.helper=",
27036
+ // #5750: actions/checkout persists its token as a URL-scoped extraheader in the checked-out
27037
+ // repo's .git/config — repo-local config that env sanitization cannot reach. Run from a
27038
+ // neutral cwd so no repo config applies; the ONLY credential is the app token below.
27039
+ // Do NOT blank extraheader scopes here: an empty URL-scoped extraheader emits an empty
27040
+ // Authorization header that overrides the token entirely (16/16 unreadable on the runner,
27041
+ // repo-index-reconcile run 33121106605).
27042
+ "-c",
27043
+ `http.extraHeader=Authorization: Basic ${basic}`,
27044
+ "ls-remote",
27045
+ "--exit-code",
27046
+ `https://github.com/${repo}.git`,
27047
+ "HEAD"
27048
+ ],
27049
+ headProbeEnv(),
27050
+ (0, import_node_os14.tmpdir)()
27035
27051
  );
27036
27052
  } catch (error) {
27037
27053
  throw toHeadProbeError(error, repo);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/cli",
3
- "version": "4.1.17",
3
+ "version": "4.1.19",
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",