Expand description
resolve_component_dependencies pass.
Walks every bound concrete in a [CompiledArtifact]’s
BindingSpec, reads the concrete’s declared
DependencyDecls through the inventory carrier, and verifies
each required slot is bound to a concrete whose role matches the
dependency’s required role. On success, every NodeProto
contributed by a concrete (identified by its concrete_type
metadata) gets its declared deps stamped via
bb_ir::keys::stamp_dependency_metadata so downstream passes +
the runtime can recover the wiring from the IR alone.
Surfaces:
CompileError::UnboundDependencywhen the required slot has no binding.CompileError::DependencyRoleMismatchwhen the slot is bound to a concrete whose role set does not include the required role.