Hochul negotiated agreements with state lawmakers over changes that would win her signature on pending legislation.