LoopFlow / Keywords
Keywords
Every construct in the LoopFlow language โ one page each, with syntax, what it does, examples, and a diagram where it helps.
Learning the language top-to-bottom? Read the tutorial. This is the by-keyword reference.
Structure
loopA self-correcting unit of work.pipelineStages in order; fail-fast.stageOne step of a pipeline โ a story.flowChain whole .loop files in order.run / then runA step inside a flow.for eachRun a template once per item.
Building blocks
goalWhat "done" means, in plain language.done whenHow a loop verifies itself.look atScope the context the agent reads.each cycleThe repeated steps, in order.allow / ask me beforeThe action policy: auto vs confirm.alsoFinishing passes after the goal is met.reflectTurn a failure into the next plan.
Control & transitions
when โฆ (transitions)Rules evaluated after each observe.after N tries (thrash guard)Stop & warn if it gets stuck.
Human-in-the-loop
Ops & reuse