The Cockpit has four apps — Hangar (catalog), Altimeter (composite indexes), Radar (compartment-model dynamics), Flight Deck (the big-screen composer). The interesting question is: what feeds them?
Answer: DOIL. Same language. Different compile target.
A composite index in DOIL
The Altimeter shows composite-index scorecards with future-arc projections. Each index is defined as a DOIL panel:
panel CustomerHealth
altimeter do
big_number :score, range: 0..100
future_arc projection: 8.weeks
end
inputs do
from telemetry_sim :availability
from crm_sim :churn_signal
from demand_sim :load_factor
end
formula do
score = 0.5 * availability + 0.3 * (1 - churn_signal) + 0.2 * (1 - load_factor)
end
endCompile with --target=cockpit and the compiler emits the Forge webtrigger plumbing that wires this panel into Altimeter. The big number renders. The future arc projects. The inputs stream in from the simulator constellation.
A compartment model in DOIL
The Radar runs compartmental models:
panel SubscriberLifecycle
radar do
stacked_bar :compartments
parameter_knob :awareness_rate, range: 0..1
parameter_knob :consideration_rate, range: 0..1
parameter_knob :churn_rate, range: 0..1
end
compartments do
state :potential
state :aware
state :considering
state :subscribed
state :churned
end
flows do
potential → aware at awareness_rate
aware → considering at consideration_rate
considering → subscribed at consideration_rate * 0.5
subscribed → churned at churn_rate
end
endThe compiler emits an ODE solver wired to those flows, plus the parameter knobs as live controls on the Radar panel. Move the knob, the bar restacks, the projection updates. No glue code.
Why this is the same loop
A panel reads simulator signals. The panel's state is itself a signal an agent can read. An agent decides. The decision changes a knob. The next bar restacks. The loop closes through the human operator's eyes — and the autoresearch loop closes around the agent that's tuning the knobs.
The Cockpit is the Reality Twin's instrument cluster. DOIL is the wiring.
Next read: Autoresearch.