Skip to main content

Concepts

Before you meet a screen you meet a vocabulary: loop, run, workflow, gate, decision, pool, workspace. This page puts those words in the order the work happens, so the rest of the guide reads as one story. Each term is also in the Glossary.

Your workspace​

Everything you see belongs to one workspace — your team's tenancy, with its members, repositories, ticket sources, policies and build farm. The header's workspace chip shows which one you are in and which repository you are looking at (acme-robotics / All repos, for example); you switch between them there. Your role in the workspace decides what you may change: some controls appear only to owners and admins.

The loop, from issue to merged pull request​

Ouroboros is named for the snake that eats its own tail: the work is a loop, and what one loop learns feeds the next.

  1. An issue arrives. Issues come from the ticket sources your workspace connects — a GitHub repository, for example. They appear on the Issues screen.
  2. Intake and sizing. Ouroboros reads each issue and estimates its effort on a T-shirt scale (XS to XL). You choose a workflow for it (Assign workflow) and queue it (Queue → workflow). Planning can draft new tickets from a paragraph of prose.
  3. A run starts. A queued issue becomes a run — one pass of the loop, numbered Loop #N — the moment it is picked up. The run follows the workflow's stages in order (analyze, plan, implement, build, test, self-review, …), and each stage that needs a model is routed to the one your model routing assigns to that kind of work. The run executes the workflow version that was published when the issue was queued, and later edits do not change it. Each stage may only do what its permissions allow; a refused action fails the stage.
  4. Build and test on the farm. The change is built and tested on your build farm: runners you enroll on your own hardware, grouped into pools. A failing build or test sends the loop back to an earlier stage to try again, up to the workflow's limit.
  5. PR verification. The loop opens a pull request, and its verification page checks it against verification gates — build, tests, scans, review — and an acceptance criteria matrix that asks: does the PR do what the issue says? Evidence backs each criterion.
  6. Merge. When every gate is green and your policies allow it, the pull request merges. Otherwise it waits for a person.
  7. The loop learns. What the run taught it becomes Knowledge — learned facts you confirm or reject — and Insights and the Build Analyzer show where loops spend their time and where they still need people. The next issue is worked with all of it.

You follow every live loop from the Mission Control dashboard; open one and you are in its run console — the stage timeline, the agent's transcript, the changes so far, the resources it has used and the guardrails it is held to.

One loop in the run console: its stage timeline, the agent's transcript and the changes so far.
The run console for a loop fixing a flaky CAN-bus telemetry test, labelled Demo data: the stage timeline with three stages done and Implementing on attempt 2 of 3, the agent transcript, and three changed files.The run console for a loop fixing a flaky CAN-bus telemetry test, labelled Demo data: the stage timeline with three stages done and Implementing on attempt 2 of 3, the agent transcript, and three changed files.

Where you decide​

A loop runs on its own until it reaches a decision that is yours. Then it stops and asks.

  • The Needs You inbox. Every question a loop is blocked on becomes a decision card in Needs You — the sidebar entry with a count beside it. Approving a merge, allowing a one-time change to a protected path (Allow once or Deny), signing off a plan, confirming a learned fact, retrying a run that needs a human, or approving extra spend: you answer on the card, and the loop resumes. A decision can wait — Snooze it for an hour, four hours or a day.
  • Pull request verification. On a pull request's verification page you can approve or decline the Human approval gate, add or waive acceptance criteria, and Arm the merge or merge it yourself. See Pull requests.
  • The run console. While a loop runs, owners and admins can Pause loop, Take over in IDE to finish the work by hand, or Abort run; any member who is not a viewer can Steer the loop with a note. See the run console.
  • Policies. How much a loop may do without you is set by your workspace's Autonomy policies — for example Auto-merge when all gates green, Human review required and Protected paths need allow-once — under Settings › Policies. Owners and admins edit them.

Dry-run and live​

Ouroboros can work an issue end to end without anything merging. There are two separate things called "dry run", and a third you may meet on the run console.

The dry-run policy is a workspace setting under Settings › Policies. While it is On, loops run for real — models are called, the farm builds and tests, pull requests open — but every pull request opens as a draft and nothing merges, even through a workflow that is set to auto-merge. On a pull request's page the merge control reads Dry-run — review the draft PR. Completing the Get Started wizard turns dry-run on, so a new workspace starts safe; an owner or admin turns it off (Turn dry-run off) when you trust the loop to merge. With dry-run off, a loop is live: a pull request that passes its gates and your policies merges without a person. The Dry-run mode for new repos policy does the same for each new repository's first loops only.

A live run needs dry-run. In this version a live run may only open a draft pull request. A queued issue whose repository is not in dry-run waits as Not in dry-run and does not start. A live run also waits for the deployment's switch, a workspace that is not paused, a free slot under the workspace's ceiling, and a person with loop approval to confirm it. See Issues § Why a queued issue is waiting and Live execution. Turning dry-run off during a run does not let that run merge: its pull request is still a draft. The draft is enforced, not requested — Ouroboros opens a loop's pull request only as a draft, and if your host will not hold it as one, the run fails naming that cause rather than opening a ready pull request. See Pull requests § The draft pull request a loop opens.

