RoutedQueryApi
The service's NodeQueryApi: the models of a peer context peers reach over HTTP, any other in process through local; a state class of none of the node's models (localStates) is a peer's, found by its contract. Trusted queries are in process alone: a peer reads for a caller.
Functions
caller's queries, acting in target: the node's own models through the local API's (TenantQueryApi.of a target), held to the read side's rule of a target; a peer's read as caller, with no target, which the peer holds to its own rules: a peer's type whose tenant is fixed is not held to the target here (#7665).
The queries of a subscription handler of a commit of tenantId: the local API's, which pins the tenant (TenantQueryApi.tenant), a peer's as this service's identity in that tenant (Caller.ofService): the handler reads for a commit of the service's own, not for whoever sent it.