Optional ReadonlyasksOptional ReadonlycheckpointsOptional ReadonlyclockOptional Readonlyask?: stringOptional Readonlycheckpoint?: stringOptional Readonlystart?: numberOptional Readonlyturn?: stringVirtual time each turn consumes. Default "5m".
Optional Readonlywait?: stringOptional ReadonlyeventsKeyed by the wait step's name. A scripted null is a timeout, which is a choice.
Optional ReadonlyfaultsOptional ReadonlyturnsSee the at rule on checkpoints below: turns are stamped from virtual time too, and a scripted at is refused.
⚠️
atIS NOT SCRIPTABLE for turns or checkpoints.turn()and both ofcheckpoint()'s return paths stamp it from virtual time, and neither one reads a scripted value, so anything written here was required by the type and then silently discarded. Demanding a field the implementation overwrites makes every fixture carry a number that means nothing, and reads to the next author as though it were honoured.The refusal is a rule, not a list: it fires exactly where
SimScriptis already the expected type of the literal being written, and nowhere else. So a literal at a call taking aSimScript, under an annotation on aconstor a later-assignedlet, in a parameter declaredSimScript, or undersatisfies SimScriptis now an error. A literal typed before it meets this type, or never measured against it, escapes: inferred then passed by name, put through anascast, or handed to a parameter declaredunknown. Those still compile withatpresent and still have it discarded. This closes the idioms a new author reaches for; not the loophole.A hold (spec/cotal-lang.md §7.8) reaches
checkpointkeyed by the held step's name, so an entry named after anaskinsideonceanswers that step's hold, andexpiredproduces L4027.