Skip to main content

Build from the console

The console builds a baseline from one card: the baseline's preview, the repository to create, the product's name, and the connections it deploys with. Continue with cloud is the only button. It creates the repository, links it, starts the cloud session and starts the build, showing each as it happens, and then lands you on the workspace Overview with the build panel open beside it — that panel is where the hour is watched.

This page follows the flow with cirrus (Cloudflare only) as the worked example.

Before you start​

  • Your role is admin in the workspace. Starting a build lends admin to the build session, so the platform requires it of you.
  • The GitHub App is installed on the organization that will own the product repository. See GitHub integration. Without it, the card's repository row is a single Connect GitHub button.
  • The provider is connected, or will be — the card connects it in a dialog over the flow, or you can connect it first under Integrations (Connecting providers). Cirrus needs Cloudflare; Lumen needs Cloudflare and Supabase.
  • For a paid baseline, the account is on a paid plan. A blueprint-driven baseline builds whatever the credit balance; a shell-layer one needs credits for its flat admission fee. See Credits.

Find the registry​

There is no Baselines row on the workspace rail: picking a baseline is choosing what to build, so it is offered on the way to a workspace rather than inside one. Open the workspace selector in the masthead and choose Start with a baseline, which opens the account's baseline registry. From a workspace you already stand in, /{account}/{workspace}/baselines renders the same list with every row opening that workspace's setup flow. The onboarding a new account walks through offers the same registry as a starting point.

The registry is the Pick screen: one row per baseline, with its name, a one-line summary, provider tiles, and a tag — ~60 min, Paid, Building while a build is running, Live once one has finished. Your account's own registered baselines are listed above Orunbase's. A paid row the plan does not cover is drawn dimmed and does nothing; open it from the account's registry (/settings/account/baselines/{id}) to see its facts and a Compare plans link. A workspace that was built from a baseline shows what it was built from — and that a newer tag is available, when the registry has moved — above the list.

Choosing a row opens /{account}/{workspace}/baselines/{id}, the create flow.

The card​

Everything the build needs is on one card, titled New product, with the workspace it builds into at the top. The workspace is fixed — the one you opened the flow in, or the one you just created — and so is its visibility, which the repository takes.

The baseline. A drawing of the baseline's architecture layers, its name (which opens the baseline's page on orunbase.com), and where the build comes from: the source repository at its pinned tag (sourceplane/cirrus-baseline at baseline-v23), about how long it takes, and the providers it deploys to.

The repository. A GitHub account and a name, as account / name. The account menu lists the workspace's GitHub connections and offers Add account. The name opens on the baseline's own (cirrus, supabase-auth), moved to the first free one (cirrus-2) when the account already holds it, and is checked as you type: against the baseline's rule for the name (cirrus: lowercase letters, digits and dashes) and against the repositories the connection can see. A check means it is free; a cross means it is taken, with the next free name one click away. The lock or globe at the end of the field is the repository's visibility. It is the workspace's visibility — a private workspace gets a private repository — and is shown, not chosen.

Use existing under the card switches to the workspace's linked repositories instead, with Link another for one the installation can see.

Two links

A build needs the repository link, the repl_… record that binds a project to one repository on the GitHub connection. It is not the same record as the allow-list link orun cloud link creates for remote state. The launch creates both; the repository's Git tab under Settings → Git repos is the other place to create a repository link. The orun CLI cannot. See State plane.

The product's name. The one value most baselines ask for, productname, is read off the repository's name — acme-notes becomes Acme Notes — until you edit it with the pencil. reponame and githuborg come from the repository, and the workers.dev subdomain comes from the Cloudflare connection the build is bound to. A baseline that still asks for more (a domain, a region) shows each as one compact field. No domain is asked for by cirrus: the product goes live on workers.dev, and a custom domain is set later. Until then the product carries the reserved placeholder <reponame>.example.com wherever a domain goes, and its ai/context/operations.md ("Setting the domain later") says how to replace it.

The connections. One menu per provider the baseline requires, preselected to the workspace's connection and offering Add account. A provider that is not connected yet is a dashed tile; pressing it opens the provider's OAuth consent in a popup over the flow (or a token paste, for providers that offer it). Tokens are minted per build from the connection, never typed, shown, or stored in the console.

What you change is saved as a draft on the workspace, so the card is filled the same way when you come back.

