CodeCargo logo

Migration

Enterprise Plan

Enterprise Plan

Plan in an enterprise's Migration Assistant sets how every Migration Plan in the enterprise's organizations works: the defaults new plans start with, the values every plan keeps, and the directives their AI steps read. A plan can be stricter than the enterprise, never looser.

Choose the enterprise in the org switcher, then Migration Assistant → Plan. Plan is listed above Reports once at least one member organization follows the enterprise's plan settings. The Migration Assistant still opens on Reports.

The page has three tabs: Settings, Directives, and History.

Opening Plan

Plan opens for everyone the enterprise's Migration Assistant opens for. Only enterprise admins and migration program managers change anything. Anyone else reads the same page, which says You can see these settings. and names who can change them.

Which Organizations Follow

A member organization follows the enterprise's plan settings when its CodeCargo plan includes Enterprise plan settings. An organization an enterprise admin excluded follows nothing. Plans in an organization that doesn't follow are not changed or checked.

Until one organization follows, the page reads No member org follows the enterprise's plan settings yet. A CodeCargo administrator gets a link to the System Console, where they turn on Enterprise plan settings for an organization. Anyone else is told to ask their CodeCargo contact.

The Settings tab counts the organizations, such as 2 of 9 orgs follow these settings, names each one, and says how many organizations' plans don't follow them. When a member organization follows but none of the ones you see do, it reads A member org follows these settings, without a count. It counts the organizations you see: every member organization for an enterprise owner on GitHub or a migration program manager, and the ones you're a GitHub member of for anyone else, an admin someone added included.

A plan follows one enterprise for some settings and the enterprise its copies land in for others:

  • Copy engine, Keep syncing, and the Close out lock cover the whole plan. They follow the enterprise of the plan's own organization.
  • SLSA build provenance, CargoWall egress control, archiving, Visibility, and Required custom properties act on what lands. They follow the enterprise of each organization the copies land in, when that organization follows.

Plan Settings

The Settings tab lists the settings in two groups: Limits on plan settings, the settings every plan already has, and Where repositories land, how moved repositories land in GitHub. Each row shows how plans follow the setting, its value, and who changed it last and when.

The Plan page's Settings tab for Acme Holdings, as an enterprise admin sees it: 5 of 9 orgs follow these settings, naming Acme Commerce, Acme Data, Acme Payments, Acme Retail, and Acme Security, and plans in the other 4 orgs don't follow them. A warning reads 3 plans don't meet these settings, with See which. The AI directives card reads 3 required, 2 default, 3 optional, with Open Directives. Under Limits on plan settings, each row has Not set, Default, and Required, then its value: SLSA build provenance is Required at least Build L2, with 1 plan doesn't meet it, changed by Sofia Garcia; CargoWall egress control is Default On (audit), with 2 plans have a decision waiting, changed by Ruth Okafor; Copy engine and Keep syncing are Not set, each plan decides; Archive the GitHub copies of disabled repositories is Default Archive them; and Close out lock is Required Lock the originals, with 1 plan doesn't meet it.

Each setting has a mode:

  • Not set — each plan decides.
  • Default — new plans start with this value, and each plan can change it.
  • Required — every plan keeps this value. For SLSA build provenance it is a floor: each plan keeps the stricter of its own value and this one.
  • Allowed values — plans choose only from these. Only Visibility has it.
SettingModesValues
SLSA build provenanceNot set, Default, RequiredBuild L2, Build L3. Required reads At least.
CargoWall egress controlNot set, Default, RequiredOn (audit)
Copy engineNot set, Default, RequiredGitHub importer, Git copy
Keep syncingNot set, Default, RequiredOn, Off
Archive the GitHub copies of disabled repositoriesNot set, Default, RequiredArchive them, Don't archive them
Close out lockNot set, RequiredLock the originals, Don't lock the originals
VisibilityNot set, Default, Required, Allowed valuesPrivate, Internal, Public
Required custom propertiesNot set, RequiredCustom property names, each with an optional fixed value
Central building block orgNot set, Default, RequiredOne of the enterprise's organizations

A setting's row says when plans don't meet it, such as 2 plans don't meet it, and when plans have a decision waiting on a later default.

