56 / 100
Runbook selection
Queue age increasing; workers healthy; upstream throttled.
Which runbook should the operator inspect first?
Backpressure72%
Restart workers20%
Database recovery8%
// Conceptual pseudocode — not Jev SDK syntax
const state = {
"symptom": "Queue age increasing; workers healthy; upstream throttled.",
"runbooks": "backpressure, restart workers, database recovery"
};
const decision = await evaluateDecision({
state,
question: "Which runbook should the operator inspect first?",
options: ["Backpressure","Restart workers","Database recovery"],
});
// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Backpressure"
&& decision.probability >= 0.85) {
suggestRunbook(decision);
} else {
queueForReview(decision);
}Let the application backpressure.