This paper studies self-enforcing stochastic monitoring in a model of investment and production. The optimal contract leads to debt-like and equity-like claims on the firm which are held by symmetrically informed outside investors, and rationalizes the separation of these claims in order to...