What each state of an asset offers, as data, and the reason a state does not offer a capability; and the moves between states that are allowed. A discovered asset is only listed and offers nothing, an adopted asset is observed and checked but never changed, and a managed asset offers every capability.
import { offers, reasonNotOffered } from"./states.ts";
offers("adopted", "converge"); // falsereasonNotOffered("adopted", "converge"); // "an adopted asset is observed and checked, never changed"
The moves between states that are allowed (Stolos 067-adopt): a discovered asset is adopted, an adopted asset is released back to discovered or managed (taken over, with an approval), and a managed asset is never moved: it was installed as managed or taken over, and leaves by being retired.