Evaluate multi-backend BackendRawInventory against a DiscoveryQuery (backends filter & rank,
.monitor sink exclusion from input_devices, ScreenCaptureKit Application(Exact) / no-Process
rules, ByLogicalTarget vs PerBackend deduplication, and KindThenBackend vs BackendThenKind ordering).
Determines whether child belongs to the same logical application package as parent on os
and should roll up into parent for applications() and find_app().
Resolve a pre-audio or active application target by app_id, name, or executable basename.
Rejects 0 matches with NotFound and > 1 matches with AmbiguousMatch.