The attorney general has the authority to ensure compliance with commitments that inure to the public interest.