What Each Setting Holds

  • SLSA build provenance — A required level is a floor. A plan or wave at Build L3 stays there when the enterprise requires Build L2.
  • CargoWall egress control — Required means CargoWall is on in every plan, in audit. A wave adds CargoWall in audit only. Enforcing it is a later step in CargoWall.
  • Copy engine and Keep syncing — Repositories keep syncing only when Git copy moves them, so the enterprise can't require the GitHub importer while it sets keep syncing on. A wave whose draft uses the GitHub importer, under an enterprise that requires Git copy, can't start until it changes.
  • Close out lock — Required on, a plan must bring the copies it can up to date and let CodeCargo lock every original it can, and leaving a repository out of Close Out needs a reason. Required off, Close out can't lock any originals.
  • Visibility — A new migration draft starts at the enterprise's visibility, and offers only the visibilities it allows. Same as the source is checked for each repository before a move starts, so a public source is refused when Public isn't allowed.
  • Required custom properties — A run sets each property on the copies it moves. A property with a fixed value, such as cost-center = CC-1234, is set to that value on every copy. A run won't start until the property mapping sets each property that has no fixed value. A copy whose properties couldn't be set isn't finished: it needs someone who can set custom property values in that organization. A fixed value is up to 75 printable ASCII characters, without a double quote. See Custom Properties.
  • Central building block org — The organization whose building blocks every plan reuses. You pick from your organizations in the enterprise that can share building blocks: an organization needs CodeCargo installed and Building Blocks. Required, every plan switches to it, and families already planned onto another organization's building blocks keep them until they're planned again. A plan that links the required organization as one of its own organizations is told to unlink it, and its Convert step waits until it does. See Reuse a Central Building Block Org.

Change a Setting

  1. Choose the setting's mode, then its value.
  2. Choose Save, or Cancel to drop the change.

A change that loosens a setting, or swaps one required value for another, needs a reason. The row lists what the change does, such as which plans switch organization, and asks Why. Choose Save with this reason. History keeps it.

The Visibility row switched from Required to Allowed values, with Private and Internal picked and Public struck through. Below it: Visibility changes from Required: Private to Allowed values: Private, Internal. This loosens the setting or swaps one required value for another, so it needs a reason. History keeps it. The Why box holds a reason, with Cancel and Save with this reason.

If someone else saved the setting since you opened the page, the save is refused, and the row shows what they saved.

Each change is recorded in the audit log of every member organization.

How Settings Reach Plans

  • A default goes into a plan when the plan starts, and into a new migration draft. A default set or changed later reaches an existing plan only as a decision on the plan's Overview: New default from your enterprise, with Adopt it and Keep mine. Keeping records the decision for that version, and a later version asks again. A plan that already holds the value, or something stricter, isn't asked.
  • A required value is written into every following plan, and into its waves' own values, as soon as it is saved. A floor keeps a stricter value. A wave's SLSA, CargoWall, and archiving are written only while every organization the wave lands in follows. The plan's Admins are told under Enterprise plan settings, in Organization Settings → Notifications. A write that fails is tried again, and if it keeps failing, the plan's Admins are told.
  • An organization that starts following gets the required values written into its plan right away.
  • A requirement that stops leaves every plan with the value it was given.

On a plan's own pages, a setting the enterprise holds reads Required by your enterprise, Limited by your enterprise, or Default from your enterprise. See Pick Features.

Every start is checked against the settings that apply to it: a run's start, saving a plan's or a wave's features, a conversion, the rewire's Apply, and Close out. A start that doesn't meet them is refused, and says why. A wave that doesn't meet them shows why it can't move in What Needs Attention, and when its own SLSA or CargoWall setting is below the enterprise's floor, it offers Raise to followed by the floor. A run that already started finishes as it started.

Plans Out of Line

When some plans don't meet the settings, the Settings tab says so, such as 3 plans don't meet these settings. Choose See which → to open Plans out of line.

Its table has a row for each thing a plan doesn't meet:

  • Plan — the plan's organization, linked to its plan.
  • What doesn't meet the settings — the setting, the wave and how many repositories, and the date a wave's move is held from.
  • Since — when it was first seen.
  • Who can fix it — such as the plan's Admins, or someone who can set custom property values in an organization.
Plans out of line: 3 plans don't meet these settings. Acme Commerce's row reads SLSA build provenance is off in wave 1, and Acme Holdings requires at least Build L2, with Wave 1, Storefront, 38 repositories, and the date it holds the move on, since Nov 19, fixable by the plan's Admins in acme-commerce. Acme Data's row reads 2 repositories were left out of Close out while Acme Holdings requires the lock, with See why. A third row reads Plan you can't open: only someone who can open this plan sees what in it doesn't meet the settings. Below, Left out with a reason lists Acme Data's airflow-dags and ml-feature-store, each with its reason, Dan Nguyen, and the date.

A plan you can't open reads Plan you can't open, and only someone who can open it sees what in it doesn't meet the settings.

A copy held only for a required custom property whose last read already found the value the enterprise requires isn't counted here. Its run still lists it as needing someone, to check it again.

