def rounds
import ezx@1.11.0.0/src/lock/run.bend as Runimport Base
import ezx@1.11.0.0/src/lock/plan.bend as Plan
686# the rounds the loop may take. Each round's questions come from the last
687# round's answers (a package's imports are known once git has answered for
688# it), so how many there will be is not known up front. This is a guard
689# against a planner that keeps asking, not a limit on a lock: running out of
690# it dies loudly. The walk inside each round takes its fuel from its inputs
691# (`Plan.walk.fuel`).
692def rounds() -> Nat:
693 U32.to_nat(100000)