Continue with cloud​

Under the button are how long the build takes and the workspace's credit balance. The button is the only control, and what it does depends on the workspace:

  • Continue with cloud starts the build. Pressed before the card is complete, it points at what is missing instead.
  • Upgrade to start on a paid baseline the plan does not cover, linking to the plans.
  • Add credits when the balance is empty, linking to billing.
  • Already building while a build holds the workspace, opening its panel.
  • Retry from <phase> when this baseline's last build stopped.

Pressing it folds the form into a row of chips and shows the launch below it, one step per call the console makes:

  1. Repo — the repository is created through the GitHub connection (skipped when you chose an existing one).
  2. Link — it is allow-listed for OIDC push and given a repository link with agent write access.
  3. Session — the platform enforces every gate again, binds the chosen connections, takes the repository lease, debits the admission fee, grants the session admin, and provisions the sandbox.
  4. Baseline — the console posts the one-line kickoff, and the first phase is placed.

A step that fails says why in one line, with its way out: Authorize when GitHub needs the App to be allowed to create repositories, the next free name when the name was taken on GitHub, Retry from that step, or Edit to go back to the card. Nothing made by an earlier step is made twice. When the last step lands, the workspace Overview opens with the build panel beside it.

Watching the build​

The build panel opens beside the Overview — a column at desktop widths, full-page on demand and on a phone — and the Build pill in the masthead names the current phase from any page. The panel reads top to bottom:

  • What the build has made, pinned as plain link rows that arrive as the build earns them and never leave: the GitHub repository (with a lock when it is private), the epic in the Work ledger, each pull request with its state — Opening, Checks running, Merged — and, once the build has checked they answer, the live addresses for each environment, each with a copy button. Health-check URLs are probed but not pinned.
  • What it is doing now, in one card: the engine's own line for the current step under a spinner, and which milestone it belongs to. The card's <> button opens the full log — every event the build reported — in the panel itself.
  • What it has just done: each finished step's line, newest first, the older ones fading out. A milestone landing is a line here too.
  • While it builds, one sentence at a time about what orun does for the repository, in the space the build has not used yet.

The header shows the build's state and landed/total milestones. /baselines/{id}/progress still resolves for old links and forwards to the Overview with the panel open.

Finished​

When the build is live the card turns green — Live on stage and prod — and the pinned rows already hold everything it made. Where the orun sentence was, the panel offers the next move:

  • Onboard your agent to orun — the Overview's pill. It copies a prompt for your own coding agent (Claude Code, Codex, Cursor, VS Code): set up orun, then clone the repository the build made and start building on it. The round button beside it shows the prompt before you copy it.
  • Start building opens the agent panel with a first message already written. Nothing is sent until you press send.

Blocked, stopped, retry​

  • A blocked build is one parked on a person: the card turns amber, names what it is waiting for, and Done tells the build to carry on. It does not spin.
  • A stopped build turns the card red with the engine's words for the failure, the CI lanes that failed (each with its change, deploy, component and step), and a Retry from <phase> button that names the engine phase it stopped at (04-workers-restore, not only the milestone it files under). Retry starts the build again from the setup on record — the same repository link and the values the run was started with — and tells the runner to place that phase and every one after it again, so a phase that landed and then failed to converge is done again rather than skipped as "already in place". The button's menu, Start from an earlier phase, lists the landed phases before it; picking one redoes the build from there. The card turns the moment you click — Retrying from <phase>, with the step it is on (stopping the failed run, starting a new runner, handing the build over) — until the new run's first line arrives. If the setup on record is missing (the draft was discarded, or the repository is no longer linked) the panel sends you to the create flow with everything still filled that can be; its button there is the same retry.
  • Ask why, on a stopped build, opens an agent session grounded in that phase's failure.

Verifying​

The card declares what a finished build must answer, and the panel probes it. For cirrus, for each of stage and prod:

https://{reponame}-api-edge-{env}.{subdomain}.workers.dev/health
https://{reponame}-web-console-next-{env}.{subdomain}.workers.dev

So a product built into acme/storefront on the acme subdomain answers at https://storefront-api-edge-stage.acme.workers.dev/health and https://storefront-api-edge-prod.acme.workers.dev/health. The workspace now records that it was built from cirrus at baseline-v13; the registry page shows it above the list, and tells you when a newer tag is published.