While the enterprise requires the Close out lock, each repository Close out leaves out counts its plan as out of line. Left out with a reason lists those repositories for each plan you can open, with the reason, who left it out, and when. Only repositories with a destination are counted, as Close out counts them.

When every plan meets the settings, the page says Every plan that follows these settings meets them.

Directives

Directives are named instructions every plan's AI steps follow. They work like a plan's own directives for AI steps, with a mode:

  • Required — every plan follows it, first, and can't remove or edit it.
  • Default — new plans start with it, and plans without it are asked whether to adopt it.
  • Optional — offered for a plan to pick.

The AI directives card on the Settings tab counts them by mode. Choose Open Directives →, or the Directives tab.

The table shows each directive's Mode, the Directive and its text, which steps it Applies to, how far it reaches In plans, and its Version, such as v3 · Nov 11. In plans reads Every plan for a Required directive, or how many plans adopted it, such as 9 of 14 plans, with how many are on an older version. Filter by mode, or by an AI step.

The Directives tab, with the filters All 9, Required 3, Default 2, Optional 3, and Applies to: any step, and Add directive. Three Required directives (No secrets in workflows, Approved runners only, and Pin actions to a SHA) read Every plan. Default Keep job names applies to Convert pipelines, reads 3 of 5 plans with 1 still on v2, and is at v3. Default Explain every rewire reads 4 of 5 plans. Optional Prefer composite actions, Cache dependencies, and Name an owner on failures read 2, 3, and 1 of 5 plans. The last row, Use the shared deploy action, is greyed and reads Removed, 2 plans keep v1. Each live row has Edit.

Add or Change a Directive

  1. Choose Add directive, or Edit on a directive's row.
  2. Pick the mode, then set Name and Text.
  3. Under Applies to, pick the steps: Convert pipelines, Review the rewire with AI, Diagnose failing runs, Fix failing runs, Plan building blocks, and Build building blocks. None picked means every step that reads directives.
  4. Choose Add directive, or Save. A change to the name, text, or steps makes a new version, and the button reads Save as followed by it.
The Add a directive dialog with the Default mode picked, the name Use OIDC for cloud deploys, its text, and Convert pipelines and Fix failing runs picked under Applies to. Below them: New plans start with it. The 5 plans that don't have it get a decision: New default from your enterprise: adopt it? Then an optional Why box, Cancel, and Add directive.

As you edit, the dialog says what saving does to the plans that follow. Editing a Required directive, making it Default or Optional, or removing it asks why. History keeps the reason.

An enterprise has at most 50 directives. A name is one line, at most 80 characters, and different from every other directive's, ignoring capitalization. The texts share 20,000 characters.

How Directives Reach Plans

  • Required directives are read live: every AI step in a following plan reads them first, and a Required directive wins over a plan's or a wave's directive that conflicts with it. An AI fix that follows the Required directive in such a conflict isn't held for going against the other one. Making a directive Required tells each plan's Admins.
  • Default directives start in new plans. A plan without one gets the decision New default from your enterprise: adopt it?
  • Optional directives are picked in a plan, from Pick from your enterprise.
  • A plan keeps the version it adopted. A newer version reads A newer version exists, for the plan to take or leave.
  • A directive that stops being Required stays in each plan, at the version it last had, as a directive the plan can remove.
  • A removed directive stays in the plans that adopted it, marked Removed by your enterprise, until a plan Admin removes it. The list keeps it, such as Removed · 4 plans keep v1.

History

History lists every change to the settings and directives, newest first. Filter it to one setting or to Directives with the chips, or choose All changes.

Each row gives When, Who, What, Before, After, and Why. Who names the person, with the role they held when they saved it: Enterprise admin or Migration program manager. An older change shows the name only. Before and After read like Not set, Default: Git copy, Required, at least Build L3, or Allowed values: Private, Internal. A directive's change says only what changed, and No reason given when it asked for one.

The History tab with the All changes chip picked, a chip for each setting, and Directives. The newest changes first: Jordan Lee, Enterprise admin, removed the directive Use the shared deploy action, Optional v1, which 2 plans keep; Ruth Okafor, Migration program manager, set CargoWall egress control from Not set to Default: On (audit), then edited Keep job names from v2 to v3; Sofia Garcia, Enterprise admin, changed SLSA build provenance from Required, at least Build L3 to Required, at least Build L2, with her reason; Ruth Okafor added Name an owner on failures; and Maya Patel, Enterprise admin, edited Pin actions to a SHA from v1 to v2 to add Build building blocks, with her reason. Changes that asked for no reason read No reason asked.

History is a record of who changed what. There is no sign-off and no export.