@mutmutco/codex-plugin 4.5.105 → 4.5.107

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mmi",
3
- "version": "4.5.105",
3
+ "version": "4.5.107",
4
4
  "mmiCompat": "4.x",
5
5
  "description": "MMI workflow skills and org gates delivery.",
6
6
  "author": {
package/cli/dist/main.cjs CHANGED
@@ -384,6 +384,8 @@ function classifyGhTokenExecFailure(e) {
384
384
  return { state: "failed", detail };
385
385
  }
386
386
  async function githubTokenRead() {
387
+ const mmiPat = process.env.MMI_GH_PAT?.trim();
388
+ if (mmiPat) return { state: "ok", token: mmiPat };
387
389
  if (process.env.GH_TOKEN) return { state: "ok", token: process.env.GH_TOKEN };
388
390
  if (process.env.GITHUB_TOKEN) return { state: "ok", token: process.env.GITHUB_TOKEN };
389
391
  cachedGhCliTokenRead ??= execFileP("gh", ["auth", "token"]).then(({ stdout }) => {
@@ -13392,6 +13394,7 @@ function asBoardStatus(value) {
13392
13394
  return BOARD_STATUSES.includes(value) ? value : void 0;
13393
13395
  }
13394
13396
  function describeTokenSource() {
13397
+ if (process.env.MMI_GH_PAT?.trim()) return "env MMI_GH_PAT";
13395
13398
  if (process.env.GH_TOKEN) return "env GH_TOKEN";
13396
13399
  if (process.env.GITHUB_TOKEN) return "env GITHUB_TOKEN";
13397
13400
  return "`gh auth token` (the gh CLI login)";
@@ -17699,10 +17702,10 @@ var rollout_plan_default = {
17699
17702
  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)."
17700
17703
  },
17701
17704
  baseline: {
17702
- version: "4.5.105",
17703
- tag: "v4.5.105",
17704
- commit: "2edfdb644608",
17705
- npm: "@mutmutco/cli@4.5.105"
17705
+ version: "4.5.107",
17706
+ tag: "v4.5.107",
17707
+ commit: "a14b5368bc55",
17708
+ npm: "@mutmutco/cli@4.5.107"
17706
17709
  },
17707
17710
  exitCriterion: "fleet-n-of-n",
17708
17711
  hubOnlyShortcut: "forbidden",
@@ -17719,14 +17722,14 @@ var rollout_plan_default = {
17719
17722
  repo: "mutmutco/mmi-hub",
17720
17723
  role: "canary",
17721
17724
  schedule: "train",
17722
- v3Target: "v4.5.105"
17725
+ v3Target: "v4.5.107"
17723
17726
  }
17724
17727
  ],
17725
17728
  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.",
17726
17729
  rollback: {
17727
17730
  independent: true,
17728
- mechanism: "npm dist-tag latest -> 4.5.105 and redeploy the Hub Lambda from tag v4.5.105 (2edfdb644608); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
17729
- v3Target: "v4.5.105 (@mutmutco/cli@4.5.105, tag commit 2edfdb644608 \u2014 last known-good release carrying the repo-index v4-only contract)"
17731
+ mechanism: "npm dist-tag latest -> 4.5.107 and redeploy the Hub Lambda from tag v4.5.107 (a14b5368bc55); installed clients repair via `mmi-cli doctor`. No other cohort is touched.",
17732
+ v3Target: "v4.5.107 (@mutmutco/cli@4.5.107, tag commit a14b5368bc55 \u2014 last known-good release carrying the repo-index v4-only contract)"
17730
17733
  }
17731
17734
  },
17732
17735
  {
package/cli/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/cli",
3
- "version": "4.5.105",
3
+ "version": "4.5.107",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mutmutco/codex-plugin",
3
- "version": "4.5.105",
3
+ "version": "4.5.107",
4
4
  "description": "MMI workflow skills and org gates delivery.",
5
5
  "author": {
6
6
  "name": "MMI Future",
@@ -50,7 +50,7 @@ BuildKit ids into the **`docker compose build`** process env only — not into t
50
50
  deploy mints the packages sentinel from Actions `GITHUB_TOKEN`; a laptop cannot. Resolution order: existing
51
51
  process env → stageless project vault secret under the BuildKit id → existing GitHub sign-in
52
52
  (`GH_TOKEN`, `GITHUB_TOKEN`, or `gh auth token`). Package read access is still required and is enforced
53
- by GitHub Packages during the build. If every source is missing, `/stage` fails before the build.
53
+ by GitHub Packages during the build. Cloud containers whose GH_TOKEN is a proxy placeholder set MMI_GH_PAT to a fine-grained PAT (resource owner mutmutco, Organization → Members: read); mmi-cli prefers it. If every source is missing, `/stage` fails before the build.
54
54
  Setup: [`docs/Guides/tenant-runtime.md`](../../docs/Guides/tenant-runtime.md) § Local `/stage`. Never commit
55
55
  or print the PAT.
56
56