@mutmutco/codex-plugin 4.5.85 → 4.5.86
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/.codex-plugin/plugin.json +1 -1
- package/cli/dist/main.cjs +13 -9
- package/cli/package.json +1 -1
- package/package.json +1 -1
package/cli/dist/main.cjs
CHANGED
|
@@ -17268,10 +17268,10 @@ var rollout_plan_default = {
|
|
|
17268
17268
|
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)."
|
|
17269
17269
|
},
|
|
17270
17270
|
baseline: {
|
|
17271
|
-
version: "4.5.
|
|
17272
|
-
tag: "v4.5.
|
|
17273
|
-
commit: "
|
|
17274
|
-
npm: "@mutmutco/cli@4.5.
|
|
17271
|
+
version: "4.5.86",
|
|
17272
|
+
tag: "v4.5.86",
|
|
17273
|
+
commit: "6485afaf5af8",
|
|
17274
|
+
npm: "@mutmutco/cli@4.5.86"
|
|
17275
17275
|
},
|
|
17276
17276
|
exitCriterion: "fleet-n-of-n",
|
|
17277
17277
|
hubOnlyShortcut: "forbidden",
|
|
@@ -17288,14 +17288,14 @@ var rollout_plan_default = {
|
|
|
17288
17288
|
repo: "mutmutco/mmi-hub",
|
|
17289
17289
|
role: "canary",
|
|
17290
17290
|
schedule: "train",
|
|
17291
|
-
v3Target: "v4.5.
|
|
17291
|
+
v3Target: "v4.5.86"
|
|
17292
17292
|
}
|
|
17293
17293
|
],
|
|
17294
17294
|
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.",
|
|
17295
17295
|
rollback: {
|
|
17296
17296
|
independent: true,
|
|
17297
|
-
mechanism: "npm dist-tag latest -> 4.5.
|
|
17298
|
-
v3Target: "v4.5.
|
|
17297
|
+
mechanism: "npm dist-tag latest -> 4.5.86 and redeploy the Hub Lambda from tag v4.5.86 (6485afaf5af8); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
|
|
17298
|
+
v3Target: "v4.5.86 (@mutmutco/cli@4.5.86, tag commit 6485afaf5af8 \u2014 last known-good release carrying the repo-index v4-only contract)"
|
|
17299
17299
|
}
|
|
17300
17300
|
},
|
|
17301
17301
|
{
|
|
@@ -20339,6 +20339,10 @@ function validSuiteCutContext(repo, context) {
|
|
|
20339
20339
|
function authorisedSuiteCut(repo, meta, context) {
|
|
20340
20340
|
return validSuiteCutContext(repo, context) && !!meta?.suite && context.lead.toLowerCase() === suiteLeadRepo(repo, meta.suite).toLowerCase();
|
|
20341
20341
|
}
|
|
20342
|
+
function acceptedSuiteContext(repo, meta, context) {
|
|
20343
|
+
if (authorisedSuiteCut(repo, meta, context)) return true;
|
|
20344
|
+
return !!context && context.token === SUITE_LEAD_TOKEN && !!meta?.suite && !isBundleOnlySuiteMember(repo, meta.suite) && context.repo.toLowerCase() === repo.toLowerCase();
|
|
20345
|
+
}
|
|
20342
20346
|
var BUNDLE_ONLY_RC_EXCEPTION = "suite member: rc is bundle-only (no rc runtime)";
|
|
20343
20347
|
function isBundleOnlySuiteMember(repo, suite) {
|
|
20344
20348
|
if (!suite) return false;
|
|
@@ -24809,7 +24813,7 @@ async function runTrainDoctor(input) {
|
|
|
24809
24813
|
const dev = input.dev === true && lane === "release";
|
|
24810
24814
|
const suiteRefusal = suiteMemberRefusal(repo, meta, lane, input.suiteSolo === true, input.suiteCut);
|
|
24811
24815
|
if (suiteRefusal) add({ code: "suite-member-solo", severity: "blocker", source: "origin", title: suiteRefusal, remedy: suiteRefusal });
|
|
24812
|
-
if (input.suiteCut && !
|
|
24816
|
+
if (input.suiteCut && !acceptedSuiteContext(repo, meta, input.suiteCut))
|
|
24813
24817
|
add({ code: "suite-cut-context-invalid", severity: "blocker", source: "origin", title: "suite cut context does not match this member and its registered lead", remedy: "run from the MM-Work suite command with the member registered in META" });
|
|
24814
24818
|
if (lane === "rcand" && track === "direct") {
|
|
24815
24819
|
add({ code: "lane-mismatch", severity: "blocker", source: "origin", title: `${repo} is direct-track (no rc) \u2014 rcand does not apply`, remedy: "run `mmi-cli devops release --apply` from development instead of rcand" });
|
|
@@ -25527,7 +25531,7 @@ function enforceGateBudget(deps, repo) {
|
|
|
25527
25531
|
async function preflight(deps, ctx, stage, meta, lane) {
|
|
25528
25532
|
assertGitBashOnWindowsForJervHubRelease(ctx.repo);
|
|
25529
25533
|
deps.warn?.("Release: Checking release prerequisites");
|
|
25530
|
-
if (deps.suiteCut && !
|
|
25534
|
+
if (deps.suiteCut && !acceptedSuiteContext(ctx.repo, meta, deps.suiteCut))
|
|
25531
25535
|
throw new Error(`${ctx.repo}: suite cut context does not match registry META; no deployment or tag was changed`);
|
|
25532
25536
|
const model = requireDeployModel(meta, ctx.repo);
|
|
25533
25537
|
if (model === "content") {
|
package/cli/package.json
CHANGED