Representative Kay Granger, Republican of Texas, on her way to negotiations over border-security funding yesterday. : Democratic and Republican negotiators said last night that they had an “agreement in principle” on border security funding that could keep the federal government open. The deal includes $1.38 billion to pay for 55 miles of new fencing, technology and staffing for border protection. It’s not the $5.7 billion that President Trump had demanded to build a 200-mile wall. Democrats waived their demand for limits on detention capacity for immigrants. But there’s no guarantee that it will go through.