Resolve a candidate's manifest.base to a prefix of the ref's layer list: a stack base matches the prefix with the same stack hash, a layer base matches the prefix ending at that layer id.
manifest.base
Resolve a candidate's
manifest.baseto a prefix of the ref's layer list: a stack base matches the prefix with the same stack hash, a layer base matches the prefix ending at that layer id.