First draft of general repository management state