Functions
Documentation status: guide — see Maturity and evidence.
Functions encapsulate reusable calculations or behavior. Keep their inputs/outputs explicit and avoid hidden dependencies on mutable global state.
Guidance
When behavior is a domain capability, consider publishing it as a model action rather than hiding it only inside a utility function.