GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.roomote.dev — Environments - Roomote Docs An environment is the workspace configuration Roomote uses when it runs a
task. It can specify repositories to clone, services to start, environment
variables, and guidance to follow.
This is what turns a Roomote agent from a generic coding tool into something
grounded in your actual product.
For the full YAML schema behind an environment, including every field and how
it relates to Dev Containers, see the
environment definition reference.
Start with one environment that can prove workThe first environment matters more than the fifth. Start with one repository or repository set where Roomote can do real work and show enough evidence for your team to evaluate the result. A good first environment usually makes at least one of these possible:
How the first environment is createdOpen Settings > Environments > New and choose repositories when the workspace needs source code. Add any setup guidance you already know, then select Start Agent so Roomote can define a reusable workspace configuration. If you already know the configuration you need, select Enter YAML directly instead. An environment can combine repositories from different source-control providers, such as GitHub and GitLab. Each provider must have working credentials in the deployment or the task cannot prepare the complete workspace. Repositories connected through GitHub must also belong to the same GitHub App installation. Repository full names must be unique within the environment, including across source-control connections. If the resulting environment needs changes, edit it from Settings > Environments and update the repositories, guidance, services, or YAML definition there. When an agent proposes creating or changing an environment, it first shows the concrete setup, expected maximum build time, and effect on running and future tasks. Creation or update waits for explicit approval of that exact proposal; administrator access alone is not consent, and a materially changed proposal must be approved again.Start from a brand-new repositoryYou do not need an existing codebase to set up an environment. From Settings > Environments > New, choose Create a new repository to open github.com with the right owner pre-filled — either a brand-new repository or a fork of an existing one by URL. Once you create it on GitHub, it appears in the repository list automatically; if the GitHub App only has access to selected repositories, grant it access to the new repository first. An empty repository is fine. When you start setup against a repository with no commits, Roomote pushes a minimal initial commit (a README and a .gitignore) to the default branch and creates a basic environment. Building the actual project is then just your first task in that environment.What to includeAdd enough context for Roomote to start productively:
Edit an environmentWhen you edit an existing environment, Roomote gives you four views of the same configuration:
Write guidance Roomote can act onGood environment guidance is specific, durable, and tied to the workspace. Prefer guidance like:Choose setup commandsAdd commands that make the repository ready for useful work. Good setup commands are the same durable steps a teammate would run after cloning the repository, such as:
Use an existing Docker setupIf the repository already defines its development dependencies in Docker, add a Docker project (docker_projects in YAML) instead of duplicating that
setup as Roomote-managed services. A project can use one or more Compose files
or build a single Dockerfile. Roomote starts it after the repository is cloned
and waits for its services to become healthy before repository setup commands
run.
Map container ports to named environment ports when a service should have a
live preview. Compose mappings also identify the service that owns the port.
Startup is required by default; mark a project optional only when tasks can
still work usefully without it.
Docker projects are supported by all sandbox providers. They are isolated with
the task and are removed when the task sandbox is destroyed. They are still
customer-controlled code, so review Compose files and Dockerfiles with the same
care as repository setup scripts.
Set tool versions at the right levelUse Repo tool fallbacks for tools one cloned repository still needs when they are not already pinned in that repository’s own.tool-versions. This is a
good fit when one repository needs an extra fallback version without changing
the repository itself.
Use Environment .tool-versions for tools that should exist at the shared
workspace root. This is most useful for workspace-level scripts, shared MCP
servers, or as a broad fallback when a repository does not already pin a tool
locally.
When a repository already includes its own .tool-versions, keep that file as the
source of truth. Environment-configured repository tool versions are fallback
entries, not overrides, so checked-in repository pins still win.
When to create multiple environmentsUse separate environments when work needs meaningfully different setup. Common examples:
Provision environments declarativelySelf-hosted deployments managed as infrastructure as code can provision environments from declarative definitions at startup instead of creating them in the UI:
env map is stored in plaintext, so use deployment
environment variables under Settings > Environments > Deployment Environment
Variables for secret values.
See the declarative environments reference
for the Compose mount pattern and operational details.
Make verification possibleRoomote works best when the environment lets it prove what changed. Include the commands and services needed to run tests, start the app, and open previews. For UI work, configure Live Previews so teammates can inspect the result without pulling the branch locally.Environment lifecycleEnvironment cards and detail pages derive their lifecycle from verification state:
ensure_environment tool after one user confirmation; creation is
administrator-only, while previewing and reusing an existing environment is
open to members. An unresolved or unverified recipe environment is never
routable for normal work.
How to tell an environment is healthyAn environment is in good shape when Roomote can do more than clone code:
Common issues
|
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |