WASHINGTON — Negotiators from both parties say lawmakers have reached an agreement in principle to fund government, avoid shutdown.