Assume the host accepts an object with an optional boolean approved field and permits work only when the query returns true.
A hypothetical complete rule allow if input.approved == true has no default. Compare {"approved": false} with {}. Neither makes the rule succeed, so allow is undefined in both cases. An explicit false query result would be a different outcome.
Would you add default allow := false so both cases return false, or preserve undefined and require explicit host handling? The host must decide what an absent result means either way.
That default does not validate an absent host input document or a nonboolean field. Those remain separate input validation problems.