A dry run of a workflow is a rehearsal in the Workflow Studio: you pick a sized issue, choose Run dry run, and see which path the workflow would take. No model is called, nothing runs and nothing is recorded. See Workflows.

A simulated run is marked with a Simulated run banner on the run console. It was opened by the run simulator — a test tool used in development and testing, never by the product itself — not by a real loop: no executor, repository or model did the work it shows. The banner belongs to the run, not to the deployment: once your deployment runs loops for real, an old simulated run still wears it. A live run carries no banner: its transcript holds only what the models and tools really returned, each model entry naming the model that wrote it.

When a stage cannot run for real​

Ouroboros does not say "simulated" about the product as a whole. It asks the deployment which stages of the loop can run for real — calling models, executing stages, building, publishing pull requests — and says something only where one cannot. Each notice names the reason in one sentence and links to where it is fixed. When every stage can run, the notice is not shown.

A run on a deployment with live execution off: the notice names the reason and links how to enable it.
The run console for a building loop, labelled Demo data,, with a notice above the head reading Live execution is off for this deployment — ask an administrator, followed by a How to enable link.The run console for a building loop, labelled Demo data,, with a notice above the head reading Live execution is off for this deployment — ask an administrator, followed by a How to enable link.
What you seeWhyWhere it is fixed
Live execution is off for this deployment — ask an administrator.The deployment's switch, OURO_LIVE_EXECUTION_ENABLED, is off — the shipped default.How to enable — Containers
The engine is not answering — live runs cannot start.The engine did not answer its status call.Check the engine — Operations
The engine runs no task queue — live runs cannot start.The engine answered but runs no task queue.Check the engine
The engine has no stage executor registered — live runs cannot start.The engine answered but has no executor to run a stage.Check the engine
No provider connection can be invoked — models cannot be called.No provider connection may serve model calls.Models › Providers & keys
No runner is online — builds will wait.None of the workspace's runners is online.Build Farm
No online runner can check out source — builds will wait.Runners are online, but none can check out the repository.Build Farm
The workspace's dry-run policy is off — pull requests are not published.Publishing needs the dry-run policy on.Settings › Policies
This version does not build this stage yet.The stage is not built in this version.What is built — this section

Where you see them:

  • The run console, above the head of a run that is still going: the execution notice when live execution is off or the engine is not answering, or the build notice when only the farm is missing. A run that is going has a task queue and an executor, so it never shows the two notices about them. A simulated run shows its own banner instead, and a finished run shows neither.
  • Models › Registry, on the Resolution chain card: a chain no run has resolved yet is tagged simulated — no run has resolved it yet, with the invocation notice under it when no model can be called. A chain a run did resolve is tagged with that run, and the tag opens its run console.

An administrator can read the same answer directly from GET /api/v1/loop/capabilities.

Where the data comes from​

Every loop Ouroboros records, and everything that comes from it — its pull request, builds, tests and model usage — has a data origin:

OriginWhat it isHow it is shown
LiveA real loop: the engine ran it, or a person started it.No label.
SimulatedA run from the run simulator, a test tool used in development and testing.Simulated
DemoDemo data that development and test environments load. A production deployment has none.Demo data
Demo data is labelled in words — never by colour alone — wherever it is shown or counted.
The Active loops card showing all origins: three loops, #482 Fix flaky CAN-bus telemetry test, #479 Add OTA rollback on failed checksum and #476 Bump MQTT client, migrate deprecated API, each with a dashed Demo data label under its title. The elapsed column is masked.The Active loops card showing all origins: three loops, #482 Fix flaky CAN-bus telemetry test, #479 Add OTA rollback on failed checksum and #476 Bump MQTT client, migrate deprecated API, each with a dashed Demo data label under its title. The elapsed column is masked.

Wherever a row, card or chart shows or counts data that is not live, it carries a Demo data or Simulated label — in words, not only a colour. Live data carries none.

Figures count live data unless you choose otherwise. The Data origin control on the dashboard and on Insights offers Live (the default), Demo data, Simulated and All origins. Your choice is kept in the address (?origin=seeded) and remembered when you move to another page. Figures are never added up across origins unless you choose All origins.

No data is not zero. When there is no live data yet, a figure shows — and says so, rather than 0. When a page holds only demo or simulated data, a note at its top says so — for example This page is showing demo data. No real loop has run in this workspace yet. — with Check readiness →, which opens the Get Started wizard.

What can go wrong​

  • A loop stops and waits. It is almost always a decision in Needs You; the header's Needs you count tells you how many are waiting.
  • A loop keeps returning to an earlier stage. A build or test is failing; the stage timeline shows the attempt count, and test results show why.
  • A pull request opened but never merged. Check whether dry-run is on, and which verification gate is not green.
  • You cannot find a control. Some actions — pausing a loop, changing a policy — are for owners and admins only.