A railway over flat subagents. steps run in order on the success track; the
first step that returns an error short-circuits to onError. recover
optionally retries the failing step a bounded number of times before the
error track. There is intentionally no loop combinator — the value is a finite
tree, so it always terminates and is fully verifiable at compile time.
A railway over flat subagents.
stepsrun in order on the success track; the first step that returns an error short-circuits toonError.recoveroptionally retries the failing step a bounded number of times before the error track. There is intentionally no loop combinator — the value is a finite tree, so it always terminates and is fully verifiable at compile time.