Skip to content
EN FR

Variables and Mutability

Documentation status: guide — see Maturity and evidence.

Prefer the smallest practical scope for variables and make state mutation explicit. Business state should live in the model rather than in hidden script globals.

Guidance

When updating model state, use the published action/data boundaries so validation, events and persistence semantics remain coherent.