qat.experimental.system_data.materialisers.descriptor_resolution module
Descriptor resolution helpers for materialiser boundary dispatch.
These helpers resolve source type/version from payload metadata and plugin detector hooks, while preserving structured boundary error behaviour.
- resolve_source_descriptor(source_payload)
Resolve source descriptor from payload metadata or pattern detection.
- Return type:
tuple[SourceType|str,str]
- source_type_label(source_type)
Return a string label for a source type, whether enum or plain string.
- Return type:
str