Conditions
A condition declaration defines a named vocabulary of states. The condition name and each variant are identifiers.
condition readiness [
not_ready
ready
]
condition cleanliness [clean dirty contaminated]
An entity records condition state in its conditions section:
entity "van-110" {
conditions {
readiness = ready
cleanliness = clean
}
}
Condition entries are expressions. They can be read through a concrete component path:
@"van-110".conditions.readiness
@vehicle.conditions.readiness
The first path refers to a known entity. The second refers to a mutation role and is valid only inside a mutation.
The current resolver stores condition declarations and entity condition expressions, but it does not yet prove that an assigned symbol is one of the declared variants. Treat the declarations as model intent rather than complete enum type-checking.