Kumoss request flow · Phases 5-6

Kumoss request flow · Phases 5-6 A sequence diagram generated by Archify. 14 · Infrastructure Generation Agent (main model, bounded tool calls, ends via task_complete) 15 · files edited in workspace 16 · store per-file changes · commit + push session branch 17 · Session Target Generator (main model), produces the -target list 18 · IaC sidecar: init, validate, plan -target (async jobs, polled) 19 · plan result or engine errors 20a · [engine errors and iterations left] feed errors back to the generator, loop repeats 20b · [8 iterations exhausted] session FAILED (422) · system.exception.failure 21 · plan + show -json on the session's targets 22 · plan JSON, DeepDiff, inverted drift operations · artifacts stored [clean plan] loop stops here — resources in sync 23 · [plan shows differences] Drift Task Splitter (small), plain-language operations 24 · Reconciliation Filter (small) — reads diff_history, drops ops that undo the session's own changes 25 · [genuine drift remains] batches of at most 8 ops re-enter the generation loop [only the session's own changes] loop stops here — plan is final PHASE 5 · Generate, validate, correct — at most 5 iterations PHASE 6 · Implicit drift pre-check on the validated targets, at most 2 rounds — the loop stops on a clean plan (resources in sync) or when only the session’s own changes remain (plan is final) Web UI + Core API · Sequence participant Web UI + Core API Control gates · Sequence participant Control gates LLM agents · Sequence participant LLM agents External · Sequence participant External Legend return security default message