Skip to main content
Where the World Model’s physics layer describes what the business is, controls describe how you keep it on course. A control codifies a standing operating practice, such as “reorder before a SKU runs out,” “flag any store whose sales break from pattern,” or “surface any store lagging its peers,” as a single primitive:
Criteria state when to act, and an action states what to do.
Every business already runs on controls, even if only a few of them are written down as SOPs and most live in a spreadsheet someone opens weekly or in a single operator’s head. Codifying them makes each one a first-class citizen of the World Model: declared in a version-controlled .control.yml file, attached to the measures it reads and the actions it takes, rendered on the World Model graph, and measurable. A proposed change to how you operate can be backtested against your own history before anyone commits to it, and measured once it is in place. The term draws on two traditions, and both of them apply. In control theory, a control loop is a reference, a comparator, and an actuator regulating a plant, and since you cannot design or test a controller without a model of the plant, the World Model supplies that model. In audit practice, a control is a codified practice with an objective, an owner, and periodic testing, which is exactly what these files are.

Two parts

Every control consists of the same two declarations:

Criteria are first-class computations

Criteria are not free-form conditions. Each one is a named computation with its own semantics, built on the physics layer in the same way that thermodynamics builds engines and refrigerators from the same underlying laws. Oxygen ships three of them: The computation is where the rigor lives: anomaly carries the seasonal model and the forecast envelope, while opportunity carries the benchmark construction, the significance gating, and the gap-times-volume sizing. A control never reimplements any of this; it mounts one computation and attaches an action to it, which also means new computations can join the library over time without any change to the control format.

Three controls

The three examples below share the same format, and differ only in the criteria computation they mount and the action they take. Anomaly detection mounts the anomaly computation and informs:
Opportunity sizing mounts the opportunity computation and informs:
Replenishment mounts a trigger and acts, placing an order when stock runs out:
The first two inform, routing a finding to human attention, and they are run by the Anomaly and Opportunity engines. The third acts and so closes the loop: the Control Engine executes it on its schedule, either as a prepared recommendation that a person carries out or through an automation that places the order itself. Improving a control usually means upgrading its criteria while the action stays the same. The replenishment control above waits until stock reaches zero, whereas a sharper criteria would ask whether the SKU will run out before a new order could arrive, so that the order fires early enough to matter. This is why controls are versioned. Each version is a criteria and action pair, exactly one is active at a time, and the platform records whenever the active version switches. That history is what makes a control measurable, since a proposed version can be backtested before adoption and the switch itself becomes an automatic pre/post comparison. See Evaluation for how this works.
Control and automation are different concepts. A control states what the business does and why (“never run out”), whereas an automation states how a machine executes it (“run these steps”). A control without an automation is a manual practice, and an automation without a control is just plumbing; binding the two together is what lets Oxygen check that the automation still does what the control says it should.

Controls on the World Model graph

Controls render on the World Model graph as a second kind of node alongside measures, with edges to what they read and to what they act on:
The picture answers the question this layer exists for, which is how much of your business is actually under control. Every measure either has a control watching it or it does not, and every lever either has a control acting on it or has no owner at all, so both the coverage and the gaps in it become visible.

Three engines, one rotation

Operating a company comes down to three standing jobs, and Oxygen builds an engine for each of them:
  • Run the business with the Control Engine, which executes the acting controls the company operates by (replenishing, staffing, pricing, escalating), each administered as a .control.yml file.
  • Expand the business with the Opportunity Engine, which runs controls built on the opportunity computation to find where the business underperforms its own benchmark, size the gap in dollars, and drill down to the levers that close it.
  • Fix the business with the Anomaly Engine, which runs controls built on the anomaly computation to detect when an outcome breaks from its forecast and to decompose that break to its root cause in the Insights Inbox.
All three run the same primitive, a control, and differ only in which criteria computation they use and whether their action informs or acts. Each engine applies the same four-step discipline over the World Model: As an example, the Anomaly Engine opening up labor_cost_pct for a location might read:

Next steps

Evaluation

Backtest a proposed version and measure an adopted one

World Model

The physics layer that controls are written over

Automations

The execution engine an acting control binds to

Metric Tree

The measures and relationships a control reads