@jesperpedersen

Our previous discussion seems to have been wiped out when I changed the RA commit. I changed this class to pass the ADs (all of them, not just the "enabled" one) to the WorkManagerRuntimeAttributeWriteHandler constructor. The AD's are useful as they:

a) ensure the value passed to write-attribute is validated against the attribute's spec
b) ensure any default value declared by the AD is used in the runtime stage, instead of undefined
c) allow resolution of any expression (if supported by the attribute) against the vault. Not likely relevant here!

I also moved creation of the OSHs out of the loops, as one OSH can serve all the attributes.