How CLI Context Works
By default, when you run platform commands from inside a workspace directory, the CLI:- Finds the Git worktree root.
- Reads the
originremote. - Normalizes the GitHub repository identity as
owner/repo. - Sends that identity to the platform so the request is scoped to the matching workspace.
rollout list, eval run, and eval upload. Platform-only commands can instead select an exact workspace by name from any directory:
--workspace works without a local repository for the full benchmark command family, platform dataset/model/secret commands, and train list, info, logs, and stop; eval list, info, logs, retry, and stop. Without it, those commands continue to use Git-derived scope. eval run, eval upload, eval download, and the rollout commands always resolve the workspace from the current repository, because each one reads or writes a workspace-relative layout on disk.
eval submit and train submit are source-backed exceptions. You can invoke them from any current directory with root --workspace, but the config path must be absolute and remain under the containing repository’s canonical configs/eval/ or configs/training/ directory:
The
origin remote must point to a GitHub repository connected to your platform workspace. If the repository was renamed on GitHub, update your local remote before running CLI commands.Common Requirements
configs/benchmark/ is optional and used only by osmosis benchmark submit. osmosis doctor and osmosis doctor --fix neither require nor create it.
Run a local health check when something looks wrong:
Repository Ownership
Workspace creators usually create the repository from the platform during onboarding. Invited members should clone the existing workspace repository rather than creating a separate one. Only workspace owners and admins can manage GitHub repository connection settings in the platform. Members can clone and use the repository if they have GitHub access.Related Commands
Next Steps
Structure & Configuration
Learn the repository layout and config directories.
Git Sync
Understand how pushes become platform rollouts.