Prelude
The spaces starlark prelude API is automatically added to all workspaces. The content is built into the spaces binary and tightly coupled to the spaces release.
The rules API is for spaces rules modules ([*.]spaces.star) and function modules (*.star files loaded from rules modules).
The exec API is for spaces exec modules (*.exec.star) and function modules (*.star files loaded from exec modules).