@mutmutco/codex-plugin 3.137.0 → 3.139.0
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/package.json
CHANGED
|
@@ -345,6 +345,16 @@ workflow.
|
|
|
345
345
|
|
|
346
346
|
## Step 4b — developer access
|
|
347
347
|
|
|
348
|
+
**Repository Environments (#4458, plan-gating #5032)** — the track's deployment environments are
|
|
349
|
+
control-plane state this skill's own `bootstrap verify` asserts, so live apply provisions them itself:
|
|
350
|
+
`mmi-cli devops bootstrap apply --execute` creates `dev`/`rc`/`main` (per the release track: direct has no
|
|
351
|
+
`rc`, trunk has `main` only) with a **deployment-branch policy = protected branches only** — the one
|
|
352
|
+
protection the check exists to carry. On an org plan whose billing entitlement rejects protection rules
|
|
353
|
+
(an explicit `wait_timer` or required `reviewers` comes back 422 naming the plan), apply provisions the
|
|
354
|
+
settable policy and prints `plan-gated protections` for those rules; `bootstrap verify` then reports the
|
|
355
|
+
environment rows as green with an `advisory:` detail naming what the plan cannot set — never a FAIL. The
|
|
356
|
+
policy is set either way, so a repo on the lower plan is still protected and ready for developers.
|
|
357
|
+
|
|
348
358
|
Grant each developer their **org membership + repo access** through the App (`gh api` with the App token):
|
|
349
359
|
`write` for a developer; for a **full-write** member ("project-admin") also add them to the train-branch
|
|
350
360
|
push allowlist from Step 2b (so they can merge protected development PRs). GitHub's
|
|
@@ -535,7 +545,8 @@ never agent guides or a spine. The fanout pipeline that used to push this block
|
|
|
535
545
|
|
|
536
546
|
## Step 8 — report
|
|
537
547
|
|
|
538
|
-
Repo, default branch, ruleset applied, train branches locked (push allowlist),
|
|
548
|
+
Repo, default branch, ruleset applied, train branches locked (push allowlist), repository Environments
|
|
549
|
+
provisioned per track (plan-gated protections named in apply output), project attached/created
|
|
539
550
|
(+ info seeded, Status lanes and Labels field verified), secrets set (names only), developer access, plugin
|
|
540
551
|
installed, docs seeded, registry META written, issue templates committed, org App credentials registered,
|
|
541
552
|
org-managed `.gitignore` block seeded, and the final `mmi-cli devops bootstrap verify "$OWNER/$REPO" --class ... --json` result.
|