TRUEFALSETRUEFALSE [ Trigger Action ] ◆ ◆ ◆ ◆ [ True/False Branch ] + + + + [ Run Agent ] + + + +
IF
Prompt submitted
A prompt reaches the router before any model is chosen.
Resumed session?
A session that already has a plan skips classification.
Run Agent
Continue with Luna
The worker model picks the plan up where it stopped.
Run Agent P(complex) 0.82 score
Jev classifies the prompt
Answers one typed question: how complex is this request?
True/False Branch
P(complex) ≥ 0.5?
Above the threshold the request needs a planner.
Plan with Sol
The planner writes the steps before anything is edited.
Run Agent
Answer with Luna
A simple request goes straight to the worker.
Review
First edit succeeded?
Planning ends after the first successful write.
Run Agent
Hand off to Luna
Luna carries out the rest of the plan.
Select a step to edit it.