Skip to content
Tools/Spec Introspection/list_split_migrations

list_split_migrations

List every 1→N split migration from `UPG_SPLIT_MIGRATIONS` ("one type became multiple types" rules, e.g. `experiment` → `experiment_plan` + `experiment_run`; `hypothesis` → `hypothesis_claim` + `hypothesis_evidence`). Each row: the full `UPGSplitMigration` record plus `since`. Non-paginated.

Spec Introspectionatomic (read-only)

Arguments

No arguments — this tool takes no input.

Returns

Shape
{ splits: [...], total: number }

Examples

Live call against the Notion example graph.

Output

{
  "splits": [
    {
      "kind": "status_routed",
      "from": "experiment",
      "status_property": "status",
      "produces": [
        {
          "ref": "plan",
          "type": "experiment_plan",
          "keep_props": [
            "__id",
            "method",
            "sample_size",
            "expected_lift",
            "expected_lift_unit"
          ],
          "defaults": {}
        },
        {
          "ref": "run",
          "type": "experiment_run",
          "keep_props": [
            "actual_lift",
            "start_date",
            "end_date"
          ],
          "defaults": {}
        }
      ],
      "routing": {
        "draft": {
          "spawn": [
            "plan"
          ],
          "plan": {
            "defaults": {
              "status": "drafted"
            }
          }
        },
        "planned": {
          "spawn": [
            "plan"
          ],
          "plan": {
            "defaults": {
              "status": "scheduled"
            }
          }
        },
        "cancelled": {
          "spawn": [
            "plan"
          ],
          "plan": {
            "defaults": {
              "status": "cancelled"
            }
          }
        },
        "running": {
          "spawn": [
            "plan",
            "run"
          ],
          "plan": {
            "defaults": {
… (truncated)

See Also