Leaders in the state Capitol announced with hours to spare before the dawn of a new fiscal year that they had reached a tentative agreement on key elements of the state budget, including Medicaid funding, special education, childcare and the University of Wisconsin System.