New York's Democratic primaries on Tuesday are a two-front war fought on the same ballot. In safe-blue districts across New York City, Mayor Zohran Mamdani's democratic socialist slate — former comptroller Brad Lander, public defense investigator Darializa Avila Chevalier, and Claire Valdez — is challenging the party establishment for ideological control of seats that will stay Democratic regardless. In the Hudson Valley's 17th district, the actual November math lives: a swing seat held by Republican Mike Lawler that voted for Kamala Harris in 2024 but sent a Republican to Congress. The Mamdani insurgency is structurally interesting because it targets incumbents in districts where the general election is irrelevant. Lander leads Dan Goldman in late-May polling for the 10th district. Goldman has Hakeem Jeffries' endorsement. Avila Chevalier, 32, is running against Adriano Espaillat, 71, a five-term incumbent and chair of the Congressional Hispanic Caucus. Valdez faces Brooklyn Borough President Antonio Reynoso in the open 7th district seat being vacated by Nydia Velázquez after 17 terms. In each race, the generational and ideological fault lines map cleanly: Mamdani and Bernie Sanders on one side, Jeffries and the institutional party on the other. The 12th district primary — New York's wealthiest seat — has become a different kind of test. Jack Schlossberg, JFK's 33-year-old grandson, appears to be losing ground to state representatives Micah Lasher and Alex Bores. Bores' candidacy has drawn heavy Super PAC spending from AI investors furious over his proposed state-level AI regulation. George Conway, the Republican-turned-Trump-critic, has out-raised the field running on an anti-Trump platform in a safely Democratic district. Israel and Gaza have cut across the city's primaries with real force. Lander and Valdez have condemned Israel's war on Gaza as genocide, aligning with a UN independent international commission of inquiry. Goldman and Espaillat have faced attacks over ties to AIPAC. The issue is functioning as a second axis of factional sorting within the party, cross-cutting but not perfectly overlapping with the socialist-establishment divide. The national stakes run through New York's 17th district. Republicans hold a 217-212 House majority with five vacancies and one independent. Five Democrats, including former White House counter-terrorism official Cait Conley and local legislator Beth Davidson, are competing for the right to challenge Lawler. The district was one of just three nationwide that voted for Harris for president in 2024 but elected a Republican representative — the precise profile Democrats need to flip to retake the chamber. The structural tension is clear: the intra-party fight in safe seats and the general-election fight in swing seats require different candidates, different messages, and different coalitions. Mamdani's project assumes the party can move left in safe districts without contaminating the brand in competitive ones. The establishment's pushback assumes otherwise. Both theories get tested tonight. Maryland and Utah are also nominating congressional candidates Tuesday, and South Carolina holds runoff elections. But New York is where the Democratic Party's two simultaneous arguments — what should we believe, and can we win — collide on the same ballot.