@mutmutco/cli 4.0.6 → 4.0.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/dist/main.cjs +19 -7
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -10823,10 +10823,10 @@ var rollout_plan_default = {
|
|
|
10823
10823
|
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)."
|
|
10824
10824
|
},
|
|
10825
10825
|
baseline: {
|
|
10826
|
-
version: "4.0.
|
|
10827
|
-
tag: "v4.0.
|
|
10828
|
-
commit: "
|
|
10829
|
-
npm: "@mutmutco/cli@4.0.
|
|
10826
|
+
version: "4.0.7",
|
|
10827
|
+
tag: "v4.0.7",
|
|
10828
|
+
commit: "c86400699cbb",
|
|
10829
|
+
npm: "@mutmutco/cli@4.0.7"
|
|
10830
10830
|
},
|
|
10831
10831
|
exitCriterion: "fleet-n-of-n",
|
|
10832
10832
|
hubOnlyShortcut: "forbidden",
|
|
@@ -10843,14 +10843,14 @@ var rollout_plan_default = {
|
|
|
10843
10843
|
repo: "mutmutco/mmi-hub",
|
|
10844
10844
|
role: "canary",
|
|
10845
10845
|
schedule: "train",
|
|
10846
|
-
v3Target: "v4.0.
|
|
10846
|
+
v3Target: "v4.0.7"
|
|
10847
10847
|
}
|
|
10848
10848
|
],
|
|
10849
10849
|
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.",
|
|
10850
10850
|
rollback: {
|
|
10851
10851
|
independent: true,
|
|
10852
|
-
mechanism: "npm dist-tag latest -> 4.0.
|
|
10853
|
-
v3Target: "v4.0.
|
|
10852
|
+
mechanism: "npm dist-tag latest -> 4.0.7 and redeploy the Hub Lambda from tag v4.0.7 (c86400699cbb); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
10853
|
+
v3Target: "v4.0.7 (@mutmutco/cli@4.0.7, tag commit c86400699cbb \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
10854
10854
|
}
|
|
10855
10855
|
},
|
|
10856
10856
|
{
|
|
@@ -37854,6 +37854,18 @@ pr.command("checks-wait <number>").description(`bounded wait for PR checks; skip
|
|
|
37854
37854
|
if (result.status === "timeout" || result.status === "rate-limited") process.exitCode = PR_CHECKS_TIMEOUT_EXIT_CODE;
|
|
37855
37855
|
});
|
|
37856
37856
|
pr.command("land <number>").description("agent merge path (#1440): train probe \u2014 checks-wait \u2014 merge --auto \u2014 poll enqueued \u2014 development PRs only").option("--json", "machine-readable output").option("--repo <owner/repo>", "target repo (defaults to the PR repo)").option("--no-require-train", "skip train-authority preflight (not recommended for autonomous agents)").option("--force", "acknowledge and land past a remaining prunable/severe scratch housekeeping block (advisory kept plans/ never blocks, #3012) or a negated-closing-keyword (#3718) or ambiguous-cross-repo-closing (#4279) refusal").action(async (number, o) => {
|
|
37857
|
+
const refMatch = /^(?:([^/]+\/[^/]+))?#(\d+)$/.exec(number.trim());
|
|
37858
|
+
if (refMatch) {
|
|
37859
|
+
number = refMatch[2];
|
|
37860
|
+
if (refMatch[1]) {
|
|
37861
|
+
if (o.repo && o.repo !== refMatch[1]) {
|
|
37862
|
+
console.error(`pr land: --repo ${o.repo} conflicts with ref repo ${refMatch[1]}`);
|
|
37863
|
+
process.exitCode = 1;
|
|
37864
|
+
return;
|
|
37865
|
+
}
|
|
37866
|
+
o.repo = refMatch[1];
|
|
37867
|
+
}
|
|
37868
|
+
}
|
|
37857
37869
|
const repoArgs = o.repo ? ["--repo", o.repo] : [];
|
|
37858
37870
|
const startingPath = (await execFileP2("git", ["rev-parse", "--show-toplevel"], { timeout: GIT_TIMEOUT_MS }).catch(() => ({ stdout: "" }))).stdout.trim();
|
|
37859
37871
|
assertPrMergeHousekeepingClean(startingPath || process.cwd(), "pr land", { force: o.force });
|
package/package.json
CHANGED